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.
Showing posts with label IDOCs. Show all posts
Showing posts with label IDOCs. Show all posts
Friday, September 2, 2011
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).
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).
Subscribe to:
Comments (Atom)