FIDCCP02 - automatic tax calculation. IDoc Basic Type: FIDCCP02. S4F23 Product Cost Planning in SAP S/4HANA . GL E) When I enter line item 2, I also entered some data in the "Assignment" field (BSEG-ZUONR). There is no such field in the IDOC FIDCCP02 nor i could find anything relevant to load INTDATE in SAP. At this point, the Sp. lv_prctr type prctr. I am developing abap program which uploads values from a flat file and creating an idoc. The IDoc is getting posted correctly and the document is also getting created. However, when i view on change mode (FB02), the planning level field appears but the. This tool is particularly useful for checking that received input. 1. Please guide how to do the configuration here. In the SAP standard system, only the FI document, general ledger and. The administration part ( Control Record )- which has the type of idoc, message type, the current status, the sender, receiver etc. The IDoc is getting posted correctly and the document is also getting created. Please provide a distinct answer and use the comment option for clarifying purposes. RSS Feed. Sales And Distribution (SD) SAP R/3; SAP R/3 Enterprise 4. I have modified user exit EXIT_SAPLF050_006 (include ZX050U06) like this: LOOP AT idoc_data. I want to pass Long text in GL line item , is there any option in IDOC FIDCCP02 to pass long text. You can use this API for "business" operations. Hi Craig, I had suggested this solution. 6c) via IBM Websphere (Inbound IDoc), I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002), In the extension ZFIDCP02 and under E1FISEG, I am add my segment. However complete end-to-end scenario (OutboundFinancial Accounting (FI) SAP R/3; SAP R/3 Enterprise 4. the 1st IDOC is created successfully with the basic type PEXR2002. Enter the Name of IDOC you want to create then click 2nd button ie extend the IDOC. The same can also be enhanced to develop a program for transactions involving table controls . Has anyone used this as an Inbound IDOC via PI to post all the 3 document types? The reason of faulty is correct, but i do not really understand why an FIDCCP02 is created. Outbound Idoc for FB01. Cross-Application Components. Can any one tell me what all Standard outbound processing Function module I can use to create this type. 1431 Views. Post Withholding Tax During Payment Posting. "Hi! This User Exit EXIT_SAPLF050_006 only allows to park document that contain G/L account line items. We are using the IDOC type ACC_DOCUMENT03 with BAPI, BAPI_ACC_DOCUMENT_POST to generate the accounting document. However, when I use FBV0 to attempt to post any of the created parked documents I get 1 of 2 errors. 2) Copy the standard function module of BTE “SAMPLE_INTERFACE_RWBAPI01” to a Z Function module, say “ZSAMPLE_INTERFACE_RWBAPI01”. You can use the transaction code SE16 to view the data in this table, and SE11 TCode for the table structure and definition. Account Payable Recievable Idoc Simplified. Treasury updates via IDOC FIDCCP02 - SAP Q&A Relevancy Factor: 1. Buyers can use the GSVERF03 IDOC to send MM invoices and the FIDCCP02 IDOC to send FI invoices. However, while processing IDOC for FI posting we are getting message “Balancing field Profit Center in line item 001 not filled- Message number -GLT2201”. 200 for ESA and 100 to ESE. While posting partial down payment for vendor against down payment request system will raised message F5002: No suitable down payment requests exist. It should anyways be set up in your ALE distribution model. Hi, I have to create a IDOC of Basic type as FIDCCP01 (FI document) from document. I created an extension for this Idoc type for new fields added in BSEG (Fields of the new GL). e existing IDOC. Follow RSS Feed Hello SAP-Gurus, The following scenario: We want to send Idocs to another system using message type FIDCC2. The reason of faulty is correct, but i do not really understand why an FIDCCP02 is created. FIDCCP02. "1. Former Member. Hello, We need to post journal entries in SAP from a non SAP system. Hi , I need to find the appropriate user exit for this scenario. Goto the following path in TCODE: SPRO. I found idoc FIDCCP01 and apparently it has all required. This is referred to as the Control record. Please take the GL account which you are trying to post. A New Home in New Year for SAP Community: Exciting times ahead for the SAP Community!For a vendor, on the All vendors list page, go to Invoice > Settle open transactions. Now I tried to add idco segement E1FISET to Idoc. Alert Moderator. The Ariba Network adapter for SAP NetWeaver also supports transmission of invoices that are created through self billing. How to identify a user exit for IDoc. But when I am testing the inbound idoc using we19, it gives a no. hkont. do we need to do some setting in WE41 and WE20 inorder. In the Partner profiles: Outbound parameters screen, maintain the following values: Partner No. Use tcode BD64 to setup a distribution with message type FIDCC2, and. In the Partnerprofiles i maintained this data combination. Please advice. I'm using the following fields: E1FIKPF : FI Document Header (BKPF) BUKRS : Name of global company code. I check on the setting, in BD64 i maintained the distribution model and allocated the profile numbers as well. In this IDoc I want to send field 't_e1fiseg-prctr' with no. But some created IDocs fit to my maintained partner profile. In this blog let’s look at how to implement the exit points provided in the standard content with an example. is sent to FI only by default). Here are the steps to do posting F-47 (Down Payment Request) via BAPI and BTE with 1 line item: 1) Create a new function group using transaction code SE80. We need to build one custom object in SRM. Depending on your processes, your IDOC message type can be either FIDCCP02 or INVOIC02. It's basic data was configured on PI IDX2 and it is loaded just fine: What could be possibly wrong? Thank's! Flavio. 2. You may choose to manage your own preferences. Is this is the most generic IDOC available? I do not want to use individual IDOCs for each GL , AP and AR to post the document when one IDOC can do the same for all the 3. wa_E1FISEG LIKE E1FISEG. SAPの会計系モジュールは、大きく分けて2つ存在します。 1つがFI(Finance)―。もう1つがCO(Controlling)です。 このページでは、COって何?COってどんなことができるの?導入の目的は?というような疑問をお持ちの方に、COの概要レベルの内容を端的に解説します。 このページで学べる内容 COと. Most important Database Tables for Idoc Fidccp02 # TABLE Description Application Table Type; 1 : EDIDC: Control record (idoc) Basis - ALE Integration Technology: I am planning on using idoc type FIDCCP02 to post GL , AP and AR documents via SAP PI in SAP . Right now bank information for a creditor or debitor will send with the master data interface - this means with idoc basic type DEBMAS07 and CREMAS05. I am populating the following: 1) Posting to the Vendor with the gross amount populated in the E1FISEG segment and the tax amount in the E1FINBU. matnr "The secenario is the 'Value,TaxVAlue & VatValue' should be handled by replicating E1FISEG like (HAve used External definition for IDoc)" Value -> Line item 1. I found IDoc Type FIDCCP02 but the Function Module 'IDOC_INPUT_FIDCC2' for FIDCCP02 is not released. Create a structure with the fields that are required by the target system. Step 12 : In transaction WE30 we can check the IDOC created. thanks in advance. 2) Copy the standard function module of BTE “SAMPLE_INTERFACE_RWBAPI01” to a Z Function module, say “ZSAMPLE_INTERFACE_RWBAPI01”. What are the configuration settings for Outbound process of FIDCC2 message type that i need to do on the FI front in SPRO. 0. User Exit for Inbound IDOC FIDCCP02 - FIDCC2 - SAP Q&A Relevancy Factor: 1. Featured Solutions API Management Manage and secure any API, built and deployed anywhere Integration Connect any system, data, or API to integrate at scale Automation Automate processes and tasks for every team MuleSoft AI Connect data and automate workflows with AI Featured Integration Salesforce Power connected. FIDCCP02. COURSE OUTLINE. There would appear to be various possible candidates with regards to Basic Types, Message Types, Function Modules etc, for example : Message Basic Type FM. Follow. A New Home in New Year for SAP Community: Exciting times ahead for the SAP Community!A New Home in New Year for SAP Community: Exciting times ahead for the SAP Community!RSS Feed. As the '+' record may be closed, but period may be opened for some ranges of account. RSS Feed. VATDATE vat registration date tax change FB02 VATDATE_CHECK VATDATE_VALUES VATDATE_VALUES_DEFAULT_SAP obck BUDAT BLDAT BSET-STMDT FF*785 V_TBAER steuermeldedatum steuer weschel , KBA , FI-GL-GL-F , Value Added Tax (VAT) , How To. Add a Comment. You need to configure the receiver IDoc adapter to convert Integration Server contents from IDoc XML to native IDoc format and to forward the IDocs to an SAP system or subsystem by using the standard tRFC IDoc interface. This IDOC is associated with message type FIDCC2. 0. gv_segnum = idoc_data-segnum. Infact I could post the IDoc in ECC. Hello. 2. Hi Craig, I had suggested this solution. The IDoc that most resembles my input file (and how FI is structured, with BKPF, BSEG, etc. Cross-company code. SAP Database Tables. As you can see I tried to use. Create Receiver Determination 11. SAP S/4HANA 1610. This way all documents will balance. E1FISEC is a standard IDoc Interfaces for EDI Structure in SAP CA application. E1FISEG is a standard IDoc Interfaces for EDI Structure in SAP CA application. When using RFBIBL00 one can enter the markfield XMWST (calculate tax automatically) in header BBKPF and field NEWKO (Account or Matchcode. Generate the IDOC type and ALE interface using BDFG, in customer namespace. The posting can be created multiply idocs with 998 lines and the post a balance on each item. 1 ) E1FISE2 : FI Document Item, Second Part of E1FISEG (BSEG)"We use data distribution by ALE, IDoc FIDCCP02 message type FIDCC2, and want to distribute only the open items with a billing document as reference transaction and not the items with a material document as reference transaction. 7; SAP ERP Central Component; SAP ERP; SAP enhancement package for SAP ERP; SAP enhancement package for SAP ERP, version for SAP HANAThis step by step approach can be used to create a Simple BDC program i. Search for additional results. We need to add couple of COPA fields to this INBOUND interface (related to profitability analysis). But by posting an FI Document an IDoc with IDoc type FIDCCP02 is created but faulty with the reason of not existing entries in the outbound table. Some fields have to be filled with specific values to park accounting document via. E1FISEG is a standard IDoc Interfaces for EDI Structure in SAP CA application. In other workds how can we send an. However, no idoc is generated for the reversal of a document if this reversal is done via F. One of the outstanding issues is that not all values needed are populated from the different processes. Step 9 : Once the Z message type is created. I am going to get FI IDOCs (FIDCCP02) at Inbound R/3 system, But some of them we dont dont want to post it based on Doc. Cross-Application Components. I came across this issue when we executed the report. Hi all, I need to send outbound idoc of type FIDCCP02. SAP Database Tables. General Information. We are using FIDCCP02 basic type for posting FI document from a third party system via XI. After you have imported these files, the new IDoc type FIDCCP02 is available which contains a new segment for the data of the extended withholding tax. Oct 19, 2009 at 01:43 PM. About using FIDCCP02 IDoc type for FB50. hkont. My question is about control of field status group. My IDoc reached R/3 but it is with status 51. I am using FIDCCP02 IDOC for FI posting. addInfo ("Current Time: "+dateFormat. There would appear to be various possible candidates with regards to Basic Types, Message Types, Function Modules etc, for example : Message Basic Type FM. Using SAP ECC 6. This will be filled by the XI system internal mapping . When i try to post for F-01, through WE19, above idoc, it is showing the 51 error: Accounting transaction not permitted for posting in FI/CO. Click to access the full version on SAP for Me (Login required). But now the functional team. ZLSPR tells whether it's blocked or not. You can give the name of the segment which you want to come before the IDoc. Hi All, I am Posting a Accounting document in R/3 though Idoc FIDCCP02. If you cannot find a valid text field in the existing segments of this Idoc then you have to enhance this basic idoc type to include a segment for holding the text. One requirement is to append customized segments (which store header details and item details separately) at IDOC FIDCC2 (with Basic type FIDCCP02) which will generate synchronized when customer invoice been created. I would like to know if there are any idoc specific settings that need to be carried out for the summary records to be posted into the idoc. I'm trying to write an XML IDoc file into our Dev SAP system as a proof-of-concept. If standard transaction is not working as per the expectations raise an OSS note to SAP or if you want to validate transaction type, find a BADI or user exit and add your logic for validating transaction type which will solve your purpose. FIDCCP02 through middleware SAP PI. The SAP standard transactions are provided for master Idocs. You need to extend your idoc type. Vote up 0 Vote down. ErrorWe are using the BAPI_ACC_DOCUMENT_POST to post accounting documents. Click more to access the full version on SAP for Me (Login required). ) is FIDCCP01 (or 02 dependent of version) but this IDOC doesn't. Segment: E1FISEC. buzei. Afterwards, implement the attached source code corrections into your system and activate the objects. PEXR2002 PAYEXT (Payment Order to bank) Thanks. The IDoc is getting posted correctly and the document is also getting created. Can you please guide me in this ? Thanks in Advance . The parameters are set to 'FI' by default - which is why only the update of data is started in FI. it is also showing cost center details in the FI line. How should source file look? Shall it be only one structure or more (header, items)? I need to create many IDOCs from one source file and IDOCs (FI documents) will have variable number of items. Hi I am using IDOC FIDCCP02 (Basic Type) to post FI Documents to SAP from external legacy system. Then you should look at exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002), for populating this. Message type :FIDCC2/ IDOC FIDCCP02 - outbound IDOC clearing the document Relevancy Factor: 1. Thanks @mmj7_lpa @jchennuFrom your question what I can understand is, you are not able to find Customer exits for outbound process; 1. 10 characters required. When the message type FIDCC1/FIDCC2 been used for FI invoice IDoc outbound processing, different branch logic at the standard program been triggered which could lead to the following issues I encountered Hi All, I am trying to extract data from xml and post to SAP Idoc(FIDCCP02). E1FIKPF (FI Document Header (BKPF)) Table in SAP. - FI document (FIDCC2/FIDCCP02) - Controlling Document (CODCMT/CODCMT02) Requirement is to change the control-record of the above 2 Idocs. Create an RFC function module for extracting the IDOC data. Now in the inbound parameters cehck what is the process code is attached. 632 Views. Now, I´ve change the Message mapping (a sort change, for example change the description), save and activate, and now the result is not ok. Financial Accounting (FI) SAP R/3; SAP R/3 Enterprise 4. The tSAPIDocOutput is derived from a SAP iDocs entry in my Repository under SAP Connections. E1FISEG (FI Document Item (BSEG)) Table in SAP. Use. e for a transaction which does not have any table control / looping at screen table. Step 12 : In transaction WE30 we can check the IDOC created. IDOC status 51 means application document is not posted. Create a Basic type ZRZORDER. You need to create an SAP Application Interface Framework interface and you have to maintain a raw and an SAP data structure. Hi all , I have an user exit and i need to identify whether its for Inbound or for Outbound . ALE-IDOC is one of the best proven and acceptable terminology through which communication (passing of information) is possible between two different SAP systems. This is the only information maintained . so my task is to create the function module in which i will populate the fields of idoc FIDCCP02 and. Go to the Transaction “ WE02 “. Release it as shown. Glen Anthony. Now my question is how to identify the fucntion module which is getting trigger in the system is there any data maintained in the standard. They correspond to two types of invoice processing mentioned earlier: Finance and Logistics. # SAP IDoc basic type /DSD/HH_CREDITDATA01 – DSD Credit Exposure / Credit Limit for Handheld. If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers (-> Steps to Re-process the IDOC ID: Step 1: 1. Maintain Output Types and Assignment to IDoc Types in WE82 (Tcode WE82) E1FISEC (CPD Customer/Vendor (BSEC)) Table in SAP. You would have to remove the * mark from control data in FS00. You can use the transaction code SE16 to view the data in this table, and SE11 TCode for the table structure and definition. I was hoping to use RFBIBL00 to post FI documents. For example, the accounting document posted is 0100000025 in company code 1234, and fiscal year 2021. Supposed we assigned GL account 100 to ESA and GL account 200 to ESE. The IDoc that most resembles my input file (and how FI is structured, with BKPF, BSEG, etc. Kann man mit diesen IDocs auch offene Posten von einem System zum anderen schicken, so das im Empfängersystem der Beleg als offener Posten (debitorisch und kreditorisch möglich) angelegt wird und für einen Zahllauf bzw. BECS Documentation B000xxxxx Step by step guide for setting of SAP ALE Outbound iDOC communication Page 3 of 16 1 Document mission This document was created as a. G/L assgt field (BSEG-HZUON) is not visible. When processing of the BAPI (or the entire package) is complete, the status records of all the IDocs and all application data generated by the successfully completed BAPIs are written together to the database. e. The quickest way to check this: 1, EXIT_SAPLF050_005 controls whether FIDCC2 Outgoing IDoc should be sent out or. Use tcode OBB5 to assign the Global Company Code, XBJ01, setup in step 1. Then go to table STXH and enter the PO number in the field TDNAME, enter F03 into the field TDID and EKKO into the field TDOBJECT. From technical point of view it looks like Idoc inbound processing is not reaching this piece of code where TXJDP is filled. For some case we need to do automatic tax calculation so for that I am setting XMWST field in IT_ACCIT table in user exit. fahrudeen. SAP Database Tables. 336 Views. It entirely depends on your requirement. My company uses tr code FPG1, FF_5 and FB01 to transfer the journal entries to an external financial system by using IDoc FIDCCP02. Visit SAP Support Portal's SAP Notes and KBA Search. PUBLIC Document Version: SAP S/4HANA 1709 FPS02 – 2018-04-13 Central FinanceHi, I would like to know in which EXIT or BADI I should append my new segment to the idoc data. If the tax code does not exist in the /ARBA/TAXCAT_MAP table, Ariba Network adapter for SAP NetWeaver does not process the tax code in the MM invoices. Customer-Exit in this FM and was able to change the control record. We need to generate an iDoc from an external source which will create an AB Accounting Document in SAP R/3. Line Item 2: Cr. Hi Group, I am trying to post FIDCCP02 with tax line by passing automatic calculate tax flag, but system not posting tax line ,can any body suggest. The reason of faulty is correct, but i do not really understand why an FIDCCP02 is created. 7; SAP ERP Central Component; SAP ERP; SAP enhancement package for SAP ERP; SAP enhancement package for SAP ERP, version for SAP HANA The current version of SAP includes these fixes allready. Instead of mapping to the root node , try bringing the UDF to element level. This works so far without any problems. png (39. When i try to post for F-02 (or FB01), through WE19, above idoc, it is showing the 51 error: Accounting transaction not permitted for posting in FI/CO. buzei. Extended withholding taxes. I coud'nt find an exit or someting to fill my custom segment. Custom segment have five fields, one out of five only i found it is BSEG table, rest of four is custom fields. Integration. Idoc field with Blank value. When executing General Ledger Allocation Assessments (FAGLGA15) field VRGNG is not populated in table ACDOCA. 4965 Views. do we need to do some setting in WE41 and. See in WE20 if you are assigning the Process code then it should not be message type it should be output type. If we need to configure message control. But by posting an FI Document an IDoc with IDoc type FIDCCP02 is created but faulty with the reason of not existing entries in the outbound table. 2. The file currently contains FIDCCP02 Idocs. For partner profile the mesasge type is assigned and idoc type . Please advise how to achieve this. conn. Thus is there is a direct mapping such as. The reason of faulty is correct, but i do not really understand why an FIDCCP02 is created. In other transactions I placed a function made by me in a user-exit or badi that fired "at-save" event. Hi, I am using the basic IDOC type FIDCCP02 and sending the billing information to the PI system. Course Version: 06 Course Duration: 3 Day(s) privacy statement, for purposes that may include site operation, analytics, enhanced user experience, or advertising. One requirement is to append customized segments (which store header details and item. Dec 17, 2007 at 10:03 PM. 2. I'm creating accounting documents with idoc (Message type: FIDCC2, Idoc Type: FIDCCP02). then 3 options will appear in next screen. Idoc Fidccp02 Tables Most important Database Tables for Idoc Fidccp02 # TABLE Description Application Table Type; 1 : EDIDC: Control record (idoc) Basis - ALE Integration Technology: Transparent Table 2 : EDIDD: Data record (idoc) BC - ALE Integration Technology: Structure 3 : EDI_DC:FIDCCP02 idoc. Just goto SE16 Transaction -> enter table name EDIFCT -> enter Idoc type ORDERS05 -> here you can see list of FM. I am using FIDCCP02 IDOC for FI posting. Import IDocs (FIDCCP02 ) 3. I'm trying to design an Inbound interface using Idoc type FIDCCP02 with MSG type FIDCC1. The reason of faulty is correct, but i do not really understand why an FIDCCP02 is created. E1FISEC. BSEG updated properly in CORP system but in the source system, those 3 fields are never updated. firstly, check whether the segment ids are the same as idrefs, so as to be sure that you use all of the segments accordingly. We come accross IDOC FIDCCP02 (Basic Idoc type) and IDOC_INPUT_FIDCC1 function module for above scenario, pls let me know will it work or not? We are using RFBIBL00 (Batch Input Documents) program to posting the FI documents to SAP through file interface. If this is an outbound then , populate the new field under the user-exit of the standard function module that populates this idoc. Create IDoc FIDCCP02 / XMWST. IDOC gets succesfully posted and generates FI document as well (visible in FB03). Regards, Praveen. Hi, I am trying to use the above IDOC to post a vendor invoice (KR) with Tax. Anypoint Connector for Amazon SQS (Amazon SQS Connector) provides an easy way to interface with the Amazon Simple Queue Service (Amazon SQS) API, enabling Mule users to manage SQS queueing services without having to interact with the API directly. Dear friends, Backrgound of the case:- We are currently using the FIDCCP02 Idoc type (ALE) for interfacing vendor invoices from SAP ERP R/3 4. Create/Assign Message type – Transactions WE81/WE82. Now my requirement is when user park the document it should trigger the custom outbound function module which will generate the idoc of type FIDCCP02. I do not remember if it was you who posted the question. format (date)); field1 (source)---->UDF---->field2 (target). Dear Community, I'm only a ALE expert and have seen masterdata distribution of several objects. E1FIKPF is a standard IDoc Interfaces for EDI Structure in SAP CA application. IDOC FIDCC1/FIDCCP02 Issue. I created a custom one as standard one is not released yet, My question is how to handle records if number of records in flat file coming from legacy contains more data. So, as you can see, we are using IDOC FIDCCP02. When I send a request to the endpoint from Java, PI returns a SOAP fault. Step 11 : With Z Message Type , Z FM’s for both Inbound and Outbound gets created. Best Regards. I have created the new segment to add new Z fields that I added before on the BSEG, and I have created FIDCCP02 IDoc for Invoice Status. RSS Feed. Follow RSS Feed Hello All, I am planning on using idoc type FIDCCP02 to post GL , AP and AR documents via SAP PI in SAP . Jürgen Lins. Steps to be followed: Enhance the data type. e ZEXT ), but not to BSEG table. Company-wide applications such as accounting, human resource management and sales planning may. tag min max O/M content/example description <E1EDK14 SEGMENT=1> 0 -1 O E1EDK14 : Document Header Organizational Data <QUALF></QUALF> 0 1 IDOC qualifer organization <ORGID></ORGID> 0 1 IDOC organizationFIDCCP02. We are using FIDCC1 and FIDCCP02. Hello experts, I am doing an FI posting using FIDCCP1. Outbound Processing FM for IDOC type FIDCCP01. You will get Partner type, partner number and message type from outbound Idoc in WE02. Step 1) Enter transaction FB60 in SAP Command Field. Alert Moderator. I did find an exit "EXIT_SAPLF050_001", but we can fill only one segment at item level using this one. F-47 to vendor. Configuring the Receiver IDoc Adapter. BUC: CML/FI/SL/EC interaction. EDIDC40_:DISABLED. " I have a question about the data transfer of FI-CA to G/L. So that postings with that tax code should be posted on particular G/L. I read that for obligatory fields, the program RBDAPP01. Follow the following steps: 1. I am using standard idoc,i. years. Follow. In the Cross rate field, enter the exchange rate between. Symptom. Enterprise Software. Profit Centers are used for Internal Control purposes enabling management the ability to review areas of responsibility within their organization. I have a requirement where i need to fire an idoc type FIDCCP02 from transaction FB01. Second to the first question, specifically Idoc FIDCCP02 - which updates BSEG - isn't clear to me if it the correct Idoc for an FI is this one, or if there is a new one. I have some sample XML as input flowing into a tXMLMap component, then converted from Document to String and finally wired into a tSAPIDocOutput component. Save the object and go back. But the user has made some postings using Tax Code T1 and the GL. 7 system needs to be posted on SAP 6. I need all the three values at the same time. 2. Is it possible to generate the. Create an RFC function module for extracting the IDOC data. My issue is, I have header and Item records and from there i have to extract 4 lines of data for mapping to Idoc (1line for header+3 lines for line items). I have some sample XML as input flowing into a tXMLMap component, then converted from Document to String and finally wired into a tSAPIDocOutput component. I came across this issue when we executed the report KSB1. mwskz. IDoc Interfaces for EDI.