How to serialize File- XI- IDoc

Hi,
we have a scenario FILE->XI->IDoc.
The IDocs (one special idoc type) have to be send to ERP 2005 in serial order (not parallel).
I know, that I can solve this problem with queues (one queue for this interface) - but how can I manage it?
All other interfaces should still work parallel.
Regards
Wolfgang

Hi Michal,
wow - it work's ... but the idocs in ERP 2005 have now the state 75 (yellow) (in WE02; the message is: IDoc received via qRFC).
All messages a sent to ERP via exactly the same queue - called SAP_ALE....
Do you have an idea with state 75.
But you helped me a lot ... Thank you!
Before I wrote this thread, I checked your book, but you described the scenario IDOC -> XI -> ... and not opposite.
You see - I bought your book ... and now I should read it ))
Regards
Wolfgang

Similar Messages

  • How to test file to idoc scenario?

    Sender side: flat file
    Receiver side : IDOC
    Using file content conversions for sender file.
    my question when flat file is picked up sent to xi and idoc.
    where do I check data received.
    Im using creamas.creamas03 idoc.
    What is ALE configuration for IDOC and how to do it?
    thanks in advance.

    Hi,
    >my question when flat file is picked up sent to xi and idoc.where do I check data received.
    1)RWB- CC montoring..Select the Sender adapter whether the message is sent  to XI Sucessfully
    2) Check in Sxmb_moni
    3)Tcode-We02  look for the IDOC Posted
    4)SM59 RFC Destination Test in XI  & R3
    5) Check the Port in XI - idx1  R3- we21
    Regards
    Agasthuri Doss

  • Runtime Error: How to Reprocess File-XI-IDoc scenario

    Hi All,
    I'm working a file adapter to XI to IDoc scenario.  My XI message has about 2,000 records in it and one of those records contains an error (due to an invalid character in a description).  My question is in a production environment would it be somehow possible for me to reprocess this erred message and post the remaining 1,999 records that do not have an invalid character?  What are my options to progress?

    Thanks Bhavesh,
    Not sure what additional details you need but I'll give it a go.  I've got an input file that contains lets say 100,000 rows of data and each row is a separate record.  I use sender file adapter using file content conversion with fixed length definition.  I send that through a simple mapping program that will generate 100,000 IDocs.  I'll get 50 XI messages each containing 2,000 records (recordsets per message)
    Because of an invalid character in the source file (an "escape" character) in SXMB_MONI I get a red flag.  The error message is essentially "com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x1b".
    Since the XI message errors none of the IDocs for the 2,000 records in that message gets created even though 1,999 of them are OK.
    So my question is basically is there a way for me to restart this message via SXMB_MONI (or another way) so the other 1,999 records will process OK leaving me with the error to deal with later?
    Thanks again!

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

  • How to handle the control records in case of file to idoc scenario.

    Hi All,
    can you please clarify me how to handle the control records in case of file to idoc scenario.

    Hi,
    In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
    Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
    Regards
    Seshagiri

  • File to IDOC:how do i relate inbound idoc with generated idoc in the R/3

    hi experts;
    can any body tell me how can i relate the IDOC number genrated in the PI with the generated IDoc number in the SAP R/3 system for file to IDOC scenario?
    in SAP PI for tcade idx5, idoc no is:12002
    but in SAP R/3 in tcode WE05, idoc no is:846915
    how can i know a particular message (in SAP PI) created a particular idoc in the backend SAP R/3 System.
    thanks in advance,
    kumar

    Hi Kumar
    at the time of testing you have to note down a time at what ur file got picked up ok
    then go to we05
      -> give the date on CREATED ON field.
      -> then in BASIC TYPE field select your particular IDOC CREMAS05 or whatever, see the TIME field that you have noted down at the time of testing, if that is matching means that is ur latest IDOC you have tested.
      -> one more thing, tha last IDOC showing in the list means that is your latest IDOC you have tested.
    Hope i have helped you, points plz
    Warm Regards
    Dheeraj Kumar

  • In XI ,file on application sever  how to do the scenario like file to idoc?

    hi experts,
    In XI ,file on application sever  how to do the scenario like file to idoc?
    thanks in advance
    gupt

    Hi gupta  ,
    The following are excellent websites giving step-by-step solution to solve u'r problem:
    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
    IDoc Packaging and Mapping Techniques
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    check this blog
    Idoc File -> SAP R/3 packaging
    How ToConfigure IDoc Adapters
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    Troubleshooting File-to-IDOC Scenario in XI.
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • How can I include the Header Information....for a File to IDOC Scenario

    Hi,
    I made a File to IDOC Scenario with DEBMDM06 for MDM>XI>SAP R/3. The Header Information in the XML File which is at the XI end is Missing. For that reason In Tcode SXMB_MONI we are getting an Error that <b>"HEADER Information Missing: Message should Start with EDI_DC40"</b> i.e the Header Information.
      My Question is that whether we can do some changes in the Message mapping Step in the Integration Repository. I HardCoded the Few mandatory Fields that were there but it Again gave me the Same Error as above.
    Can you please Suggest some Solution for this. Since the data is Coming in from MDM part the Header information is not there but It actually Important as it has got all the Port Information.
      Kindly Inform me some Solutions.
    Thanks & Regards
    Somnath

    Hi Suraj,
      Thanks for ur Reply, but Since we are Doing a File to IDOC Scenario the IDOC DEBMDM is on the Right Side in Message Mapping and as U know it is Mandatory to Map an IDOC on the Right Part. EDI_DC40 is coming as it is there in the IDOC but our XML File Does not have that. If we Don't Map then it Becomes RED, which is an Error.
      Furthermore in the Receiver Agreement we have put the Necessary Details such as Sender Service and Receiver Service along with the IDOC Communication Channels.
      Can U give as a Better Insight on this Note how to check the Header Part as it is mandatory to MAP.We also tried to HARDCODE it by putting those Values and Mapping them to a Constant but it is Giving the Same Error.
    Thanks and Regards
    Somnath

  • How to get structure of IDOC into xi in the scenario is IDOC - XI - File

    hi XI Guys,
          When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI, As we will define Data types in File -> XI -> File. Please send Step by Step process as i am new to Netweaver(XI)
    ThankYou,
    B.Pushparaju.

    When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI
    >>>>
    import the IDoc under the imported object in your SCV. Note that import should be allowed for the SCV.
    As we will define Data types in File -> XI -> File.
    >>>>
    Ref. these blogs to help you out ..
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

  • Idocs with errors added status-56 in file to idoc scenario- how to rectify

    hi ,
    in file to idoc scenario when i m sending the file from ftp server to IS Retail,  file is successfully getting processed but the idoc is showing error ,when we see using WE05 tcode or BD87 , pl sugggest how to rectify it to make the status 53

    Hi,
    Have you configured the partner profile details? check these steps..
    1. In the receiver system you must configure the partner profile for your sender system in WE20.
    2. Add the IDoc message type to inbound parameters of the partner profile and configure the appropriate process code.
    2. Fill the Logical system name for your senderservice-->Adapter Specific identifiers in ID.
    <a href="/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi File-to-IDOC Scenario</a> By Venugopalarao
    <a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi Steps for Posting IDOC's</a> By Ravikumar Allampalam
    Regards
    San

  • File to idoc how to get file name at runtime

    Hi Experts,
    In my file to idoc scenario,
    the requiremnt is like in mapping i have to give condition like if file name is name1 then one target filed is 40 and if file name is name2 then that target field is 60.
    how can we achieve this ?
    Regards,
    rohit

    Hi Rohit
    mughdha is right but you can do it through graphical mapping easily
    give condition in fix value under category conversion like this
    1) source-> FIX VALUE ->if value is true then map FIX value
    else nothing
    double click on first FIX VALUE function and assign your input values for file (for ex 40 or 60,......) in the key field and in the value field assign TRUE
    if this condition will be true the it willl map second FIX VALUE
    else assign a constant with empty value
    in second fix value assign values (for ex 40 or 60,......) which you have checked in first FIX VALUE function in key field and assign corresponding name which you required in the value field
    hope this will solve your problem
    Thanks
    sandeep
    if helpful reward points

  • File to IDOC ( need advise on how to map file fields )

    Hello friends,
    I spent quite some time reading all the helpful blogs and threads regarding File to Idoc scenario. However I had a very basic question ( maybe its trivial as I am just new to XI).
    In my scenario I have Bank Master data (in a CSV file) and it does not correspond exactly to Bank Master IDOC structure BANK_CREATE01.
    I understand that I will need to use File adapter to get this file into XI and then use an IDOC adapter to send it to R/3. (Pl correct me if I am wrong)
    Now when I use file adapter, how will I do the data mapping. I mean do I need to create a structure which corresponds to file fields and then XI will automatically load my file fields into this structure and then I can use this structure to map fields to IDOC.
    My only issue seems to be how will I see the FLAT FILE data in XML FORM in XI.
    To explain it further my CSV file looks like
    "GB,123456,11223344,GBP, London,.."
    where
    GB corresponds to country,
    123456 corresponds to Bank key,
    112233445566 corresponds to Bank account,
    GBP is currency and so on
    So should I create a data type maintaining same sequence of fields above without using any hierarchy like in the IDOC.
    If this is not possible then will I need to transform my input file exactly into IDOC structure and then use it.
    Hope I have manged to explain it.
    Appreciate your help on same.
    Thanks
    Shirin

    Hello Shrini,
    First of all The CSV file has to be changed in to an XML file , To achieve this File Content Conversion has to be done.Once this is done, please make the following changes in R/3 and PI to push Idoc in to PI.
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Thanks,
    Kiran.

  • How to skip a record in flat file to idoc scenario?

    Hi,
    Anybody have good suggestions on how to skip a record(xi not process the record) based on certain conditions?  I don't want to use bpm, anybody has experience with file to idoc can advise how to deal with this situation?
    Thanks,
    Meg

    Meg,
    Its very clear. It can be easily done. I hope u might be knowing about Michal's changing the IDOC occurence blog. Based on that blog change the IDOC occurence to 0...Unbounded.
    Now map all the necessary fields to the target IDOC. On the IDOC root node set condition from source if the source field is not Delete then create IDOC else don't create.
    Source --- If without else[Check condition if  the source is delete] -
    IDOC(root node).
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Hope its clear, if not kindly revert back.
    Best regards,
    raj.

  • How to start an File- XI- IDOC -Scenario manually?

    Hi,
    we have a File->XI->IDOC -Scenario with a polling time of 60 minutes.
    Now it should be possible, that the enduser can start this scenario manually (by report or something else), because sometimes the user has to edit the file and then he/she cannot wait till the loop restarts.
    How can we manage it?
    Regards
    Wolfgang

    Hi,
    Wow - that's great!
    BUT.... it's working only in XI/2004 >=SPS17. We have PI 700/2004s SPS7
    Do you know the corresponding SPS for this feature in PI 700?
    I wanna ask my admin to upgrade - it's a feature the enduser (special endusers) really needs.
    Thanks a lot!
    Regards
    Wolfgang

  • How can we save multiple IDocs as a single Flat file in R/3 system ?

    Hi,
    How can we save Multiple Idocs as a single Flat IDoc in R/3 (Not xmlized)
    Kulwinder

    Hi,
    Check this link for Mutiple IDOCs into single File.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Regards,
    phani
    Reward points if Helpful:)

Maybe you are looking for

  • Iam getting error message when i launch Opera web browser

    Hi All, I have installed Opera web Browser on solaris 9 without any error message. When i try to start Opera web browser it says following message ld.so.1: ./bin/opera: fatal: libqt-mt.so.3: open failed: No such file or directory Killed How to solve

  • Creating multi-page document with multiple templates

    Hi, I am new to Pages and am attempting to create a photo book that I can export as a PDF and have printed through an online service. I have successfully created multiple templates in Pages that I want to use in my book, but cannot figure out how to

  • Reverb sound come out from my mac mini

    Hi my mac mini sound output always include sound like reverb/echo . No matter i try phone jack out or usb out to speaker and headphone. its easy to hear the reverb sound when play any sound file(voice over). my mac mini up to date version Please help

  • Transitions are not Cooperating

    Hi there guys, Been having trouble getting transitions to cooperate since I moved from CS5.5 to CS6. When I used CS5.5, If I wished to have a transition reveal a new clip at a faster speed than the default setting, I would simply select the transitio

  • How do i easily find my posts and replies to them?

    '''bold text'''I find it difficult to navigate the forum.