cancel
Showing results for 
Search instead for 
Did you mean: 

ORDERS01 IDoc goes in status 51

Former Member
0 Kudos

Hello experts,

We have a scenario where an inquiry (IN) needs to be created by ORDERS01 IDoc issued from the SAP PI system. PI translation happens fine and IDocs are being created in the R/3 system but they all go in status 51(BD87) with the error

EDI: After DOCUMENT_OPEN_FOR_PROCESS, DOCUMENT_STATUS_SET is missing

However, if I go to we19 and reprocess the IDocs with stauts 51 they are all posted successfully and the inquiry document is created in R/3. Any idea why it goes in status 51 when an IDoc comes through PI.

Thanks,

Abhijit

Accepted Solutions (0)

Answers (1)

Answers (1)

madhu_vadlamani
Active Contributor
0 Kudos

Hi Abhijt,

What is the long message you are getting.

Regards,

Madhu.

Former Member
0 Kudos

Hi Madhu,

Thanks for responding. This is the long text:

EDI: After DOCUMENT_OPEN_FOR_PROCESS, DOCUMENT_STATUS_SET is missing

Message no. E0060

Thanks,

Abhijit

Former Member
0 Kudos

Hi ,

Resolved this issue.

Posting function IDOC_INPUT_REQOTE was not able to determine the sales document type (IN). On debugging I found that it was looking at table EDSDC in R/3 to determine the sales document type. I made an entry in EDSDC with my customer, vendor, sales area and sales document type information. Also, in PI I changed the mapping to map vendor number to E1EDKA1-LIFNR. This mapping change was required because the posting function uses vendor number and customer number to look up sales document type in EDSDC.

Thanks,

Abhijit

madhu_vadlamani
Active Contributor
0 Kudos

Hi Abhi,

Good.

Regards,

Madhu.