Sending additional information to Receiver Determination

I have a need to send additional data to the receiver determination so I can use the condition steps to decide which service to call. But this data is not part of the payload. Is it possible to send this via the context object. Can add or modify the context object.
Thank you,
Parimala

Hi Parimala,
can't you use the switch step in BPM?
>>> But this data is not part of the payload
maybe you can get this data inside the payload (from java function or java mapping) in a transformation step and the use the switch step to decide with receiver should get this data?
Regards,
michal

Similar Messages

  • Condition check (based on sender file name) at receiver determination step

    Hi,
    My scenario is File to AS2 (Sender side file adapter and receiver side AS2 adapter)
    We have 5 customers, but the source location is same to pick the files, Here we are not using any ESR objects.
    Based on the source file name PI need to determine to whoom this file need to send at receiver determination step
    Craeted objects
    1 Sender CC,
    1 Sender agreement,
    1 Receiver determination
    5 Interface determinations
    5 Receiver agreements
    5 Receiver CCs.
    Could you please provide me your valuable inputs.
    Thanks
    Ramesh

    Hi Venkataramesh,
    I understand your scenario as, picking files (different file naming standard for different target customer) from one source folder. Based on file name, that payload should be sent to corresponding target customer. You have mentioned u201CHere we are not using any ESR objectsu201D. I can see two reasons for this decision
    1. PI is used to route the messages, i.e., no need to transform the payload. OR
    2. Files can binary files like PDF, ZIP, JPG, GIFu2026
    Now I can see two possible solutions
    1.     Simple solution, as proposed by u201CPrabhu Rajesh Janardananu201D, make it into 5 different scenarios  (5 sender channels).
    2.     Bit complex solution, only one sender channel, using extended receiver determination
    Step 1:- In Sender File channel check u201CAdapter u2013 Specific Message Adapteru201D in Advanced tab. File Name should be checked.
    Step 2:- In Receiver Determination, Select Type of Receiver Determination as u201CExtendedu201D. http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a423a8e5430e10000000a42189b/frameset.htm
    Step 3:- Do a Graphical Mapping (use it Operation Mapping in Receiver Determination).
    Step 4:-
    Source and target of graphical mapping will be same (below), because you donu2019t want to access input payload (it can be XML, flat file, JGP, GIF and you donu2019t have its structure).
    <Receivers>
       <Receiver>
          <Party agency="" scheme=""></Party>
          <Service></Service>
       </Receiver>
    </Receivers>
    Step 5:- Write a UDF in Graphical mapping as below. http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/03612cdecc6e76e10000000a422035/frameset.htm Pay attention to method declaration
    public String Determine_Receiver( Container container) throws StreamTransformationException
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String valueOld = conf.get(key);
    //Put your logic here
    if (valueOld.equal(u201Cuser1u201D)) {
    return u201Cuser1u201D;}
    if (valueOld.equal(u201Cuser2u201D)) {
    return u201Cuser2u201D;}
    if (valueOld.equal(u201Cuser3u201D)) {
    return u201Cuser3u201D;}
    Step 6: Now use this UDF to map to u201CReceiveru201D and u201C Serviceu201D.
    This solution need more fine tuning.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Jan 8, 2011 5:56 PM

  • Receiver determination step - Send context

    Hi Experts,
    I have understood from SAP library and others threads that send context in the receiver determination step is used to send value for the conditions we have added in ther receiver determination and fetch only receivers those satisfy the cretiria.
    Please validate whether my understand is right or not?
    If its correct, then my question is can we populate this value dyanmically, say field value from another message.
    Please clarify.
    Thanks,
    Kar

    Check if the below link is of any interest to you:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/46/8015de950e6be3e10000000a155369/frameset.htm
    From the link:
    Condition: when the AirlineID field in the message payload has the value LH, then the message is
    forwarded to the receiver business system BUS_100. A context object of the same name from the ES
    Repository is used to access the AirlineID field in the message.
    It talks about normal receiver determination as against the receiver determination step (of BPM) which you want....

  • File name based routing in Receiver determination

    Hi experts,
    I have a requirement to do receiver determination based on file names which are dynamic.To put it clearely, i will be having two files in my source File location and i need to route it based on the file name to two target systems.
    The file name are like Month(changes everymonth)_TargetSys1 and month_targetSys2.
    I dont need any conversions ,so i am not using any IR objects.
    To pick files i kept *.txt in sender channel, and in receiver determination  condition i was trying to use context object called 'Filename'.But it doesnt work asthe file name changes every month.
    Is there any option to take substring from the input file name (say targetSys2 from month_targetSys2.) and put it as a condition for receiver determination.
    There is not DT or structure of the incoming file , as there are no modification to be done with the content.
    Regards,
    Anika

    you need to have the structure in case you want to route it via the xpath.
    Else another option is to code the enhanced receiver determination and using a java mapping with dynamic configuration read the filename and then dynamically create the receiver determination.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm

  • Need of creating receiver determination and interface determination

    what is the need of creating interface determination where as providing all the details in Receiver determination?

    Hi,
    The loose coupling between the Interface mapping and receiver determination have provided the compatibility for reusability.
    The Interface determination maintained and just linked to receiver determination so you could have multiple receiver determinations with common interface determination or vice-versa.
    If you provide all the information in receiver determination then, it would be very dfficult to have the various mappins for multiple receivers maintained in receiver determination.
    Interface determination is applied at runtime to all messages to be processed. Thus from security point of view of transaction of data. its preferable.
    Thanks
    Swarup

  • Problems with Receiver Determination

    Hi everybody.
    I have started as XI developer 2 weeks ago.
    I'm trying to replicate de tbit40 exercises in our company system. when i try to make the 'Receiver Determination' somethings happen. It doesn't appear the part to write the system receiver.
    This is my scenario : file->XI->IDOC.
    I've defined in the SLD the hardware, including one PC, the XI server and the SAP 4.6c server.
    This is only a test in order to check the connectivity between the PC and SAP R3. I haven't configured yet the part of the IDOC in the R3 system. Is this necesary to view the 'subwindow' of system receiver?
    Thanks.

    Hi everybody,
    I'm having some problems with the sender agreement and the receiver determination, let me explain you the scenario: i'm trying to translate inbound plain text files to XML to a outbound interface for MDM.
    An XI consultant (expertise) has successfully created the inbound - outbound interface mappings for vendors catalog, it has worked good since he set it up, but now that i'm trying to create the materials mapping according to the manuals step by step, and when i try to create the receiver determination settings, i can't find my interface mappings, the pop-up window return 0 objects for interface mappings (that i have already created and linked with msg types).
    So what can i do? Do you have any idea?
    Regards.
    Gerardo.

  • Regarding where to find namespace when create receiver determination

    Hi all :
          Could you please tell me how to find or how to create namespace , as it is needed when create
    receiver determination .  Thank you very much!

    HI Sony,
    Do you mean how to select the Namespace in the Receiver Determination ?
    You have to use the Name space of the Sender Interface in the Receiver Determination. The Namespace should create in Integration Repository after importing the Software Component from the SLD.
    You can get the namespace from the Search help in the Receiver Determination.
    Regards
    Sridhar Goli

  • Receiver Determination: Sender not found is in

    Hi,
    I am getting a "message incomplete: no sender found" error, in a synchronous step from a BPM(The intended receiver is another BPM which is in a separate namespace & SWCV). The message interface for the send step is also in a different namespace & SWCV.
    I tested the call to the target BPM(with the same message interface) using a tester BPM and it was working fine. However both were in the same namespace.
    I couldnot find any reason other than to think about the namespaces being different.
    I have defined the dependencies between the SWCV's and have imported those into the Integratoin builder.
    suggestions/leads/hints will be most appreciated...
    Thanks & Regards,
    Renjith.
    Now we have got a little more clarity on how the error occurs. Let me explain the steps in BPM -
    Step1 Receive MSG1
    Step2 Map MSG1 to MSG2
    Step3 Send ASYNC MSG2
    Step4 map MSG2 to MSG3
    Step5 Send Sync MSG3
    and so on...
    In this case the Step5 send sync msg3 fails and i get the error back - "Message is incomplete. No Sender found" - during receiver determination.
    If i were to remove the step3, send msg3 async, everything works like a charm....Has anyone got an idea why this is happening?
    Message was edited by: Renjith Andrews

    Hi Priyanka,
    Thanks for the response.
    The step 3 was executed successfully and i can see the file in the output folder. It was not failing.
    As for step5, it never got till recevier determination because the error was that the sender information was missing.
    Thanks & Regards,
    Renjith.

  • Receiver Determination with Synchrnous Send step in BPM

    Hi,
       Is there any way to use BPM Receiver Determination step type with Synchronous send step ?
    Is it possible to send a request to multiple receivers synchronously and capture the response?
    Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Use malticasting, check out these blogs
    Multicasting using Receiver Determination Step in BPM
    and pattern number 6 in BPM with Patterns explained Part-2
    Thanks!

  • BPM - Do we need receiver determination step between trans and sync send?

    Hi Gurus,
    I have a 1:1 transformation step followed by a sync send step. The transformation step is executing fine. While the sync step is executing, I am getting an error says 'No receiver determination found'.
    While I am executing this sync step in a separate, it is working fine.
    Do I need to have 'Receiver determination step' between Transformation step and Sync send step? I think so. Can somebody confirms this?
    Thanks for your kind help.
    Kalyan

    Hi,
    I think there is no need of a Receiver determination step in the BPM.
    You should have a proper receiver determination in configuration for this BPM scenario. (i.e) A receiver determination from BPM to the service configured for the synchronous interface.
    Regards,
    P.Venkat

  • Receiver Determination Step For Synchrnous Send  in BPM

    Hi,
    How to use BPM Receiver Determination step for a synchronous send step?
    My scenario is to send a request to multiple receivers synchronously and get the response.How can i achieve this using Receiver Determination step in BPM.
    Regards
    Divia

    Hi Sreedivia,
    As far as use of synchronous message is concern with receiver determination step, it wont allow you to use Abstract Synchronous message interface in it.
    Even you cannot give multiple receivers without specifying any condition while creating Receiver determination  in integration directory.
    Regards,
    Sami.

  • Sender Service in Receiver Determination

    Hi,
    I have this scenario: CLIENT <-> XI <-> WEBSERVICE
    I have a synchronous communication. Actually, my CLIENT is XML Spy that I want to use to test my scenario. But, when I create The Receiver determination, I specify WEBSERVICE as Receiver, but... what have I to specify as Sender Service? I use XML Spy as Sender!!!
    Thanks!

    Hi -
    The creation of a Business System (created in SLD) or Business Service (created directly in Int. Directory) as a sender service is required for any scenario.  Yes, you're actually using XML Spy to act as the web service client in this case, but the web service client could be XML Spy, soapUI, SOAP Scope, or the actual web service application that eventually will send it.   The point is you need a "logical" sender service created to act as the sender system and this will be in the form of a Business System or Business Service.
    Then when you web service client calls XI (using XML Spy or whatever), the URL will contain the sender service that you created to act as the sender.  The URL looks like this:
    http://host:port/XISOAPAdapter/MessageServlet?channel=<party>:<b>service</b>:channel
    <party> is only necessary if using a party as part of the sender (which you're probably not).
    Regards,
    Jin

  • Receiver determination without setting sender

    Hi!
    My problem: In my scenario I will have many sending business systems which should be all processed in the same way. Usually I have to create a receiver determination and interface determination for each sender. I want to configure a generic routing: If a specific interface arives: Do that and that independent from which business system the message was sended, so I don't have to configure each business system.
    In the receiver agreement it is possible to set * as sender. When I try to do this in receiver determination and interface determinition, in the receiver determination no interface determination is found.
    Any ideas how to solve this problem?
    Best regards,
    Daniel

    Hi!
    Thanks for the answers and sorry for my late answer
    I have two cases to solve:
    IDoc (different types) to mail. With the wildcards (*) and a dynamic receiver configuration in a mail adapter module and a message mapping which gets the neccessary data for that, this works now without any "hard" configuration of sending business systems
    The other case is more difficult: I receive a mail and have to determine the receiver dynamically by XPath-Expressions in the Receiver Determination. That is no problem, now nearly everything works without special configuration by using the wildcards. Only the receiver agreement has to be configured "hard" with the receiving business system.
    But I'm not really sure if this is possible to solve. Maybe with dynamic configuration?
    Best regards,
    Daniel

  • Sender Uses Virtual Receiver - Receiver Determination & Sender Agreement

    Hello all,
                There is a Checkbox with Sender Uses Virtual Receiver  while creating Receiver Determination & Sender Agreement.Could anyone tell when one shall use that checkbox & diffrence of using the same in Rx Determination & Sender agreement ? And Lastly What is the significance of using * in Party &
    Service in that Sender Uses Virtual Receiver  part ?

    Hi,
    we will use it when we are using B2B scenario......
    More details... please check this.............
    /people/shabarish.vijayakumar/blog/2008/09/16/virtual-receiver--why-do-you-really-need-it
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/virtual%252breceiver%252buse%252bin%252breceiver%252bdetermination%252bb2b(Idoc%252bto%252b(File%252cIdoc%252bor%252bany%252bother%252bsystem))
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/f29e7a56e18a439984a3c6630951d2/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a423a8e5430e10000000a42189b/content.htm
    Thanks

  • IDOC error "receiver determination" while sending from R3 to XI

    Hi all,
    I'm trying to send an IDOC from R3 to BW thro' XI.
    I created 2 business system for R3 & BW.
    I created communication channel for receiving BW with IDOC adapter.
    I created the receiver determination, interface determination & receiver agreement.
    I also used IDX1,IDX2 to configure the port to load to IDOC.
    When I send IDOC from R/3, It gets received in XI with the error message
    <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
    It didn't select the receiver.
    Am I missing anything?  Can anyone help me with this.
    The same problem exists even I tried to get IDOC into a file in XI.
    I appreciate all your help.
    thanks
    felix.

    Hello Ujjwal,
    Receiver is already defined in "Receiver Determination".
    Even I refreshed CPA Chache many times but getting same error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Receiver Identification
      -->
    - <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">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks.
    RP

Maybe you are looking for

  • Not just a Mini question...

    I've been a proud owner of the low end G4 Mini model from the original release date on. I've been looking into moving onto the Intel platform and it looks like a 2.0GHZ Intel Mini is in my near future. That said I have some questions, and couldn't fi

  • About Dynamic Form in JSP

    Hi, I want to create jsp page which can add/delete/modify and even move text boxes with label to one place to other. i found partially solution like Xform and even thru java script. But still don't know how to do that. Can any body have ever come acr

  • HT204053 I somehow erased all my contacts from my IPHONE, how can i export them from icloud to my phone?

    I somehow erased all my contacts from my iPhone, how can I export my contacts from my icloud account from my PC?

  • SEM-BCS Equity Holding  Adjustment

    Hi, When I try to input Equity Holding Adjustment using AFD, there is an error said : <u>No consolidation units with accounting technique "equity method"</u>. I am already assign the consolidation unit to Equity Method in the accounting techinque. Wh

  • How to Disable Prompt for Command Parameter Vale

    I have a CR that uses an SQL Command for the report query. There is a parameter in the Command Where clause like the following: WHERE  type = '{?type}' The "type" parameter is also listed in the Command Parameter List. "Type" is also listed as a repo