cancel
Showing results for 
Search instead for 
Did you mean: 

SRM:Error message Material 0 not maintained in Plant

dhinesh_thirugnanam
Active Participant
0 Kudos
479

Hi All,

I am getting this error"Material 0 not maintained in Plant IN01"(screenshot1).Material all extended already....there is no material as 0.

Steps:

1.It's Plan driven Proc.system.PR line item is created which has material(XYZ) and pushed to SRM system through std.background job.

2.In SRM system the Shopping cart is created,when the last Approver has approved,this error message appears in RZ20(screenshot2) in SRM system.

Please suggest what needs to be done to overcome....

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member733121
Discoverer
0 Kudos

Hi Ricardo,

1.We are creating PR from ECC(Screenshot) and then transferred to SRM system through BBP_EXTREQ_TRANSFER program.

2.In SRM system the Shopping cart is created(screenshot) with material number having 40 character's.

3.Once the shopping cart is approved by the last Approver the status(screenshot) is changed to Error status and the error "Material 0 not maintained in Plant"appears in RZ20&Portal screen.

What I did before the last Approver approves the shopping cart, I setup a external breakpoint on the Badi-CHANGE,I changed the length of the material to 18 characters and approved the shopping cart.The issue"Material 0 not maintained in Plant" did not appear in Rz20/Portal screen but the status still displays as ERROR. Not sure what reason it changed....

4.On checking the workflow the status workitemID is in error.How to determine the root cause of this issue.

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

You can try to isolate this issue to see if material "0" is being sent from SRM or not.
You can create a test data in BAPI_REQUISITION_CREATE to see the material format that is being transferred.

To do this, read note number 539978.
As described in this note, please:
- Set the Parameter FBGENDAT 'X' in the backend system for the RFC user of the SRM system;
- Execute the report FBGENDAT in mode 'B';
- Start the PR transfer from the SRM system by creating a new shopping cart and check whether a test data record was generated in the Function Builder (SE37 in ECC side for BAPI_REQUISITION_CREATE);
- Deactivate the generation of test data records by deleting the entries in report FBGENDAT and resetting the user parameter.

Then, access this test data in ECC side and see which value is being populated for the material number. If it is not 0, probably ECC system is changing it.

Regards,
Ricardo