p$pool:sap:material_change
p$pool:sap:material_change
With this decision table, an administration parameter group SAPDef is filled with the data required to create or edit a material 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 occupied correctly.
ELSE | ||
B1 | ||
A1 | SAPDef.FunktionsName = ’BAPI_MATERIAL_SAVEDATA’ | x |
A2 |
|
|
A3 | p$tdv:sap:add_export_tabelle( ’HEADDATA’ , ’BAPIMATHEAD’ ,’BAPIMATHEAD’ ) | x |
A4 | p$tdv:sap:add_export_tabelle( ’CLIENTDATA’ , ’BAPI_MARA’ ,’BAPI_MARA’ ) |
|
A5 | p$tdv:sap:add_export_tabelle( ’PLANTDATA’ , ’BAPI_MARC’ ,’BAPI_MARC’ ) |
|
A6 | p$tdv:sap:add_export_tabelle( ’MATERIALDESCRIPTION’ , ’BAPI_MARC’ ,’BAPI_MARC’ ) |
|
A7 | p$tdv:sap:add_export_tabelle( ’MATERIALLONGTEXT’ , ’BAPI_MLTX’ ,’BAPI_MLTX’ ) |
|
A8 |
|
|
A9 | p$tdv:sap:add_import_tabelle( ’RETURN’ , ’BAPIRET2’ ,’BapiReturn’ ) | x |
A10 |
|
|
A11 | p$tdv:sap:add_tabelle( ’RETURNMESSAGES’ , ’BAPI_MATRETURN2’ ,’BapiReturn’ , 0 ,0 ) | x |