Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IDOCs - IDOC type ORDERS05 with message type MSGCHG


I'm in my first IDOC project and I'm facing a problem. I need to change sales orders with EDI messages, so I've decided to use message type ORDCHG and IDOC type ORDERS05. I'm filling segments E1EDK01, E1EDP01 and E1EDP19. In header the action is '003' to indicate I'm going to change items, and in item the action is '002' - change. I'm not changing all items of the order, so I only fill item segments for the item I want to change.

The problem is the F.M. IDOC_INPUT_ORDCHG looks to use batch input technique to update the order and the BDCDATA contents does not look good. And I receive a message saying VBAP-PSTYV is not an input field. I'm not entering the contents of PSTYV in segment E1EDP01.

Does anyone have any idea of what can be the reason for this problem ? For the error, and for the fact of the contents of BDCDATA do not look good.

And any idea of how to solve it.

And does anyone knows if the batch input technique is mandatory, or is there any way to avoid it like forcing the standard to use a BAPI ?

I'll really apreciate any possible help, because i'm without any idea about how to solve problem.

Thanks in advance,

Paulo Sousa

Former Member
Not what you were looking for? View more on this topic or Ask a question