2013 Oct 10 5:06 PM
Dear expert,
I am new to development and may i ask about based on the scenario below:
I would like to use the POS interface in SAP having the following procedure, please advice if the procedure below is correct
1. There will be some flat csv file from external POS system , contains data and send to a folder on SAP server
2. Ports, Partner profile and Logical system has been created in SAP
3. There will be an ABAP program to import the data from csv to internal table
4. Using the message type WPUWBW, Basic Type WPUWBW01 , Process Code WPUW for inbound
5. There will be an ABAP program to fill internal table data to IDOC (or XML) filling in segment type E1WPG01.
6. Trigger report RSEINB00 and done !
However, we come up to a critical point which is on step 5, how could we put the data to IDoc?
We know that from TCode WE60 IDoc Documentation we can export a XML Schema but how chould the XML Schema transform to XSD for ABAP program to feed in?Would it be possible to provide some code example on the ABAP program mentioned in Procedure 5?
Thanks so much i hope i you guys can save my life!
Best,
Chris
2013 Oct 10 8:16 PM
Hello,
I guess you need to use the FM 'IDOC_INPUT_POS_INV_MANAGEMENT' to push the Idocs in ECC
best regards
swanand
2013 Oct 10 8:16 PM
Hello,
I guess you need to use the FM 'IDOC_INPUT_POS_INV_MANAGEMENT' to push the Idocs in ECC
best regards
swanand