Error in IDOCs (Multiple Types) Collection in BPM

Hi
I am following this scenario
IDOCs (Multiple Types) Collection in BPM
But in BPM i am getting the following error (Pls check this link)
http://www.flickr.com/photos/33169400@N05/3095091883/
where should I have to check for the errors
thanks
mainan
Edited by: manian on Dec 9, 2008 10:45 AM

The source message should be a single line container variable and the target should be a multiline container variable.
VJ

Similar Messages

  • IDOCs (Multiple Types) Collection in BPM---string index out of range

    Hi
    I am following this weblog
    IDOCs (Multiple Types) Collection in BPM
    1.
    In Step 4
    Below mapping is for N:1 transformation. (Here input will be having three different types of Abstract IDOCs and target will be having Abstract Target File type)
    (iv) MM_ISU_UKGAS_NOM_to_NOM_ABS"
    when I tried to 3 idoc as sender and My Message Type as the receiver
    I am getting the following error message
    String index out of range: 0
    so how can I do this message Mapping
    2.
    and in Step 3.
    I have just mapped
    Source Idoc 1 with Source Idoc 1
    Source Idoc 2 with Source Idoc 2
    Source Idoc 3 with Source Idoc 3
    is it right way ?
    thanks
    manian
    Edited by: manian on Dec 8, 2008 10:49 AM

    Manian,
    Multiline option should be on for receiver message .
    Mapping seems to be o.k.
    Regards,

  • Help on - Multiple IDOC to single flatfile (without BPM)

    I got a business need, that the ORDERS05 IDOC's should be collected on hourly basis and single flatfile should be generated for each and every hour. This scenario can be easily handled through BPM but I need the problem to be solved without BPM.
    Please help me to overcome this.

    hi uv,
    in addition u can have a look ..
    Introduction to IDOC-XI-File scenario
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    ALE configuration for pushing IDOC from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC Status
    http://www.erpgenie.com/sap/sapedi/idoc_statuses.htm
    Configuration steps required for posting IDocs
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    any case u need with BPM...
    IDOC (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    regards
    biplab

  • Idocs are not merging in BPM

    Hi Experts,
            I am doing one scenario for merging the Idocs data in BPM and sending this one as file.I have done the following steps in BPM
    A. Loop with infinite
        1.Receive
        2.Container Operation(Append)
        3.Container Operation(Assign) for count
      End loop 
    B. Transfermation
    C. Send
             While executing my scenario it is giving only first idoc data in receiver file but its not merging the all idocs data. can you please tell me where i am doing mistake.
    Thanks & Regards,
    Purushotham

    HI,
    In your Infinite Loop how you are breaking up the loop...
    The Receiver step is just accepting the 1st IDOC and BPM instances get instantiated. But later on the Loop is not continued to wait for other IDOCs.
    Kindly have a look Re: Idoc multi mappings in a single interface
    I am not sure why you are using BPM for this...as you can use the features like
    IDOC Collection without BPM, Packaging etc.
    Check this blog for multiple IDocs with multiple IDoc types
    IDOCs (Multiple Types) Collection in BPM
    Refer - SAP Network Blog: Collecting IDocs without using BPM
    Collecting IDocs without using BPM
    Refer similar discussion
    ccBPM Collect Pattern Error
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 18, 2008 6:54 AM

  • Collect mode BPM for Flat IDoc

    Hi Experts,
    I am working on development of a BPM which should use flat IDocs as input collect them and then send them as output as a single file.  XI is able to collect the IDocs only if they are XMLIZED.  Can you please give me some idea by which i can collect flat Idocs in XI ???
    If it is not possible to collect Flat IDoc in XI, can we collect all the Flat IDocs in R/3 and then send them as one IDoc to XI using ABAP code or any other method.
    I am using Java mapping in my scenario.
    Please guide.
    Grewal.

    Hi Grewal,
    it is not impossible, but is is a lot of work to to.
    You need as a inputstructure an element that contains the whole IDOC.
    Sample Source Message Type<YourMessageType>
      <root>
         <IDOC_Content>   //1..unbounded
         </IDOC_Content>   //1..unbounded
      <root>
    <YourMessageType>
    Your target message-Type is the IDOC
    Now you need a UDFs that extracts the single values out of <IDOC_Content> an map them to the target IDOC-fields. This will be a lot of work.
    Regards Mario

  • Error receiving IDOC in BPM

    hi all
    I'm doing a BPM scenario in which i want to receive an IDOC.
    The scenario goes like this:
    an IDOC is sent from source(from SWCV1) and an interface mapping(done in SWCV2) is done before the IDOC is received in the BPM.I have made an abstract async interface(done is SWCV2) for the IDOC which receives the IDOC in BPM.
    The source is sending the IDOC successfully and the Interface mapping also happens properly.
    My problem is that the IDOC is not entering the BPM.'Permanent error in BPE inbound processing' is shown.
    Simulate message delivery shows:Result of simulation: Message starts a new process
    I have no clue what the error is.Please help.

    Hi,
    You can go to the message in SXMB_MONI and from there go to engine column of the displayed message. In case of BPM, you will have PE there instead of IE or AE. Now click on PE and it will take you to the actual BPM. There you can drill down and try to figure out if the BPM instance has started correctly or what exactly the error is.
    Thanks and Regards,
    Sarath.

  • IDoc Collection in BPM and Without BPM

    Hi All
    I'm much confused on IDoc collection for which i require your expertise to clear my doubts. My primary question is based on the context "Multimapping doest work with idocs".
    consider the case ->  collect files-idoc scenario. <b>Using BPM</b> i need to have
    a multimapping scenario. In the <b>transformation step</b> we will have a <b>container</b> element where <b><u>mutiline</u></b> is enabled so that the collected files are <b>transformed into one abs interface</b>. my dopubt arises here when i consider this scenario <b>without bpm</b> that is N:1 mapping (no collection). in this case why this <b>multimapping works in bpm process</b> and <b>not incase of non-bpm scenarios</b>? is it because in bpm the mapping happens in BPE?
    pls clarify.
    thks
    Prabhu

    <i>>>>>In an N:1 scenario without BPM, how could you send more than one message to your multi-mapping? You can't.</i>
    yes we cant as this validation is not supported at abap stack level and N:1 is possibkle without BPM (or i'm missing something here). but this same step with bpm get executed succceffuly. whats the logic behind it
    Message was edited by:
            Prabhu  S

  • Error in adding multiple attachments to Human Task in BPM

    Hi
    Hope you are doing fine.
    My version is 11.1.1.5 without Feature Pack.
    I have a scenario where I get a set of documents from UCM, and I have all of them in an array(of type GetFileByIDResult(UCM GetFile Webservice response type)).
    Please note that for a single attachment, I'm not getting this problem.
    I know that ExecData.Attachments[] takes array of Attachment types.
    But I could not create an Attachments[](array type) type data object, What I could create is of type '<>Attachments' which I thought was an array, but not, as it is not letting me associate to ExecData.attachments
    So, I've created a variable of type ExecData(say PDOExecData), used a script task, and did XSLT between the array and this new PDOExecData
    I've used for-each on the arrayOfUCMOutput, mapped the content, name, etc.
    And, now, in the human task association, I've assigned PDOExecData.attachments to Human Task's ExecData.attachments
    But I'm getting the following error
    XPath query string returns multiple nodes. The assign activity part and query bpmn:getDataObject('taskExecData2')/ns:attachment are returning multiple nodes. The assign activity part and query named in the error message returned multiple nodes. It should return single node. According to BPEL4WS specification 1.1 section 14.3, the assign activity part and query named in the error message should not return multiple nodes. Verify the part and xpath query named in the error message at line number -1 in the BPEL source.
    This means htat attachments take a single element, but it should take array of elements, and that is what is showin in the mapper file indicated by attachments[] in the ExecData
    Would you please help me in this regard.
    One possible solution could be, if I'm able to create an array of 'Attachment' type, I could map to it and finally map this var to ExecData.attachments, but how to create an array of a type in BusinessObjects/ProcessDataObjects
    Regards
    RaviKiran

    Resolved!
    Will write a blog and paste the link
    Regards
    RaviKiran

  • Posting multiple idocs of different IDOC/message type

    Hi! ALL
    It would be very helpful if you please provide your valuable suggestions...
    I have 4 different file to IDOC mappings and i am trying to post all the 4 using the same interface determination....out of the 4 ....2 IDOC are of the same message type...this is throwing out an error...
    <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Inbound interface was found more than once (for same sender and receiver) for outbound interface http://ck.com/xi_com/Ship.MI_SHIP</SAP:P1>
      <SAP:P2 />
    I am trying to use 3 File IDOC mappings in the same Interface determination, for example has the following inbound receivers in the interface determination:
    DESADV
    WMMBXY
    DESADV.........I am using DESADV twice as the Message Mapping is different for each of the inbound DESADV idoc
    Please, let me know...if you were able to post similar message type IDOC in the same inteface determination.
    Your help is greatly appreciated....
    Thank you,
    Patrick
    Thank you

    Hi! Bill
    I am using 3 message interface(in 1 interface determination) and i am able to post 3 idocs....the problem only arises when the 4th idoc is of the same message type as any of the first 3.
    I am trying to exclude the 4th mapping.....b'cos the issue with similar message/idoc's type issue.....but incase u have a solution let me know...here is an example
    Eg:
    DESADV
    WMMBXY
    SHIP...is posting fine!!
    But...problem with..posting...
    DESADV
    WMMBXY
    SHIP
    DESADV(4th same as first)
    And again as mentioned...each have there own message mapping(MI) and interface mapping(IM)....and are in the same interface determination...as outbound interface and BS is the same for and in the inbound as u know is IDOC..R3.
    Thank you for your response....
    Patrick

  • IDOC Message Type FIDCCP02 - Error RW029

    Hi All,
    We are trying to post a FB01 using a IDOC message type - FIDCC2 and struck at error message -
    <b>Accounting transaction not permitted for posting in FI/CO
    Message no. RW029</b>
    When i try to post directly using the exact data in the IDOC, through FB01, there is no problem.
    Debug showed that the error is in the following -
    Include <b>LRWCLF01</b>
    check business process
    SELECT SINGLE * FROM t022 INTO ld_t022
    WHERE activity = t_acchd-glvor.
    IF sy-subrc IS INITIAL.
    IF LD_T022-VORGTYP = 0 OR  <---------
    IF ld_t022-satztyp <> 0.
    MESSAGE e029 WITH t_acchd-glvor.
    ENDIF.
    ELSE.
    MESSAGE e029 WITH t_acchd-glvor.
    ENDIF.
    If this is not the right message type to use, can you suggest any other message type? FB01 we are trying to post is a simple GL posting, no tax, no withholding, etc. IDOC is just a 2 line posting.
    Any help/advice is highly appreciated.
    Many Thanks,
    Shashi

    Hi Shashi ,
                      This table is for Business Process t022 based on activity .
    Check your customise settings .
    There is no problem with message type .
    Please reward if useful

  • Complex scenario JMS(multiple)-PI-IDOC( multiple)

    Hi,
    My scenario is JMS-XI-IDOC.
    We have 10 legacy systems and one MQ-Series Queue for each system is setup.
    Each legacy system will send multiple types of data to its respective queue. (i.e. single queue for multiple types of data).
    XI side I am configuring 10 sender JMS adapters to pick from these 10 Queues.
    I have 3 types of IDOCu2019s which I imported to XI.
    Depending on the content of the data ( may be first two characters) XI need to map the data to respective IDOC and post it to R/3.
    How to achieve this????? Can we do this without BPM?

    My issue is not only dynamic interface determination.
    As each queue will have different transactions , so the structure for each transaction will be different.
    how to do dynamic sender aegrement.
    Is it possible in XI.
    I am planningto read everything into a string and then map to the different structures. Is it advisable.
    I am torally confused with this scenario.
    Please suggest the correct method.

  • Error in Idoc with status 26

    Hi,
    IDOC  showing an error messge when syntex check.
    EDI: Syntax error in IDoc (segment cannot be identified)
    Diagnosis:
    The segment E1EDP19 does not occur at the current level of the basic type ORDERS01 (extension ).
    This error can have several reasons:
    The segment E1EDP19 is assigned to a group whose header segment does not occur.
    The segment E1EDP19 does not exist in the syntax description of the basic type ORDERS01 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Please help me....
    Regards,
    Sudha

    Hi,
    I have pasted a portion of my code:
    DATA: BEGIN OF GT_EDIDC OCCURS 0.
            INCLUDE STRUCTURE EDIDC.
    DATA :END OF GT_EDIDC.
    DATA: BEGIN OF GT_EDIDC1 OCCURS 0.
            INCLUDE STRUCTURE EDIDC.
    DATA :END OF GT_EDIDC1.
    DATA: BEGIN OF GT_EDIDD OCCURS 0.
            INCLUDE STRUCTURE EDIDD.
    DATA :END OF GT_EDIDD.
    DATA : BEGIN OF GT_Z1ZPSOBJLOC OCCURS 0.
            INCLUDE STRUCTURE Z1ZPSOBJLOC. ' segment name
    DATA : END OF GT_Z1ZPSOBJLOC.
    * Control Record
    FORM BUILD_CONTROL_RECORD .
      GT_EDIDC-MESTYP = C_MESTYP.
      GT_EDIDC-IDOCTP = C_IDOCTP.
      GT_EDIDC-DIRECT = C_1.
      APPEND GT_EDIDC.
    ENDFORM.                    " built_control_record
    *&      Form  built_data_record
    * Data record
    FORM BUILD_DATA_RECORD .
      LOOP AT GT_Z1ZPSOBJLOC INTO WA_Z1ZPSOBJLOC.
        GT_EDIDD-MANDT = SY-MANDT.
        GT_EDIDD-SEGNAM = C_SEG.
        GT_EDIDD-SDATA = WA_Z1ZPSOBJLOC.
        APPEND GT_EDIDD .
      PERFORM DISTRIBUTE_DATA.
      ENDLOOP.
    ENDFORM.                    " built_data_record
    *&      Form  distribute_data
    * Distribute Data
    FORM DISTRIBUTE_DATA .
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          MASTER_IDOC_CONTROL            = GT_EDIDC
        TABLES
          COMMUNICATION_IDOC_CONTROL     = GT_EDIDC1
          MASTER_IDOC_DATA               = GT_EDIDD
        EXCEPTIONS
          ERROR_IN_IDOC_CONTROL          = 1
          ERROR_WRITING_IDOC_STATUS      = 2
          ERROR_IN_IDOC_DATA             = 3
          SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
          OTHERS                         = 5.
      CASE SY-SUBRC.
          WHEN 1.
          MESSAGE E004.
        WHEN 2.
          MESSAGE E005.
        WHEN 3.
          MESSAGE E006.
        WHEN 4.
          MESSAGE E007.
        WHEN 5.
          MESSAGE E008.
        WHEN OTHERS.
    * Do Nothing
      ENDCASE.
      COMMIT WORK.
    * Clear IDOC data internal table after use
      CLEAR GT_EDIDD.
      REFRESH GT_EDIDD.
    ENDFORM.                    " distribute_data
    Hope it proves useful.
    Regards,
    Gayathri

  • Problem with creation of IDOC Segment Type

    Hi,
    I tried to create IDOC Segment Type Z1LFA1 but error
    prompted "Structure Z1LFA1 already exist.".
    I tried deleting it at se11  but prompted
    "You cannot edit object R3TR TABL Z1LFA1 with the
    standard editor"                          
    and at sm30-TADIR, but prompted
    with "Cannot delete object directory entry, object exists."
    How will go about this??
    Please help!
    Thanks!

    hi,
    yup, tried doing that on we31 but the segment does not exist yet.
    we're currently upgrading from 4.6 to ecc, I think the structure
    was tranferred to our ecc client but the idoc segment and idoc type were not. I'll just have to transport it then.
    Thanks!

  • Idoc partner type LI to File Scenario.

    Hello Experts .
    I have the following scenario.
    IDOC partner type LI to xml (file).
    So we are not atlking about logical system here and we may have to use parties.
    But I am not sure as to how to go about this approach.
    For now we have Idoc coming into XI but failing after that .(Outbinding) error in reciver agreement (not to be confused with a cache issue .).
    But I understand it is because of the parties not defined properly.
    So I have defined a party and assigned my ECC system to the same.File was basically a service.Do I need to define another party for it or several other identifier
    Tried to follow How Tou2026
    Sample IDoc-XI
    Scenarios  document but it is to confusing.
    Kindly help

    Thanks for your reply.
    Well I have already tried this approach.
    That is
    Created a party :Sender_party.
    Identifiers :
    <sapid><client>   :*ALE#LI*  :<venderno>   actually ALE#LI #LF "otherwise I end up with party service not found.
    Receiver determination:
    sender party
    <BS/service> i.e. <sapid><client>     to  mail_service (for testing to see if I recieve a payload)
    <interface>
    <urn>
    Interafce determination
    sender party
    <BS/service> i.e. <sapid><client>     amd   <interface>  interface mapping
    <urn>
    Reciever agreement.
    mail_service  : reciever mail adapter.
    Error recieved.
    <!--  Technical Routing
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_NOT_FOUND</SAP:Code>
      <SAP:P1>-DMGCLNT400</SAP:P1>
      <SAP:P2>Sender_Party-,urn:sap-com:document:sap:idoc:messages.Z_DELL_PO.ORDERS05.Z_DELL_POX</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver agreement found for sender -DMGCLNT400 to receiver Sender_Party-,urn:sap-com:document:sap:idoc:messages.Z_DELL_PO.ORDERS05.Z_DELL_POX</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Kindly note nothing is wrong with cache .
    It is strange DMGCLNT400  is already assigned to the party . .

  • Error sending Idoc's to SAP

    Hi,
    I'm getting error in file-XI-SAP scenario. File is read and transformed to Idoc ok, but then I get this kind of error message in SXMB_MONI:
    <SAP:Stack>Error: Basic type 'HRMD_A01' is unknown</SAP:Stack>
    What I'm I missing in the scenario?

    Hi Tapio,
    Take a look at this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Error: No IDocs could be sent to the SAP BW using RFC.
    Hope it helps you.
    Cheers,
    Chandra

Maybe you are looking for

  • How to install the EUL5 Business Area and seeded reports for Ora Apps 11i

    Hi All, We have to install the EUL5 Business Area and seeded reports for Ora Apps 11i. I think there are scripts which need to be executed to create the BA and the Disco seeded reports. I am kind of confused about the whole think. Any pointers as to

  • Shared photo streams not working in new iPhoto?

    I upgraded to Mavericks and the new iPhoto to be able to work with the shared photo streams I'd created on my iPhone, but they seem to be nonfunctional in iPhoto 11. I'll select photos, create a stream, and add the photos; the pictures will say "adde

  • How to split a page in to two in smart form

    how to split a page into two in smart form, so that the data that is printed in one column when reaches the end of the column, continues with the second column?

  • Any way to set global variables except EAS console?

    Hi pros, I am searching for a way to set global variables (used by business rules) automatically. I got several variables which should change each month. I know the rule to set them. However, I cannot find any way to set them through scripting or som

  • Change requestor and goods recipient for PO's in SRM

    We have an issue where we want to change the Requestor and goods recipient for PO's in SRM as the requestor is leaving the organization. Do we have any way possible to change the Requestor adn goods recipient for SRM PO's? I have found bbp_crr, but i