Confusing definition of My and Partner Role in PartnerLinks

Assume I create two BPEL processes: One producer and one consumer
Each of them needs a JMS adapter as partner services.
When I click in the producer BPEL process on the JMS adapter definition
then I have to specify:
Partner Link Type=Produce_Message_plt
Partner Role=Produce_Message_role
My role=not specified
When I click in the consumer BPEL process on the JMS adapter definition
then I have to specify:
Partner Link Type=Consume_Message_plt
Partner Role=not specified
My role=Consume_Message_role
The relationship between "My role" and "Partner role" is somehow asymetric and confusing.
at a first glance I would have said before: The view is always from the BPEL process side.
But why do I have to specify NO "My role" in the producer ?
When I try to specify "My role" as "Produce_Message_role" and leave
"Partner role" as not specified then I get errors.
Can somehow explain me what the logic behind should be ?
Peter

You need to look at it from a message type perspective. Is the message you are calling async, or sync
If the process is sync you need to specify both, this is calling a sync partner link.
PartnerRole=Invoke
MyRole=Receive
Async can be tricky. When you call a async Partner Link, e.g. JMS Adpater you typically only one operation exists.
PartnerRole=Invoke
You are telling the partner to use the Invoke operation.
Async can be fire and forget or you may want to wait for a response so you have to implement a Receive activity. In this case you are the consumer and there is no Partner Role operation
MyRole=Receive
So to keep it simple
Sync Invoke activity = Both
Async Invoke activity = PartnerRole
Async Receive activity = MyRole
cheers
James

Similar Messages

  • When to use "my role" and "partner role" in BPEL?

    I'm a bit confused when to set/use partner role and my role.
    Can anyone shed a little light,
    regards, Henrik

    Saurabh,
    > I humbly disagree with your explanation of inputs
    No need to be humble, you can boldy disagree. :)
    You're right that I did technically use the wrong term in that sentence of my explanation. I updated the post and corrected it. However the gist of what I was saying is still true.
    There are two invocation types. People use different terms but here I'll call them request-response and one-way. A request-response invocation type is used for what we typically think of as a "synchronous" process. That is, the service consumer is blocked until the service responds. It's like methodA() in Java calling methodB(). methodA() is blocked until methodB() completes. (In fact, this is exactly what it's like since all invocations on our BPEL engine ultimately go through our Java API.)
    In the case of one-way, the service consumer is not blocked. This is often referred to as fire-and-forget. It simply sends its request, then it is free to continue or do whatever it wants. Moreover, nothing is returned to the client (you fired-and-forgot, remember). Typical "asynchronous" BPEL processes uses this invocation type.
    So we have those two invocation types. Yet the problem before us how to have an asynchronous process return a result. You can't use request-response because the service consumer is blocked until the process finishes. You can't just use a one-way because nothing is returned to the caller. What to do?
    The way the BPEL standard solved the problem is to use two one-way invocation types. The first one is to invoke the process. The second one is a one-way from the BPEL process to the service consumer to return the result. There are some glaring implications of this:
    1. When the BPEL process returns it's result, things have now switched: The BPEL process becomes the service consumer, and the (original) service consumer becomes the service.
    2. The service consumer has to be able to listen for one-way invocation type requests.
    3. The BPEL process has to know how and where to call the service consumer back. This information is passed in the original request. As well as containing the data payload, it contains a callback address and unique identifier. This, in essence, is what the WS-Addressing standard is about.
    Now the definition of a one-way invocation type in a WSDL is:
        <portType name="aaa">
            <operation name="bbb">
                <input message="tns:ccc"/>
            </operation>
        </portType>Compare that to a request-response invocation type:
        <portType name="aaa">
            <operation name="bbb">
                <input message="tns:ccc"/>
                <output message="tns:ddd"/>
            </operation>
        </portType>Let's look again out our example WSDL:
        <portType name="SelectService">
            <operation name="processRequestQuote">
                <input message="tns:RequestQuote_processRequestQuote"/>
            </operation>
        </portType>
        <portType name="SelectServiceCallback">
            <operation name="processRequestQuoteResponse">
                <input message="tns:RequestQuote_processRequestQuoteResponse"/>
            </operation>
        </portType>Here comes the good bit... Both portTypes have an <input> operation. But that's because they are both one-way invocation types, and there is no choice but use the <input> element -- that's the standard. You can't imply put <output> because there's no such thing in the standard. However we know that one of those is to actually return the result. That is, it's the output, even though it's labelled <input>.
    Hopefully that's given you enough information now. Re-read my first post, above, and it should make more sense.
    Incidentally, this is why you rarely see try asynchronous web services, because the caller has to also be a listener. And if you want to call a service, who wants to also have to write code to listen, to handle responses coming out of order, etc. This is one of the advantages of using an orchestration engine like Oracle BPEL Process Manager. The framework takes care of the hard work, and you can simply call an aysnchronous service and not have to worry about how to get the response back -- the engine does it for you.
    Regards,
    Robin.

  • Error message 06030 when copying PO items and partner roles

    Hello gurus,
    when I try to copy a PO item into a new PO using a different vendor, I get an error message:
    Reference vendor 20003681 differs from vendor 20004972
    Message no. 06030
    So far so good. But when I put that new PO on "Hold" and reopen and save it later, the error message is gone.
    This is a SAP error, isn't it? Obviously SAP cannot determine that the items have been copied after reopening the PO.
    Second question:
    In the new PO, there is a partner role VN as it should be, but the partner is still the vendor of the original PO I copied from. So now I have got two different vendors in one PO!
    And even worse: I have not yet found a way to change the partner in the VN role because it is mandatory and cannot be changed after saving the PO.
    Any ideas on either problem?
    Thanks
    Alicia

    Hi,
    Check following settings
    Spro>materials mgmt>purchasing>partner determination>partner settings in purchasing documents>define partner schemas
    select the schema you are using>double click on >partner funstions in procedure>check for role VN
    No change column is tick ...thats why you are not able to change it and its grey ....if dont select this you will be able to change it
    Thanks
    Diwakar

  • Contracts and partner role

    Hi!
    We have created a contract. After that we have created a partner role (BA) for the creditor of this contract.
    The Problem is, the the patner role only with contracts, which are created after creating the partner role in the creditor master data.
    How does it work for the existing contracts?
    Thanks a lot!

    Hi,
    think we solved the problem. If we create a contract after defining the partner functions in vendor master, everythink works fine. But for the contracts, which are created bevor defining the partner functions in the vendor master, there ist a row missing in the Table EKPA. We have add this row an everything works fine.
    Maybe this is standard behavoiur or our customizing is not correct.
    Thanks!

  • BAPI_SALESORDER_CREATEFROMDAT2 / Assigning different partner Roles

    Hy @ll,
    i have a problem with the BAPI mentioned in the subject and the structure ORDER_PARTNERS. I receive the following error message:
    E VP                   112 Please enter sold-to party or ship-to party
    E V4                   219 Sales document S.TESTGH31 was not changed
    This only happens when i adress in structure ORDER_PARTNERS different partner roles to different partner numbers, and i fill out the corresponding Item Number of the Sales Document:
    PA PARTN_NUMB ITM_NU (works not)
    SH 1000048    000010
    SP 1000050    000010
    SP 1000048    000020
    SH 1000050    000020
    If i leave the Field ITM_NU blank in the structure ORDER_PARTNERS, the BAPI works fine and i get a sales order created, but without different partner roles, the system only adress the item to the sold-to-party and ignore the rest of the partner roles - sure i cut the link between Structure ORDER_ITEMS_IN and ORDER_PARTNERS:
    PA PARTN_NUMB ITM_NU T (works, but does not make sense...)
    SH 1000048    000000
    SH 1000048    000000
    SP 1000050    000000
    SP 1000050    000000
    What´s wrong here?
    The Goal should be to adress for each Sales Order Item different partners and partner roles - so i have to put the item number of the Sales Order Item into the structure ORDER_PARTNERS or not????
    Thanks in advance,
    Gregor

    Hello Wolfgang,
    thanks for your hint, but there is no SP or SH on Header Level of the BAPI. The BAPI need this information on Item Level. The BAPI does not use Batch Input technique, so its not relevant if the fields are mandatory or not during entering a sales order in dialogue mode.
    However, as mentioned in my thread, the BAPI works fine, if i leave the item number blank in the Partner-Structure...
    @ll: any other ideas?
    Gregor

  • Hiding organization data and partner block in IC_AGENT role

    Hello,
       For  Business role : IC_AGENT and under  Work Center  : Interaction record ,we have a screen with three different blocks:
       Overview  Organizational Data  Partner.
       My requirement is to hide Organization Data and Partner block.
       Please suggest how can i do that?
       Regards
       Najm

    Hello Najm,
    for the same purpose I've done in the following way.
    Enhance component ICCMP_BT_INR in BSP_WD_CMPWB if it's not been done yet.
    Enhance view InrHeaderViewSet if it's not been done yet.
    In view controller implementation class for this view (in my case it was ZL_ICCMP_BT_INRHEADERVIEW_IMPL) redefine GET_TAB_LINK_TABLE method in the following way:
    METHOD get_tab_link_table.
    CONSTANTS: c_orgdata TYPE string VALUE 'InrOrgData.BTORGSET/OrgSet',
                c_partner TYPE string VALUE 'InrPartnerId.MainWindow'.
    CALL METHOD super->get_tab_link_table
       RECEIVING
         rt_result = rt_result.
    * hide org. data tab
    DELETE rt_result WHERE id CP c_orgdata.
    * hide partners tab
    DELETE rt_result WHERE id CP c_partner.
    ENDMETHOD.
    Other way is:
    Enhance component ICCMP_BT_INR in BSP_WD_CMPWB if it's not been done yet.
    Go to Runtime Repository Editor there.
    Delete InrPartnerId.MainWindow and InrOrgData.BTORGSET/OrgSet views from the viewarea Header of the ICCMP_BT_INR/InrHeaderViewSet.
    But personally I've preffered first one. Just to remember what was actually there in standard.

  • Business Partner Role  and Business Partner Grouping

    Hello Everybody!
    Business Partner Role  and Business Partner Grouping.
    Which correlation ist between this attributes existing.
    In which table are this infos stored, In order create I can use
    e.g. BUPA_CREATE_FROM_DATA
    but how is the way inversely. Suppose I want to abtain the information
    about a existing business partner which group he has etc.
    Regards
    sas

    Dear Sas,
    Business Partner Grouping is used to determine the number ranges to be used by the business partner at the time of creation.
    Business Partner Role determines the subset of all the data available to be shown and edited.
    I will give you a very simple (but imaginary) example for understanding the role concept: the business partner in a role of employee might allow you to enter a department id. So this field should be available to you for input when you edit the business partner in the role of employee. But suppose the same business partner is also a person who is your customer. And your customer will require a default payment term. So this field should be available for input when you edit the business partner in the role of a customer. Also, some applications use these roles to determine if the business partner is suitable for particular transaction. In the above example, Payroll application will only allow those Business Partner to be used if they are maintained as an employee. Similarly the sales application can mandate that you can only sell a product to a business partner if he is maintain in a 'customer' role.
    Please understand the example above is not real but given for the understanding of the concept of role.
    You can use the function module 'BUPA_CENTRAL_GET_DETAIL' to find the business partner group. And you can use the function 'BUPA_ROLES_GET' to find the role assigned to a Business Partner.
    Regards, Rakesh

  • Business Partner Roles and Account Life Cycle management in IC

    Hi all,
    We have IC agents creating prospects but also back office people (i.e. sales staff) creating prospects. Back office staff uses account life cycle management to identify the prospect role. However, I noticed that the business partner role (prospect in this case) is not visible within the IC - during account creation - because the role is used within the account life cycle role exclusion group.
    I can always enhance the IC component to remove the filter on the BP Role. but question I have is why does SAP IC remove the roles from the role drop down list in the IC account creation screen and how did other people get around this?
    Thanks,
    John

    I am also looking for an answer on this. How did other people who work on Interaction Center get around this? How do you create accounts when IC removes the BP roles mentioned in the Exclusion group config in SPRO ?

  • Asynchr Calls: Partner Role and My Role must be filled in Partner Link dial

    Asynchr Calls: Partner Role and My Role must be filled in Partner Link dialog ?
    Is the statement true?
    Can I leave for synchronous calls one of the role spec vacant?
    AFAIK only in asynchronous calls both drop down values must be specified.
    Peter

    Thanks for fast reply,
    Yes, I defined Partner Role and My Role,and also defined a port type for calling back the request.
    I just don't know what's the endpoint address which my asynch web service should use to response to my BPEL process.
    Is there anyway to find out what's the endpoint address which the BPEL processes receive the callback response from asynchronous services?
    Can I get the address which BPEL engine uses to get the responsse from a called web service?
    I guess it should be an obvious work but I'm really disappointed with that.

  • Opportunity partner role pickist definition?

    Hi,
    Where does one define custom values for the opportunity partner role picklists? The help indicates that the administrator can create custom values, but I can't seem to locate where. Under Admin>Application Customization>Opportunity Partner Field Setup, the Role and Reverse role picklists are read_only.
    Thanks,
    Dan

    Set it up under Account Relationship Field Setup and then you will see it when you do a opportunity partner relationship.

  • Partner role and document type.

    Hi,
    how can I link partner role to document type?
    The problem is that for some documents type in POs creation
    is not possible see in partner view (header) any partner.
    The same happens in printing, I've to select the partner manually.
    The inforecord exists.
    How can I solve the above problem?
    Best regards

    Go to SPRO-MM-Purchaisng-Partner determination-Partner Settings in Purchasing Documents
    here u can do all the settings

  • Account groups for Partner Roles in Vendor Master

    1. Can we use same account group to create the vendor master for the different partner roles? for the partner roles like goods supplier, invoicing party, order party, etc do all these need to have different account groups , example one account group for goods supplier, one account group for invoicing party, etc , etc.
    2. why we need the configuration for partner role in purchasing documents besides  partner role settings for vendor account group. what is the logic behind to have partner role dependent settings for purchasing documents.
    If we do not maintain for partner role settings for purchasing documents  what effects it will cause?

    > 1. We can have 1 account group represent all partner role or separate account group for each role.
    1.If we use the same account group, the field selection control for fields will be applicable to partner roles also. If we have made vendor schema as mandatory in vendor master than we have to assign to partner vendor also. Example ordering address will not require company code data only purchase data, it will not require also pricing procedure as mandatory as no price determination will be required for ordering address.
    I think we have to use combination of account group -same account group and different account group will defining vendors for partner function.
    Do we require to assign vendor schema group to following vendors roles- goods suppliers, invoicing party and payee.
    If we do not assign vendor schema group will these partner role determine price from the VN partner role. For example VN (vendor) has vendor schema group assigned, no vendor schema group assigned to invoicing party, then while doing MIRO the invoicing party will be defaulted. Do the price determined for VN role will be populated for invoicing party in MIRO?
    > 2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document
    It means we need to assign similar roles in schema for vendor account group and purchasing documents. If you see the schema in config for partner determination in IDES system, different roles exists in vendor schema and purchasing document schema.
    This is creating confusion for me to understand.
    Please clarify
    2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document

  • Semantics and its' role in Business Services

    Role and importance of semantics in the context of services and SOA:
    Semantics refer to interpretation of information and not the literal definition of information/ data. Applying semantics to information turns it into “knowledge”. Semantics is the act of applying references and drawing conclusions given a set of more scientific informational constructs. Typically semantics are derived using the context in which information is presented. Transposition on the other hand allows applies the rule of inference where in one can draw conclusions on the implication of truth based on some set of facts.
    Read more about this at <a href="http://entarch.blogspot.com/2007/10/semantics-and-its-role-in-business.html">Surekha Durvasula's</a> blog.
    Surekha is an Enterprise Architecture of a large retail company

    Hi shalini,
            Thanks for the reply and can you please say me the menu path for T.code BUSD
    And can u please say the difference between 4.0 and 5.0 versions
    Regards
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

  • Business Partner Role Specific Field View in WebClient

    Hello to everyone,
    I have a question that really needs a answer.  We are upgrading from SAP CRM v4 to SAP CRM v7.0 and as such we have a number of custom Business Partner Roles within the Person BP Type.  Against these custom roles we have developed custom field and tabs in order to separate the content within the BP Role further.
    After rolling off an implementation of SAP CRM v6.0 [2007], the following seems apparent:
    - Assignment of Roles is done via an assignment block in the Customer Maintenance view.
    - You can create Business Partners in different roles initially.
    - You cannot maintain Business Partner details in specific roles
    However, you cannot display the role specific fields as you can in the WinClient.  As an example, a Citizen Role BP will have different fields to that of a Teacher, but these roles could be assigned to one Business Partner.
    There does not seem to be any guidance as to how this is managed in the WebClient and as it seems a fundamental part fo the SAP CRM offering, you would have thought that this questions has been asked, but I have found no answers.
    I really hope anyone can help and appreciate any time and effort put into solving my question.
    Many Thanks,
    MatFlat.

    Hi MatFlat,
    Yes, your observation is right - in the Web UI, fiel grouping is not implemented for roles. This is because the role concept is quite different between SAP Gui and Web UI.
    In SAP gui, (CRM 4.0) roles had a functional meaning as well as a UI control. However, the concept was changed with Web UI. Now, roles have only a functional meaning, and no effect on the UI at all.
    If you want to implement role based field grouping in Web UI, you need to define your own methods in the implementation class.
    E.g : you can write code to influence the field properties based on the roles. I guess you can redefine the DO_PREPARE_OUTPUT  methods of the impl class.
    In order to get info about which roles the BP is maintained , you can use FM BUPA_ROLES_GET_2.
    Hope this helps you.
    Cheers,
    Rishu.

  • E-Recruiting 6.0: Business Partner Role For Branches

    Hi Experts,
    In the IMG, SAP E-Recruiting > Basic Settings > Enterprise Structure > Define Business Partner Role for Branches
    Can anyone help in the following:
    1) What is the purpose of Business Partner Role and how does it relate the Branches? Or how can i make use of it?
    2) If i am going to maintain the Company & Branches via the Administrator function instead of IMG, do I still need to configure this step: Define Business Partner Role for Branches
    Thanks.  Will reward points for any helpful tips.
    William

    Hello William,
    the Business Partner is an application / module which belongs to the base components of the SAP. It is used and partly extended by various other applications / modules. Next to E-Recruiting it is used for example by CRM and the financial service solution (FS-CS, FS-PM, FS-RI). All of these modules can put their data for a person or an organization into the same tables. Depending on the installation / system environment or even within one single module the requirements for available fields and business checks as on authorization differ between kinds of business partners (e.g. in FS-CS the commission solution for the financial service sector knows external agents and internal employees which have to be treated differently). The business partner is the element to assign the logical / business role in which a person is handled by the system.
    For E-Recruiting you have 2 kinds of business partners, too. On the one and there are people being candidates and on the other hand there are branches of your company which hire people. The configuration allows you to seperate them if you need to identify anywhen which business partner is a branch and which is a candidate. So far I never tried if this is really working as there is no real use for this I never set it up. The attributes and the business checks are the same anyways.
    Hope that helps a bit to understand the context
    Best Regards
    Roman Weise
    PS: please remember that you have to maintain the branches via administrator bsp application. Using the IMG entry won't work.

Maybe you are looking for

  • Cannot open converted Word file to edit????

    Once I've downloaded my pdf to Word converted document, how do I open it in Word to edit it?  That's the whole point of this Adobe converter that I just purchased. Going Mad with Frustration in hawaii

  • Will Mountain Lion run on my mac mini running lion server?

    I like the new features of Mountain Lion and I am not utilizing the "server" functions of lion.  Will the new os effect the mini's operation?

  • Images selected in iPhoto remain on screen and visible in other apps

    Running iPhoto '09 and quite often when we select multiple images to share via iMessage or email, those images then stay on the screen and are visible no matter application you have active.  iPhoto becomes unresponsive and the only resolution is a fu

  • Satellite L350-277 - Webcam failing to initialize

    I am still having a problem with my webcam on the above laptop. It did work when I first bought the laptop, but for some reason it is now failing to initialize. I have posted before and was advised to download drivers. I have done this but it still w

  • System Hangup

    I just bought a k7n2 delta platinum motherboard, 2500+ Sempron processor, 1GB of DDR Ram, and a Geforce 5700 LE video card.  When the system boots the D-Bracket always hangs at led 1 green, and 2-4 are red.  While it's hanging here I also can not get