Current Position:Home > Converting a flat file to IDOC

Converting a flat file to IDOC

Update:10-11Source: network consolidation
Greetings to All,
I have a requirement where i need to convert an IDOC (flat) file to IDOC.
the idoc is SHPMNT04.Presently i am trying to implement it using FCC at the sender side as the flat file is fixed length type.
Can any one suggest me a better method like using XSLT or Java mapping which could make my work smarter as i am Finding it very difficult to count and write the FCC for the IDOC which is have more than 60 segments.
Any help will be greatly admired.

The Best Answer

I am still having a doubt if this method will work on real time scenario.I mean i have to pick files
from an 3rd party FTP location (polling and picking as and when i get a file starting with say
ABC*.txt).Added to this there will be issue related to the volume of file(1000 per day),will that create
any performance issues.
It is now that you are sharing the complete scenario/ problem , just have a glance from your first post at the top & the replies, because its the problem statement that steers the discussion.
Making the files available for the Report is a seperate task. You have to develop FTP-to-File XI scenario (or regular ftp process to send files across, which normally will not be allowed in XI server), I dont see any other way, if any, I 'assume' that it might complicate the situation.
Performance - it is not something to do with your scenario alone, but the overall system load, configuration etc. (b.t.w 1000 is normal)
Can we schedule a job for running the report periodically?
Yes, scehdule a batch job calling this Report (with necessary variants) with required frequency or exact time (if there is any agreement with sender)
I have started a POC
I appreciate that, best way at this moment. you can reverse engineer from the errors to configure your scenario. for any reason,if you think it does not work, you can always stop and/or look for different solution.
need your help
- Definitely I will share my thoughts, if time permits
how will i get the flat file xml(IDOC) in the source side
do you mean the source structure, you can use the same structure as your target.
once you are convinced with your solution approach, then it is better to close this thread & start a new one with new issues, for more views & suggestions and better readability.
@Rajesh - I appreciate your efforts to solve the issue , but the below is not correct & possible, w.r.t this issue
Here what you need is to do configure File Sender CC with NFS protocol.
  • Converting a flat file to IDOC Update:10-11

    Greetings to All, I have a requirement where i need to convert an IDOC (flat) file to IDOC. the idoc is SHPMNT04.Presently i am trying to implement it using FCC at the sender side as the flat file is fixed length type. Can any one suggest me a better

  • IDOC Flat File-- XI-- IDOC Update:10-11

    Hi,    I have a requirement wherein we have to read the IDOC flat file and post it as IDOC to SAP using XI. I understand we have to use the Flat File Sender adapter and the IDOC Receiver Adapter. On the Sender Side we have to define the Content Conve

  • Convert the flat file to xml format. Update:10-11

    hi, I need to write a interface program in the R/3  to pull the flat file data from the unix application server and do some manipulation and place back into the unix application server in XML format, From the unix box XML file taken by the XI server.

  • Suggesstions on flat file to IDOC Update:10-11

    Hi,    Help me on following topics,    1) What is the use of port in program RSEINB00. I want this program to read a flat file and convert it into IDOC. How does this program recognize to which IDOC format it has to convert the flat file.    2) what

  • Legacy flat file to IDOC into SAP Update:10-11

    after been given the task of converting a flat file structure to SAP idocs my research as lead me into the daunting world of CAPS. Basically I would like to know if using CAPS is the best choice for me and if so what is actually involved to make this

  • IDOC to Flat file and Flat file to IDOC Update:10-11

    Hello Experts,   I have the following requirement in my current project: Third Party Sender sends the data in the in the below XML format via HTTP: <?xml version="1.0"?> <fxEnvelope>   <header>     <message>       <exc

  • IDoc flat file to IDoc Update:10-11

    I am receiving flat file in SFTP Server which need to be posted into SAP (No mapping involved) What will be the best approach ? 1. I tried using IDOCFlatToXmlConvertor (The limitation in the format of source file. The parent and child node relationsh

  • I have one requirement .which is JMS XML file should convert to Flat file Update:11-30

    HI Gurus, My Scenario is sender SAP ---> receiver  MF( Mainframe) .. I have one requirement i will get IDOC from SAP sender pass throw PI to Mainframe...  which is recevier's JMS XML file should convert to Flat file... plz guide me any related sugges

  • Convertion of flat file to XML using DOM Update:10-11

    Hi! I need help for convert a flat file to XML using DOM and by taking the validation of a specified DTD. Can any body help me in this regard. Bye, latfirst you have to decide how the flat file will map to xml. Will you use attributes or pcdata for y

  • Flat File to IDOC- didn't get data into IDOC Update:10-11

    Hi All, Our scenario is Flat File to IDOC.... working fine... didn't get any errors... IDOC also generated but didn't get any data in that IDOC.... for details see the attachment... Thanks In Advance, vishnu.........Hi Rajesh, I am getting payload in