Mapping for Order Split

Hello,
We have a requirement that we would receive IDocs from a third party and we would send them back.
But the condition is,if these ORDERS IDocs contain materials belonging to different distribution channel then IDoc has to be split in two (10 or 20 DC) having materials belonging to same DC.
So at the max,we can have 2 IDocs created for 1 IDoc.
How can we achieve this?
Regards,
Shweta

Shweta,
We have a requirement that we would receive IDocs from a third party and we would send them back.
Through which adapter are you communicating to III party?
Is it a Asynch scenario?
As per my understanding, you need to split the incoming IDOCs based on the Distribution channel.
I suggest you to use Multi Message mapping > then right click on Messages1 and select duplicate structure.
Now provide the mapping for the first messages to execute for DC = 10 similary provide mapping for second message to execute for DC = 20.
Enhanced interface determination if you want to send each one as different message.
Regards,
Venkat.

Similar Messages

  • Production Order Split

    I am exploring the functionality in LOG_PP_PROD_ORD_SPLIT in our sandbox region.  We are currently at EHP 4, thus rendering OSS note 170819 not relevant.  I have activated  LOG_PP_PROD_ORD_SPLIT  via SFW5.  I am trying to split a production order for a MTO end item that is NOT batch managed.  Also, since we have ECC 6.0 EHP 4 the requirement of a product cost collector is no longer there.
    I select the operation in the parent order that I want the split to occur and always get a message "Missing by-product/missing batch for cost transfer material".  I tried creating a by-product that is batch managed. When I add that material in the by-product field in the material for cost transfer, I get the message "No batch numbers could be determined".  So now I enter a batch number and get the message "Material uses internal batch number assignment (Entry will be deleted)".  I have also tried to add an existing batch with no inventory that I manually created and get the Batch number already exists message. 
    I have not activated the business function LOG_PP_WIP_BATCH, as I do not wish to use WIP batches. 
    Questions: 
    How do I get around the fact that our MTO end items are NOT batch mangaged?  Do I use a generic by-product as the material for cost transfer?  If so, how do I get past the need to add a batch number or get the system to accept the internally assigned number as outlined above?  It is not an option to batch manage the end item.
    What is the purpose/reason for needing this material for cost transfer to be batch managed?
    Thanks for any help you may be able to provide.

    Shrek66 wrote:
    I am exploring the functionality in LOG_PP_PROD_ORD_SPLIT in our sandbox region.  We are currently at EHP 4, thus rendering OSS note 170819 not relevant.  I have activated  LOG_PP_PROD_ORD_SPLIT  via SFW5.  I am trying to split a production order for a MTO end item that is NOT batch managed.  Also, since we have ECC 6.0 EHP 4 the requirement of a product cost collector is no longer there.
    >
    > I select the operation in the parent order that I want the split to occur and always get a message "Missing by-product/missing batch for cost transfer material".  I tried creating a by-product that is batch managed. When I add that material in the by-product field in the material for cost transfer, I get the message "No batch numbers could be determined".  So now I enter a batch number and get the message "Material uses internal batch number assignment (Entry will be deleted)".  I have also tried to add an existing batch with no inventory that I manually created and get the Batch number already exists message. 
    >
    > I have not activated the business function LOG_PP_WIP_BATCH, as I do not wish to use WIP batches. 
    >
    > Questions: 
    > How do I get around the fact that our MTO end items are NOT batch mangaged?  Do I use a generic by-product as the material for cost transfer?  If so, how do I get past the need to add a batch number or get the system to accept the internally assigned number as outlined above?  It is not an option to batch manage the end item.
    >
    > What is the purpose/reason for needing this material for cost transfer to be batch managed?
    >
    > Thanks for any help you may be able to provide.
    Hi,
    Assume you have to do 5 operations to get the product
    creating the production order .
    confirm the first two  operations using Co11N
    now open the production order in the change mode using Co02
    In production order operation overview, select the operation 0030 and go to functions menu and click on split order.
    System will display a  screen with all parameters for order split.
    enter split quantity and order type(you can select different order type for child order)
    Click execute Split Order
    operation quantity for the current order will be reduced based on the split quantity
    Balance quantity would be assigned to the new production order created because of order split .
    Regards,
    Raj

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • Transport order split for quantities

    Hi @all
    I hope anyone can help me with a small problem. Is it possible to create an transport order split for quantities only with customizing or do i need to use a user-exit like ZXLTOU18?
    We want SAP to split a picking transport order to the quantity of 8 pieces by picking from a special storage type. Is this possible?
    Kind regards.
    Bastian

    Hi,
    Is your STO in APO system? If so, you may consider to use split heuristic.
    If it's in ECC, we recommend you to check in space SAP ERP - Logistics Materials Management (SAP MM) in Enterprise Resource Planning to get more expertized advice.
    BR

  • BAdI needed for transfer order split with the maxi.of 5 item level

    Hi,
    BAdI needed for transfer order split with the maximum of 5 item level.
    If a transfer order contains 12 item level, three separate transfer order should be created with item level 5,5 and 2.
    This transfer order is for the material which bound to flow to production from warehouse.
    Can anyone explain the step by step procedure to implement this BAdI?
    It would be great if the procedure is for New BAdI.
    Thanks.

    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt

  • Mapping for Sales Order Idoc

    Hi Experts,
    I am facing problem with mapping for standard SalesOrder Idoc ORDERS.ORDER05.
    My Source Structure is: X12 EDI850
    <G_SPO1> (occrance 1..100000)
    <S_PO1> (occurance is 1..1)
                      <D_234/>
                      <D_234_2/>
                      <D_234_3/>
                      <D_234_4/>
                      <D_234_5/>
                      <D_234_6/>
                      <D_234_7/>
                      <D_234_8/>
                      <D_234_9/>
                      <D_234_10/>
    </S_PO1>
    </G_SPO1>
    Target Structure is:
    E1EDP01
        --->E1EDP19
                    --->IDTNR
    Functionality is passing material numbers of EDI customers to IDTNR field in E1EDP19 filed under segment E1EDP01.
    From source i will get set of material numbers, for one set 10 material numbers(In source you can find 10 fields for 10 material numbers)
    Requirement: I need to send those material numbers to IDTNR (One to one mapping ).
    For getting 10 material numbers i just duplicated segment E1EDP19 in target side and mapped one field of source to IDTNR target in each segment. Totally mapped 10 source fields in 10 segments.
    If 20 material numbers I will get two sets <G_SPO1> will repeat two times, each time 10 material numbers. So I mapped G_SPO1 to E1EDP01
    S_PO1 to E1EDP19.
    My out put is coming as 10 E1EDP19 segments under E1EDP01 if 10 materail numbers.
    But problem is ECC team asking to get one E1EDP19 line item value under E1EDP01 line item header. They are not accepting duplicate E1EDP19 segments under header E1EDP01.
    How to acheive this with my requirement.
    Appreciate your hellp on this.
    Thanks & Regards,
    A.Neelima.

    There is no relation between D_234 and D_356.
    I want to pass D_356 to KTEXT in all E1EDP01 segments which ever i will get based on the condition we implemented for E1EDP01.
    Present its coming only for E1EDP01 first segment (for which i used condition with D_234), its not coming for remaining 9 E1EDP01 segments (for which i used conditions with D_234_2 to D_234_10)
    If i pass sample input payload:
    <S_ST>
    <S_PID>
    <D_350>Description</D_350>
    </S_PID>
    <G_SPO1>
    <S_PO1>
    <D_234>1</D_234>
    <D_234_2/>2</D_234_2>
    <D_234_3/>
    <D_234_4/>
    <D_234_5/>
    <D_234_6/>
    <D_234_7/>
    <D_234_8/>
    <D_234_9/>
    <D_234_10/>
    </S_PO1>
    </G_SPO1>
    <G_SPO1>
    <S_PO1>
    <D_234>3</D_234>
    <D_234_2>4<D_234_2>
    <D_234_3/>
    <D_234_4/>
    <D_234_5/>
    <D_234_6/>
    <D_234_7/>
    <D_234_8/>
    <D_234_9/>
    <D_234_10/>
    </S_PO1>
    </G_SPO1>
    </S_ST>
    Coming Output Now: (KTEXT field is missing in last two segments)
    <E1EDP01>
    <E1EDP19>
    <IDTNR>1</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>3</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>2</IDTNR>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>4</IDTNR>
    </E1EDP19>
    </E1EDP01>
    Expected Output:
    <E1EDP01>
    <E1EDP19>
    <IDTNR>1</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>3</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>2</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <E1EDP19>
    <IDTNR>4</IDTNR>
    <KTEXT>Decription</KTEXT>
    </E1EDP19>
    </E1EDP01>
    Thnaks & Regards,
    A.Neelima.

  • Order split functionality with PP-PI

    Hello Forum,
    I am not sure whether we can use the order split functionality with process orders .  I had implemented it earlier for a client with discrete MFG production type but not aware whether we can do so in process industry (couldn't find the provision to do so in process order operation overview screen function menu path).
    Cheers
    Kaushik

    Hi Kaushik,
    Yes your right.
    Order split functionality is only applicable for Discrete manfg not for PI industry this is major difference between PI & DM.But you can achieve this at the time of process order confirmation.
    Example :-In the Goods Movement Overview of Process Order confirmation FG material is done Auto GR. This FG material Quantity needs to be splitted. Push button "Split" is provided in the bottom of the Goods Movement Overview screen of Process Order Confirmaton.
    Say FG quantity = 25 KG  which is to be confirmed. Client wants to split the FG quantity into 1 KG wise, for this he needs to split into 25 times.
    You can implement this by using below work order
    Please use the WORKORDER_GOODSMVT for splitting the GR in Confirmation
    This u can implement in PI.Also check Mr.Paulo reply that could be one possibility.
    check & revert.
    TnX

  • Key mapping for forms on web

    Presently we are using forms 4.5. We have got costomise key
    mapping for operating through forms. Now we want to start forms
    on web (Intranet). Earlier we use to change key mapping through
    oracle*terminal. I require help in knowing how to customise key
    mapping in forms 6i / oracle 8.1.7.

    Hi,
    Boy, I have some good news to you: Oracle*Terminal is no longer
    needed.
    WordPad (or your favorite text editor) is your tool from now on.
    Keyboard files are located in $ORACLE_HOME\FORMS60.
    Simply ignore the binary file fmrusw.res when you run Forms on
    the Web. FMRWEB.RES is the one that is used, and it's pure ASCII.
    There are some comments in the file itself.
    The keys are the same as the Motif version of Forms.
    If you prefer the Windows keys, simply use FMRPCWEB.RES instead.
    How? Check under $ORACLE_HOME\FORMS60\SERVER for your
    formsweb.cfg, go to User Parameters and replace the
    otherparams=
    line with
    otherparams=term=%forms60%\fmrpcweb.res
    Now, anyone can define the Function-0 till Function-9 key
    combinations, in order to use KEY-F0 till KEY-F9 triggers.
    Hope this helps,
    Pedro das Neves
    [email protected]

  • Multi-Mapping and Message Split using BPM

    Hi All,
    Could anyone pls let me know clearly how message mapping can be done for this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanks,
    Ram

    Hi,
    When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
    <b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
    Here in this blog it is done based on the Name.
    You need to use IFTHENELSE boolean function and do the mapping.
    Thanks,
    Prakash

  • Multi Mapping 1:N Split

    Hi ,
        My scenario is 1: n Split. I have created one intermediate structure (B) and doing splitting due to satisfy all business rules.
    A is the source is the Target. (1: N split)
    A &#61664; B
    B&#61664; C
    A and B has the occurrence of 1.
    B has the occurrence of 1. C has the occurrence of 0.unbounded.
    I have specified the Source and Target interface is A &#61664; C.
    I got the message type, but I try to give Message mapping for A&#61664; B & A&#61664;C, it is not allowing me to give two multimappings in interface mapping.
    Please let me know have you found any answers.

    Hi Suresh,
    Your both mapping structure should have MultiMapping Envelop..because you are using MultiMapping in the interface mapping, i.e 1:1 Mapping with 1:N mapping.
    Go thru this SAP Help-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm
    Similar Discussion-
    Multiple Mapping programs in one Interface mapping
    Hope this helps,
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • Require a Message mapping for this Logic.

    Hi Experts,
    I require a Message mapping for this Logic.
    In the Source there are 4 fields and, the Target side, the fields should appear like this.
    Source Structure- File
    Record
    |-> Header
    Order_No
    Date
    |-> Item
    Mat_No
    Quantity
    Target Structure-IDoc
    IDoc
    |-> Header
    |-> Segment
    Delivery_Order_No
    Recv_Date
    |-> Item
    |-> Segment
    Delivery_Order_No
    Material_Num
    Recv_Quantity.
    The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note  is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
    For example:-
    we have
    Source Structure- File
    Order-no Date Mat_No Quantity
    1 01/02/2011 A 10
    1 01/02/2011 B 15
    1 01/02/2011 A 10
    2 01/02/2011 C 10
    2 01/02/2011 C 10
    3 01/02/2011 D 20
    3 01/02/2011 D 10
    3 01/02/2011 E 25
    Target Structure-IDoc
    Delivery_Order_No Recv_Date Material_Num Recv_Quantity
    1 01/02/2011 A 20
    1 01/02/2011 B 15
    2 01/02/2011 C 20
    3 01/02/2011 D 30
    3 01/02/2011 E 25
               So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B  then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field  in the Target Side.  ike wise the process goes on upto 3.Kindly do the needy..
    Thanq very much in advance..
    Edited by: Prashanth Bharadwaj on Oct 17, 2011 1:29 PM

    Hi Prashanth,
    Concatinate the two fields OrderNo and MaterialNo and follow the below logic which will resolve your problem.
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext-->IDOC
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(0,1)-->Delivery_Order_No
    formatByExample>collapseContext>SplitByEachValue-->Recv_Date
    FormatByExample:
    input1:resulrOfSortByKey
    input2:concatination>removecontext>sort-->SplitByValuChange
    sortByKey:
    input1:concatination-->removecontext
    input2:date-->removecontext
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(1,1)-->Material_Num
    formatByExample>sum>Recv_Quantity
    FormatByExample:
    input1:sortByKey
    input2:concatination>removecontext>sort-->SplitByValueChange
    SortByKey:
    input1:concatination-->removecontext
    input2:Quantity-->removeContext
    Regards,
    Priyanka.

  • Multi-Mapping and Message Split using BPM UDFs Error

    hi
    As per the below blog
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    I have just modified the UDFs(1.selectnodeifA 2.selectNodeifB)
    1.selectnodeifA
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    2.selectNodeifB
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("B"))
    result.addValue(Node<i>);
    while checking I am getting the following errors
    Source code has syntax error: 
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:132: cannot resolve symbol
    symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:140: cannot resolve symbol symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    2 errors
    The source code given in the blog is correct ? I thought for loop has not completed
    pls help
    manian

    Hi manian,
    I was having a look to Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure blog.
    The functions are not the same. I mean, yours and blogs functions.
    Each function has two parameters, Name and node. Furtheremore, in the blogs' functions is using arrays and you don't.
    So, the right code will be
    1.selectnodeifA
    for(int i=0;i<=node.length();i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    However, if you don't need an advance user defined function as you want to process just one element of the node's queue, you will not need to use for sentence.
    Something like:
    1.selectnodeifA
    // for(int i=0;i<=n;i++)
    if(Name.equals("A"))
    result.addValue(Node);
    Hope it is usefull for you.
    Carlos

  • How to do Mapping for the following Scenario

    Hi All,
    I am doing File 2 File Multimapping Scenario with out using BPM Concept but, My result was Struck at Message Mapping.
    Source                          Target
    Message                       Message1     Details                                Details
             Name                            Name
             ID                                  ID                                                                               
    Message2        
                                                    Details
                                                        Name
                                                        ID
    I am getting Runtime Exception at Message Transfermation error if i do the one 2 one direct mapping....
    so, How to do the Mapping for thei Scenario?
    WIth Regards,
    Mahesh

    Hi Farooq,
    I am using Split and Merge.
    Source XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_In_MT" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Target XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Message2" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out1_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Thanks
    Mahesh

  • Using BADI ORDER_SAVE to implement order split?

    I'm working in a CRM 4.0 system in which I need to create an order split based on sales organizations. My initial idea was to create an implementation of the BADI ORDER_SAVE in which I call the method CHANGE_BEFORE_UPDATE where I want to read the available sales order data and perform the split.
    The scenario could be that a sales order comes in from internet sales or is generated directly in CRM with one line from sales organization X and one from sales organization Y. I want to read the available line item data and split the order in two orders. One for each sales organization.
    I have been looking through the functions in function group CRM_ORDER_API and through the available methods for business object BUS2000115, but I cannot seem to find anything that works at the point in time where my BADI is called.
    In my system one order containing two different sales organizations will fail, so an alternative might be to have a batch job running that reads the failed orders after they have been saved in CRM and splits them according to my requirements using the function module CRM_ORDER_MAINTAIN.
    Would any of you CRM gurus have a suggestion to how I can implement the first scenario as I find this solution a bit more elegant than the second?
    Best regards,
    Anders

    Anders,
    Another approach is the following:  Save the order generated by ISA as a different document type from the target split order.  The next step is to use the SPPFCADM action configuration to build a scheduled action that is kicked off when your document is saved(I believe you can make the order save as a triggering condition).  Then in the new action class read the document determine whether it needs to be split and generate the subsequent sales documents as needed.
    The problem with splitting out the original document is that you lose track of the "logical" orginal order, and you face the issue of deleting the items from the original document.  The benefit of creating subsequent documents is that you maintain the document flow, and only have to create new orders which is much simpler.
    Good luck,
    Stephen

  • Classify G/L Accounts for Document Splitting

    hi all experts,
    could any one give me the path to Classify G/L Accounts for Document Splitting
    in sap 4.6 environment.
    kindly answer this queston urgently
    anil

    Anil:
    SAP Customizing IMG -
    > Financial Accounting ( New ) -
    >General Ledger Accounting (New)----> Business Transactions----> Document Splitting -
    > Classify GL accounts for document splitting
    Classify G/L Accounts for Document Splitting
    Each business transaction that is entered is analyzed during the document splitting procedure. In this analysis, the system determines for each line item whether it is an item that remains unchanged or an item that should be split.
    In order that document splitting recognizes how the individual document items are to be handled, you need to classify them. You do this by assigning them to an item category. The item category is determined by the account number. In this IMG activity, you need to assign the following accounts in the system:
    Revenue account
    Expense account
    Bank account/cash account
    Balance sheet account
    The classification of all other accounts is known to the system, so you do not have to enter them here. You can enter an account interval since the system recognizes SAP-specific classifications and does not allow SAP settings to be overwritten by your own settings.
    Assign points if info helps
    Vj
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left.

Maybe you are looking for

  • How to automate the process of loadind data from XML to BI.

    Hi, We have configured all settings that is required for web service portal(web application server). But, the problem is that when we go to the T-Code WSADMIN----> XMLA -->Test After entering the data manually i.e material,plant etc. it will be avail

  • Job cancelled while processing inbound IDOcs

    Hi All, we are sceduled job in background processing mode for the program RBDAPP01(Inbound Processing of Idocs), but job was cancelled due to RAISE_EXCEPTION. if i cheked in ST22 it is showing as ""The termination occurred in the ABAP program "SAPLMC

  • Project will not burn...

    Hi. Trying to burn a project in idvd i go to the burn icon click it opens then click to burn and nothing it just glows faster without spinning and closes again. Nothing happens no encoding nothing. The project is 3gig onto a standard dvd so plenty of

  • IMovie 10.0.2 crashes while exporting

    I've read that it helps to delete the Library in order to get it running again. Could anybody let me know where I can finde the Library (I don't want to delete the wrong one) and let me know whether it will rebuild properly? Cheers Zuse

  • How to manipulate records inside customized modules and reflect to the seeded modules

    If we are going to add custom modules inside Oracle EBS that link to Receivables, how do we create/update/delete records inside those custom modules and make them reflect inside Receivables? Are we going to use also the Interface tables and standard