on 01-24-2014 3:06 PM
Hi All,
I used BAPI_MATERIAL_SAVEDATA in a program to update a MARC field in MRP2 view.
For this, I set headdata-mrp_view = 'X', and other data required. The MARC field is updated successfully.
But when I check MM02, I got the error ' Material not fully maintained for this transaction/event'.
Initially I could display Basic Data view, but after BAPI call, I could not display Basic Data view.
I observed that MARA-PSTAT is overwritten with value 'D' (MRP view I set above).
How do I fix this?
Thanks Hannon.
I think there is no oil view related issue in this case. But thanks, IS-OIL issue is really helpful.
If I update a field in MRP2 view in MM02, MARA-PSTAT is updated, say, from KAB to KABD.
But if I update using BAPI_MATERIAL_SAVEDATA giving headdata-mrp_view = 'X'.. MARA-PSTAT changes from KAB to D. Then I have to extend KAB view for the material again. I want to avoid this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no value assignment for PSTAT field. I just marked MRP_VIEW = 'X'. Assigned plant and then MARC-field in MRP2 view.
As of now, I have LOOPed at MARA-PSTAT letters, and all the 'VIEW's flags are marked X accordingly. This appends 'D' to PSTAT existing value and stops overwriting of PSTAT value completely with 'D'. I am not sure if this is how we should do.
Note: MARC-field is actually is from append structure, and I have used BAPI extension structures for that.
Hi
Are you using IS-OIL in your system? If yes, have a look at the following attached note
322832 Oil fields in the material master
Report ROIB_MARA_VPSTA may help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.