File To IDOC Thru XI

Scenario   File ===>  XI  ===>  R/3 ( IDOC) ASynchrnous.
In the Sender File we have more than 2000 Employee Records/rows and this file is Comma Delimited, this is aFixed file format.. We are going to send this file every Monday. This File resides in the UNIX Server. Whether an UNIX Script will Trigger this Process?
How should I Trigger this process, that is how should I send all these 2000 records from the Sender system to XI .
Inside XI should I need to define a Multiline Container to hold all these 2000 records, before we send it to R/3 or if there is any other better way to hold these records inside XI?
So once we send these 2000 records to R/3, who will take care of the Posting? if there is any special routine that will be triggered at r/3 side to take care of these new incoming records?
We are on WAS 6.40, SP 12. This means on the receiver side I can very well go for a Proxy (communication Channel) , instead of the IDOC (Receiver) Adapter. If you say I can go for the  proxy, then what are all the steps that I need to keep in my mind or How should I do this Proxy?
Thanks a lot.

Hi Karen,
>>Whether it is possible to Pick that file on Specific Time of a Day?
You need to specify the poll interval in the file adapter. File adapter does not accept specific time of the day, but still you can make it run for specific time of the day. Say you want your file adapter to pick the file at 3 PM every day then you can specify the poll interval as 24 hrs(specify in seconds) in the file adapter and activate your file adapter at 3 PM exactly. So the first run of your file adapter will be on 3 PM on the day you have activated. The next poll will be on next day 3 PM since you have specified the poll interval as 24 hours.
>>Could you please explain me more on how could I handle that 2000 records that are coming from file in the Message Mapping? So you want to say that there is no need of a BPM at all? We are not Having MULTIPLE IDOCS
Before you decide on IDoc or proxy approach check if there is any standard idoc scenario for handling the employee records. Also check if a single idoc can handle all 2000 employee records or you need to create a separtae idoc for each employee record ans send in a package.
If all the records can be handled in single idoc then you can do this scenario without using the BPM. But if you have to create a separate idoc for ecah employee record then in SP12 you need to go for BPM.
In case there is no standard idoc scenario defined for handling your employee records then check if there is any standard BAPI which can handle the employee records.
If neither of them exists(IDoc/BAPI) then you can consider using proxies , since you need to develop all the required functinality on sap r/3 to take care of incoming employee records...
Regards
Anand

Similar Messages

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • About FILE to IDOC scenario

    Hi Experts,
    i need some help for doing file to idoc scenario.
    1. what are the configurations we must do while doing this scenario?
    2. How to communicate with Legacy system to sap system?
    3. How to create the business and logical systems for SAP systems in SLD?
    4. How to define parameters in communcation in ID?
    5. what work shold be done using SM59 and WE20? and specify the steps please?
    6. finally if u having word file please send from the creation of logical system for sap system?
    thanx.

    Go thru below mentioned links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    once you go thru them you will find answers for questions.
    thanks,
    Venkat

  • File to Idoc - Outbound Error

    Hi,
       I am doing File to IDOC scenario. I got error
    in "Message has error status at outbound status" .. When
    I opend that messeage then i got this ...
    <SAP:IDOCTYP>ZIDOCIN</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>ZMTIDOCIN</SAP:MESTYP>
      <SAP:MESCOD />
      <SAP:MESFCT />
      <SAP:SNDPOR>SAPX11</SAP:SNDPOR>
      <SAP:SNDPRN>Logi_01</SAP:SNDPRN>
      <SAP:SNDPRT>LS</SAP:SNDPRT>
      <SAP:SNDPFC />
      <SAP:RCVPOR>SAPA11</SAP:RCVPOR>
      <SAP:RCVPRN>A11CLNT200</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
      <SAP:RCVPFC />
      <SAP:TEST />
      Can any one tell me what to do to solve this.
    thx,
    Ansar.

    Hi,
    There is somethig worng with your Partner Function while defining the the Partner Profile, please check it. The Partner function is optionla and see if you need it
    Go thru the link,
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b80b543d711d1893e0000e8323c4f/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    Thanks,
    Prakash
    Thanks,
    Prakash

  • Not sure if IDoc was created or received in file to idoc scenario

    Hi,
    I configured a file to idoc scenario in my test client for idoc MATMAS.MATMAS02 , now after going thru all the phases of design and configuration and creating partner profile using we20 , when I m executing the scenario , I am not sure wht happened to the idoc becz i can't see in the R/3 system using we05/02 or BD87 in the XI system .
    Pl help how to rectify the error and find out where the error has actually occured.
    ans will be rewrded
    rgds
    mojib

    Hi Mojib,
    first check in SXMB_MONI whether you have a success chequered flag for the file messge.................if there is error here, then rectify your this error and re-run your scenario................if you cannnot see your file msg in SXMB_MONI, then go to RWB and in comm channel monitoring, see the error in sender file comm channel status and rectify the error in sender file comm channel in ID and save and activate it and then re-run your scenario............
    then execute SM58 to see in there is anything in tRFC.........if there is not anything here, then it means your IDOC has reached R/3.................
    then in R/3, execute WE05 for the relevant period, then you will see your IDOC there with some status..........
    Regards,
    Rajeev Gupta

  • File-XI-IDOC scenario

    Hi,
    I am sending an file data to Idoc thru XI.I am unable to see the file data at XI as well as at R/3.
    I did data type,message type,message interface,MM,IM in IR and both communication channels,both agreements,receiver determination and interface determination in ID.I have given logical system name in adapter specific identifier at r/3. I have given the logical sytem name in the r/3 SLD.created both RFC destinations.Plz tell me where could be the problem
    Regards
    Sridhar Raju Mahali

    Hi Sridhar,
    1. First check if the file is picked up for processing. If you have configured 'delete' as processing mode, see if the file is deleted.
    2. Check Adapter Monitor -> File -> check the channel information. It gives last processing time & error if any. In XI 3.0 SP12, the URL is: http://xiserver:50000/mdt/amtServlet
    3. Check Message Monitoring (Adapter Engine) in RWB.
    4. Check SXMB_MONI.
    So, either the file can be seen if it is still not picked up; or you should see the message in XI. Once it is in XI, you can see the error status of the same.
    Give more details with your observations for above steps, and exact error you are facing. Then it should be possible to identify the exact problem.
    regards,
    Pops V

  • Pass through scenario in SAP PI with no mapping for File to IDoc and Idoc to file scenarios

    Hi Experts,
    Can i have step by step process in SAP PI for pass through scenario with no mapping in case of file to Idoc and Idoc to file both cases please.
    What objects i can skip.
    My PI system is 7.3 dual stack.
    I have seen below blogs, still its confusing to me.
    When and how to create an scenario in SAP PI without mapping objects.
    Pass Through Scenario with no Mapping in PI 7.1
    Appreciate your help on this.
    Regards,
    Mohan.

    Hi Mohan
    In pass thru interface you don't need to create any ESR objects, only ID objects are required.
    Just Create a Receiver Determination and Receiver Agreement for your scenario (no need for Interface Det. and Sender Agreement).
    Specify the IDOC in the Sender Interface and namespace as urn:sap-com:document:sap:idoc:messages
    Or instead of creating objects manually, Run the wizard with Idoc name/namespace in sender/receiver interface
    Regards
    Osman

  • Regaring File to IDOC  Useing SOAP Adapter

    Hi ,
        Can any one please forward me an File to idoc Useing SOAP ADapter Senario.IF i am wrong please send me a simple senario of useing SOAP Adapter.
    Regd's
    Raj

    Hi Raj,
    I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
    Sending a Simple SOAP envelope to XI via HTTP using ASP
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    Also check this Pdf for the Receiever SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Regards,
    abhy

  • XML Files from Idoc

    Hi All,
    pls can you help me
    i need how will i get xml file from idoc
    can you give me the steps to get it
    thanks
    mars

    report zexternalfile .
    tables : zzpublisher,
    sscrfields.
    data: it_publisher like standard table of zzpublisher,
    wa_publisher like zzpublisher.
    select * from zzpublisher into table it_publisher.
    call function 'GUI_DOWNLOAD'
    exporting
    BIN_FILESIZE =
    filename = 'C:externalfileskamal.XLS'
    FILETYPE = 'ASC'
    APPEND = ' '
    write_field_separator = 'X'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = it_publisher
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Pls go thru the following websites :
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Reward points if found helpful....

  • Control record in File to Idoc

    hi guys,
    i am new to XI and now learning File to Idoc scenario.
    after going thru some forums and blogs i found that while mapping the control record EDI_DC40 in the idoc should be disabled.
    my question is will this control record be disabled forever or should the proper data be filled at the runtime.
    help me in understanding this concept plz.
    Points will be awarded
    Regards
    BHASKER

    Hi Bhasker,
    The control record acts as router. This control record has information like which is message type, Idoc type, sender port etc. [http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm ]
    The control records need to filled since data in the Idoc has to be filled accurately. But again it is not necessary, XI has option to fill the control records by itself at runtime using receiver determination
    This blog will help you understand more
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    regards
    Ramesh P

  • File -XI-Idoc partner profile error.

    Hi All,
    Iam trying to post a file to idoc scenario thru xi..when I post the idoc into the r3 system, it gives me an error saying partenr profile not available.
    I checked in the r3 system and have created a partner profile for my XI system and also added the idoc chrmas into inbound and outbound parameters in the dev and XI instance there..
    please could anyone guide me as to where else should i check for this error.. my idoc is in status 56.
    Thanks.

    Hello Shabrish,
    Thanks for your responce.. I went through all the mentioned steps..
    the issue was with the sender port. hence it was giving the exception and the status 56.. its been resolved..
    thanks again.

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Logical System in file 2 idoc

    Hi
    I am developing an scenario of file to idoc.
    My problem is, when it is generating the idoc in target system, the Parner Number in control record is filling with the logical system name given when creating the business system. 
    I tried changing the logical system name with actual partner number which I want but giving an error   '  The selected integration server already has a business system with logical name "pidclnt001". Select a different integration server or change the logical name. '
    Can anybody advice me,  is it not possible to create two scenarios to send same Idoc to same system ?
    Regards,
    Shylesh

    Hi Shylesh !
    You need to enable the header mapping option in your receiver agreement to overwrite the Logical System name that is sent to the R/3 destination system...which now is the Logical System name linked to your sender system (info is in SLD if is a business SYSTEM or in the Adapter Specific identifier attributes if it is a business SERVICE)
    You cannot have more than 1 business service/system with the same Logical System name...but you can overwrite the sender logical system name that arrives to the destination R/3 system using the header mapping section of the receiver agreement as noted above.
    Regards,
    Matias.

  • XI 3 File to IDoc scenario - Still referencing Old Logical system

    Hi
    Dont know if you can help. I have a file to idoc scenario  using XI 3 to R/3 4.6c system.
    I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
    Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
    I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
    Regards
    Daniel

    hi daniel...
    this thread wud answer ur query....
    Re: IDOC Payload
    regards..
    vishal

  • File to Idoc OR File to AbapProxy

    Hello,
    Let me expose my problem.
    In fact, I need to integrate new Goods Movements sent by a non-Sap system to ECC system.
    To do that, the non-sap system sends a file.
    Then, I need to generate from this file an Idoc (MBGMCR), fill this Idoc with some extra data (from Ecc tables) and then to integrate it into ECC.
    The question here is to find the best solution (according to performance and feasibility) to do that using PI (7.0).
    We are hesitating between two scenarios:
    1-     File to Abap Proxy
    We get the data sent by an abap proxy, and then we complete it with the necessary extra data from ECC tables in order to create complete the Idoc segments.
    In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
    Even, using PI will be a waste of performance/time (due to mappingu2026)
    2-     File to IDOC
    This alternative looks more interesting (at least in the PI way).
    But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
    For example, the file contains Orders headers and I need to generate Goods Movements for the materials contained in the orders. So I need to access Orders posts, to retrieve the materials data.
    Is there a way to retrieve simple information in PI using ECC data?
    Any other suggestion/comment is welcome.
    (Any other scenario is also welcome)
    Thanks you in advance.
    Saber L.
    SAP PI consultant.
    Edited by: LMS LMS on Nov 7, 2008 10:24 AM
    Edited by: LMS LMS on Nov 7, 2008 10:25 AM
    Edited by: LMS LMS on Nov 7, 2008 10:25 AM

    ABAP proxy would improve performance in terms of providing adapterless communication.
    In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
    Making a direct connection would increase point to point connectivity across the organization whose reduction is one of the reason why XI is used.
    If ur communication is async and u have the idoc structure ready, then u may proceed with Idocs.
    But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
    If you want to prevent the node from getting generated, simply disable it in mapping.
    I hope u have seen this
    Choose the Right Adapter to integrate with SAP systems
    Regards,
    Prateek

Maybe you are looking for

  • Reports on Middle Tier

    the folling 2 files are located in ORACLE_HOME\NET80\ADMIN 1) tnsnames.ora 2) sqlnet.ora Though the following changes have been made in the below 2 file tnsnames.ora Changes - Rep60_Engine.world = (ADDRESS=(PROTOCOL=tcp) (HOST=80.1.0.88)(PORT=1949))

  • PowerView filter problem with Arabic

    When I type text in PowerView filter, the Arabic orientation goes wrong. The screenshot on the left shows the filter before typing in the text field, on the right shows the filter after typing in the text field. The Arabic gets changes/corrupted I be

  • Some image imports from Photoshop won't show in After Effects

    I NEED HELP ASAP I'm creating an app and I used Photoshop. Imported the psd file into After effects. But somehow all the images won't show, only text. I'm trying to animate it so it looks like a normal scroll up and down from an iPhone. But all the i

  • MRP profile custom field addition

    Dear experts, Is it possible to add a field to the MRP profile list of fields that come in MMD1/MMD2? I observed that not all the fields that appear in the material master MRP views are part of the MRP profile. Thanks Suman

  • No SID Number Range Object Found

    Hi,  Just curious..  I created an infoobject and I found that there is no number range object BIM*** for the sid.  When I do an RSRV I get the below listed message: Any ideas what this means? Characteristic ZSOUTLET2 does not get its SIDs by using a