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 and creation

h_senden2
Active Contributor
0 Likes
503

Hi,

with function module BAPI_MATERIAL_SAVEDATA i want to create a material with the different view for various organization levels.

For the tables CLIENTDATA and CLIENTDATAX i have filled field FUNCTION with 'INS' (insert).

Should i also fill all CLIENTDATAX fields with X ?

with kind regards,

Hans

2 REPLIES 2
Read only

former_member182010
Active Participant
0 Likes
451

Hello Hans,

Import structures CLIENTDATA and CLIENTDATAX go hand in hand. If you populated a field in CLIENTDATA then corresponding field in CLIENTDATAX must be set to X.

Kind Regards,

Rae Ellen Woytowiez

Read only

anup_deshmukh4
Active Contributor
0 Likes
451

Hello Seden,

The bapi you are Using can create as well as change the material,

so in your case,

if you are creating the material the basic field which you give to create Client data ie MARA you give in CLIENTDATA and you can only make corresponding fields to 'X' in CLIENTDATAX

Where as while changing a Material you need to Put 'X' only for the field which you want to change.