08-15-2006 12:54 AM
Hi Gurus,
I am using BAPI_MATERIAL_SAVEDATA to create a new material. In one of our client systems the Material Group (MVGR1/MATL_GRP_1) populates as expected after running the BAPI and setting it in SALESDATA. However, when we run the same program in another client, the field ends up being blank. Any ideas as to why this may be? Is a configuration change necessary?
Thanks!
08-15-2006 8:36 PM
did you manually create a material using MM01 in the client where the data is not being populated. If your not able to create using MM01 manually then probably you have to check with the functional person
08-15-2006 11:49 PM
Yes, we are able to manually create a material using MM01. We are also able to change this field for any material created using the BAPI. The only fields that aren't showing up appear to be the ones related to the Material Groups.
08-16-2006 3:05 PM
Does the bapi give any error. How r the material groups and the materials set in the client? This is what i would look into if the data does not change in one client. Just a thought as i faced a similar problem and the data in one of our clients was not set properly.
08-16-2006 7:07 PM
The BAPI does not give any error. The Material is created with all fields properly saved except fields MVGR1-5. If a client is not set properly, how can I "activate" these fields?
I just tested it again by creating a new material in client 1. This worked perfectly. I even did a change material on this same client and it worked as expected.
When I tried it on the second client, everything was fine except for those 5 fields. Any clues???
Thanks for the help.
11-15-2006 5:58 PM
Problem was with a field configuration and fixed by someone from the functional side.