Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi_material_savedata question??

Former Member
0 Likes
309

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

1 REPLY 1
Read only

amit_khare
Active Contributor
0 Likes
282

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.