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

Similar Messages

  • Is it possible to assign same partner role more than once in PO?

    I am trying to assign same partner role (GS) more than once in a PO, as we have several different suppliers for the different items in the PO. A different option would be tab "confirmations" in PO but I need to be able to check validity of suppliers....
    any ideas?

    Hi Laurent,
    As standard SAP it is not possible to define default BP type for specific roles. But you can use some Badi or Function Modules to do the same.
    Regards
    Arun Kumar

  • The same output message for different partner roles

    Hi All,
    Is it possible to create automaticaly in PO the same output message type ( for example - 'mail') for different partner roles( for example - 'VN' and 'OA') ?
    If it's possible,then how?
    Thanks.
    Liza

    Hi,
    Thank you ,but I have a next problem:
    When I  tried in transaction mn05 to add second record for the same output type for other  partner roles.
    I got error message "The condition record entered already exists".
    Regards,
    L.

  • I am not able to add a differant partner role in my General loans.

    Hi experts,
    In loan management under bank application , we want to assign multiple roles to a loan. suppose a mail borrower and the alternative payer or a gurantator.
    We have created a loan with main borrower (0100) and want to add another partner (in partner tab of loan) as an alternative payee (0202). but when we want to add this alternative payee, system auto generate a pop up window with searching the Business partner but here it is not showing any partner. it's allowed me to create new one but not able to use existing one.
    we are using t.code BP  for partner.
    we are using Ecc6 version.
    Please help.
    Regards
    Gaurav Gupta

    hi  Vitaliy Tischenko
    Thank u very much, my problem has resolved. but can u told the logic of update this function. if help me to understand this.
    thanks again
    Regards
    Gaurav gupta

  • 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

  • About vendor partner roles..

    I have a vendor with partner roles assigned to it..
    But while im creating a PO against this Vendor, these partener roles are not getting populated in PO when i checked  partner tab of PO...
    thanks

    Hi
    Please check the following pre requisites again
    <b>Prerequisites</b>
    When working with partner roles, you must maintain the following settings:
    <b>Vendor Master Record</b>
    Separate vendor master records must exist for all the partners of a vendor that are to be entered in that vendor’s master record.
    <b>Customizing</b>
    You specify the partner roles to be used in the vendor master record via schemas that you define and assign to account groups in Customizing for Purchasing.
    Specify which partner roles you wish to use – and which of them are mandatory roles – in Customizing for Purchasing under Partner Determination-> Partner Roles -> Partner Settings in Vendor Master Record -> Define Partner Schemas. (At this point, select the Mandatory indicator where appropriate.)
    Assign the partner schema to the relevant account group. Under Partner Determination -> Partner Settings in Vendor Master Record -> Assign Partner Schemas to Account Groups, you can assign different partner schemas to account groups for the purchasing organization, plant, and vendor sub-range levels if necessary.
    <b>If you want the system to also search for partner roles at purchasing organization level, and not only at the "different data" level (i.e. plant/vendor or VSR/vendor), you must set the Higher level indicator in Customizing for Purchasing under Partner Determination -> Partner Settings in Purchasing Documents -> Define Partner Schemas -> Partner Roles in Schema.</b>
    There you can also specify whether the partner roles are to be determined at the beginning or at the end of the document entry process (End indicator).
    <b>If the plant is defined as default value, the system attempts to determine plant-specific partners in the case of partners determined at the start of the process.</b>
    Regards
    Ramakrishna

  • Automatic Vendor Evaluation - Partner Roles

    Hi SAP Gurus,
    Please try to help me with the following scenario.
    My client has different Goods Suppliers (GS1, GS2 and GS3) for a particular vendor (VN). They have been attached as three different partner roles for the vendor (VN).
    They do evaluation for QUALITY - Subcriteria GR Inspection for each of the manufacturing locations (GS1, GS2 and GS3) through Automatic Vendor Evaluation for Quality - at GR Inspection.
    The question is, when an Automatic Evaluation for Quality is done at the main vendor (VN) level, will those scores which have already been evaluated at the three Goods Supplier locations (GS1, GS2 and GS3), will be considered for the Automatic Vendor Evaluation for Quality - at GR Inspection at the main Vendor (VN) level?
    Thanks in advance

    It is consider only main vendor not GS level

  • Different Partner Determination  based on doc types

    I have got access to SAP Cloud for customer solution. I needed to define two document types for Opportunity which i can do in Fine tune activity of project scope.
    However, unlike Onpremise CRM there is no way in cloud for assigning different Partner Determination procedures to these document types in cloud ? I am just getting the feeling that we need to write to write a lot of code to manage this what could have been std. configuration provided by SAP like Onpremise SAP systems.
    Is the above true or my fears are unfounded ? How can this be best achieved.
    -Apoorva

    Hi Apoorva,
    As of now we can only define multiple Transaction Types trough customizing but cannot tweak the partner determination.
    It helps in configuring few things like Activity Advisor, Reason for Win/Loss etc but Partner Determination is not an option provided to us in cloud trough configuration like in Standard CRM as on date.
    May be in future when it is inevitable they will give this feature because it does not really makes sense giving an option to create multiple Transaction Types just for categorizing things when it can do more.
    You can any way raise an incident to SAP and they might suggest you any solution/alternative or redirect you to SAP Service Center which might be chargeable.
    Regards
    Vinod

  • New Vendor Partner Role on PO

    Hi,
    I created a new vendor partner role that I can use on PO Partner header.  When I create a PO and assign the Partner role, system generated message that the partner role vendor needs to be extended to the purchase org PO is posted for: 
    Message F2165: Vendor <vendorID> has not been created for purchasing organization <purchase org>
    Vendor for this new partner role does not have to be created for the purchasing org for my intended use.  Does anyone know how I can get around this? 
    Looking at some code (LWY09F01) looks like SAP allows some of its standard Partner Roles to be used without vendor being created for the purchasing org:
    RS     Invoicing Party
    BA     Ordering Address
    VA     Contract Address
    HS     Manufacturing plant
    TF     Freight Service Agent
    AZ     Payment Recipient
    I would think SAP would allow customer defined Partner Roles (Y, Z) to be used without vendor being created for the purchasing org. 
    Any suggestions would be greatly appreciated.
    Thanks,
    Susan Wang

    Hi Susan,
    I'm also in the midst of a similar situation. Did you find any solution (customizing or custom development) to achieve this?
    Thanks
    Anuj

  • Assigning different authorizations inside a role to different users

    Hello,
    Could someone please guide me to how can we assign different authorizations (authorizations field values) for an authorization object inside a role to different users; i.e. in the role maintenance transaction (pfcg) after we create a new role and add an authorization object to it, if this authorization object has several authorizations (authorization field values), and if I need to add two users to that role, how can I assign to one user an authorization different from that assigned to the other user ?
    Thank you in advance.
    Best regards.
    Reda Khalifa
    IT Department - Almansour Automotive Group - Egypt

    Hi Reda,
    That documentation complicates the subject slightly as it is talking about principles that are at a lower level than the usual role level.
    We have 1 authorisation object - S_TRVL_BKS
    Authorisations have been created for this object, called S_TRVL_CUS1 and S_TRVL_CUS2
    In this context, an authorisation is an instance of an authorisation object that has been populated with data.
    Before the profile generator you used to create authorisations (auth objects populated with data) and assign them to profiles which are then assigned to users.
    In this example 2 profiles would be needed
    Profile1: S_TRVL_CUS1 and S_TRVL_CUS2
    Profile2: S_TRVL_CUS2
    Miller would be assigned profile1, Meyers would be assigned profile2
    The profile generator allows us to easily build authorisations and profiles and packages them up in a role.  This way, we can assign transactions and authorisation objects into a role, populate the authorisations (which is what we do in the authorisations tab in the role) and automatically create the profile.
    The example in the documentation is still valid because it requires 2 seperate authorisations (and therefore profiles and roles) to be assigned to different people.  Unfortunately this is not explained very well in the documentation.
    I hope that makes sense, roles are static and the permissions that they give do not vary dynamically.   In BW we can use variables to do something similar and to some extent structural authorisations in HR work dynamically however this doesn't apply to R/3 or ECC.  (it can be done in come cases but costs many, many £££/$$$'s)
    Please let me know if you want me to elaborate further on this
    Cheers
    Alex

  • Business partner account assignment and G/L account assignment different

    Hello Experts,
    I am facing the issue of "Business partner account assignment and G/L account assignment different" Message no. FKKFMCHK039, while I am processing the Check lot (FP25).
    Notable points are:
    01) We are using the functionality of Interest, if customer pays the outstanding after due date, payment will post the interest on the outstanding;
    02) I cross checked the account balance of business partners for which I am facing this problem, if payment amount is more then the outstanding balance then only we are facing this error, however under clarification processing if we post the payment with option of Post on account , payments are getting posted.
    Looking for your valuable inputs.
    Regards,
    Anurag

    Hello Experts,
    Thanks for your support. However, I have regular interaction with SAP regarding above issue, and we have found there is program error, for which they have released the note number 2014364.
    Regards,
    Anurag sharma

  • Is it possible to assign a partner type to a BP role automatically

    Hi all,
    I have over 60 roles to customize (Fields Groupings in SPRO) and i'm trying to group them into a single customizing action.
    All these roles have same attributes but i need to make a geopraphic distinction.
    In field groupings spro it is possible to "Configure Field Attributes per Business Partner Type" but i realize that Partner Type is to be set on master data by user hence my will to assign the partner type automatically to a role or a group of roles when a user creates a partner.
    Is it possible? if no, is there any other way to set field attributes for 1 role instead of 60?
    Well any advice would be welcome.
    Many thanks
    Laurent Monza

    Hi Laurent,
    As standard SAP it is not possible to define default BP type for specific roles. But you can use some Badi or Function Modules to do the same.
    Regards
    Arun Kumar

  • Can not assign ONE PFCG ROLE TO DIFFERENT ROLES

    Hi
    First I created a new Conf Key then I created a new NAV BAR by coying the standard Makrting and Sales PRO Nav Bar.
    Then I am trying to create a new buiness role( lets say ZMARKETING PRO) by copying the standard Marketing role and assigned my own created NAV BAR and Con KEY.
    I am facing an error
    " YOU CAN NOT ASSIGN ONE PFCG ROLE TO DIFFERENT ROLES"
    Just want to know the background of this error. Any help would be appreciated and points would be rewarded

    Hello Sajjid,
    Sorry we are not aware of the terminology used in your organization.
    Can you be more specific:
    are you doing Role Release,
    Org Filter changes or creating CHILD (derived) role
    Please generalise your problem.
    Regards,
    Surpreet

  • 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

  • How can I transfer music from my iPod touch to my new mac without a backup?

    I've seen a lot of tutorials on how to do this from various websites. Some are for windows only and some only apply to iPods that aren't touches. What I want to know is, how can i transfer my music from iPod touch to my Mac without losing everything

  • Audigy 4 speaker advice ple

    I have just brought a Audigy 4 card and while I am satisfied with it'sperformance I have an issue with my current speakers. I have at the moment the creative DTT2500 cambridge soundworks. Theseare great quailty speakers but they only have 2 analog in

  • How do I restore my music and playlists from my iPod 4g to my iPod 5g?

    I did a "full" backup to my computer of my old iPod, and restored my new iPod from that backup, but my music is completely empty and I don't want to manually put all my music and playlists back together. Help???

  • Proliant ML310e G8 boot error, boot logical drive is configured but missing or offline

    Following a power outage the server will no longer boot up.  During bootup  I  get the following... HP Dyanamic Smart Array B120i RAID Controller (v3.06.0m 0MB) 0 Logical Volume 1785-Drive Array Not Configured     Run Array Configuration Utility   Pr

  • Contact Person - Mapping ECC-CRM

    Hello, Please suggest best practices of creating contact persons in CRM Our scenario is existing customers and contact persons would be uploaded in ECC which need to be replicated in CRM All new customers and contact persons would be entered in CRM o