Enhance Route Determination

Hi,
Need help to evaluate if the below exit can work for the requirement. In VA01 we need to enhance route determination based on Plant and Customer.
Enhancement 0VRF0001
FM EXIT_SAPL0VRF_001
Will this flag get impacted if the route value is changed?
if i_likp-vstel (2) EQ '09'.
move 'X' to c_flag_gen_grugl.
Raise continue_with_standard.
Endif.
Thanks.

Hi Reddy,
Thank you for your prompt reply.
Could you pls suggest me with the code snippet for the reqmt
Customer C12
1. Plant91 => Route 002
2. Plant 92 =.> Route 001
Thanks in Advance.

Similar Messages

  • Enhanced Interface Determination - does not work!

    Hi guys,
    well i have a scenario where i have done a multi mapping where MT_TYPSCH is generated for each new value which occurs in one special source field.
    <NO>1</NO>
    <NO>2</NO>
    <NO>3</NO>
    ..so three MT will be generated.
    Now i would like these messages devided to different Business Services where each one has on FTP-CC to write a file with a certain filename, e.g. File1.txt, File2.txt, File3.txt.
    Therefore i thought i use different receivers in Receiver Determination with using Conditions and pointing to a value in field with XPATH. So depending on field <NO> the message should be routed to the given receiver targets.
    I surely use the enhanced Interface Determination because i use multi mapping.
    But when i run test, i receive 3 files with different names but same content. For me the receiver determination is not working that good.
    Can someone help me on this?!
    source:
    <ZBC0>
    <IDOC BEGIN="">
    <EDI_DC40 SEGMENT="">
    <ZBC0 SEGMENT=""> 0...9999
    <NO>1</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </ZBC0>
    <ZBC0 SEGMENT="1">
    <NO>2</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </IDOC>
    </ZBC0>
    target:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_TYPSCH> 1..1
    <TYPSCHRecordSet> 1..1
    <TYPSCHDetailsStruc> 1..unbounded
    <FELD1/> {represents content of <No>}
    <FELD2/>
    <FELD3/>
    </TYPSCHDetailsStruc>
    </TYPSCHRecordSet>
    </MT_TYPSCH>

    Hi Mario,
    ok here is my requirement.
    We get ONE IDoc in which several items are listed. These have one field <NO> which can have the values 1,2 and 3. Depending on this value the items should be collected and written to different files on FTP.
    My approach is that i divide all the items in mapping in different Message Types. This MT should be routet to different business services which has one CC to write on FTP.
    To get the items with e.g. <NO>1</NO> i took condition in reciever determination using xpath. ((/ZBC21/IDOC/ZBC21/NO = 1).
    So depending on the mapping everything runs - in my point of view but the different messages are not routed to the different services to write them to different files.
    Source
    <ZBC0>
    <IDOC BEGIN="">
    <EDI_DC40 SEGMENT="">
    <ZBC0 SEGMENT=""> 0...9999
    <NO>1</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </ZBC0>
    <ZBC0 SEGMENT="1">
    <NO>2</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </IDOC>
    </ZBC0>
    target:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_TYPSCH> 1..1
    <TYPSCHRecordSet> 1..1
    <TYPSCHDetailsStruc> 1..unbounded
    <FELD1/> {represents content of <NO>}
    <FELD2/>
    <FELD3/>
    </TYPSCHDetailsStruc>
    </TYPSCHRecordSet>
    </MT_TYPSCH>
    The output should be files with content of items depending on field <NO>.
    file1.txt (all items with <NO>1</NO>)
    file2.txt
    file3.txt
    I hope i made it clearer!
    br

  • Enhanced Inerface Determination for File to IDoc scenario

    I am using Enhanced Interface Determination in my scenario - where I map my source message (from a single instance) into more than one IDoc messages (separate instance of Idoc for each occurance of a particular segment in the source message). To implement this I am 1:n message mapping for Message Splitting.
    The mapping is being executed successfully and several instances of the target IDoc type is being created at the runtime. But at the technical routing step I am getting error:
    <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    Does this mean that we cannot use Multi-Mapping for Message Splitting for IDoc Outbound Channels? Even if all the target messages (more than one) are being sent through the same Inbound interface and same Reciever IDoc Channel?
    Regards,
    Suddha

    Thanks Farooq for your valuable advice.
    You know what, I read those restrictions in the help.sap.com but had thought there must be some work around. It says split messages are sent using only one AE, but I hoped that Idoc and Http can be used as they are not part of AE and rather IE itself. Anyways, can't help...............but could help me understand what are the technical reasons for these restrictions?
    The blog is really a nice one and very helpful..............thanks! I used multi-mapping in exactly similar way as in the blog and used enhanced interface determination - but the target message being Idoc
    Is BPM the only option for my scenario?
    Regards,
    Suddha

  • User exit for route determination in Stock trasnport order

    Hi All,
    Can somebody help me with a user exit that I can use for route determination in the Stock transport order.
    Kind Regards
    Chakradhar

    Exit to be used is   EXIT_SAPLEBND_002. Enhancement M06E0004.
    DATA it_ekpo TYPE LINE OF mmpur_bekpo .
    To have controls in system for Standard Cost Estimation under two conditions if SCE is not run then,
    1)      System will not allow creating Process Order (COR1).
    2)      System will not allow Post Goods Issue (VL02N).
    Till date we do not have any control of SCE while creating Stock Transport Order.
    Now we have another control for SCE, that is
    3)      Henceforth system will not allow creating STO (ME21N).
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N'.
      IF i_cekko-bsart = 'UB'.
        LOOP AT it_bekpo INTO it_ekpo.
          SELECT SINGLE mtart FROM mara INTO mara-mtart WHERE matnr = it_ekpo-matnr .
          IF mara-mtart = 'IFIG' OR mara-mtart = 'ISFG'.
            SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                                AND bwkey EQ it_ekpo-werks.
            IF mbew-vprsv = 'S'.
              SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                              AND bwkey EQ it_ekpo-werks.
              IF mbew-stprs > '0.00'.
                CONTINUE.
              ELSE.
                MESSAGE e004(zpp) WITH it_ekpo-matnr it_ekpo-werks.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Mallick

  • Enhanced Receceiver Determination and BPM

    Hi Expert,
    Based on some conditions in the input file I need to route it to BPM or file receiver? Please let me know if I can use enhanced receiver determination?
    Thanks
    Suma

    My scenario is actually soap to rfc synchronous...
    I want to check if in soap request the fields are having blank value.
    case1 : If the input fields are having blank value then I need not call the RFC and I have to sent the response as Fields are missing.
    case2 : If the fields are not having blank value then I need to check whether XI is able to connect to R/3. If XI is not able to connect to R/3 then I need to send the soap response as "R/3 server is down". This one am doing with BPM using exceptions.
    case 3: when fields are not blank and XI is able to connect to R/3 then call rfc and send soap response to third party
    How can I validate step1?
    Thanks
    Suma S

  • Enhanced recv determination

    Hi All,
    If we do enhanced recv determination : I have 2 mappings : one is routing(enhanced recv mapping) and second is the regular mapping.
    Do I need to specify these 2 mappings as part of one Interface mapping or as 2 separate interface mappings : one ofr enhanced recv det and other as regular mapping.
    Thanks

    Hello,
    You need two Interface mappings. If you have doubt, please see the thread
    Re: Condition In Receiver Determination Not Working (page 3) and look out for my reply.
    Hope it helps!!!
    Best regards,
    raj.

  • ATP and Route Determination at Storage Location Level

    Hi Experts,
    I'm working on a project currently and one of the requirements is to have ATP and Route Determination at Storage Location level. I know SAP standard for this is at plant level but was wondering if anyone has had this requirement before, and if so what course of action they took to solve this issue.
    Any help would be greatly appreciated.
    Thanks,
    Mark

    Hi Mark,
    in my previous project we have a customized table created for all the route determination and used mv45afzz move field to vbap to determined the route.
    not sure if there is a easier solution but at least it is doable through customization for sure.

  • Route determination third party sales order

    We are using third party sales order.  The process flow is as follows.
    Sales order -> Purchase requisition-> Purchase order-> Vendor ships material directly to customer.
    Route is currently determinined based on the following:
    1. Departure zone (from shipping point)
    2. Shipping condition ( from ship to customer master)
    3. Transportation Group (rom material master)
    4. Destination zone (Transportation zone of the Customer in the order)
    Shipping point is in US, but the vendor who ships material to customer is in China. So, we want the Departure zone for the purpose of Route tdeterimination to be based on address in vendor master, and not shipping point.
    Is there anyway, we can do this?
    Thanks,
    Srini

    Dear Srini,
    Welcome to SCN forum....
    I find route determination for third party sales not logical. Just think  in Third-Party Orders, theres is no Material-Movement  and no Deliveries from our Plant;
    In this case Route Determination will not be applicable. Customer has placed order to you and you have placed an order to your vendor, who directly deliver the goods to your customer. And you dont have to decide which route customer's transporter will take?
    So as per me you need not determine routes in case of third party sales order.
    Thanks,
    Raja

  • Enhanced Interface Determination in PI 7.1

    Hi All,
    My scenerio will work as follows
    The changes in the process order will triggered by the client system .I will get the already converted XML file.I have used the file adapter in the sender side to pick the file.At the receiver side I am using the  3 custom  BAPIs.I have used 3 message interface instead of multi-mapping as the inbound interfaces.
    The Logic is like that:
    If the Process order status is = 1 then call BAPI 1,if it 2 then call BAPI 2  & call BAPI 3.
    Please tell me the following
    1.Is there Enhanced Interface Detrmination option available in PI 7.1?If so then can I mention  or call 2 BAPIs in one condition over there?Do I need to write ABAP condition?
    2.Is Enhanced interface Determination possible when I have used 3 inbound interfaces instead of multi-mapping?
    3.From my point of view I need the following in my scenerio
      - 3 message mappings(Graphical Mappings),
      - 3 interface mappings,
      - 1 sender agreement,
      - 1 receiver determination,
       -1 interface determination(with 2 conditions in it),
       -3 receiver agreements.
    Am I right?
    4.How many sender and receiver agreements do I need?
    5.Do I need to go for Enhanced  receiver determination?
    Thanks in advance.

    the same status node in the source file on which I will impose check will call the selective inbound interface based on the
    status node.Is it?If so,then do I need to mention anything other than the check condition in XPATH e.g.do I need to mention any
    mapping program or inbound interface (though I dont thing so but I am still confused) ?
    Yes, apart from specifying the condition in the Condition Editor you also should mention the corresponding Inbound Service Interface and Interface Mapping (if any).
    Condition will only cause the execution of that particular line and wont automatically call the mapping/ interface (unless these are specified in the Interface Determination).
    Is XPATH the alternative option in condition editor which can be skipped though I would surely like to go through it as
    much as possible?
    XPATH is the easiest option to specify a condition....other option includes the use of a Context Object.
    So as of now think that you cannot skip XPATH (for this particular requirement).
    Once you become an expert in using a XPATH (which you can in a days period) you can try out for Context Objects.
    Regarding Test Case:
    There is no standard template for this.....i would suggest check with peers in your company.....many a times companies have their own templates for test cases alongwith the possible cases....then referring to those test cases you can build the cases for your scenario. Avoid a direct copy of the test cases.....many wont be relevant for your case.
    Regards,
    Abhishek.

  • Enhanced Interafce Determination Split Mapping Performance factor

    Hi,
    I want to know is it a good practice to use Split Mapping using the Enhanced Interface Determination (EO-Maintain Order at Runtime is unchecked) and let the JEE adapter handle bundlings, etc.
    If the number of messages split are more say in order of thousands, it causes severe stress on the JEE Server and it goes down.
    Is Enhanced Interface Determination recommended to be used for high volume or any parmeters have to be tuned for its use.
    Thanks.
    Regards,
    Sudharshan N A

    Hi
    Enhanced Interface Determination  can be used for High Volume
    BPM is the other option for multimapping.
    But as compared to BPM , Enhanced interface Determination is the better option by performance .
    Regards
    Abhijit

  • Enhanced Interface Determination?

    Hi All,
    I have a scenario where i need to do a header validation . if validation succeeds i have to map source to target data and sent to SAP system. if validation fails i need to map source to error data and sent it to MQ system.
    I  am using enhanced receiver determination for selecting proper receiver based on the header validation. but in this case inspite of failed header validation there is no error message in SXMB_MONI...
    what i wanted is that when header validation fails , error message should be displaced in moni and also a error message (xml ) should be sent to MQ system.
    for implemention the above mentioned feature , i took another message mapping and interface mapping where i am explicitly throwing error -- Repository work.
    In configuration , i just create one more receiver determination with new message type and in existing interface determination , i added the additional interface mapping ( throwing error ).
    due to above changes , i am getting three message in Moni.. if header validation fails.
    1. which indicated that there is message splitting.
    2. one successful message ( source to error xml file ) to be sent to MQ system.
    3. error message where i am explicitly throwing error .
    can we have a situation where we have only one error message in moni and also the error is sent to MQ system?..
    i guess there is some feature in interface determination.. what is enhaced interface determination..
    I hope i am clear with my requirement..
    Ranjeet Singh...

    Have a look
    /people/robin.schroeder/blog/2006/11/15/using-dynamic-receiver-determination-with-sync-interface
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    List of receivers can be dyamically determined and assigned at runtime using enhanced receiver determination .
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    Thanks

  • Enhanced Receiver Determination for synchronous interface.

    Hello!
    Was anyone faced with the Enhanced Receiver Determination? When I try to create
    the definition of the Interface Mapping, I get the error:
    "Interface modi are different. Source interface Message Interface MI_My_sync_iface | urn:my is synchronous. Target interface Message Interface ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous"
    Thank you.

    Hi ,
    U can go through below limks  :
    Illustration of Enhanced Receiver Determination - SP16
    SAP NetWeaver Process Integration: Enhanced Receiver Determination for Synchronous Scenarios
    Enhanced Receiver Determination in SAP XI - Exchange Infrastructure - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhanced%2breceiver%2bdetermination%2bin%2bsap%2bxi
    Thanks

  • Route Determination in Inbound

    Dear All,
    How to configure the system to automatically determine the Route incase of Inbound Delivery Process?
    I know that the Route is getting detemined through the transportation zones & also the transportation group of the material.
    I have given the departure transportation in my vendor master record & receiving zone in my shipping point/receiving point address tab & also maintained a route for the shipping condition which I maintained in my vendor master & Trans.group in the material master.
    Inspite of doing all the above the route is not getting determined automatically.
    So please suggest a solution.
    Regards,

    Hi Amol,
    As you have suggested I have checked my material master trp group & its assignment to Shipping condition & route determination.
    Please note tht the goods receiving point is getting automatically determined as per the config but even though I have done the necessary assignment my route is not gettin determined automatically when I create a Inbound Delivery.
    To be more specific.
    I have given the Route for the TP zone given in my vendor master & TP zone given in the goods receiving/shipping point.
    I have maintained the Route for the combination of TP group given in my material master (sales view) & Shipping conditions given in my vendor master.
    Please help if you have any solutions.
    Regards,

  • Error with Enhanced Interface determination

    Hi Experts,
    In enhanced interface determination for message splitting w/o BPM, i have given the interface mapping.
    But while testing the configuration.......... i am getiing an error at Interface Determination & Mapping which is not showing any processing log.
    My mapping program works fine.
    could anyone tell me where the problem is....

    Hi,
    Can you post the error message that you are getting....it will help experts solve your problem accurately.
    Regards,
    Abhishek.

  • Enhanced receiver determination

    why we assign the abstract message interface ReceiverDetermination as the target interface.can we achieve enhanced receiver determination without this abstract interface.I have gone through sap help and some blocks of sdn also but still its not clear to me that whats the role of this abstract interface.

    Hi
    For receiver determination::- See
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    About
    Abstract Interface :
    The abstract interface work both inbound and outbound interface(Bi directional).
    BPM can process messages only through "abstract interfaces" al though Receive and Send steps can have interfaces other then "abstract interfaces"  all other intermediat steps of BPM needs "abstract interfaces"
    Hope it helps
    regards
    Piyush

Maybe you are looking for

  • Can't access Aperture 2 now!

    I have installed the trial of 3 and ordered the box - why you can't just get an unlock code instead I don't know. That aside, I have a problem. Aperture 3 won't open my Aperture 2 library. Aperture 2 won't open at all - it says that it cannot open th

  • Default values in FI

    Hi,     While opening "F-22" (Customer invoice), u find that the posting key for the first line item will appear by default as "01" similar to vendor invoice "F-43" , GL transaction "F-02" and so. My doubt is where do we give the default values for t

  • Is oracle database 10.2.0.4 be used in oracle applications 12.1.3

    We are palnning to upgrade from our current applications version 12.0.4 to 12.1.3 We understand it will done in 2 phases ie 12.0.4 - 12.1.1 and 12.1.1 to 12.1.3 but our current database version is 10.2.0.4 My question here is can we upgrade applicati

  • Moving iTunes to a new hard drive

    I followed Apple's instructions to move iTunes when I changed the hard drive on my first generation MacBook Pro (i.e., consolidate, change the media folder location), but when I opened a brand new version of iTunes on the new drive (holding down the

  • Pavilion g6 won't upgrade to windows 8.1

    I have a Pavilion g6 that came with Windows 8. I have tried on 2 different occasions to upgrade to Windows 8.1. The first time, several weeks ago, I completed the install, but have had problems ever sense, system hangs, software that dies, etc. I fin