on 03-25-2013 5:06 PM
Hy experts,
I'am using bapi_material_savedata and i learned so far it is not easy at all ! I just want some basic info like mtnr, description, storage location , length ,width , hight, stock and maybe some more but not a lot.
My problem : The bapi ask a lot of information like for example for plant data he wants to know pur_group ,mrp_type ,sm_key , mrp_ctrler , .... and that because i want just the stock field. Is there a way you don't have to fill all this data in because i don't need this at all.
Can you see in a structure witch data is required?
Greetings Jonas
The behavior of the BAPI depends on how MM01 is configured in your system (a lot of times required fields depend on the material type). Go to MM01 and see if you can only enter those fields and save. Most probably, you will get the same error message. My suggestion is to create a material with the minimum amount of data required. Use the BAPI-GET-MATERIAL-DATA for that material. Then, use the output as a template for the BAPI-CREATE-MATERIAL. I don't know the exact names of the BAPIs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.