‎2008 Dec 17 12:45 AM
Hello,
I'm going to use bapi_material_savedata to create a new Master Material, but I have a doubt about structures that have to be passed as parameters to the function that end with an X for example I have CLIENTDATA (BAPI_MARA) structure but there is other named CLIENTDATAX (BAPI_MARAX)
VALUE(CLIENTDATA) LIKE BAPI_MARA STRUCTURE BAPI_MARA OPTIONAL
VALUE(CLIENTDATAX) LIKE BAPI_MARAX STRUCTURE BAPI_MARAX
I have fille CLIENTDATA BAPI_MARA with corresponding values, but why is the reason BAPI_MARAX structure only has 'X' as values, and in some cases have BAPI_MARAX the same value that in BAPI_MARA
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
I will appreciate your help.
Thanks
‎2008 Dec 17 12:54 AM
Hi,
If you search the forum, you will get the reply.
Anyways, just refger to the documentation in SE37 for bapi_material_savedata. It will reply all your queries regarding structures.