/WINSHTLQ/SD_CUST_MAINTAIN_ALL - Automate_Studio - Latest

Automate Function Module

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
Latest
ft:locale
en-US
Product name
Automate Function Module
ft:title
Automate Function Module
Copyright
2026
First publish date
2018
ft:lastEdition
2026-08-11
ft:lastPublication
2026-08-11T09:02:29.837000
L1_Product_Gateway
Integrate
L2_Product_Segment
Data Integration
L3_Product_Brand
Precisely Automate
L4_Investment_Segment
SAP Automation
L5_Product_Group
Winshuttle Enterprise
L6_Product_Name
Automate Studio
  • PURPOSE: Maintain Customer Master data
  • DESCRIPTION: This FM is a wrapper of ‘SD_CUSTOMER_MAINTAIN_ALL’ and is used to maintain General, Sales and Company code data for Customers.

Following is the interface for the function module

  • Import Parameters
    1. I_KNA1: Maintain General data in Customer Master
    2. I_KNB1: Maintain Customer Master (Company Code) data
    3. I_KNVV: Maintain Customer Master Sales Data
    4. I_BAPIADDR1: BAPI Reference Structure for Addresses (Org./Company)
    5. I_BAPIADDR2: BAPI reference structure for addresses (nat. persons)
    6. I_MAINTAIN_ADDRESS_BY_KNA1: This flag should be ‘X’ if address is maintained in I_KNA1 table
    7. I_KNB1_REFERENCE
    8. I_FORCE_EXTERNAL_NUMBER_RANGE:
    9. I_NO_BANK_MASTER_UPDATE
    10. I_CUSTOMER_IS_CONSUMER
    11. I_RAISE_NO_BTE
    12. PI_POSTFLAG
    13. PI_CAM_CHANGED
    14. PI_ADD_ON_DATA: Add-On Data Changed in Customer Master
    15. I_FROM_CUSTOMERMASTER
  • Tables
    1. T_JURTAB: US tax interface: Communication structure for TXJCD determination.
  • Exceptions:
    1. NOT_AUTHORIZED_TRN_TAX_TXJCD: This exception occurs if the user is unauthorized to run /WINSHTLQ/TRN_TAX_TXJCD_TABLE FM.
    2. NO_RELEASE_FOUND: This exception occurs if no SAP BASIS release is found in the SAP system.

Example:

Case 1: To Maintain General data in Customer Master, Enter input as below

Exporting Parameters:

I_MAINTAIN_ADDRESS_BY_KNA1 X
PI_POSTFLAG X
Structure: I_KNA1 Values
I_KNA1-KUNNR A1237
I_KNA1-MANDT 800
I_KNA1-LAND1 DE
I_KNA1-NAME1 TEST 1
I_KNA1-ORT01 SPRING
I_KNA1-PSTLZ 80558
I_KNA1-REGIO 11
I_KNA1-SORTL US CLIENT
I_KNA1-STRAS 1 MAIN STREET
I_KNA1-MCOD3 GRAZ
I_KNA1-KTOKD 0160
I_KNA1-SPRAS EN
I_KNA1-LZONE 0000000001
I_KNA1-NAME2 Kumar
I_KNA1-NAME3 Verma
I_KNA1-NAME4 Sharma
I_KNA1-MCOD1 GRAZ
I_KNA1-MCOD2 GRAZ
I_KNA1-PFACH 12
I_KNA1-PSTL2 SW1A 2SW
I_KNA1-BEGRU 0004
I_KNA1-STCD1 3456-56-789
I_KNA1-STCEG DE-12345679
Structure: I_BAPIADDR1 Values
I_BAPIADDR1 -POSTL_COD1 80558
I_BAPIADDR1- STR_SUPPL1 STREET 1
I_BAPIADDR1- STR_SUPPL2 STREET 2
I_BAPIADDR1- STR_SUPPL3 STREET 3
I_BAPIADDR1-LOCATION STREET 4
I_BAPIADDR1-TEL1_NUMBR (215) 665 45
I_BAPIADDR1- FAX_NUMBER 2012020202
I_BAPIADDR1- EMAIL Ramkumar4221@gmail.com
I_BAPIADDR1- COMM_TYPE RML
I_BAPIADDR1- NAME RUMI
I_BAPIADDR1- NAME_2
I_BAPIADDR1- NAME_3
I_BAPIADDR1- NAME_4
I_BAPIADDR1- SORT1 Search term 1
I_BAPIADDR1- SORT2 Search term 2
I_BAPIADDR1- CITY SPRING
I_BAPIADDR1- COUNTRY DE
I_BAPIADDR1- LANGU EN

Data saved successfully.

Output:

Case 2: To Maintain data of Customer Company Code, Enter input as below

Input values as below:

Exporting Parameters:

I_MAINTAIN_ADDRESS_BY_KNA1 X
PI_POSTFLAG X
Structure: I_KNB1 Values
I_KNB1-BUKRS 1000
I_KNB1-AKONT 125000
I_KNB1-ZTERM 0001
I_KNB1-TOGRU 1000
I_KNB1-XZVER X
I_KNB1-LOCKB LCKBX
I_KNB1-BUSAB D1
I_KNB1-KUNNR A1237

Data saved successfully.

Output:

Case 3: To Maintain data in Customer Sales Data, Enter input as below

Input values as below:

Exporting Parameters:

I_MAINTAIN_ADDRESS_BY_KNA1 X
PI_POSTFLAG X
Structure: I_KNVV Values
I_KNVV-VKORG 1000
I_KNVV-VTWEG 10
I_KNVV-SPART 00
I_KNVV-VKBUR 1000
I_KNVV-KLABC
I_KNVV-PLTYP
I_KNVV-VERSG
I_KNVV-LPRIO 01
I_KNVV-VSBED 01
I_KNVV-KZTLF
I_KNVV-ANTLF 9
I_KNVV-BOKRE
I_KNVV-PERFK
I_KNVV-PERRL
I_KNVV-INCO1 CFR
I_KNVV-INCO2 HAMBURG
I_KNVV-ZTERM ZB01
I_KNVV-KTGRD
I_KNVV-ERNAM ECC6DEV
I_KNVV-ERDAT 10.10.2018
I_KNVV-KUNNR A1237
Table: T_XKNVI Values
T_XKNVI-KUNNR A1237
T_XKNVI-TAXKD 1
T_XKNVI-ALAND DE
T_XKNVI-TATYP MWST

Data saved successfully.

Output: