Dear all,
I have not enough knowledge to know how implement a solution:
Actually, if you create a SO, a PReq is automatically generated. If you had another item in the SO, an item de PReq is automatically generated.
But I need to have antoher PReq (instead of new PReq item).
When I look in the code, there is an interesting part in program FV45EFMA_BESCHAFFUNG_ANLEGEN.
In PERFORM BESCHAFFUNG_STATUS, variable DA_STATUS is initialize with a value:
- V if there is no PReq created for this SO --> first item created
- H if not --> second item created
This value seems to be important in FM call : ME_REQUISITION_EXT.
In debug mode, I forced the value H for the second item created and a new PReq has been created.
I have 2 problems:
- It's a standard modification
- If the user fill two SO items (not save between the two items) there is always the value 'H' but not 2 PReq.
Could you please tell me if you have a solution or something which could help me?
Thank you very much in advance.
Best regards,
Robin