I am having an issue on transactions ME21N and ME22N. When i save the PO, there is an output type that creates an IDOC, ORDERS05. I have extended the IDOC by adding a new segment. The problem is:
When a user creates a PO and saves it, the new segment is not populated and the IDOC falls in error. But when logs off and logs in again and saves the PO created again, the new segment is populated and the IDOC is succesfull.
When another user creates a new PO, the new segment is populated and the IDOC is succesfull.
Can you please help me on this?