Hi,
How to create some of the objects (Material, Customer, Vendor, Plant .etc.) with reference to the existing ones using BAPI? for e.g. the Material we can use:
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = ls_headdata
clientdata = ls_clientdata
clientdatax = ls_clientdatax
IMPORTING
return = ls_return
TABLES
materialdescription = lt_materialdescription
unitsofmeasure = lt_unitsofmeasure
unitsofmeasurex = lt_unitsofmeasurex.
But how to refer to an existing one when we create it?
Thanks a lot!