Associate automatically a partner role with a partner group
Hi Gurus,
I have as a requirement to associate automatically a partner role with the corresponding group (through a Ztable) when creating a Busines Partner of a determined role. Now the default group is shown on the screen, and If you forget change it, you would save this partner role within a wrong range number.
My question is: there is a spot enhancement where I can associate it? any badi? someway to do it without leaving the standard way?
Thanks in Advance.
Rosa Ferrando
Hi...
Call area menu BUPT
Business Partner->Control->Events
Check the BDT Events...DSAVC...inside this you can call your own function module and put a check here...You can see the import and export parametrs for your FM from any of the above standard FMs....
Try it
Mithlesh
Similar Messages
-
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
sasDear 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 -
Suppress partner role with orders05
Hi,
In customer masterdata it is indicated that a certain partner roles are valid for a customer. In the partner determination procedure it is indicated what roles are relevant for specific sales order type.
However, when I create a sales order manually I it possible to delete the partner roles.
Is something like this possible when creating a sales order using an IDOC?
So, I don't want to have a specific partner role in the sales order, regardless it is maintained in the masterdata and customizing, when a sales order is created by IDOC.
Regards
RonHi...
Call area menu BUPT
Business Partner->Control->Events
Check the BDT Events...DSAVC...inside this you can call your own function module and put a check here...You can see the import and export parametrs for your FM from any of the above standard FMs....
Try it
Mithlesh -
Determine partner role based on partner number/Guid.
I need to determine whether a partner (against a repair order) is a consumer (BP) or dealer (organisation). How can I determine this based on partner number/guid?. I'm sure there's a BAPI etc to show the role information.
Gary KingMany thanks for that. I suspect this FM to get the roles will work fine and will try it now.
I can also look at the marketing attributes and the account group will determine whether the partner is a consumer of Organisation (Dealer).
Regards
Gary King -
BAPI_PO_CREATE1 is not defaulting all the partner role in the PO
Hi All,
I am facing a problem while Purchase Uploads using BAPI_PO_CREATE1 in the LSMW via Idoc .
The BAPI is not behaving same as Txn ME21n .
In the Txn ME21n when we enter the Vendor the partner tab is automatically filled with all the Partner roles .
While when we use BAPI it is only filing the Partner role with a single partner role VN.
We are sending the sturcture partner role as blank because we wanted it to be defaulted as it is in Txn ME21N.
During the program analysis we found the following :
BAPI is calling the Function Module MM_PARTNER_SELECT which try to fill the Partner function
using WYT3 table . The table Wyt3 has the plant field as empty for that particular Vendor.
The BAPI is using the plant to determine the partner roles .
While in Txn ME21n the plant field is not used for determining the partner role .
In txn Me21n once we change the vendor entered initially & then again re enter the initial vendor number
then it behaves like BAPI & only display the single partner role .
Kindly advice .
Regards,
Anurag GoelHi All ,
FYI
We found the solution for defaulting partner role using BAPI_PO_CREATE1,It is a customization issue .
We have check the Higher level indicator ( Search at higher level ) in the customization Txn OLME Under Partner Determination -
> Partner setting in Purchasing document -
>Define partner schemas
If this indicator is not set, the system only transfer partner roles that are maintained at plant level .
Best regards,
Anurag Goel . -
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,
GregorHello 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 -
Partner Role not coming when creating the Vendor Master
Hi all
There is a standrd role AZ.
There is a standrd Partner Determination procedure L1.
The role AZ is assigned to the Partner Determination procedure L1.
When creating the vendor master in MK01 the role is not coming in the list of partner function.
For Document types there is a standard shema 0002.
The role AZ has also been assigned to doc type.
What can be the reason.
Is the assignment against doc type at all required.
Please suggest.
RegardsThe procedure for setting partner functions:
Step 1
Vendor Account Group
IMG->LOGISTICS GENERAL->BUSINESS PARTNER->VENDOR->CONTROL ->DEFINE
ACCOUNT GROUPS AND FIELD SELECTION
Step 2
Defining Partner Schemas
IMG->MATERIALS MANAGEMENT->PURCHASING->PARTNER -> DETERMINATION -
>PARNER SETTINGS IN VENDOR MASTER RECORD
->DEFINE PARTNER SCHEMAS
Step 3
Assign Partner Schema
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION->PARTNER
SETTINGS IN VENDOR MASTER RECORD->DEFINE PARTNER SCHEMA
« THEN ASSIGN PARTNER SCHEMA
Step 4
Define Permissible Partner Role Per Account Group
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION -
>PARTNER ROLES ->DEFINE PERMISSION PARTNER ROLES
If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION -
>PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION
PARTNER SCHEMAS
And then
ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
Once you have this configuration then you change your vendor in easy access menu (XK02-select partner function) define the partner roles. -
Hi Gurus
We have two Business Roles and one Business Partner Role
This Business Partner Role we assigned to Two Business Roles so In one business Role Business Partner Role all tabs will work but in other business Role same Business Partner Role some tabs he donu2019t open because he donu2019t have permutation to open those tab
Ex: we have ABC Sold-to-party and we have xyz Business Role and also 123 Business Role
If I use xyz Business Role all tabs will open in ABC Sold-to-party
But if I open 123 Business Role some tabs ware not opening in ABC Sold-to-party In Web Client
So for this what Configurations we have do
Please Guide me how to Configure
Thanks in Advance
ShettyThank you for your Quick Response
My Quotation is
we created one ABC Sold-to-Party
so i have TWO Business Roles
Mahesh is one Business Role
Ramesh is one Business Role
if i am log in through Mahesh Business Role in my Accounts ABC Sold-to-Party in this Business Partner Role Category i will see all Tabs
But when i am log in throughRamesh Business Role in my Accounts ABC Sold-to-Party in this Business Partner Role Category i will see Some Tabs only
so for this scenario what are the configurantion we have do
Please Guide me
Thanks in Advance
Shetty -
i have created a vendor .now how can we define partner roles to this vendor
Procedure for Setting Partner Functions
The procedure for setting partner functions:
Step 1
Vendor Account Group
IMG->LOGISTICS GENERAL->BUSINESS PARTNER->VENDOR->CONTROL ->DEFINE
ACCOUNT GROUPS AND FIELD SELECTION
Step 2
Defining Partner Schemas
IMG->MATERIALS MANAGEMENT->PURCHASING->PARTNER -> DETERMINATION -
>PARNER SETTINGS IN VENDOR MASTER RECORD
->DEFINE PARTNER SCHEMAS
Step 3
Assign Partner Schema
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION->PARTNER
SETTINGS IN VENDOR MASTER RECORD->DEFINE PARTNER SCHEMA
u201E« THEN ASSIGN PARTNER SCHEMA
Step 4
Define Permissible Partner Role Per Account Group
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER DETERMINATION -
>PARTNER ROLES ->DEFINE PERMISSION PARTNER ROLES
If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION -
>PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION
PARTNER SCHEMAS
And then
ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
Once you have this configuration then you change your vendor in easy access menu (XK02-select partner function) define the partner roles.
Regards,
Indranil -
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 -
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 advanceIt is consider only main vendor not GS level
-
Partner with Partner role AP cannot be converted
Hi,
When order are getting created in CRM, we are getting an error 'Partner with partner role AP cannot be converted'.
We have checked the R/3 contact person and it is empty. We have checked the table CRMC_BUT_CALL_FU and tried
removing the entry from CT_BP_STRUCT and still this does not resolving the issue.
This is issue is with only certain orders in only one sales area. So I think that no notes can be applied.
Regards
SunilHi Sunil,
Cna you consider note :
1997323 - Partner with the partner role AP cannot be converted (Notification E C
(010) - Deleting a contact person in the master data
Best regards
Christophe -
BPs with Business Partner (Gnrl) role are not replicating to ECC
Dear all,
I want to replicate BPs with General Business Partner role from CRM to ECC, all sold to pary (Role) customers are replicating to ECC perfectly.
Kindly help. your help will be greately appreciated.
Best regards
Shravanthi RHi Srinivas,
Could you please eloberate that, how and where can I maintain filter settings for BP roles.
I have reached R3AC1>BUPA_MAIN>FILTER SETTINGS-->SELECTED SOURCE SYSTEM AS 'OLTP'.
Don't know how to proceed further, Please help.
Your help will be appreciated.
Best regards
Sharavanthi R -
Issue with defaulting Business Partner Role while BP Creation
Hi,
I am having a simple requirement that while creating any contacts, the Business Partner role and authorization group will be defaulted.
Now 1st was trying to wrtite code in the enhancement spot : CRM_UIU_BP_ENHANCEMENT --> badi CRM_BP_UIU_SAVE --> Method ON_SAVE_EVENT (Event handler for save event ). But sometimes it is triggered, some times not. When it it triggered, transaction is giving a dump.
Again, I tried to write code in badi BUPA_GENERAL_UPDATE. There also, I am getting the same error " The COMMIT WORK processing must not be interrupted. "
I am writing this code in the method :
*Call this BAPI to fill the memory
CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
EXPORTING
businesspartner = ls_but000-client.
CALL FUNCTION 'BUP_MEMORY_BUT000_GET'
EXPORTING
iv_partner = ls_but000-partner
IMPORTING
es_but000 = ls_bus000_upd
EXCEPTIONS
not_found = 1
parameter_error = 2
OTHERS = 3.
IF ls_bus000_upd-augrp IS INITIAL.
ls_bus000_upd-augrp = '9000'.
ENDIF.
* Populate new BUT000 data
CALL FUNCTION 'BUP_MEMORY_BUT000_FILL'
EXPORTING
is_but000 = ls_bus000_upd
EXCEPTIONS
parameter_error = 1
OTHERS = 2.
I can't understand why this dump is coming? Please help if there is any other way to defaulting roles..Hi Suchandra,
Are you trying to default Business Roles & Authorizations at the time of SAVE of a new CP?
If yes, then everytime you click on SAVE button on CP Create Screen the Save BADi will be triggered.
Cases when its not getting triggered please debug into the event handler method of view-BP_CONT/BPCONTOverview->EH_ONSAVE method.
In this method at line (below) the save badi is triggered:-
IF cl_crm_uiu_bp_tools=>save( ir_message_service = lr_msg_service ) = abap_true.
In the above method - CL_CRM_UIU_BP_TOOLS=>SAVE( ) the save event handler is triggered :-
* trigger ON_SAVE for registered handlers
raise_save_event( ).
If you want the default to happen when you navigate to CP Screen , you'll have to put the defaulting code in an implementation of a different badi - BADI_CRM_BP_UIU_DEFAULTS.
- Dedeepya
Edited by: dedeepya reddy on Nov 15, 2011 2:07 PM -
Partner role determination PI in purchase orders
Dear All,
Does anyone knows if with the release of ECC 6.0 something has been changed about the partner role determination?
If we set up a vendor in the previous release with transaction MK01, the partner role PI was determined automatically in the PO. Now, this determination is only been done if the vendor is set up with transaction XK01. We only set up vendors with transaction MK01 and have to wait untillthe financial department has set up the organizational data (this data is created immediately if XK01 is used) before we can make our PO's. Does anyone knows if it's possible to customize the partner role determination to determine the partner role PI without the help of the financial department? Or has SAP changed something, so this way of working won't be possible anymore in the future?
Kind regards,
LienHi
As per my knowledge there is no change of Partner determination in ECC 6.0 it is the same as in previous versions.
Please check if you have maintained the Partner role as a required entry in the Partner determination process in customizing.
Thanks & Regards
Kishore
Maybe you are looking for
-
hey. this mac is the only one in the house with 2 other windows computers (**** them) and the main comptuer with the router and stuff (im running wireless) is a Windows XP. How do i file share with it, as the XP wizard files arn't supported by the ma
-
i have requriment like this in screen 100(normol screen) i have tabstrip control for TAB1 i have subscreen 110 and for TAB2 subscreen 120. in 1st subscreen (TAB1)i have NUM1 and NUM2 in 2nd subscreen (TAB2) i have RESULT. and when i entered values
-
¿What should I do if my IMac doesn't start?
Yesterday I decided to use my imac so as always I sat down in my chair and pressed the start button but nothing happened. I looked up at this page for solutions for my problem but they didn't work at all. Please help me!
-
Index creation error while importing
Hello i took an export of iFS schema "ifssys" and tried to import into another database with sample set of tablespaces. the tables got created but index creation failed with following error msg. Oracle error 6510 encountered. Pl/Sql: unhandled user-d
-
Elements 3 und Casio Exilim Z750
Hallo Forum Ich hoffe, ihr könnt mir helfen: Meine Exilim Z750 macht hervorragende Bilder - bei der Kontrolle auf den Display sind die Farben leuchtend, das Bild meserscharf und alles ist im grünen Bereich. Wenn ich nun die Bilder mit Fotoshop Elemen