p$pool:sap:customer_change
p$pool:sap:customer_change
With this decision table, an administration parameter group SAPDef is filled with the data required for editing an address in SAP. The decision table is located in the network group POOL and can be edited by the user. In particular, you should note that the referenced parameter groups can be adjusted individually. Their names can also be modified. Before calling the function, you must ensure that the contents of the parameter groups are filled correctly and the number of filled data records is adjusted. This also applies to the parameters Customer number and Sales organization.
Syntax: | p$pool:sap:anschrift_aendern() | ||
ELSE | |||
B1 | |||
A1 | SAPDef.FunktionsName = 'BAPI_CUSTOMER_CHANGEFROMDATA' | x | |
A2 |
|
| |
A3 | p$tdv:sap:add_export( 'CUSTOMERNO' , Customernumber , 0 , 0 ) | x | |
A4 | p$tdv:sap:add_export( 'PI_SALESORG' ,Salesorganization , 0 , 0 ) | x | |
A5 | p$tdv:sap:add_export_tabelle( 'PI_ADDRESS' , 'BAPIKNA101' ,'BAPIKNA101') | x | |
A6 |
|
| |
A7 | p$tdv:sap:add_import_tabelle( 'PE_ADDRESS' , 'BAPIKNA101' ,'BAPIKNA101') | x | |
A8 | p$tdv:sap:add_import_tabelle( 'RETURN' , 'BAPIRETURN' ,'BapiReturn' ) | x | |