Skip to Content
0
Apr 10, 2014 at 02:44 PM

How to maintain segments for PORDCH03 (IDOC)

475 Views

Hello Expert.

I need to be able to create and change PO data from text file. For this i parse data from files, then I manually maintain segments for idoc, and then I send it by CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS'. So, for PO create I have no problem it is working right. But for PO change i have an error 'Document does not exist'. I tried to maintain PO_NUMBER field of header segmet manually.

For example: e1bpmepoheader-po_number = 'XXXXXXXXXX'.

Where 'XXXXXXXXX' - number of already existing PO in EKKO table. But I stell have this problem. Maybe you know what I am making wrong?

Best Regards,

Mikhail.