Showing posts with label IDOCs. Show all posts
Showing posts with label IDOCs. Show all posts

Friday, September 2, 2011

How to know application documents posted by one IDOC incoming from POS

If you need to get the application documents posted by one inbound IDOC from POS (Point Of Sale) you can use function module POS_SA_GET_DOCUMENT_STATUS. 

This FM is used in standard transaction WPER  (POS Interface Monitor) to show the documents posted as result of integrating an Inbound POS IDOC.

Monday, August 29, 2011

How to create an incoming IDOC from ABAP program...

If you need to create an incoming IDOC by code in ABAP program, you can use the following function module: IDOC_INBOUND_SINGLE.

You will have to provide IDOC's Control Record information (parameter PI_IDOC_CONTROL_REC_40: structure parameter of type EDI_DC40) and the content of the IDOC you want to create (parameter PT_IDOC_DATA_RECORDS_40: table parameter with records of type EDI_DD40).