I need to know how the mapping is done in a Standard Inbound IDoc. I know the Message Type and one already processed IDoc.
The Message type, 'ACC_DOCUMENT', and an IDoc no. is informed and in that IDoc for one of the Segment:
it's required that whatever be the entry in the field 'PYMT_METH' in the Segment should get updated in the field 'Assignment' in the Tcode FB03. Payment Method is the field ZLSCH in the table BSEG and the Assignment field in FB03 is the field ZUONR in BSEG_ALV structure.
I did the debugging in the corresponding FM i.e. BAPI_IDOC_INPUTP of that Message type (by specifying the relevant data) and was able to find-out that it's calling the FM BAPI_ACC_DOCUMENT_POST which in turn is used to update the Customer Item of type BAPIACAR09 (as per me), but not able to understand the exact mapping which is done. I was informed the Doc. no. 5425534, Company code as ID11 and Fiscal year as 2014. Kindly assist.