What is the flow for SAP Status going back to SAP for Gentran Server for iSeries product?
1. The SAPIN program will call the PRCINCL to process the inbound flow.
2. After the Inbound Editor runs, which will update the SAPACK file, it then calls SAPSTATCLI.
3. The SAPSTSTCI program will call an RPG program STATEOJI (This program will process any new SAPACK records that have not yet been processed. This program will prepare the file for transmission back to SAP).
4. Once it has compiled all of the records, it will call STSEOJO2, which transmits the IDOC file to SAP.