Posting idocs in sequence in SAP from file (without BPM)

Hi,
I have a requirement of posting the TWO idocs from the single file. But I need to send the idocs in sequence. Can you anyone explain the process  how we can ecomplish from XI without using BPM.

Hi,
you can ONLY do that if your <b>ERP,R3 (IDOC receiver system) system
is based on WAS 6.40</b>
the whole scenario is described step by step in 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>

Similar Messages

  • File-RFC-File (without BPM)- Issue

    Hi All,
    I am working on a File-RFC-File (without BPM) scenario in PI 7.1.
    My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it shows an error in the Sender file CC.
    "Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
    But it gets processed successfully and provides a written paramter which I could see in MONI, but again doesn't write the file in the target directory. Could you please provide your inputs and let me know if I need to do any additional settings w.r.to PI7.1.
    These are the parameters which I have specified in the Sender File adapter
    Processing sequence
    AF_Modules/RequestResponseBean     Local Enterprise Bean     1
    CallSapAdapter     Local Enterprise Bean     2
    AF_Modules/ResponseOnewayBean Local Enterprise Bean     3
    Module configuration:
    1     PassThrough     true
    3     receiverChannel     <FilereceiverCCname>
    3     receiverService     <Receiver Bus System>
    Regards,
    Nithiyanandam

    Hello,
    Check out in module configuration tab for any "type error" or spell mistakes.
    Check out this thread which might be useful for you :[ File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.]
    regards
    Ramesh

  • File - RFC - File without BPM  ---  Object not found in ResponseOneWayBean

    I am using PI 7.1, and facing the following error in File - RFC - File without BPM
    "Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ResponseOneWayBean."
    I am using 1 sender CC for File ( CC_LOTUSNOTES_CHALET_SND)
                      1 receiver CC for File( CC_LOTUSNOTES_CHALET_RCV_FILE)
                     1 receiver CC for RFC (CC_LOTUSNOTES_CHALET_RCV_RFC)
    in the sender CC I have given Module parameter as:
    Processing sequene
    CallSapAdapter    Local Enterprise Bean 2
    AF_Modules/ResponseOneWayBean  Local Enterprise Bean 3
    AF_Modules/RequestResponseBean  Local Enterprise Bean 1
    Module configuration:
    1     passThrough          true
    3    receiverChannel      CC_LOTUSNOTES_CHALET_RCV_FILE
    3    receiverService       Bus_File
    pls let me know where i am wrong

    Hi
    i am facing following error:
    2009-12-03 09:08:17       Information        The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2009-12-03 09:08:17       Information       MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2009-12-03 09:08:17      Error                 MP: exception caught with cause java.lang.NullPointerException
    2009-12-03 09:08:17      Error                 File processing failed with java.lang.NullPointerException

  • Error in File-RFC-File Without BPM

    Hi,
    We are following this wiki
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)]
    and we are getting Error: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error in sender communication channel monitoring. File is not picking. I think problem with the parameters that we have mentioned in module tab in sender communication channel as specified in the wiki. If we remove additional 2  parameters it is picking the file.
    Please help me to resolve this issue.
    Thanks.
    Jyothi Anagani.

    are you able to see the logs of file adapter?
    go to messaging system and check the details
    http://host:port/MessagingSystem/monitor/monitor.jsp
    Rajesh

  • IDOC is not reaching SAP from XI

    Hi all,
       The IDOC that I'm sending from XI is not reaching SAP.
    I have tried all most all possibilies. In SXMB_MONI I'm able to see the IDOC gets created successfully (with no error).
    I have re-checked the partner profile, SMQ1, Config etc.
    Please help me to debug.
    Thanks,
    AJ.

    AJ,
    Check if you have a chequered flag on both sides of your message ibn SXMB_MONI?
    Check the log of your TRFC in transaction SM58
    gards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • How to loop through xml records from file without ROW , /ROW tags?

    I am using dbms_XMLSave.insertXML procedure to insert xml formated record from file. MY xmlformated records does not have open and close ROW tags. I have multiple records in the file.How can I loop through without <ROW>,</ROW> tags?

    I am using dbms_XMLSave.insertXML procedure to insert xml formated record from file. MY xmlformated records does not have open and close ROW tags. I have multiple records in the file.How can I loop through without <ROW>,</ROW> tags?

  • SOAP to RFC synchronous scenario with File without BPM

    Hi Folks,
    I have a requirement that has to be done with out BPM!!!
    Requirement:
    Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
    1) Can we do this by without using BPM
    2)Can we use without BPM module entries for SOAP Sender
    Please suggest and help me out in this
    Thanks in advance,
    Regards
    vivek

    Hi Vivek,
      Why not have the SOAP interface defined as synchronous?
    You can avoid using BPM that way.
    Best Regards,
    Ravi

  • Splitting file without BPM

    Hi,
    I have an input file shown below.
    US16DCUSAJ05061UC010007042
    US16DCUSAY90011UB010007057
    US16     USB490011UC010007059
    US16DCUSAJ06061UC010007068
    US16HQUSAY90011UB010007099
    We have to split the fixed length file based on the field from 7th to 10th character of each line (ie USAJ,USAY,USB4) and place them in separate folders.
    These characters are dynamic.
    We do not want to use BPM.
    Can anyone please suggest an alternative way to split accordingly.
    thanks
    Pratichi

    hi,
    there are two ways you can try:
    1. Multi-Mapping without BPM - Yes, itu2019s possible!
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    2. you can create an adapter module that will do the split on any conditions and then
    use standard conditions in directory to show to which folder the file needs to go
    (sap does not recommend message splitting on adapter module but it's possible and works if done correctly)
    Regards,
    Michal Krawczyk

  • File is not getting deleted in File-RFC-File without BPM

    Hi,
    I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
    For the sender CC, I'm passing the following parameters,
    Transsport protocol: File system
    Message protocol: File
    QoS: BE
    Poll Interval: 30 sec
    Mode: Delete
    File type: Binay
    Please let me know if I missed anything while passing the values.
    Thanks,
    Swamy
    Edited by: Swamy Mothe on Jun 15, 2009 8:52 AM

    Hi
    Then , is Sender and receiver File Adapter is using same folder )
    Just a question.
    But having all permisions and above config would delete the file
    can u see the status of u r File Adapter in RWB.? Is it in green?
    rgds
    srini

  • XI unable to post IDOC to ECC the interface is FILE-to-IDOC scenario

    Hi All,
    The XI interface is a FILE-2-IDOC scenario and some times IDOC's in the receiver system are not posted.  I did see successfully message for that particular messages but the IDOC's were not created in the ECC.  If the messages is reprocessed then IDOC's are posted successfully to the ECC system.  The message has checkered flag in the SXMB_MONI tcode.
    This issue is occurring intermittently so could some point me in the right direction how to trouble shoot the issue.
    Thanks,
    Sarvesh

    Hi,
    Interesting problem...since its intermittant..
    You cannot use any of the traditional RWB or message monitoring or cc chanel monitoring here as the error is in the ecc system, so from an XI standpoint it has left XI succssfully..that explains all the chequered flags..indicating success.
    we19, we12, we14(process all idocs) test out the whole process with a load..use transaction we46..this can tell you why it is failing....in r/3
    from the ecc system to check inbound queue monitoring.
    from there you can select the IDocs or queues which you want to monitor, using the specified selection parameters available.
    Look at the status record for the idoc that should give you more information, processing status of the idoc...that should tell you the status code assigned to it..
    There is one other option here....if you can figure out what sequence they need to be posted in...that might be the reason for the failure..you can specify the sequence to post the idocs in, use qRfc ..
    Hope that helps
    Regards
    Ravi Raman

  • Post IDOC internally in same SAP system

    Hi All,
    I used IDOC to send data from SAP to XI in my previous assignments.
    Now i have a requirement wherein i need to use an idoc to post data within SAP i.e in the same system. This is because incase the idoc fails the end user can correct the data and re-process the idoc and post it again. though its not so recommended its agreeded upon in the design phase.
    now my doubt is in MASTER_IDOC_DISTRIBUTE should i set the control record so that it points to the same system which means the port i create which has an RFC which will point to the same system from where the report is run. is this the correct way.
    thank you.
    Regards,
    Jayaram

    Hi,
    You can test in the same system
    But make sure that the using partner profile(WE21) is having Collect IDOC's option so that the IDOC are not transferred to the target system.
    Hope this helps
    Regards
    Shiva

  • Reg: IDoc is u0091pushedu0092 into SAP from the external EDI system

    Iam facing one issue in our system for message type DESADV (inbound). please read through .
    "When an IDoc is pushed in from the external EDI system & even though the inbound Partner Profile is set to immediate processing mode:
    The IDoc stays in status 64 - 'IDoc ready to be transferred to application'. This assumes that the IDoc has not been processed yet and still needs to be processed with program RBDAPP01 (or via the “process” button in BD87).
    We don't want to again run this program "RBDAPP01". What was the problem.
    I appreciate ur help.

    Hi Krishna,
    In some other scenarios if an IDocs remains in status 64, it means that the processing within the IDoc engines did not reach its end, where the new status could be set. There are two principal reasons:
    1. In the matching partner profile the processing is not set to "Trigger immediately"
    2. The application that processes the IDoc abnormally ends with a fatal error (crashes). If this happened you will see a trace in the system log (ST22). In this case have the satellite system write the file to disk but you trigger the EDI_DATA_INCOMING. Then start EDI_DATA_INCOMING from SE37 manually and debug yourself through the individual steps. A good start would be to set a break-point in the application handling function (in your case: IDOC_INPUT_DESADV ).
    If useful do reward.
    Regards,
    Adarsh Srivastava

  • IDoc - Web service - File without BPM

    Hi all,
    I have asked some days ago how to do an asynch -> synch -> asynch scenario in XI without using BPM.
    The solution with RequestResponseBean and ResponseOnewayBean modules in the File sender communication channel works fine.
    But now I would ask you how can I do if my sender is R/3, with IDocs?
    Because we cannot use modules in the IDoc sender communication channel, and I don't want to use BPM.
    Someone has an idea?
    Thanks in advance,
    Gregory

    Hi,
    May be you can try a work around.
    1. IDOC > XI-> SOAP Asynch Scenario(Scenario 2 exposed as Webservice from XI).
    2.  SOAP>XI->External Webservice>File
    In  second case you can use Modules.
    I have not tried.Check if the solution would suit your needs.
    Regards,
    Sudharshan N A
    Edited by: Sudharshan Aravamudan on Feb 1, 2008 5:31 PM

  • Assigning a number value to a line from file without array

    How do you assign a number value to a line from a file? I want to use the assigned number so that the i can use random number to randomly select a line
    Example. i have the lines A,B,C,D,E
    A
    B
    C
    D
    E
    i know that a is line 1 b is line 2 so on so on
    (1) A
    (2)B
    (3)C
    (4)D
    (5)E
    so from here i would use the random number generator so that i could randomly select one of these. I already know how to code for the number generator but how would i make it so that i can access each individual line as a number?

    ya that's what im using but reguarding the code i dont think it does what im looking for. yes it does provide a random line but wen i run it multiple times it gives me the same line repeatedly. also i need to be able to refer to that line in the future so in the code the String line gets replaced each time
    BufferedReader bF = new BufferedReader(new FileReader("someFilePath"));
              String line;
              int someRandomNumber = 9;
              int counter = 0;
              while ((line = bF.readLine()) != null){
                   if (counter == someRandomNumber){
                        break;
                   counter++;          
              System.out.println(line); //line at #someRandomNumber in the file

  • Multiple Idoc to file without BPM

    Hi All,
    I am using xml [HTTP destination|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b ] in ECC system to collect Idocs(say 100,200 etc) of particular type (say MATMAS05) and sending it as a single message with multiple Idoc noes for same message type to PI 7.1 system, In PI I need to create the single node for each IDoc on target side based on certain validations on the fields of various segments( with unbounded occurences ) occuring at various levels . Node should be created only if all the fields are validated,even if a single field fails validation node for that IDoc should not be created on target side.
    for example:
    >>MATMAS
      >>|_E1MARAM
         >> |_ MATNR
         >>| _E1MAKTM
           >>   |_MAKTX
    If there are 100 MATMAS nodes in the message and if MAKTX field of third E1MAKTM segment in 97 th IDOC node fails validation the node for this IDOC node should not be created on the target side..
    Currently I am trying to do it using UDF but due to performance point of view I do not want to execute Loop across various segments twice, once to validate the fields and second time to generate node.
    Can anybody help me in this ?
    Thanks,
    Amit

    Hi Mughda,
    How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
    Thanks,
    Amit

Maybe you are looking for

  • [solved] Problem with ssd disk, deleted files don't free space?

    Hello. I bought some time ago an ssd disk on which i installed arch. After some free time I changed my laptop optical drive with standard hdd and moved /home and folder with data (mainly music collection) to standard drive. To my surprise my ssd was

  • Mapping JTree to an Access Database

    First of all, I am very new to using JTree. Second, I was able to create a JTree using QueryDataSet from an Access database (using JBuilder). The database table has the following structure: NodeID, ParentNodeID and Name. NodeID is unique. the problem

  • I want to find out how and if I am able to retrieve emails of which I should have received while my iCloud storage was full.

    I had to upgrade my storage for my iCloud account, and in this time between the storage being full and the upgrade, I was unable to send or receive emails. I have been trying to find any information as to if there is such a way to now retrieve those

  • TLB-STO in alternative unit of measure

    Hi All We are planning in SNP in base unit of measure EA.But we want STO to be created via TLB in unit of measure CASE. Is there is any way so that when we create STO it will create the same in alternative unit of mesure CASE in APO? Or when STo get

  • Add photo to contact

    today was the first time I tried to add a photo to one of my contact. I clicked on the contact and edit then I clicked on the add photo button and it told me to take a photo. I took a photo of my friend and then I clicked on use photo button. Nothing