Idoc File format

Hi,
1, Where can see the IDOCS file format, whether is there any possibility of having different file format for different IDOCS?
Please let me know one example for this....
Thanks in advance.

Hi
Idoc file format is flat file structue, that structure converted into idoc number format(16 degit number). If you are using file port EDI sub-system conver this file format into non-sap language format.
Thanks & Regards,
Murali

Similar Messages

  • IDOC file format supported ? but how?

    hi all,
    i am trying to achieve to read an idoc file with soa suit. but i can not find how to handle this data structure.
    can anyone give me a hint to documentation where this is described?
    regards chris

    hi manoj,
    in our environment we are used to changing IDOC structures one a almost daily basis.
    iway has two crucial problems for us:
    1) it is not possible to receive generic idocs as IDOC_INBOUND_ASYNCHRONOUS s SAP designed it supports. idocs that are received by iway therefore always must be typed and "well known" by the receiver. so iway is not idoc agnostic and is not able to update its idoc structures without rebooting to get the format "well known". as far as we understand it. for us having to reboot a SOA system on a almost daily basis that should be 99.999 % available is not an option. at least for us.
    2) iway is very lets say work intensive for configuration/administration if you have to deal with let's say 30 -100 SAP systems.
    therefore we think about not using iway at all but doing everything by file (IDOC format EDI) and hope to at least get rid of point 2. if we get rid of point 1 is still open to the implemenation of the third party library.
    regards chris

  • IDOC file format convert into ANSI 834 *12 file format

    Hi all,
    I have a new IDOC, I want to change this flat file structure into ANSI 834  *12 file format.
    How it will done.
    Suggest.
    Thanks
    Sanket sethi

    hi
    Go to transaction WE30 and give the IDoc basictype name CRMXIF_PARTNER_REL_SAVE_M01 and press the view-button (or press F7 key).
    This information you will need.
    The records are builded using the following structure:
    1st record contains control record information and follows the structure of table EDIDC.
    Starting at where "220" is given (this is the CLIENT), it is followed by the IDoc number field DOCNUM (16 digits) and so on. Not all fields must be filled, only those that are used for inbound messaging. Keep here in mind: Less fields filled will probably work better (because SAP will add its own details on arrival of the IDoc).
    All following records follow the structure of table EDID4 upto the field: HLEVEL (Hierarchy level, identical to the level found in WE30).
    Thereafter it is followed by the name of the segment (including spaces) and after this it will follow the exact structure of the segment.
    To view a sample, just generate a dummy (test) IDoc and use transaction WE19 to fill in the fields after changing to the correct IDoc type.
    thanks

  • IDoc file format that corresponds to BAPI_ACC_DOCUMENT_POST

    I have  developed an ABAP program that reads data from a file exported from a non-SAP system and post G/L documents in SAP with BAPI_ACC_DOCUMENT_POST.
    Now, I would like to rewrite the interface with corresponding IDoc. What is the inbound IDOC format file, which corresponds to BAPI_ACC_DOCUMENT_POST. Can you explain how to write this file?
    Best Regards
    Serena
    Moderator message: please do more research before asking, show what you have tried so far when posting.
    Edited by: Thomas Zloch on Jan 24, 2012

    Hi Dewang,
    I'm not sure what the reason behind the different exchange rate, but from what I understand, most of our treasury transaction using flat rate. meaning, they agree and sign contract with bank to use certain rate for a range of period. so, during that period, all the posting will use this flat rate instead of SAP TCURR.
    I have tried to manipulate the internal table for currency amount for afew scenario but still cannot pass the exact rate and the amount for document and local like what in upload file. my last choice is to use BDC, but for recording wise, hard for me to simulate for all scneario; WHT, additional info, cost center etc.. fyi, I have tried to create simple BDC for txn F-02 and it is working for my case: passing exact exchange rate, doc amt and locl amt.
    i still hope for the BAPI to cater for my case, sure got hidden technique or tips to manipulate the exchange rate.
    for those who want to help, you may use below upload sample:
    COMP DOC_TYPE DOC_CURR DOC_AMT LOCL_CURR LOC_AMT EXCHANGE_RT POSTING_KEY
    A200 KR USD 100 RM 321.56 3.33 31

  • IDoc file output from XI (2.0)

    I need to write IDocs (in "idoc file format") to a directory on a receiving 3rd part system. If I use the Outbound file adapter, the files are written i XML. If I use the IDoc adapter, XI tries to make some sort of RFC-call to the receiving system.
    Is there a way of writing "plain IDoc files" to a receiving system?

    Hi rune
    If I understand u correctely , U can write Idoc to third part as XML file or text file.( U can not post idoc to third party as it is SAP propriotry technology which works on RFC) . So u have two options
    1. Make outbound structure u want as reuired and store it as xml file.
    2. Or use standard IDOC structure after importing and configure it as file adapter ( do not use IDOC adapter) and it will create the structure as IDOC format in text file .
    But I have big question is why u want IDOC stucture for third party system because third party system does not support IDOC.
    Hope this will help .
    Thanx and regards
    Vinod ahir

  • PO Idoc in Flat File format

    Hi all,
    I am able to generate the PO Idoc in Flat file format using standrad FM IDOC_OUTPUT_ORDERS. but the Flat file appearing is not in a appropriate format.
    I'm looking to generate the Flat file in such a way that there will be only one line for each Idoc Segment.( with Line termination).
    How to Achieve this.
    Regards,
    S Anand

    Resolved.
    we can use CG3Y transaction.
    Regards,
    S Anand

  • How to convert Idoc file to EDI format?

    Dear Expert,
       I've config outbound process of purchase order and send idoc out put to idoc file(XML) after that I would like to convert IDoc file to EDI format. How to conver IDoc file to EDI format?
    Please suggest me.
    Big thanks,
    Sak

    Consult Abaper..
    Interface is going to do this activity

  • Creating IDoc from DMEE File Format

    Hi SDN,
    Can I create Custom IDOCs from the DMEE file format.
    The file is getting downloaded after the DMEE Run in a specific format individual to every company code.
    I want to generate IDOCs for every DMEE Run.
    Thanks,
    Manu

    Hi,
    your problem is just like filling the segements using the data in other segements. that means if you have knowledge of enhancing the idoc and populating the enhanced segments then in the same way you can populate the BATCH segment also.
    you just go to the function module which will be creating the idoc(if its outbound) / function module which will be posting the idoc which is for inblund and then find the perform where it fills the segments ( it will be the one which you will use to fill the segment BATCH )and go that and at last of form you will find one customer function which you can use to fill the BATCH segment.
    i think this will help u,
    Regards,
    Ravi

  • Conversion of EDI File format to IDOC format

    We have a file in u201C.ediu201D format. We could not process this file with RSEINB00 ( IDoc inbound processing using file ) program.
    1-) Could we directly do our process with this u201C.ediu201D file ? Or do we have to convert this u201C.ediu201D file to IDOC format?

    If it's EDI format file (Ex: EDIFACT, X12 ...etc), we should convert the file to IDOc file by using mapping in subsystems like Gentran or TLe..etc. Conversion from edi format to idoc format will not be done in SAP.
    Reddy

  • IDoc - File Scenario

    Dear SDN,
    We have to develop something like this:
    An IDoc is generated from an ABAP Business System. Using content based routing conditions the IDoc must be sent to different FTP servers. The problem is that the IDoc must be written in its "native plain" format, not in XML format.
    Any ideas?

    hi Gustavo,
    2 ways
    1. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    2. send the idoc from R3 in native IDOC (file port) and just tranport it via XI
    both ways will produce native IDOC:)
    for file ports you can check out my book
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File format for newline character

    Hi there, I have a scenario to do. From IDOC to flat file. I receive a number of idocs and must convert them into a flat file. Each idoc must start on a new line. Each line represents a new record. I have done this and it works fine. But now the system reading the flat file is having trouble with the newline character. Im using ABAP mapping to create the flat file and the newline characters I tried are
    l_crlf(2) VALUE %_cr_lf
    l_crlf(1) VALUE %_NEWLINE
    Lest say I open the flatfile in MS Word and do a character count it shows as 100 char's but on there system it shows as 101. It has something to do with the file format..
    Does anyone know how to fix this?
    Thanx,
    Jan

    It turnes out that their file encoding was not the same as ours so I just changes the file type brom binary to text and set the encoding to UTF-8
    Thanx,
    Jan

  • Modify ACH file format in F110

    Hi everyone
    I have to modify the ACH file format using PMW
    How do i proceed?
    Do I copy the function module FI_PAYMEDIUM_ACH_30 and add the necessary codes
    then assign it to event 30 in FBZP or there is a BTE to enhance the event modules?
    thanks a lot for your help

    Prema,
    Yes, you should copy the standard function modules;
    add your coding;
    replace the standard FM with your own in the relevant nodes.
    However, if your bank has capability of accepting EDI (Idocs) transmission, then go that route. I found this way much better and flexible. Although you end up having lot of Idocs.
    regards,
    Vishal.
    Edited by: Vishal Thakur on May 25, 2011 1:02 PM

  • Read/write operation on SAP IDOC file

    Hi All,
    We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
    One of the design considerations for it, is to read these files and convert it into predefined XML format
    and then import these data from XML to oracle database.
    Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
    We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
    Any Java API to read/write the SAP IDOC file, Please advise
    Regards,
    Madhu
    Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PM

    Hi All,
    We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
    One of the design considerations for it, is to read these files and convert it into predefined XML format
    and then import these data from XML to oracle database.
    Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
    We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
    Any Java API to read/write the SAP IDOC file, Please advise
    Regards,
    Madhu
    Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PM

  • Outbound IDoc file question.. Please see..

    Hi experts,
    Is there a Function module to name the files which are outbound from SAP system eg ORDRSP or DESADV. I want the file to be saved in the server in a particular format...eg
    Date_time_message type.txt.
    What is the FM or user exit to be used for this. Then I need to probably give that name in WE21.
    Thanks,
    Charles.

    Hi,
    Have you looked the standard function modules available in transaction WE21 for file port (outbound file tab)?
    If none of them meet your requirement then you can create custom one and assign to function moduled for file name entry (WE55). Once done, then you can use for your IDoc file port.
    I would suggest to copy standard SAP which close to your requirement and modify accordingly.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • How to send a Material Idoc in format XML to SQL Server DB?

    Hi,
    I am creating a Material Idoc in format XML and I need send the same to a SQL Server DB.
    In the transaction BD10 I create the XML Idoc, but the same is stored in the SAP Server and I need send this to an external SQL Server DB.
    Somebody knows how to send automatically the XML Idoc to a SQL Server DB?
    Thanks and regards!
    Edited by: marcosap on Nov 11, 2010 4:00 PM

    Hi,
    All your XML idoc will get store in App layer,you can ask your Unix expert to write the unix code to fetch these XML idoc files and transfer to destination based on time period set by conjob.
    This is simple & easy job for any UNIX expert.
    Regards
    Siva

Maybe you are looking for