Can't delete partner function
Hi guys,
I need to delete partner function in opportunity.
The problem is that i cannot see the partner that i want to delete.
I only see it in crm_order_read (on se38)
thanks in advanced
Hi,
if you delete the partner function in the customizing you won't get it in any future opportunity. If you just want to delete the partner for one specific opportunity then the partner function has to be flagged as "Changable" in the partner determination procedure customizing.
The partner function has to be present in the opportunity either at header or at item level. If it's not there it hasn't been found.
Please, reward points if it helps you
Regards, José Ignacio
Similar Messages
-
FM for adding/deleting partner functions
Hello everyone,
Is there an Fm to add/delete partner functions of customer.I am not sure whether sd_partner_single_modify works.Can anyone confirm this or post other FM which does this.
Thanks in Advance,
KiranHello Kiran
You can try with this Fm
PM_PARTNER_DELETE_PARVW
Regards,
Vasanth -
Updating and deleting Partner functions for functional location
Hi ,
I am having a requirement of updating and deleting partner function for functional location .
If anyone can suggest some BAPI or function module for same .
Thanks n Regards
ManikHi Fritz,
Thank you for your response,
My need is to create a PARTNERS for the FUNCTIONAL LOCATION.
LET ME DESCRIBE IT.
WHEN I AM CREATING A FUNCTION LOCATION USING IL01, AS I ENTER A FUNCTIONAL LOCATION AND PRESS ENTER IN THE NEXT SCREEN.
AND
I NEED TO ENTER THE PARTNERS FROM THE DROP DROWN MENU GOTO ->PARTNERS
WHICH TAKES ME TO THE NEXT SCREEN WHERE I NEED TO FILL THE INFORMATION IN THE TWO FIELDS : FUNCT & PARTNER.
I need a partner for the functional location that i mentioned above.and i need to upload that information in through Emigall.
So my query was that can we customize that partner for this functional location and if yes, what should the constraints,
what are steps required? Do we require a custom service module?
Regards,
Robert. -
Hi! All,
I am having a unique requirement to change the partner function( BIll to party and Ship to party) for standard sales order in the order save badi implemtation.
Please sugest a FM that will be appropriate for this functionality.
One more thing that i am able to do is that i am able to add one more BIll to party and Ship to party in the order but I am not able to delete the exsisting Bill to and ship to partner function from that order, SO if there is any Fm that will delete the exsisting ship to and bill to party my purpose would be solved.
Please provide your suggetionas how can I proceed further.
Thanks and regards,
MayankHi,
use the CRM_ORDER_MAINTAIN FM for changing the partners. Fill in the IT_PARNTER and the CT_INPUT_FIELDS parameters.
For how to fill in I advise you set a breakpoint in this FM and do a partner change in the Sales Order Document.
You can also find a lot of threads in the forums regarding the ORDER_MAINTAIN FM.
BR,
Erika -
Create, Update and Delete Partner functions for a Functional location.
Hello
I have a requirement where I need to
a. Create / Assign Partner functions to a Functional location,
b. Update the new Partners values ( PARNR ) for particular Partner Functions ( Replace new Partner values in place of old partner values )
c. Delete the Partner values and Partner functions for a Functional location.
when the above changes are done, the changes should be reflected in IFLO ( Table-IFLOT ) and IHPA ( Table-IHPA ) transactions .
I wanted to make the above changes by using FM's or BAPI. I have searched many forums and threads, but still I was not able to get the correct solution.
Can anyone help me out in finding BAPI or FM's to do the above changes. ?
Note : I will have an excel sheet which has coloumns like Functional location, Partner function, Old Partner value ( PARNR ) and New Partner value (PARNR ). This data needs to be updated in IFLO and IHPA.
Thanks and Regards,
Karthik Ganti.Hello
I have a requirement where I need to
a. Create / Assign Partner functions to a Functional location,
b. Update the new Partners values ( PARNR ) for particular Partner Functions ( Replace new Partner values in place of old partner values )
c. Delete the Partner values and Partner functions for a Functional location.
when the above changes are done, the changes should be reflected in IFLO ( Table-IFLOT ) and IHPA ( Table-IHPA ) transactions .
I wanted to make the above changes by using FM's or BAPI. I have searched many forums and threads, but still I was not able to get the correct solution.
Can anyone help me out in finding BAPI or FM's to do the above changes. ?
Note : I will have an excel sheet which has coloumns like Functional location, Partner function, Old Partner value ( PARNR ) and New Partner value (PARNR ). This data needs to be updated in IFLO and IHPA.
Thanks and Regards,
Karthik Ganti. -
Can the same partner function be entered in the sales order more than once.
Hi
I know that as per standard same partner function cannot be entered more than once in Sales order.
If somebody has tried ways to do this please share.
THanks
AlagsYes. You can have multiple Ship to Party, Bill to Parrty & Payer in Sales Order. But Sold to Party will have to Unique & single.
This functionality of having multilpe Partners is widely used & just follow as Deepak suggested above & you too can have multiple Partners of same type in single Sales Order.
But there has to be a strong Business case in doing so... say different Ship tp Party for different line items in Sales Order or different BIll to Party for some line Items in Sales Order.
Hope this helps,
Thanks,
JIgnesh Mehta -
Bapi's or function modules to create, change( delete) partner functions
Hi,
Can anyone suggest BAPI or Function Modules for creating , changing the Partner Functions of the customer
eg: To create customer XYZ as bill-to-party of customer ZYX , i need either a BAPI or Function Module.
Thanks in Advance,
SabuHi The following are the BAPI's to create and change the Partner Function.
BAPI_BUS2001_PARTNER_CHANGE_M
BAPI_BUS2001_PARTNER_CREATE_M
Regards
Vijay -
Hi Gurus,
I need to delete a partner of a perticular customer in R/3 and CRM.
I tried using ' Delete ' and by using the function module 'Customer_Update', They are deleting the partner in R/3 but not in CRM.
Can any one help me in this regard.Hi Gerhard,
Thanks a lot for your reply.
I got your point but my scenario is different. My requirement is....
1. There is a Poster assosiated to a SoldTo party in R/3 and CRM.
2. The relation ship between these two exists in table KNVP and we can seen in trx XD02 by entering SoldTo details.
3. When you go to XD02 enter SoldTo details and try to delete the Poster, the relation in KNVP gets deleted and the Poster is not visible in XD02 aswell. If we check in CRM the relation is getting deleted for the SoldTo
4. But when I try to do the same thing in a 'Z' transaction, The relation is getting deleted in R/3 but not in CRM.
5.For your clarification, I am not deleting any customer, just deleting the relatonship (Exists in KNVP) between the two customers.
Please look into this. -
Programmatically delete the Sold-to partner function
hello CRM experts,
I am trying to add the Sold-To partner based on the sales organization selection. I am doing the same using CRMV_EVENT on ORGMAN where i am calling the function module which sets the sold-to partner using the FM "CRM_PARTNER_MAINTAIN_SINGLE_OW".
The code works fine and we are able to see the Sold-to partner in Partners tab, but if the user again selects another organization it creates the another entry for the Sold-To.
This we don't want. Instead it should delete any previous assigned entry. I tried that using the FM "CRM_PARTNER_DELETE_OB" but that is deleting all the Partner entries. Infact it doesn't give me option of setting the partner function.
Any idea how we can change or delete the partner settings.
Thanks in advance.
Regards
RajeevHi!
Here is the solution how-to delete partner function
(assume you are in order processing now, for example, in 'ORDER_SAVE' Badi):
1. Call FM 'CRM_ORDER_READ' & get from ET_PARTNER records that you wish to delete.
2. Call FM 'CRM_ORDER_MAINTAIN' passing in IT_PARTNER old mapped lines. For each deleted partner function record fill in CT_INPUT_FIELDS[] 1 line as follows:
REF_HANDLE = <initial value>
REF_GUID, REF_KIND = GUID & kind of corresponding order header/ item
OBJECTNAME = 'PARTNER'
LOGICAL_KEY = concatenated fields values from corresponding IT_PARTNER record:
REF_PARTNER_HANDLE + REF_PARTNER_FCT + REF_PARTNER_NO + REF_NO_TYPE + REF_DISPLAY_TYPE.
CT_INPUT_FIELDS[]-FIELD_NAMES must be filled with one record with value FIELDNAME = 'PARTNER_FCT'.
P.S. You can also use FM ' CRM_PARTNER_TO_DISPLAY_OW' to populate partner fct logical keys.
Good luck!
Best regards,
Alexander Kirillov
Edited by: Alexander Kirillov on Nov 26, 2009 3:55 PM -
Delete the partner function in purchase order
Hi,
I need to delete the partner function from a purchase order, but when I´m trying to delete the partner, this function not is working.
How I can do it?
Thanks!Hi,
when ever you create a PO,the partner functions which are privided in vendor master gets defaulted in PO.You can either delete the functions at vendor level or at the PO header partners tab.
Regards, -
Can we view SH's partner functions in Sales Order?
Hi All,
SP has a different SH and FA is assigned to SH in master record. When we create order we can see all the partner functions of SP but we can't see partner functions of SH. User wants to see which FA is assigned to SH. We can only view partner functions of SH in delivery document. Is it possible to view partner functions of SH in sales order as well? Please suggest the ways to configure this setting.
Thanks!!Hi,
Yes, you can view . Check the Partner determination procedure, include the partner function SH to your partner determination procedure assigned for your sales order.
Regards,
Murali -
DEBMAS deleting existing partner functions
I am facing issue while posting DEBMAS idoc. The existing partner functions are getting deleted. I tried passing MSFGN = 004 and 005. Please let me know if any other segment needs to be populates so that the existing partners are not deleted
Hi All,
I am facing the same issue and while doing Rnd, I got an SAP note 1169980 in which SAP has introduced the code to delete partner functions while creating customers through XD01. The code functionality has been added in LVV02F2Y. If I by pass this logic implemented in this note, I am able to post the idoc and partnering is happening correctly. Please look into it and let me know in case of any breakthrough.
Thanks,
Vivek Gupta -
"Partner Function TAB" missing
Some customers have NO "partner function tab" when you view them using XD03.
This cannot transact VA01. error: "no customer master record exists for sold-to party"
Other customer has partner function tab and it can transact on VA01 with no problem.
What is happening? How can I add-up partner function tab on that screen?
I am sorry. I am very new to this SD.
Thank you.i agree with the solution proposed by phani.prasad
one important thing about assignment of partner determination to customer gr. is sequentiality; that means the sequence in which you configure, create is very important and determines correctness.
e.g.
first create cust. gr. > then assign partner determination > then create CMR
and not -
first create cust. gr. > then create CMR > then assign partner determination > then go to XD02 and try to fix the CMR
and not -
first create cust. gr. > then assign partner determination > then create CMR > then reassign / delete partner function > then go to XD02 and try to fix/change the CMR
this shall lead to errors in master data.
i have experienced this. -
Deleting partner records from CRM order.
Hi Experts ,
I have a requirement where I need to delete partner record from order. For that I am using the function module 'CRM_ORDER_MAINTAIN' . This is the code that I am using but I am unable to delete the record.
REPORT ZSDTESTORDER5.
parameters: guid1 type crmd_orderadm_h-guid.
data: guid2(32) type c.
data: ls_new_partners type CRMT_PARTNER_COM.
data: lt_new_partners type CRMT_PARTNER_COMT.
data: guid type COMT_PARTNERSET_GUID.
data: ls_input_fields type CRMT_INPUT_FIELD.
data: lt_input_fields type CRMT_INPUT_FIELD_TAB.
data: ls_logical_key type CRMT_LOGICAL_KEY.
data: ls_input_field_name type CRMT_INPUT_FIELD_NAMES.
data: IT_OBJECTS_TO_SAVE type CRMT_OBJECT_GUID_TAB.
data: ET_OBJECTS_NOT_SAVED type CRMT_OBJECT_GUID_TAB.
data: ET_OBJECTS_NOT_SAVED_WA type CRMT_OBJECT_GUID.
data: IT_OBJECTS_TO_SAVE_WA type CRMT_OBJECT_GUID.
data: txt1(42) type c.
move guid1 to guid.
CLEAR ls_new_partners.
guid2 = guid1.
ls_new_partners-ref_guid = guid.
ls_new_partners-ref_kind = 'A'. "A
ls_new_partners-kind_of_entry = 'C'.
ls_new_partners-ref_partner_handle = '0000'.
ls_new_partners-partner_fct = '00000004'.
ls_new_partners-ref_partner_fct = '00000004'.
ls_new_partners-partner_no = '9000000112'.
ls_new_partners-ref_partner_no = '9000000112'.
ls_new_partners-display_type = 'BP'.
ls_new_partners-ref_display_type = 'BP'.
ls_new_partners-no_type = 'BP'.
ls_new_partners-MAINPARTNER =''.
ls_new_partners-REF_HANDLE = '0000000000'.
INSERT ls_new_partners INTO TABLE lt_new_partners.
CLEAR ls_input_fields.
REFRESH ls_input_fields-field_names.
ls_input_fields-ref_guid = ls_new_partners-ref_guid.
ls_input_fields-ref_kind = ls_new_partners-ref_kind. "A
ls_input_fields-objectname = 'PARTNER'.
ls_input_fields-ref_handle = '0000000000'.
"move ls_new_partners to ls_logical_key.
"concatenate guid2 ls_new_partners-ref_kind ls_new_partners-kind_of_entry ls_new_partners-ref_partner_handle ls_new_partners-partner_fct ls_new_partners-partner_no ls_new_partners-display_type ls_new_partners-no_type into ls_logical_key.
"concatenate '0000' '00000004' '9000000111' into txt1.
"write 'BPBP' to txt1+0(28) .
"txt1 = '0000000000049000000111 BPBP '.
ls_input_fields-logical_key = '0000000000049000000112 BPBP ' ." '0000' ls_logical_key.
write:/ ls_input_fields-logical_key.
ls_input_field_name-fieldname = 'PARTNER_FCT'.
"ls_input_field_name-changeable = 'X'.
INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
ls_input_field_name-fieldname = 'NO_TYPE'.
INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
ls_input_field_name-fieldname = 'DISPLAY_TYPE'.
INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
ls_input_field_name-fieldname = 'PARTNER_NO'.
INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
ls_input_field_name-fieldname = 'KIND_OF_ENTRY'.
INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
INSERT ls_input_fields INTO TABLE lt_input_fields.
"ENDLOOP.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_partner = lt_new_partners
CHANGING
ct_input_fields = lt_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
"CALL FUNCTION 'CRM_ORDER_INITIALIZE'
EXPORTING
IT_GUIDS_TO_INIT =
IV_INITIALIZE_WHOLE_BUFFER =
IV_INIT_FRAME_LOG =
IV_LOG_HANDLE =
IV_KEEP_LOCK = FALSE
EXCEPTIONS
ERROR_OCCURRED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
commit work.
IT_OBJECTS_TO_SAVE_WA = guid.
append IT_OBJECTS_TO_SAVE_WA to IT_OBJECTS_TO_SAVE.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = IT_OBJECTS_TO_SAVE
IV_UPDATE_TASK_LOCAL = FALSE
IV_SAVE_FRAME_LOG = FALSE
IV_NO_BDOC_SEND = FALSE
IMPORTING
ET_SAVED_OBJECTS = ET_SAVED_OBJECTS
ET_EXCEPTION =
ET_OBJECTS_NOT_SAVED = ET_OBJECTS_NOT_SAVED
CHANGING
CV_LOG_HANDLE =
EXCEPTIONS
DOCUMENT_NOT_SAVED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
commit work.
*loop at ET_OBJECTS_NOT_SAVED into ET_OBJECTS_NOT_SAVED_WA.
write:/ ET_OBJECTS_NOT_SAVED_WA.
*endloop.
Through this code I want to delete the partner number '9000000112' for the partner function '00000004'.
But this is not coming. Please tell me if I am missing out something . This is very urgent.
Thanks & Regards,
Samrat DuttaHi Samrat Dutta,
Looks like this FM can not be used to delete partner functions. Generally other parameter structures like appointment etc will have one field called MODE, there we give whether it is creation,change or delete mode. unfortunately for partner parameter structre CRMT_PARTNER_COM does not have MODE field in it to identify whether we are creating,chaging or deleting. i would recommond you try to find out some other FM to delete partners of Order. will let you know if i get come clue on this
Siva -
Partner function not working when creating PO with ref to PReq
Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
however it works when i create the PO directly ( without the PR ref )
I am using the same material & Plant for both manual PO & PR to PO.
Any idea what could be wrong .
I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
Thanks
DkmurthyHi,
I have also an issue that seems similar to one you are discussing.
When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
Company code is assigned to purchase organization, and so is purchase organization to plant.
Any idea why there is no automatic message determination in the case of the transaction: ME21N
Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
Any input is wellcome.
Maybe you are looking for
-
ITunes Locks up when iPod is connected
this is weird. I've had my iPod for 3 months now and never had any issue with it or iTunes. All of a sudden, this evening, I plug in my 60gb iPod in to my computer. Then iTunes recognizes my iPod. As long as I am in the "Library" screen it is fine. T
-
Hi All, My users want to be able to create a payment proposal, then execute a report of the payment proposal which can be exported nicely to excel. The reason for this is that they have a budget for the payment so they create a proposal, then block
-
I keep getting error code-3000 error at itunes store try again later?
I keep getting error code -3000 error at itunes store try again later what the heck?
-
Split Invoice due to different delivery address.
Hi, I have an issue because I want to create only one invoice from two deliveries also from the same sales order. The system doesnu2019t create only one invoice due to the different delivery address in the Ship to party, the code is the same however
-
Hi all i want to create autorization object to b.p.h(process steps tree) in SOLAR01 transaction how do i find the sap table feild to the business tree? please advise Moshe