Multiple Idocs (DEBMAS/ADRMAS) with SERDAT serialization to PI

Hi All,
I have a requirement that R3 systems sends data by means of serialization Idocs SERDAT basically which has two Idocs DEBMAS/ADRMAS. I need to generate a single structure at target side out of two incoming Idocs (DEBMAS/ADRMAS).
Could any one please advise me how can i extract data from two idocs in a single scenario?
Is there any standard approach already for this.
Thanks in advance.
Regards,
Prasad Babu.

You can achieve the scenario by using ALE Serilization at IDOC Message Type
The below example addresss a similar scenario but for MATMAS material master and CLFMAS classification .
Search for "Serialization by IDOC Type" . The first link will give you the insight. (I am unable to post the link here..)
After the IDOC's come to PI, you can have a BPM to co-relate (DEBMAS/ADRMAS using Customer / Contact Numbers) and create a single Outout message.
- Siva Maranani
Edited by: Siva Maranani on Nov 9, 2009 10:09 PM

Similar Messages

  • Multiple Idocs to XI with exception handling.

    Hi,
    I m doing a scenario,sending multiple idocs to file via XI.while doing dis,i m using BPM.For the BPM part i m following the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2034..but [original link is broken] [original link is broken] [original link is broken] [original link is broken] wen i check in SXMB_MONI,my message isn't successfully processed out f BPM.In this,exception is triggered at d beginning.and it always throw exception and message not successfully processed out f BPM.In the workflow it is showing error in the first step and remaining steps are compIeted.Here, i m throwing exception by the use f deadline branch.Can,anybody tell me how to handle dis exception/error?

    Hi Rajeev,
    I am using a loop with in a block inside the BPM inside which receive step and container element is used.In parallel to loop branch,i m using deadline and exception branch same as in blog 2034.i m using infinite loop wid time limit mentioned in the deadline branch.After coming out f dis block,i m using transformation step and den send step is used.When i check in graphical workflow,i m getting error in send step stating that an empty container element is used while sending.But,wen i m checking technical workflow,i m getting error in first step after the creation of workflow and workflow started messages in the log details.after which the exception occured is shown in the workflow system..
    Thanks,
    Anoop Garg

  • ALE-IDOC- Multiple IDOCs gets triggered with only one output exists

    Dear Gurus,
    We need you help to resolve the issue being faced with IDOC in our system.
    From Sales order , an EDI output ZF40 gets trigggered which is a order confirmation. This is being sent to a Logical system
    (Partner type LS in IDOC) which is F4F (Partner no.)
    Now the issue is at sales order level, only one output line with ZF40 is triggered and in processing log one IDOC no. is showing.
    We have received complaint from the external party F4F that for a same sales order , multiple IDOCs (around 500 IDOC's each in 3min interval )are being received at their end. We have checked in SAP ,  all these IDOC's were triggered from SAP only. All IDOC's are in green in SAP. But from where these IDOC's got originated is not known.
    We have checked the batch jobs and not seems to be triggered from there.
    Is there any other way that IDOC can originate automatically.? Please advise your valuable inputs as it will help to stop triggering of IDOC's (around 11,000 so far) in SAP and in receiving system.
    Regards
    Anand MOhanasundaram.

    In t.code V/30, go to the output details. Here uncheck the box for multiple issuing and check again.
    Regards,

  • Unable to upload SERDAT(Serialization idoc) in PI from 4.6C version

    Hi,
    I am facing problem in uploading SERDAT(Serialization IDOC) in PI from 4.6C version. But other IDOC's like (debmas, cremas and other IDOC's) i am able to IMPORT into PI system. Can any one help in this regard.
    Thanks
    Vijaya

    What problem you are having? Any kind of error? please share the details.

  • Read MULTIPLE idocs data with all sgmn to my internal table in a single

    Dear SAP Folks!
    I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
    Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
    Best Regards,
    Srini

    Hi,
    I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
    Best Regards,
    Srini

  • Mapping from File to IDoc with multiple Idocs and multiple line items?

    Hi All,
    Need some help with mapping, requirement as below: I have a flat file with multiple records, need to create multiple idocs per each separate order in flat file with as many line items.
    Order_1 field-1 field-2 field-3 field-4
    Order_1 field-1 field-2 field-3 field-4
    Order_2 field-1 field-2 field-3 field-4
    Order_2 field-1 field-2 field-3 field-4
    Order_3 field-1 field-2 field-3 field-4
    Order_3 field-1 field-2 field-3 field-4
    I have imported IDoc changed to 1:Unbounded, able to create multiple Idocs based on separate order from flat file.
    Order_No - removeContexts - splitByValue(ValueChanged) - collapseContexts - exists - creatIf - IDOC
    Now I am having hard time creating a line item segment E1EDP01. I want to have Idoc created below way:
    IDoc-1 (Order_1)
    E1EDP01
    E1EDP01
    IDoc-2 (Order_2)
    E1EDP01
    E1EDP01
    IDoc-3 (Order_3)
    E1EDP01
    E1EDP01
    I am getting multiple IDocs created. Please help me to create mutlieple line items under each Idoc. Please be speficic about the node funtions to be used, because I tried many times with different combinations, didn't work.
    Regards,
    N@v!n

    Hi Navin,
    Create your source structure like below
    <Order>1 to unbounded
        <Order_No>
        <field1>
        <field2>
        <field3>
        <field4>
    </oder>
    to create mutiple IDocs based on order number,use below logic
    Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)--->collapsecontext-->Idoc
    use below logic for E1EDPO1,
    Order----->removecontexts------>
                                                                                    formatByexample------>E1EDP01
    Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)-------->
    try above logic and let me know if you any issues.
    Regards,
    Raj

  • Want to add multiple idoc type with single message type.

    Hi Gurus,
    I have a problem. I want to add multiple idoc type with single message type in WE20.
    How we can do this in WE20 or is there any other way to do that?
    Please help me.
    Thanks in advance.
    Srimanta.

    hi,
    basically in partner profile i.e. in we20 , we add details to the receiver / sender port that we have created using we21.
    so what exactly we do in that is that we first use the message type for those idocs that we have created.
    now based on those message type we create a process code. now this is the reason why you cannot apply several message types with the same name in we20... as process code is unque for each message type.
    so thats why you can only assign the same message name to several idocs in we82 and then in we20 define the process code for that message type.
    it will solve your problem.
    hope this will help you!!!
    Thanks & regards,
    punit raval.

  • Create multiple idoc with multiple receivers based on value mapping table

    Hi,
    Scenario: 
    Step1 : sender sends a finance doc iin the form of an idoc. This idoc will have multiple line items based on profit center. Do determine the value of receiving comp code(header field) n receiving system(logical sys name) value mapping table has to be used.
    Solution so far: I can put an rfc lookup for fetching receiving comp code from mapping table with i/p paraameter as profit center . And split the incoming idoc based on comp code value by using split by value. Now I need your advise 2 take this further.
    Issue 1 : say the incoming idoc has 4  line seg wid 4 diff profit center
    Profit center.       Rec comp code.   Recv sys
    P1.                       C1.                        R1
    P2.                       C2.                        R1
    PS.                       C2.                        R1
    P3.                       C3.                        R2
    Nw using this info, I want 3 diff idocs to be created for each unique comp code.
    Idoc 1 : for C1 wid one line item + 1 for reconsilation ( to be generated additionally)
    Idoc2 : for C2 wid 2 line items + 1 for reconsilation
    Idoc 3: for C3 wid 1 line item + 1 for reconsilation
    Idoc 1 and idoc 2 shud be sent to R1.
    Idoc 3 shud be sent to R2.
    Kindly advise on this

    Hi experts,
    U all r pretty close, but let me put this more clearly.
    Step1: create multiple idocs based on unique comp code - I'm able to do this using rfc lookup n split by value. So I get 3 idocs each for c1, c2 n c3.
    Nw as per the values from value mapping table.
    Idoc for c1 contains 1 line seg.
    Idoc for c2 contains 2 line segs.
    N idoc for c3 contains 1 line seg.
    steps2 n 3,  where I do not have a confirmed solution yet n need ur advise.
    Step 2 : for each idoc generated I need 2 create n additional segment, mapping 4 which will be based on the values in the original segments for that idoc.
    In d above scenario, idoc for c1 contains 1 line seg, nw I want 2 add one more seg to it. The amount and pisting key values in this segment wud be calculated based on the values of the amount and posting key belonging to the original segment in this idoc.
    Similarly for idoc for c2 there are 2 segs, nw I need one more, means 3 in allm
    Hence for idoc for c3, 1 orig already present + 1 more. = total 2.
    Nw I need ur advise on how 2 generate this additional seg in each idocm
    Step 3: when all dese 3 idocs are generated, ( in this case itz 3, in real time it can be n), I need to find their respective receivers using rfc lookup n then based on the receiver send 2 resp recvng systm
    Nw how do I do this?
    Please explain with examples if possible 4 bettr understanding.
    u2020ђąu03B7kўu03C3u03C5 in advance.

  • Problem with idoc DEBMAS

    Hi everybody.
    We have a problem with idoc DEBMAS.
    This idoc is sent from R3 to PI throw change pointers then the idoc is field only with the data modified in the master custumer.
    We need the information fill it in the segment /IDOC/E1KNA1M/E1KNVVM to determine the receiver determination but this segment is not always sent.
    What can be done in R3 to send always this segment.
    We dont want to sent the whole data but always this segment.
    Any idea???
    Thanks a lot!!!!!

    Hi,
    As E1KNVVM segement is not mandatory, when you are triggering IDoc based on change poitner data might not populted in the E1KNVVM segment until some sales data is changed.
    if you need that segement always just copy the Idoc type and make it mandaotry field.
    otherwise yoy can populate some fields like STDVRS with the reruried constant and can use in your receiver determination.
    Regards,
    Suresh

  • Add new bank account in master data client with idoc DEBMAS.

    Hi friends,
    I have an issue.
    I am trying to add new bank account in master data client with idoc DEBMAS.
    But when I submit, then just overwrite the bank data but not add.
    I try playing with MSGFN code with value '009' or '004' but nothing done.
    Someone has met this issue ?
    Thanks for your answers.

    Thanks,
    But what do you mean ? where can I find this path , in img ?
    Fields->Set Qualified Update ->Append Option
    I think we have to use another idoc :
    BUPA_C_BANKDETAIL_ADD01 SAP BP,  BAPI: Add Bank Details
    I'll try...

  • Problems with multiple idocs in one file ( Inbound file )

    HI,
    Thanks in Advance for your suggestions.. Highly appreciated.
    We have problems with multiple IDocs in one file.
    We are using XIB ( Amtrix ) as Middleware to receive the files.
    Curretenly When the file contains one IDoc then there is no problem. IDoc is created and everything is ok.
    If file contains two IDocs ( for example two messages ORDERS and DELVERY ) then it is creating two IDocs but both IDocs contains ORDERS plus DELIVERY segements information. That is the problem. Some how SAP unable to differentiate the IDocs in the file.. But it knows that how many idocs are there in the file..because it is creating exact number of idocs.
    We are using TRFC port ... Do I need to change it to File port..
    When we have more than one idoc do we need set any parameter in the file ...

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Avoid the creation of idoc Debmas with Change Pointers

    Hi everybody.
    Ive customized the creation of idoc debmas with change pointers.
    In BD64 I´ve defined the distribution model but Id like to avoid the creation of the debmas idoc when an specific user has created/modified the custumer data.
    How can I get this?
    Regards

    Hello,
    I would suggest to handle this issue with authorization check...
    check the authorization object using SU53 and add a separate role for those specific user excluding those objects...
    Thanks
    K.

  • File to IDOC, with External Definition to hold multiple IDocs

    Hello Experts,
    I am configuring a sample File to IDOC scenario. Here are the steps I am following, can you please guide me what I am missing here.
    I am having a flat file with 10 records to be transferred to my ECC system through IDOC adapter to create 10 different IDocs.
    1. I am picking up my flat file using a 3rd party Business System with File Content Conversion
    2. I uploaded CREMAS Idoc and exported as XSD file and modified Occurences paramter to unbounded and uploaded back as an External file definition into IR
    3. I defined an SAP WEBAS ABAP type Business System with LS (representing my ECC system) and configured with IDOC Rcvr channel.
    4. In the IDOC recvr Channel, I specified RFC destination pointing to my ECC system & Port, Release...etc
    5. On the ECC side, I configurated a PARTNER PROFILE with the above mentioned LS(used in step 3) and added an Inbound Idoc paramter CREMAS with process code CRE1. Selected the option Trigger Immediately.
    Testing:
    1. When I checked my CC monitoring in RWB, my file on the sourced is getting picked up successfull with respect to the specified polling intervals.
    2. I don;t see any messages in my SXMB_MONI. I verified SXMB_ADM configuration it looks fine to me
    3. I used TCode:WE02 on ECC side, nothing is there
    4. I used Tcode SM58 on ECC side, nothign is there
    I have no idea what is happening after successfully picking up the file on the source side.
    Is there a way to trace where exactly the error is or what is wrong with my scenario?
    Just an observation, We don;t need to specifiy any LS on the Sender Business Sytem(3rd party in my case) which picks up my file on the source side. Rather I am specifiying LS on the Target Business Sytem(type WEBAS ABAP in my case) to send my IDOC to ECC system. I am using the same LS to define PP on ECC system.
    Edited by: Chris Rock on Oct 21, 2008 5:03 PM

    Aamir,
    I tried full cache refresh, also cleared SLD Cache for both IR & ID. No luck.
    I think either some thing wrong in connection parameters, but atleast if I see some error in Moni or RWB, it helps, but in my situation, nothing is showing up there.
    Connections:
    I specified PORT & RFC Dest in IDOC RCVR Adapter along with WEBAS Release version. These PORT & RFCs are created in XI using SM59 & IDX1 and both passed the connection test.
    On the ECC side, I created a PP with inbound Idoc CREMAS and process code as CRE1. This PP uses the LS that was used in RCVR BS specified in XI side.
    I also loaded Idoc meta data into XI with Tcode: IDX2
    Please help me, any body. I will sincerely award the points.

  • Configuration scenario of file to multiple IDOCs in XI

    I have to configure a scenario of file to multiple IDOCs in XI.
          I have XML file in MDM server. And it contains multiple segments. Each Segment is  a combination of DEBMAS and ADRMAS.
    So in XI configuration I have to separate the mapping for DEBMAS and ADRMAS. And my ADRMAS idoc should post first in R3 and then DEBMAS should post.
    These IDOCs are multiple because each segment in XML file will be a IDOC.
    Does BPM process is mandatory here or we can do in any other way.
        Could you please suggest how to do this configuration. If you have any documents pls share with me.
    Regards,
    Venkat

    Hi,
    First you need to split the messages into multiple IDOC types. As you are going to send this to IDOC adapter, it is required to have BPM to split the message.
    These 2 docs may help u:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • How to genereate multiple IDOCs from multiple rows in a single flat file

    HI,
    I am working on a scenario where I need to genereate a IDOC per one row in a flat file.
    I created DT of following strcuture:
    DT_TYPE
    --DETAILS -
    0..Unbound
    F1------0..Unbound
    F2------0..Unbound
    F3------0..Unbound
    IDOC is
    ZIDOC
    IDOC----1..1
    -BEGIN-Required
    -SEGMENT1---1..1
    -SEGEMENT2-1..1
    -SEGMENT3-1..999
    To create multiple IDOCs if there are multiple rows in a flat file in MM i choosed occurances as 0..unbound in Signiture tab
    Source structure:
    Messages------1...1
    -Message1--1....1
    DT_TYPE------0..Unbound
    DETAILS -
    0..Unbound
    F1------0..Unbound
    F2------0..Unbound
    F3------0..Unbound
    Target Strcuture:
    Messages----1....1
    -Message--1....1
    ZIDOC----1....1
    IDOC------1..1
    BEGIN---Required
    SEGMENT1-----1..1
    SEGEMENT2---1..1
    SEGMENT3---1..999
    I am unable to generate two IDOCs if there are two rows:
    Am I missing some thing?
    Thanks
    Rajeev

    HI,
    I am working on a scenario where I need to genereate a IDOC per one row in a flat file.
    I created DT of following strcuture:
    DT_TYPE
    --DETAILS -
    0..Unbound
    F1------0..Unbound
    F2------0..Unbound
    F3------0..Unbound
    IDOC is
    ZIDOC
    IDOC----1..1
    -BEGIN-Required
    -SEGMENT1---1..1
    -SEGEMENT2-1..1
    -SEGMENT3-1..999
    To create multiple IDOCs if there are multiple rows in a flat file in MM i choosed occurances as 0..unbound in Signiture tab
    Source structure:
    Messages------1...1
    -Message1--1....1
    DT_TYPE------0..Unbound
    DETAILS -
    0..Unbound
    F1------0..Unbound
    F2------0..Unbound
    F3------0..Unbound
    Target Strcuture:
    Messages----1....1
    -Message--1....1
    ZIDOC----0....unbound
    IDOC------1..1
    BEGIN---Required
    SEGMENT1-----1..1
    SEGEMENT2---1..1
    SEGMENT3---1..999
    I am unable to generate two IDOCs if there are two rows:
    Am I missing some thing?
    It isnt possible with out BPM?
    Thanks
    Rajeev

Maybe you are looking for

  • Searching Records Following the Creation of a Lookup Table

    Hello, Please excuse my ignorance but I have just created a lookup table by using the wizard in SQL Workshop. All is well text has been replaced by numbers. My issue is that when I do a search now using a drop down list based on a query it returns re

  • Call RFC from java (j2ee) /  call to j2ee from R/3

    hello i´ve browsed the forum for some time to find how to: 1.) call ejb from r/3 system via rfc 2.) call rfc enabled function modules on r/3 from within an j2ee enviroment but i didn´t quite get it, because i was a bit confused about all the mentione

  • How do I delete items in my Reading list?

    How do I delete pages from my Safari Reading List which is new with ios5?

  • Printer prints papers of weird characters

    Hi, I have a network printer which has the correct driver (HP LaserJet 400 M401 PCL 6) installed on a Windows Server 2008 R2 and when printer to this printer from a client computer (both additional drivers for 32-bit and 64-bit are installed on the s

  • Alv grid problem  quantity zero not displaying

    Hi i am displaying quantity fields kwmeng and bmeng in alv, in code am subtracting the two quantities, the final subtracted value is displaying in alv when it is >0, when it is equal to zero ,it is displaying blank . Thanks Srini