Conditional Routing in Reciever Determination: Best Practise

Hi ALL
I am doing a File to EDI scenario....
And based on the vendor name in the file... I will be routing the EDI to
various vendor destination hosts.
Here is the Scenario
A file which is coming from a single sender is being routed to
multiple hosts(vendors); I am currently using conditional routing by
specifying the Vendor name as the filter
condition in the Receiver Determination and
routing it to the corresponding vendor party.
single sender FILE (ECC) -> multiple EDI relievers.
Filter Condition for routing to vendor party:
Vendor name / Vendor Code specified inside the file
as one of the fields.
However, my vendor list might increase to about 50 ...In this case would
this be the best approach to do the conditional routing ... or can you please
suggest any better method.
Thank you,
Patrick.

Hi! ALL
Thank you for the response....
Most of the receivers are file (FTP) - 90%; some of them are AS2(HTTP protocol) - 10%.
Also, here is an overview of the scenario:
ECC would write IDOC's in batch mode
in a .xml file (each .xml file would have
3 or 5 Idoc's for a particular vendor).....So, PI
file adapter will pick up this .xml file and write
in to an EDI structure;
the header of the IDOC will have the vendor
name and all the IDOC's under a particular .xml.
All Idoc's under a file will belong to the same vendor.
Can you please explain to me:
How we could use a value mapping for the above scenario to route the EDI to the
right receiver(vendor party) in my configuration.....As, the vendor name would be in
the header of the IDOC in the .xml file...I might be missing
something here...would like to get an understanding as
how I can link the value mapping to the IDOC of a particular vendor?
Your help is greatly appreciated!!
Regards,
Patrick

Similar Messages

  • Reciever Determination condition error in PI7.1

    Hi Experts,
    I done File to File scenario in XI with multiple recievers based on FileName in Reciever Determination, i use context object(FileName, http://sap.com/xi/XI/System/File) in Expession editor, this condition was working in XI, but in PI7.1 it is not working, it is giving error like below.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <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="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: An exception has occurred.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error when determining the receiver: Problem evaluating a condition: An exception has occurred. Problem evaluating a condition: An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can anyone please help me out of this.
    <removed_by_moderator>
    Edited by: Juan Reyes on Oct 1, 2010 2:53 PM

    Hello ,
    I have the same issue with PI system and all IDOCS in PI are in error state.
    The issue in our case was the condition for the interface was visible from integration directory in receiver determination , but its not replicated in ABAP stack ( tcode sxi_cache ).
    so we have gone in receiver determination in Integration builder-->Receiver Determination
    Select a object --> click on Edit mode
    Add a space in the description , click on SAVE. Then activate it.

  • Conditional routing - 1 sender to 1 receiver but with multiple locations

    Hello Experts,
    I have a scenario where i am trying to post ALEAUD Idocs (acknowledgement Idocs) from ECC - PI - MDM.
    I need these acknowledgement statuses to get updated in MDM (receiver system) for MATMAS, CREMAS and DEBMAS.
    I am through till receiving  the acknowledgemnts in PI. I am stuck at a point wherein I need to route MATMAS related messages to a different folder in the receiver system (MDM) wheraes messages realted to CREMAS should be routed to another folder in the same receiver system (MDM) and similar is the case with DEBMAS.
    ALEAUD Idoc has an element <MESTYP> which identifies whether the acknowledment belongs to MATMAS, CREMAS or DEBMAS, but i cannot use Reciever determination for conditional routing in this case.
    Will BPM help in this case? If not, kindly advice the appropriate solution.
    Thanks in advance,
    Elizabeth.

    Have you tried using Enhanced Receiver Determination? You need to define a mapping first
    ALEAUD -> ReceiverDetermiation and use this mapping in your receiver determination step
    in the Integration Directory. Its fairly flexible.
    SAP ABA software component version, http://sap.com/xi/XI/System, ReceiverDetermination
    Edited by: Sven Buttler on Sep 14, 2010 2:38 PM

  • ROUTE NOT GETTING DETERMINED in order

    Dear SAP EXPERTS !
    1. The route is not been able to be determined in the sytem for the Order.
    I have maintained the Transporation zone in the Customer Master.
    And Route Determination :
    Country Dep. Zone and Country Destination Zone
    Without Weight group: Transporation zone and weight group in CMR & MMR.
    Also assigned shipping point with Trp. Zone.
    2.  Shipment Documents :
    In Route : When We define the transporation connection points do we have always have to specify the
    Reference Customers?
    How will I assign all Customers to different Tranp. Connec . Point.
    In the Shipment Documents Creation: VT01n
    I am unable to find the deliveries Craeted.
    After Searching for the deliveries in the Same : I can see the Transp. connection Points  and Customer
    But there is no delivery .
    How to Resolve the issues.
    regards,
    A S
    regards,
    A S

    Dear AS,
    Check the IMG settings for the route determination.
    IMG path to Route determination
    IMG>Logistics Execution>Shipping>Basic shipping functions-->Routes
    -->Define Transportation Zones
    -->Maintain Country And Transportation Zone For Shipping Point
    -->Define Transportation Groups
    -->Define Weight Groups
    -->Maintain Route Determination
    -->Define New Route Determination By Delivery Type
    Route will get determine through this combination
    Depature country Zone(From Shipping point)Destination country Zone(From Ship to party master data)Shipping conditions(From ship to party)+Transportation Group(From Material master)-->Route
    or
    Depature country ZoneDestination country ZoneShipping conditionsTransportation ZoneWeight group-->Route
    As per the standard process Route will get determine in the sales order it self based on the above cobination,This route will copied to the delivery or you have new route determination while creation of delivery.
    You check the Customer master  data -->shipping tab shipping conditions are maintained or not.
    How will I assign all Customers to different Tranp. Connec . Point.
    In Route : When We define the transporation connection points do we have always have to specify the
    Reference Customers?
    Yes you need to give refernce Customer or reference shipping point then only system will pick route properly because Route gets determine based Customer and shipping point only(Transportation Zone).
    Normally Transportation connection points will be used when the route have different stages.
    Fro Example route from Coimbatore to Channai in this route we have 4 stages 1.Thiruppur 2.Salem 3.Erode 4.Villupuram.
    Here you can define 5 transportation connection points 1.Coimbatore 2.Thiruppur 3.Salem 4.Erode 5.Villupuram. Based on these Transportation connection points Route stages will be defined.
    In Coimbatore transportation connection point you need to assign Coimbatore Shipping point
    In Thiruppur transportation connection point you need to assign Thrippur Customer.
    In Salem transportation connection point you need to assign Salem Customer.
    In Erode transportation connection point you need to assign Erode Customer.
    In Villupuram transportation connection point you need to assign Villupuram Customer. Based on this system will now all the stages comes under single route.
    In the Shipment Documents Creation: VT01n
    I am unable to find the deliveries Craeted.
    While creating shipment document you need to select the deliveries Through the delivery selction screen by clicking on Deliveries push button or press F6 deliveries will not come directly in to the shipment document.
    Before going to select deliveries that deliveries should relavent for the transportation and should not complete the PGI.
    I hope this will help you,
    Regards,
    Murali.

  • The Condition for service price determination incomplete

    Dear experts,
    I run the System with EC&O Best Practice. Howerver, I can not enter Services on tab Service of Sales Order: Short text of Service, Quantity, UOM, Gross Price. the error "Condition for service price determination incomplete" occours when I press Enter key.
    Conditions for service price determination incomplete
    Message no. SE477
    Diagnosis
    Either the calculation schema for services does not exist or the condition types have not been defined correctly.
    Procedure
    Please check your Customizing settings for service conditions.
    If you have not yet defined any conditions for services, you can adopt the standard SAP settings from client 0.
    Please help me check this issue on the attached file.
    Thank you very much.
    Thanks,
    Binh Tran
    <Personal details shared by OP is removed by Moderator. >
    Message was edited by: Jyoti Prakash

    Hi All,
    Thank you very much for your inputs.
    I checked all the notes, 25357, 27024  and 1383066. Everything is ok in the system. and these notes explained more on the MM part not on the SD- BOS. However, still i am not able to complete the Inquiry, same error exists.
    This error is in SD not in MM, while i am creating the inquiry BOS.
    If any one come across it and solved it, please let me know.
    Regards,
    Suresh

  • Abap mapping for content conditions routing in a flat-flat scenario

    Dear Experts.
    I have a flat-flat file scenario. Based on the content of the input file, I need to route data to the receiver.The source flat file will have several IDOC details.
    Assume two fields FIELD1 and FIELD2 in different segments of the IDOC. My requirement is if FIELD1 of an IDOC = "XYZ" and FIELD2 of the same IDOC = "PQR", then this  IDOC's details has to be passed to the receiver.
    I have tried to implement the above condition at interface determination in graphical mapping.
    In the graphical mapping,  the problem is:
    Assuming there are 3 idocs in the input file.
    FIELD1 of IDOC[1] = 'XYZ' and FIELD2 of IDOC[1] = 'PQR'
    FIELD1 of IDOC[2] = 'LMN' and FIELD2 of IDOC[2] = 'RST'
    FIELD1 of IDOC[3] = 'ABC' and FIELD2 of IDOC[3] = 'DEF' .
    Now, if none of the IDOCs in the input file satisfy my requirement,the message mapping should not be called at all. But in my case its failing because FIELD1 of IDOC[1] and FIELD2 of IDOC[3] together are satisfying the condition and hence the message mapping is getting called.
    And I need to check this condition IDOC wise. Both the conditions has to be satisfied in the same IDOC.
    The question is very similar to the one posted by SHOBHA HB. (Topic:Receiver determination(or Interface determination) and conditional routing )
    but, due to complexities in the graphical mapping,  we have decided to go for the ABAP mapping instead.
    Kindly help, by mentioning the steps I should follow for this interface, the logic basically. I already have paths to some basic ABAP mapping documents from SDN, so, kindly refrain from posting general URLS for definition or history of ABAP mapping.
    IF you could guide me on this interface, It would be really helpful.
    regards,
    giri raj

    Hi,
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    This document will help you to create ABAP Mapping .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf
    How to Use ABAP Mapping in Exchange Infrastructure 3.0 (NW2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    SAP Network Blog: How to call XI ABAP Mapping via RFC
    /people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
    SAP Network Blog: Testing ABAP Mapping
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    An ad-on
    /people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
    Regards

  • How to compare two fields in condition editor in receiver determination

    Hello,
    Is it possible to compare to fields frrom the source in the condition editor of Receiver Determination?
    Because on the right hand operand we can specify only constants right and not the source field.
    For eg: If field1 != field2 then Reciever =  Receiver1
    Thanks,
    Loveena

    In standard receiver determination while defining the condition, you can only specify an element from the message payload using expression editor to create an expression for the left operand and you must specify a fixed value in the right operand, against which the value of the element will be compared at runtime. You can use only these (=,, ,EX) operators. So the functionalities are limited.
    so you have to use Enhanced Receiver Determination, In this Instead of creating the receivers in the receiver determination manually, you assign an Interface mapping to the receiver determination and this returns a list of receivers at runtime.
    refer this wiki for more details
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=133562771

  • BEST PRACTISE on users deletions HR/SU01

    Hi
    we use CUA/SSO.
    The records are fed from HR records and sent to Active Directory (AD) 
    AD brings backs the records and creates/changes users in SU01
    A function module populates the CVR (timesheet) parameter dependent on whether you are an employee or a contractor 
    Occasionally, our HR department request records to be deleted from the SAP Support team - for example if the employee or contractor hasn't in fact joined the company.
    Until some time ago, the deletion was causing problems because:
    a) the record does not get deleted in AD and there is  no way to send the deletion across after
    b) when AD tries to reprocess that specific record, LDAP connector will not find it as HR record so what happens in SU01 for some reasons, the VALID from field gets wiped out and the CVR parameter for Timesheet also...
    We have changed the process for the deletion however, I would like to ask if you know what is the best practise for this?? HR want to delete the record so it can be re-utilised
    I cannot delete those records from UMR unless I am 100% sure they have never used the system (will have to check that)
    I hope I have provided enough info on what the issue is..
    Thank you
    Nadia

    Best practice is not to delete.
    > HR want to delete the record so it can be re-utilised
    So many people with the same name? Perhaps a suffix of 2 numbers when the ID naming convention produces a clash. Besides, do your AD admins not want unique names in the AD as well?
    E.g. (just an imperfect example)
    MUSTERMA = Alfred MUSTERMan
    MUSTERMM = Manfred MUSTERMan
    MUSTER01 = Mechtilde MUSTERMuller
    > I cannot delete those records from UMR unless I am 100% sure they have never used the system (will have to check that)
    Surest way is to determine that they have never logged on before. But that does not exclude that records might exist for them, which may eventually do a "user existence check" to be read. One such example is the Security Audit Log, e.g. there may have been failed login attempts.
    Good luck,
    Julius

  • Other ways to maintain conditions in the receiver determination

    Hello Guru's,
    are there other ways to maintain condition in the receiver determination? i'm filtering idocs coming-in from a certain business system going out to a particular receiver system using XPATH (RCVPRN in the IDOC) from the receiver determination..... however, this is well easy to maintain if there are only 5 values to filter, but now i'm already maintaining 100+ values in the condition which made me think not its not already a good solution.
    i've already thought of using ERD's as another approach, but this Receiver determination object is being used also by other SCV's and scenarios as well which i think will make confusion to other solution owners as they will not have visibility in my SCV.
    Any thoughts/suggestions/recommendation/comments will be highly appreciated.
    Thanks so much!

    >
    Allerin wrote:
    > Hello Guru's,
    >
    > are there other ways to maintain condition in the receiver determination? i'm filtering idocs coming-in from a certain business system going out to a particular receiver system using XPATH (RCVPRN in the IDOC) from the receiver determination..... however, this is well easy to maintain if there are only 5 values to filter, but now i'm already maintaining 100+ values in the condition which made me think not its not already a good solution.
    >
    > i've already thought of using ERD's as another approach, but this Receiver determination object is being used also by other SCV's and scenarios as well which i think will make confusion to other solution owners as they will not have visibility in my SCV.
    >
    > Any thoughts/suggestions/recommendation/comments will be highly appreciated.
    >
    > Thanks so much!
    guess you already have tried the only two solutions
    1. xpath evaluation
    2. Enhanced RD
    On a maintenance front xpath eval vs ERD, is a tough call to take unless that your routing logic is complex in which case ERD would be a better option.
    I guess it would be a call for you to take and figure which is much simpler and easy to maintain and most of all readable

  • 4400 Controllers - Best Practise for connecting to wired network

    At one time the best practise recommendation for wireless was to treat the traffic as untrusted and separate it from the wired network by firewalls and intrusion detection. A lot of the reason for this was the weakness of WEP. Now with strong authentication and encryption (e.g., WPA2 and EAP-TLS) in use, and the use of wireless controllers, I'm wondering what the industry is recommending (and doing in case the actions aren't the same as the recommendations).
    Are organizations connecting the wireless controllers directly to the internal network or are they separating them with a firewall and IDS infrastructure? If the latter, what does the architecture look like? Are there documents on the Cisco site or on the Internet that show how the controllers could be firewalled? Everthing I've seen shows connections directly to the internal network. Is firewalling the controller an overreaction to the historical paranoia from the WEP days?

    The argument would be that regardless of what security you put on the wireless, you still don't have the physical security - i.e. someone doesn't need to walk into your building to use your network.
    Beyond that if you're using strong auth/enc you can currently be considered safe, we have customers using that direct into their LANs (but then, we also have customers with WEP direct into their LANs!)...
    If you are concerned or really need belt 'n' braces security, then go down the firewall/IDS route - there's no harm in it if you have the money. It really depends how much functionality and ease of use you need to balance against it.
    Aaron
    Please rate helpful posts

  • What is the best practise for setting dirty flag of a page/view?

    For a page/view, normaylly there are 2 things to do for diry data:
    1. when it's clean, Save button is disabled, when it's dirty, save button is enabled.
    2. when it's dirty and the window is closed, a popup says "you have unsaved data, close will lose the data".
    My thought is: it must be handled at client side, because not all valuechange is auto submitted. E.g., you type the 1st letter of a string in a input box, the server side does not know it, but save button should be enabled immediately.
    Is it possible to capture all valueChange events in a page or a view at client side?
    I'm not sure what is the best practise for setting dirty flag? If there is better solution? Does ADF provide facility for this?

    public void save(ActionEvent event){
    boolean formValid = isFormValid();
       if (formValid) {
      save button is enabled.
        private boolean isFormValid() {
            boolean valid = true;
            if (Check Condition 1) {
                valid = false;
               showErrorMessage1();
            if (Check Condition 2) {
                valid = false;
               showErrorMessage1();
            return valid;
        private void showErrorMessage1() {
                    when it's dirty and the window is closed, a popup says "you have unsaved data, close will lose the data".

  • Best Practise for connecting to Ethernet based device

    Hi,
    I have inherited a system where we have a cDAQ-9181 controlling an vehicle access barrier, with a LabView application on  a PC talking to it via Ethernet.
    (The application is very simple - press a button > send a value to the 9181 unit > opens the barrier )
    All works fine most of the time.
    ( We occasionally get network related errors. The LabView application sometimes thinks another PC has reserved the unit, or gives “error 89130 - device not available for routing” )
    The users would now like to be able to easily run the application from a second PC ( not at the same time ), but this seems to be a problem. If I exit the application on PC “A” and run it on PC “B” it struggles to reserve the chassis, and throws the “89130” error and I have to restart the unit via MAC.
    While I’m a “veteran” control programmer, I’m new to LabView, and would be very grateful for any pointers on “best practise” for talking to devices via Ethernet, or any specific suggestions for handling multiple PCs talking to a single device.
    Thank You.
    Tim.

    Hi Tim,
    Thank you for your post and welcome to the NI forums.
    There are lots of knowledgebase articles on our website and you should be able to find documentation for most of our hardware.
    There is a good troubleshooting guide for cDAQ Ethernet here (http://ae.natinst.com/public.nsf/web/searchinternal/e67b4e4749f378ff862577270059bd4b?OpenDocument) - it outlines the steps to take to ensure you have a stable a connection as possible. You may have already seen it, but the quick-start guide for your specific device may also be worth consulting for best practices. Are these helpful?
    As for using more than one PC - this shouldn't be too much of an issue. I would expect that the resource isn't being closed correctly - when you exit the App on PC 'A', how are you closing off the resource?
    Best regards,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Liquid: What are the suggested best practises for multiple languages?

    Right now we are doing this:
    {% if globals.country == "EU" %}
    {% assign login = "Log in" %}
    {% assign userName = "Username" %}
    {% assign password = "Password" %}
    {% assign rememberMe = "Remember me?" %}
    {% assign confirmLogout = "You are now logged out!" %}
    {% endif %}
    {{login}} would output "Log in"
    Another thought would be to have it all in a string with commas and split it, like this:
    {% if globals.country == "EU" %}
    {% assign strings = "Log in;Username;Password;Remember me?;You are now logged out!" %}
    {% assign lang = strings | split: ";" %}
    {% endif %}
    {{lang[0]}} Would output "Log in".
    What are the best practises here?
    I would imagine either being slower than the other as well, maybe Adobe have some input?

    Hi Machinette,
    Use your first option in my opinion:
    A webapp where each item would contain a field for each language. i.e.  item 1 name login; en -> Log in; es -> Iniciar sesion. item 2 name logout; en -> Log iout; es -> Cerrar sesion....
    Here's an example of my multilingual web apps:
    FAQs:
    EN Question
    JP Question
    EN Answer
    JP Answer
    Testimonials:
    Title-NZ
    Title-JP
    Quote-Preview-NZ
    Quote-Preview-JP
    Quote-Full-JP
    How did you hear about us:
    Title_En
    Title_JP
    Multilingual Text:
    Text_En
    Text JP
    As you can see above, the items in the web apps form the different multilingual text - the different FAQs, the different Testimonials, the different Multilingual Text. The domain name needs to determine the language. Very important. And use a globals.site.countryCode to determine the language.
    The key is when you want to reference that item. I think Abhishek was onto it using JSON files, easy to select the text you want. If JSON files don't work, here's what you do:
    {module_webapps id="Multilingual Text" filter="i" itemId="4951580"}<!-- login -->
    {module_webapps id="Multilingual Text" filter="i" itemId="4951611"}<!-- Try Lesson 1 -->
    {module_webapps id="Multilingual Text" filter="i" itemId="4951612"}<!-- Join for free -->
    Else place everything into a collection, but I have hundreds of items, so I don't want to collect too many records. Only the ones I need per page.
    Finally, here's my code for one of the web apps, FAQs.
    {% assign countrycode = globals.site.countryCode -%}
    {% case countrycode -%}
    {% when 'JP' -%}
    <div class="faq-question">
        <h4>{{this['JP Question']}}</h4>
        <div class="faq-details">
            <div class="answer"><p>{{this['JP Answer']}}</p></div>
        </div>
    </div>
    {% else -%}
    <div class="faq-question">
        <h4>{{this['EN Question']}}</h4>
        <div class="faq-details">
            <div class="answer"><p>{{this['EN Answer']}}</p></div>
        </div>
    </div>
    {% endcase -%}
    http://www.samandmelenglish.com/faqs
    http://www.samandmelenglish.jp/faqs
    Hope this helps.
    Stephen - Fuel Design

  • Best practises Subversion and Data modeler

    hello, i'am looking for some best practises regarding subversion and datamodeler.
    A team of 10 analysts create several releases of our product over time.
    Within one release you'll find several change requests.
    The application itself contains about 700tables so performance is important.
    I want to establish a lean working method were analyst can focus on their job - design.
    Till now I think to create one trunk containing the db model let's call it v17.00
    An analyst could create their designs in separate projects grouped by change request eg CR1234.
    When development starts i would compare the trunk model with their change request to generated the alter script.
    Afterwards i would import their design CR1234 into the trunk.
    Note : it's possible that a change request got cancelled - that's why i opt for a design per change request.
    This way of working seems much leaner than the setup of branches and merging.
    My opinion, being a novice subversion user, is that setting up branches and merging is "more complex" and might causes frustration for designers.
    Anyone having a simular setup or advice ?
    kr
    chris

    Hi Sam,
    Let me add my two cents here, when speaking about MAN deployments the name of the game is MPLS, so I guess you are using the same on your Cat 6500s and connecting your customers on 3550s using Vlans.
    Regarding your questions:
    a) Upgrading Ethernet to L3 for traffic shaping: This is basically done at 3550, so I suppose that's what you intend to do, plus you will be letting Spokes talk to only Hub site, so inter Vlan, atleast between Hub and each spoke will be required, hence inter valn routing. Other way is to configure P2P circuits between Hub site with Vlan mapping (per spoke) and Spoke sites with Port mapping, in this scenario Inter Vlan routing is not a necessity.
    b) Security: This depends on what exact architecure you have deployed, in my case I have simply installed a Gateway router with BGP peering with PEs, a separate VRF alongwith redistribution does the trick.
    Hope I addresses the query correctly, let me know if that helped..
    Cheers
    ~sultan

  • Problem in Multiple Reciever Determination

    I am working on the scenerio in which i have to send data to different system depending upon the sending payload....
    to brief about it..
    i am using 2 mappings!! one for  reciever determination and other for normal functionality
    /ns1:Receivers=/ns0:MT_ABAPPROXY= /ns1:Receivers/Receiver=/ns0:MT_ABAPPROXY/header= /ns1:Receivers/Receiver/Service=SplitByValue([type=Each value]iF(const([value=BS_AED]), stringEquals(/ns0:MT_ABAPPROXY/header/EMPNO=, const([value=000000000023])), const([value=BS_AED_210])))
    the logic was like i need if the employe number = 000000000023 , th ereciever should be BS_AED_210 else it shoud be BS_AED.
    The other mapping which performs the functionality of the Scenerio:
    Messages->                                       Messages->
        Message1->                                         Message1->
          MT_PROXY->(1..1)                                   (a) ZTEST1(0..unb)
            (a) header-> (0..unb)                                       Data
                 (b)EMPNO                                                (b)   EMPNO
                (c)EMPNAME                                           (c)    EMPNO
    where ztest is my Customized RFC...
    in ID Type of Recvr Det is Extended
    And mapping i have put is my first mapping where i determine my Reciever
    In Interface Det1: reciever was BS_AED
    In Interface Det2: reciever was BS_AED_210
    The data is gettign branched and Split sweetly it is not sending into diff syst.
    as my data is like
    EMPNO                = '000000000022'.
    EMPNAME              = 'B'.
      EMPNO                = '000000000023'.
        IT_HEADER-EMPNAME              = 'C'.
    the logic say 23 one should go to one specific system BS_AED_210 and the other to BS_AED ... but it sending both the data in both the systems...
    I hope i have clarifiy my problem..
    Kindly help me out in solving this issue....

    the logic say 23 one should go to one specific system BS_AED_210 and the other to BS_AED ... but it sending both the data in both the systems
    --->
    You need to write a UDF for that
    Did you see this blog
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    Following code will help you to route msg to corresponding receiver
    int mr = 0;
    int ms = 0;
    for( int j = 0 ; j < a.length ; j++ )
          if( a[j]==000000000022 && mr == 0)
               result.addValue("1");
               mr = 1;
          if( a[j]=000000000023 && ms==0)
                           result.addValue("2");
                           ms = 1;
    You may have to do  little modification to code acc to your logic

Maybe you are looking for

  • How can i display the full tree of my sapmmc components ?

    Hello All my process are green in sapmmc (Netweaver 2004's), but i can't see all my components like : syslog or java process , queue statistic and WP table ?? thank you for help

  • Can't acces ipod shuffle

    from my mac. I have a 2. generation shuffle, that doens't show in iTunes, nor in the general unit in finder. I'm however able to see the unit in "about this mac" I Use, Mac OS X ver. 10.5.8 on an older mac with 2.4 Ghz Intel Core 2 Duo processor. So

  • Remove ADC port, add second DVI to G5??

    Is it possible to remove the ADC port from my dualG5 and replace it with a second DVI port? I want use a second monitor with my system - Any suggestions on how to accomplish this would be most appreciated. I already have a 20"cinema display attached.

  • Flex session

    Hi, I have 2 mxml files. One is Order Entry screen. When a user enters the order and submits. It goes to the other page to show the m their order, totals etc. But when I come back from the page the main page doesn't hold the sorting , filtering etc..

  • How do I prevent creative cloud from installing a desktop shortcut?

    I have absolutely no need for a desktop shortcut to cc, since I have it running in the taskbar whenever I start my computer. What's worse is that I have to type in admin username and password to be able to delete these icons from my work computer. It