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
Ron
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
-
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 FerrandoHi...
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 -
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 . -
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 -
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 -
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. -
Problem in Creating a Business Partner Role
Hi Frns,
I am trying to create a BP Role from CAC->SAP Business Partner->Business Partner->Business partner Roles->Define BP Roles.
I copied BUP003 and given my BP Role name as ZEmp.
When i try to save it, it is giving an error message saying
"NO STANDARD ASSIGNMENT DEFINED FOR BP ROLE CATEGORY BBP003".
I have checked in BBP003 Category in the same.
What could be the problem?
Thanks in Advance
RohanHi Roshan,
You have Created a BP Role,
You must also have assgned the Same to a BP Role Category Check the Settings for BP Role Category Assignment and when Appropriate you shall Assign Std Assignment of BP Role Category to your BP Role by Selecting the Check Box
Referal Notes:
BP Role Category
Attribute of a BP role.
Use
The role category makes it possible for SAP and customer programs to program on the BP role.
Dependencies
The role category depends on a differentiation type.
Any number of BP roles can be assigned to a role category, with one role always acting as the standard role per role category.
It is possible to control the update of a role by assigning a role category to a role.
Hope it Anwers your Queries..
Thanks and Regards,
RK. -
Creation of partner roles for customer master
Hello,
when I try to create one or more partner roles while creating a customer with IDOC DEBMAS basic type DEBMAS06 I get the error message:
No customer ID found for partner .
The required fields PARVW and KUNN2 are filled with valid values.
Can anybody help ?
Regards
AlexHi Alex,
Could you specify what error message you are getting?
Thanks!
Rudra -
Partner roles in Vendor master record
Hi all
can some one explain me how to enter the partner roles in vendor master record
In sap help i didnt understood this point
"When working with partner roles, you must maintain the following settings:
Separate vendor master records must exist for all the partners of a vendor that are to be entered in that vendors master record."
what does it mean
suppose i am creating vendor master record 1234
Vendor master record:1234
LF 1234 /*vendor
BA1234 /*ordering address
i have to click 1234 in BA and select 'parner' at the top to enter the ordering adress right ...
what is the 'Separate vendor master records must exist for all the partners' mean
it has to be like this?
Vendor master record:1234
LF 1234 /*vendor
BA1235 /*ordering address
1235 vendor master record is created earlier and ordering address maintained ??
please help me in this record, any user manual or some screen shots to explain how to maintain partner roles in vendor master record
regards
Bhushan.NHi Sasi ,
What Ramkrishna explained is correct. I will try to illustrate it with the example.
Suppose you are creating a vendor 1234 which is Head office of the supplier where you need to place the order. But goods will be supplied from Pune plant so you should enter 1235 againts partner function GS , here 1235 is seperate vendor master record with Pune plant details & it must exist in the system so that you can use it as a partner function Hope this has cleared your doubts.
Similarly you vcan create other partner functions like payee,ordering party etc.
Regards,
Anand -
Vendor Creation ,Partner role OA not allowed for Vendor of a/c group ZLOV
Dear Freinds,
I am facing problem of Vendor creation , i am getting message PARTNER ROLE OA NOT ALLOWED FOR VENDOR OF ACCOUNT GROUP ZLOV.
While creation of Vendor in Partner function i could not enter partner number, system is not accepting any data, message is getting as above.due to which i could not create any vendor.
Presently I am in process/ setting of ERS functionality in MM,
now all my Vendor creation is stuck up ,
please help me how to solve the problem
Regards
DilipHi Dilip,
Check first have you Define Permissible Partner Roles per Account Group..
Check the path:
SPRO-Materials Management-Purchasing-Partner Determination-Define Permissible Partner Roles per Account Group
Here check whether OA is assigned with ZLOV or not...If no then click on new entries and enter partner function as OA and Vendor account group ZLOV...Save nd come out...
Now proceed...Hope it helps..
Utsav -
Error during copy of partner: Partner role VN
I am creating an Inbound Delivery from an Outbound using SPED output type on the Outbound Delivery.
When I process the output using vl71 I get the following error.
Can anyone tell me what im missing.
The same scenario works for other plants except this one, its between 2 new plants in a new company code.
What do i do?
Type Message text
Object 0080011663
Output type: Stk.Transf.CrteDeliv
Processing log for program /SPE/STO_ID_PROCESSING routine STO_ID_CREATION
Error during copy of partner: Partner role VN
Error during copy of partner: Partner role VN
Error during copy of partner: Partner role VN
No inbound delivery created for the replenishment delivery 0080011663This issue has been resolved.
I recreated the Vendor from scratch and switched plant config settings to the new Vendor and entered the new vendor number in the Customer and retried the process. It works.
So i think there was something wrong with the initial Vendor setup.(Though i checked view by view and didnt find any difference) -
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 -
PO vendor partner role through ALE/IDOCs
We have ALE/IDOC interface with vendor. The requirement is PO will be sent to the ordering vendor and invoice should be received with PI vendor. We are using stardard message types for purchase order (outbound) and INVOIC (inbound).
Could you please guide me on how to set up partner profile in WE20? Do I need to define both the vendors as partner? and what partner function should I select in inbound and outbound for both the vendor? Any other settings is required?
Thanks in Advance
SagarHi,
The earlier answer was to your this question
Could you please guide me on how to set up partner profile in WE20?
Now to set up the partner function follow as below
In Spro>Purchasing>partner determination >first define the partner roles , role VN for vendor,role PI for invoicing party and OA ordering address are standard available then
Define permissible roles per Vendor A/C group ..based on account group of vendor you need to define a perticular partner role is permitted
Go to define partner schmeas for vendor master >select L1 vendor>partner functions in procedure>here you check your roles are available there 2 check boxes if you wnat a perticular role mandatory in vendor master you can check mandatory and if you want an option of changing the partner you can make it changable , better to make these two roles mandatory and OA changable
Go to assign partner schemas for vendor master assign L1 for your vendor a/c group
Then go to partner settings in purchasing document define partner schema select std.po >function in procedure>check roles VN,PI,OA
Select no change mandatory and higher level for all three
Go to assign schemas for docuemt>assign 0002 for document type in question
Thanks
Diwakar
Edited by: diwakarnd deshpande on May 13, 2011 8:24 PM -
Partner Roles for Ship-To/Bill-To in BAPI SalesOrder
Hi,
I am currently developing a .NET web application that is using BO SalesOrder (e.g. BAPI Bapi_Salesorder_Simulate).
My problem is that I need to list all defined partner roles of a customer (debitor) to give an appropriate selection for the BAPIPARTNR as a SalesOrder parameter
e.g. (specify a Ship-To Address)
[BAPIPARTNR].Partn_Role = "WE"
[BAPIPARTNR].Partn_Numb = "<SAPCustomerNr>"
In the web application I want to list all pre-definied partner roles for "WE" of the given customer to be able to set it as "<SAPCustomerNr>" in the BAPI parameter.
This seemed like a standard requirement to me, but I could not find any BAPIs/RFCs to realize this. Does anybody have a suggestion ?
Thanks for a short reply,
Andreas KoschinskyHi again Andreas,
I get the hint, I have included the source together with the corrections you would need to make to get it working in your system (no warranty calls please!).
FUNCTION CUSTOMER_PARTNERFS_GET.
*"*"Local interface:
*" IMPORTING
*" VALUE(IV_KUNNR) LIKE KNA1-KUNNR
*" VALUE(IV_VKORG) LIKE E1KNVVM-VKORG
*" VALUE(IV_VTWEG) LIKE E1KNVVM-VTWEG
*" VALUE(IV_SPART) LIKE E1KNVVM-SPART
*" TABLES
*" ET_E1KNVPM STRUCTURE E1KNVPM
DATA LV_ACCOUNT_GROUP LIKE KNA1-KTOKD.
DATA LS_E1KNVPM LIKE E1KNVPM.
DATA LT_E1KNVPM LIKE E1KNVPM OCCURS 0.
DATA LT_KNVP LIKE KNVP OCCURS 0.
DATA LS_KNVP LIKE KNVP.
>>> BW Omit this section <<<
* Get account group of the current customer
SELECT SINGLE KTOKD FROM KNA1 INTO LV_ACCOUNT_GROUP
WHERE KUNNR = IV_KUNNR.
IF SY-SUBRC NE 0.
* The customer is new so prepare to create roles.
PERFORM CUSTOMER_CREATE_R3FUNCTIONS TABLES LT_E1KNVPM
USING IV_KUNNR
LV_ACCOUNT_GROUP.
ELSE.
>>> Up to here <<<
* The customer exists and has an account group.
* so read the knvp to get all available functions.
SELECT * FROM KNVP INTO TABLE LT_KNVP
WHERE KUNNR = IV_KUNNR
AND VKORG = IV_VKORG
AND VTWEG = IV_VTWEG
AND SPART = IV_SPART.
IF SY-SUBRC = 0.
* data available so read them
LOOP AT LT_KNVP INTO LS_KNVP.
MOVE-CORRESPONDING LS_KNVP TO LS_E1KNVPM.
PERFORM PARTNER_NUMBER_EXTRACT(SAPLVV01) USING LS_KNVP
CHANGING LS_E1KNVPM-KUNN2 .
APPEND LS_E1KNVPM TO LT_E1KNVPM.
CLEAR LS_KNVP.
ENDLOOP.
>>> BW Omit this section <<<
ELSE.
* create new roles according to the delivered salesarea
PERFORM CUSTOMER_CREATE_R3FUNCTIONS TABLES LT_E1KNVPM
USING IV_KUNNR
LV_ACCOUNT_GROUP.
ENDIF.
>>> Up to here <<< <<< - moved this line in change
ENDIF.
ET_E1KNVPM[] = LT_E1KNVPM[].
ENDFUNCTION.
That should get you going.
Cheers,
Brad
Oops! Just made a small change to ensure that the if statement was correctly closed.
Message was edited by: Brad Williams -
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
Maybe you are looking for
-
Do I need to install the Flip4Mac uninstaller to uninstall Flip4Mac..?
I updated Quicktime to 7.5 and am now, along with many others, having problems with choppy playback. I have Flip4mac installed and now want to uninstall this to see whether that may be accentuating the problem. Spotlight has revealed a package called
-
Gray screen issue still in Reader 11.0.03
Hi, it sounds like the PDF gray screen issue mentioned here: http://helpx.adobe.com/acrobat/kb/pdf-opens-grey-screen-browser.html has been fixed in 10.1.3. Has it been fixed in 11.0.03? I have the latest Xi version installed and am still experienc
-
i am looking at getting an ipad but wondering if i plug in the accessory to attach a camera can i plug a usb stick in to this or a SD card with eg a word document on it to down load and open?
-
Auto start service problem with Xp
i installed Oracle 8i (8.1.5) on window XP Pro. it was install ok. but when i am restarting the PC. it is not starting the database service autometic. i check all the values of auto service but i am failed to start it. so can anyone help me to solve
-
I get an Adobe Application Manager error when I try to install NeoVoices.
When I try to install NeoVoices, I get an error that my Adobe Application Manger is possibly damaged, updates are not possible, and that I should download and install a new version of if (Adobe Application Manger.) I'm stuck. I have downloaded and