Skip to Content
0
Former Member
Jun 12, 2009 at 02:47 AM

How to refer to an existing one when create e.g.a Material?

35 Views

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!