Pass BP number through partner function in Lead
HI,
We are creating lead from BP screen. when we click the new button in the Lead Assignment block a list of lead types appear whrn i select one type the lead opens with the BP as sales prospect in the lead.
We have a requirement to validated the lead. We have a source field in the bp. If the Soucrce is 1 then the lead type 1 should be created and if the source is 2 then the lead type 2 should be created.
We tried to validate but we are just able to open a new lead type 1 screen for BP source 1 but the sales prospect is not picking automatically. can any one suggest any possible solution.
If any one worked in the lead validation based on a field in BP pls help us.
With Regards,
Selvam T
Closed. Used FM
Similar Messages
-
Partner Number for Partner function in Vendor master definition
Dear Gurus,
I need to define a new vendor through Tcode: Xk01 / Mk01, but while defining particular screen know an partner functions, in this its asking partner number in lookup where no data ia avalibale to select and subsequently not able to save the vendor.
Please help.
Regards,
Prashanth PaiHi,
Before vendor creation, you have following configuration steps:
1. Create Vendor Account Group.OBD3
2. Maintain Number Ranges from Vendor account Group:XKN1,
3.Assignment of Number ranges to Account Group,OBAS
4.Partner Function: SPRO->MM->Purcahsing->Partner Determination-> partner roles->Permissible partner role sper account group
5.Partner Schema:
SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Define partner Schema
6.Assgin partner schema to accont Group
SPRO->MM->Purcahsing->Partner Determination->Partner setting in Vendor master record-> Assgin partner schema to account Group.
& then after above steps, you can create vendor with XK01 t.code by entering company Code,Vendor account group and purchase organisation.
Note:what is partner role:Generally during in your business transaction process we are specifying the roles involved by vendor i.e..... vendor act as a Goods Suplier, Ordering Address, Invoice Processing. Here all these functional activities by vendor we termed as partner functions (GS,IP, OA) in partner determination Process. SAP has standard Partner role and its 2 characters.
Example: A company supplying goods/material having plant in Hyderabad, south India branch office is in bangalore and head office is in Delhi.So hyderabad plant is your"GS",banglaore office is your"OA" and Delhi office is "IP"where you pay to Vendor. for the procurred material/goods.
Regards,
Biju K -
Customer number and partner functions
Hi
Is there any way to get the details if we give customer number as input and ship to party , bill to party and payer will get as out put whose are diffrent to the customer no.
is it possible through SE16 or any standard report for this requirement( there is one table KNVP but it gets all the sp,sh,bp,py details but how to get teh report if they different to customer no)
please suggest any body
regardsVenkat,
Correct me if my understanding is wrong?
You want to list the different partner function for the customer only when these are different than the input customer?
for example : If one customer SP= A, SH = B, PY= C, BP = D. Then this customer should come into list right?
if this is the case, you can easily achieve this by SE16N.
Go to SE16N,
enter KNVP table, Press enter
You can see 2 customer field : KUNNR and KUNN2,
in KUNNR customer enter your INPUT customer.
In KUNN2 : First click on Options ( second column , O), Select Not Equal to : and enter the same value of the customer and execute...
But this will only work for One by One customer....
The other option is Go with Z developemnet.
Thanks,
Raja -
Multiple Partners with Same partner Functions in LEAD
HI Experts,
we have maintained in partner determination procedure -> partner functions in procdure -Channel Partner-> Maximum as 1 . it means that system willl allow only one channel partner to be determined or only one channel partner will be allowed in a txn.
However when we create a Lead, system is allowing to add multiple channel partners under Parties involved AB with error message which is fine, but it allows the user to SAVE it which we dont wont .
any thoughts.
thanks
SmitaDear Raju,
You may have different Bill-to-Parties and Payers, in a single Sales Order, at Item level (for different Line-Items);
BUT
You may not have multiple Bill-to-Parties and Payers, for a single line-item, for a Particular Sales Order Line-Item.
Best Regards,
Amit,
Note: Haven't experienced, but might be achieved the requirement with Customization (not sure). -
Limit the number of partner functions for a reltionship category
Hello All,
We have a requirement,where we have to limit the number of business partners relationship to two.For example we have to limit the number of Account Executives for a customer to two.The Account Executive can be AE or Local Account Owner .The Local Account Owner has to be limited to one .
I know how to limit the number of Account Executives to two.But I am not sure how to limit the Local Account Owner to one.
Can anyone please guide me .
Thanks,
Kitcha.Hello All,
We have a requirement,where we have to limit the number of business partners relationship to two.For example we have to limit the number of Account Executives for a customer to two.The Account Executive can be AE or Local Account Owner .The Local Account Owner has to be limited to one .
I know how to limit the number of Account Executives to two.But I am not sure how to limit the Local Account Owner to one.
Can anyone please guide me .
Thanks,
Kitcha. -
Partner function update using CRM_PARTNER_MAINTAIN_SINGLE_OW
Hi Experts,
Can some one pls help me with some working code/sample to update a partner function value in CRM Order. I tried the below code but it doesnt seems to be working.
Appreciate your help on this.
call function 'CRM_ORDER_READ'
exporting
it_header_guid = lt_guid
iv_mode = 'C'
importing
et_orderadm_h = it_orderadm_h
et_sales = it_sales
et_orderadm_i = it_orderadm_i
et_orgman = it_orgman
et_shipping = it_shipping
et_partner = it_partner
exceptions
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
others = 7.
if sy-subrc <> 0.
Implement suitable error handling here
endif.
clear wa_orderadm_h.
read table it_orderadm_h into wa_orderadm_h index 1.
lv_ref_guid = it_orderadm_h-guid.
call function 'CRM_PARTNER_GET_CONTROL_INF_OW'
exporting
iv_ref_guid = wa_orderadm_h-guid
iv_ref_kind = 'A'
importing
es_partner_control = ls_partner_control
exceptions
determination_failed = 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.
move-corresponding ls_partner_control to es_partner_control.
Common fields for both create and change *****
import lv_qplant to lv_werks2 from memory id 'QUOTA_PLANT'.
select single partner_no
from crmm_locmap
into w_partner
where ext_locno = lv_werks2. "wa_quota_so_items_return-werks2.
Partner_com parameter
ls_partner_com-ref_guid = wa_orderadm_h-guid.
ls_partner_com-ref_kind = 'A'.
ls_partner_com-partner_no = w_partner.
ls_partner_com-display_type = 'BP'.
ls_partner_com-no_type = 'BP'.
Find whether create or change is required
read table gt_partner into wa_partner with key partner_fct = '00000035' ref_kind ='A'.
if sy-subrc eq 0.
ls_partner_com-kind_of_entry = 'C'.
ls_partner_com-partner_fct = '00000035'.
ls_ip_fields-fieldname = 'DISPLAY_TYPE'.
append ls_ip_fields to lt_ip_fields.
ls_ip_fields-fieldname = 'KIND_OF_ENTRY'.
append ls_ip_fields to lt_ip_fields.
ls_ip_fields-fieldname = 'NO_TYPE'.
append ls_ip_fields to lt_ip_fields.
ls_ip_fields-fieldname = 'PARTNER_FCT'.
append ls_ip_fields to lt_ip_fields.
ls_ip_fields-fieldname = 'PARTNER_NO'.
append ls_ip_fields to lt_ip_fields.
call function 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
exporting
iv_ref_guid = wa_orderadm_h-guid
iv_ref_kind = 'A'
is_partner_com = ls_partner_com
iv_populate_mode = 'X'
iv_check_partner_only = ' '
is_partner_control = es_partner_control
iv_external_call = 'X'
changing
ct_input_field_names = lt_ip_fields
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.Reply to an old post but still can be helpful to someone in need
*& Report ZUPDATE_TRANSACTION_PF
REPORT zupdate_transaction_pf.
*======================================================================*
* Variable declaration for ALV *
*======================================================================*
TYPE-POOLS: slis. " Type pool required for ALV
TYPES: BEGIN OF gs_output,
extid TYPE ib_extid,
prodid TYPE comt_product_id,
msg_type TYPE bapi_mtype,
message TYPE bapi_msg,
layout TYPE slis_t_specialcol_alv,
END OF gs_output.
DATA: gt_output TYPE TABLE OF gs_output,
gs_output TYPE gs_output,
gt_fieldcat TYPE slis_t_fieldcat_alv,
gt_color_green TYPE slis_t_specialcol_alv,
gt_color_red TYPE slis_t_specialcol_alv,
gt_color_yellow TYPE slis_t_specialcol_alv,
gt_layout TYPE slis_layout_alv,
lt_header_guid TYPE crmt_object_guid_tab,
ls_header_guid TYPE crmt_object_guid,
lt_partner TYPE crmt_partner_external_wrkt,
ls_partner TYPE crmt_partner_external_wrk,
lt_guid TYPE crmt_object_guid_tab,
lt_guid_single TYPE crmt_object_guid_tab,
lt_req_obj TYPE crmt_object_name_tab,
ls_req_obj TYPE crmt_object_name,
lt_partner_update TYPE crmt_partner_comt,
lt_partner_com TYPE crmt_partner_comt,
ls_partner_com TYPE crmt_partner_com,
lt_input_fields TYPE crmt_input_field_names_tab,
ls_input_fields TYPE crmt_input_field_names,
lv_partner_fct TYPE crmt_partner_fct,
lv_partner_no TYPE bu_partner,
lv_trans_no TYPE crmt_object_id_db,
lt_return TYPE STANDARD TABLE OF ddshretval,
ls_return LIKE LINE OF lt_return,
lv_guid TYPE crmt_object_guid.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE block1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (36) forpf.
PARAMETERS: p_pf TYPE comt_partner_fct OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (36) frombp.
PARAMETERS: p_frombp TYPE but000-partner OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (36) tobp.
PARAMETERS: p_tobp TYPE but000-partner OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (36) fortrans.
SELECT-OPTIONS: p_trans FOR lv_trans_no MATCHCODE OBJECT crm_order_object_id.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE block2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (36) fortest.
PARAMETERS: p_test AS CHECKBOX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
INITIALIZATION.
fortrans = 'Transaction Number'.
forpf = 'Partner Function'.
frombp = 'From Business Partner'.
tobp = 'To Business Partner'.
fortest = 'Test Run, Check Only'.
*======================================================================*
* AT SELECTION-SCREEN *
*======================================================================*
AT SELECTION-SCREEN.
FIELD-SYMBOLS:
<sscrfields> TYPE sscrfields.
DATA:
lv_answer TYPE char1,
lt_options TYPE TABLE OF rfc_db_opt,
lt_fields TYPE TABLE OF rfc_db_fld,
lt_func_det TYPE TABLE OF tab512.
CHECK sy-ucomm EQ 'ONLI'.
AT SELECTION-SCREEN ON p_trans.
CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm EQ 'SJOB'.
IF p_trans IS INITIAL.
MESSAGE e398(00) WITH 'Please enter the transaction numbers'.
ENDIF.
AT SELECTION-SCREEN ON p_pf.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pf.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'CRMC_PARTNER_FT'
fieldname = 'PARTNER_FCT'
TABLES
return_tab = lt_return[]
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF lt_return[] IS NOT INITIAL.
READ TABLE lt_return[] INTO ls_return INDEX 1.
p_pf = ls_return-fieldval.
ENDIF.
CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm EQ 'SJOB'.
IF p_pf IS INITIAL.
MESSAGE e398(00) WITH 'Please enter the partner function'.
ENDIF.
AT SELECTION-SCREEN ON p_frombp.
CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm EQ 'SJOB'.
IF p_frombp IS INITIAL.
MESSAGE e398(00) WITH 'Please enter the business partner id to be changed'.
ENDIF.
AT SELECTION-SCREEN ON p_tobp.
CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm EQ 'SJOB'.
IF p_tobp IS INITIAL.
MESSAGE e398(00) WITH 'Please enter the new business partner id'.
ENDIF.
*======================================================================*
* START-OF-SELECTION *
*======================================================================*
START-OF-SELECTION.
PERFORM init_alv_col_color.
PERFORM update_transactions.
END-OF-SELECTION.
PERFORM create_report.
*& Form create_fieldcat
* text
FORM create_fieldcat.
PERFORM add_fld USING: 'EXTID' 'Order ID' '20' 1,
'PRODID' 'Product ID' '20' 2,
'MSG_TYPE' 'MSG Type' '8' 9,
'MESSAGE' 'Message Description' '100' 10.
ENDFORM. "CREATE_FIELDCAT
*& Form add_fld
* text
* -->P_FIELDNAME text
* -->P_SELTEXT_M text
* -->P_OUTPUTLEN text
* -->P_COL_POS text
FORM add_fld USING p_fieldname
p_seltext_m
p_outputlen
p_col_pos.
DATA: ls_fieldcat TYPE slis_fieldcat_alv.
CLEAR ls_fieldcat.
ls_fieldcat-fieldname = p_fieldname.
ls_fieldcat-ref_fieldname = p_fieldname.
ls_fieldcat-seltext_m = p_seltext_m.
ls_fieldcat-outputlen = p_outputlen.
ls_fieldcat-col_pos = p_col_pos.
APPEND ls_fieldcat TO gt_fieldcat.
ENDFORM. "add_fld
*& Form create_report
* text
FORM create_report.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
text = 'Creating output ...'.
* Get the field headers into an internal table
PERFORM create_fieldcat.
gt_layout-coltab_fieldname = 'LAYOUT'.
gt_layout-colwidth_optimize = 'X'.
gt_layout-zebra = ' '.
* Call ABAP/4 Grid Viewer
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_top_of_page = 'TOP-OF-PAGE'
i_callback_program = sy-repid
it_fieldcat = gt_fieldcat[]
is_layout = gt_layout
TABLES
t_outtab = gt_output " it_sort = gt_sort
EXCEPTIONS
program_error = 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.
ENDFORM. " create_report
*& Form init_alv_col_color
* text
FORM init_alv_col_color.
* Red ALV column
PERFORM add_field_color USING gt_color_red 'MSG_TYPE' '6' '1' '1'.
PERFORM add_field_color USING gt_color_red 'MESSAGE' '6' '1' '1'.
* Green ALV column
PERFORM add_field_color USING gt_color_green 'MSG_TYPE' '5' '1' '1'.
PERFORM add_field_color USING gt_color_green 'MESSAGE' '5' '1' '1'.
* Yellow ALV column
PERFORM add_field_color USING gt_color_yellow 'MSG_TYPE' '3' '1' '1'.
PERFORM add_field_color USING gt_color_yellow 'MESSAGE' '3' '1' '1'.
ENDFORM. "init_alv_col_color
*& Form add_field_color
* text
* -->PT_COLOR text
* -->FIELDNAME text
* -->COL text
* -->INT text
* -->INV text
FORM add_field_color USING pt_color TYPE slis_t_specialcol_alv
fieldname col int inv.
DATA: ls_color TYPE slis_specialcol_alv.
ls_color-fieldname = fieldname.
ls_color-color-col = col.
ls_color-color-int = int.
ls_color-color-inv = inv.
APPEND ls_color TO pt_color.
ENDFORM. "add_field_color
* Form TOP-OF-PAGE *
* ALV Report Header *
FORM top-of-page.
*ALV Header declarations
DATA: t_header TYPE slis_t_listheader,
wa_header TYPE slis_listheader,
t_line LIKE wa_header-info,
ld_lines TYPE i,
ld_linesc(10) TYPE c.
* Title
wa_header-typ = 'H'.
wa_header-info = 'Data Migration'.
APPEND wa_header TO t_header.
CLEAR wa_header.
* Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
APPEND wa_header TO t_header.
CLEAR: wa_header.
* Time
wa_header-typ = 'S'.
wa_header-key = 'Time: '.
CONCATENATE sy-uzeit(2) ':'
sy-uzeit+2(2) ':'
sy-uzeit+4(2) INTO wa_header-info. "time
APPEND wa_header TO t_header.
CLEAR: wa_header.
* File Path
wa_header-typ = 'S'.
wa_header-key = 'File Path: '.
wa_header-info = ''.
APPEND wa_header TO t_header.
CLEAR: wa_header.
* Test Mode
wa_header-typ = 'S'.
wa_header-key = 'Test Mode: '.
IF p_test = 'X'.
wa_header-info = 'Yes'.
ENDIF.
APPEND wa_header TO t_header.
CLEAR: wa_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
ENDFORM. "top-of-page
*& Form UPDATE_TRANSACTIONS
* text
* --> p1 text
* <-- p2 text
FORM update_transactions .
SELECT guid INTO TABLE lt_header_guid FROM crmd_orderadm_h WHERE object_id IN p_trans.
IF sy-subrc EQ 0.
LOOP AT lt_header_guid INTO ls_header_guid.
CLEAR: lt_guid, lt_req_obj, lt_partner, lt_input_fields.
ls_req_obj = 'PARTNER'.
APPEND ls_req_obj TO lt_req_obj.
APPEND ls_header_guid TO lt_guid.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_guid
it_requested_objects = lt_req_obj
IMPORTING
et_partner = lt_partner
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
OTHERS = 7.
lv_partner_fct = p_pf.
lv_partner_no = p_frombp.
SHIFT p_frombp LEFT DELETING LEADING '0'.
READ TABLE lt_partner INTO ls_partner WITH KEY partner_fct = p_pf partner_no = p_frombp.
IF sy-subrc EQ 0.
LOOP AT lt_partner INTO ls_partner WHERE partner_fct = p_pf AND partner_no = p_frombp.
lv_partner_no = p_tobp.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_partner_no
IMPORTING
output = lv_partner_no.
REFRESH lt_input_fields.
CLEAR ls_partner_com.
ls_partner_com-ref_guid = ls_partner-ref_guid.
ls_partner_com-ref_kind = ls_partner-ref_kind.
ls_partner_com-ref_partner_handle = ls_partner-ref_partner_handle.
ls_partner_com-kind_of_entry = 'C'.
ls_partner_com-partner_fct = ls_partner-partner_fct.
ls_partner_com-partner_no = lv_partner_no.
ls_partner_com-display_type = 'BP'.
ls_partner_com-no_type = 'BP'.
ls_partner_com-ref_partner_no = ls_partner-ref_partner_no.
ls_partner_com-ref_partner_fct = ls_partner-ref_partner_fct.
ls_partner_com-ref_no_type -
Sales employee and partner function.
Hello ,
We have reporting requirement at our client as Sales by Sales employee . I can see the standard charactierstic " 0SALES_EMPL" in our Sales overview cube which is mapped to PVRTNR at R/3 side .
But at our client Sales employee is maintained through partner function and we have lot of differnet parther function to update the Sales Rep on SO and Billing document . So basically Partner function is ER , the Personal number is getting updated.
So with Standard field of PVRTNR - Sales empl doesn't get used in my scenario .
Could you please let me know , now how can I update this Sales Rep on my Sales Order header or On Billing document ?
Let me know if my question is not clear .
RegardsThanks ..That's a nice approach ..but one more ..
If there are more than one Sales Rep assigned to Sales Order , then how to manage .
As i said , we have mutiple partner function ...Let me put a table , as it is functional information which I am not getting correctly .
Hope this will help you to understand .
May assign to Ship to Description
BP Bill-to
PY Payer
DP Depot
ER Telesales Specialist
Y0 Area Specialists
Y1 Primary Account Manager
Y2 Bulk Specialist
Y3 Safety Specialist
Y4 Spec Gas Specialist
Y5 Medical Specialist
Y6 Construction Specialist
Y7 Specialty Products Specialist
Y8 Automation Specialist
May assign to Y0 Description
Z2 Bulk Specialist
Z3 Safety Specialist
Z4 Spec Gas Specialist
Z5 Medical Specialist
Z6 Construction Specialist
Z7 Specialty Products Specialist
Z8 Automation Specialist
Note 1: "Y0 - Area Specialists" will be assigned to ship-to but will be set up using te ZINT account group as the Cash Account for that branch
When the partner function is Y* , Sales Rep will be assigned to Kunn2 in KNVP table .
Please help me , how can we manage .
Regards -
CRM 4.0 and Partner Functions?
As I understand it, they believe that there is a limitation on the number of partner functions that can be replicated
between CRM 4.0 and ERP?
And the limitation is a total of 999?
But what if more than 999 are needed?
I guess that these are created as follows:
Transaction SPRO
u2013 CRM
u2013 Basic Functions
u2013 Partner Processing
u2013 Data Transfer
u2013 Distribution of Partner Functions from CRM into R/3
and the table involved is CRMC_PARTNER_2R3
Is there a workaround?
Is there a greater number of partner functions allowed in newer CRM releases?The limitation is the standard system design in ERP, not CRM.
There is a limit of 999 entries due to a field length of 3 characters. Please see table KNVP - the field PARZA is the Partner Counter, and you can see in the table that it is defined as only 3 characters, hence the 999 limitation.
Here are 2 options to consider to demonstrate that there are possible options:
- A ship-to partner does not need to be assigned to a sold-to in order to be used on a sales order. As long as the ship-to has been
set up (using transaction XD01 and account group 0002) you can use any ship-to in an order.Break up the sold-to by regions or some other means so that you can accommodate all of the ship-to's.
- You could possibly make a work round by changing the domain PARZA to 4 digits , but this would be a work round and would require a full investigation on the feasibility of this change. Unfortunately this would have to be on a Consultancy basis, see SAP Note 83020. Also SAP Note 170183 would apply. -
hi sap gurus,
i would like to partner function wise reports.For ex i am creating Vendor with three type of partner function .
VN Vendor Partner schema: purchasing organization level
Z1 Organizer Partner schema at vendor sub-range level
Z3 owner Partner schema: plant level.
i would like to all transaction reports through partner function wiseCreate a Query using tables
LFA1--> Main vendor
LFB1--> Company code vendor
LFM1 --> Purchase vendor details
WYT3--> Partner functions
You might use LFM1 & WYT3 for this purpose as link is between purchase vendor and Partner function you will get there.
Hope this helps. -
Passing Partner function and Partner number in Action container editor
Hi all,
We have a requirement to create a follow up transaction with different business units as partner functions depending on some logic. I tried defining one action using copy_document method and was able to pass the container values of partner function (CRMT_PARTNER_FCT) and partner number (CRMT_PARTNER_NO) along with transaction type (process_type). However, still the follow up transaction does not contain the relevant partner function and value.
Please let me know is there a way I can default differnt partner function and partner number while creating a transaction based on my actions.
Thanks and Regards,
Varun GuptaThanks maggie, I know couple of options using code like the one you mentioned in copy badi. There is another BADI only for partner function. I can activate it in the access sequence and can do my code over there. However, in actions (copy_document specifically) we can pass parameter like transaction type, activity category etc. SAP standard implementation automatically takes those parameter into consideration and create subsequent transaction with right transaction type and activity category. On similar basis I have also tried sending partner function and partner number without any success. So I thought of raising this and need all CRM experts advice on it.
-
Partner function for customer through IDOC
Hi All,
I have a requirement in which I need to create the customer master through IDOC. I am using DEBMAS basic type for that. In its functionality, I need to assign different partner functions to it.
When I create customer without giving any partner details, 4 entries get created by default with partner functions as BP, SP, PY, SH and KUNN2 value as INTERNAL or the same customer number which is getting created. But I want that the customer number provided by me should be assigned as partner function. Is there any way to change the default entry which is getting created so that I can replace the INTERNAL customer number with the one provided by me.
I identified the segment as E1KNVPM in it at hierarchy level 3. I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field. But I am getting error Customer INTERNAL already exists for function <Partner function>.
Am I missing something. Any msgfn or any other input.
Please help me on this.
Thanks
NatashaHi,
Im facing similar problem
Im trying to create the customer master through IDOC.
I am using DEBMAS06 Idoc.
I need to assign two partner functions to it.
When I create a customer with giving two partner details,
6 entries get created by default with partner functions as BP, RP, EM, SH and KUNN2 value as INTERNAL,
two others entries (ZC,ZV) are created because this partner roles i defined to be created but KUNN2 hasnt assined value and request to fill it.
I identified the segment as E1KNVPM in it at hierarchy level 3.
I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field.
But I am getting error when "Customer INTERNAL already exists for function <Partner function>".
Am I missing something. Any msgfn or any other input.
How can avoid this error?
Please help me on this.
Thanks
Armand -
Partner Function for Vendor through IDOC
Hi All,
I have a requirement in which I need to create the vendor master through IDOC. I am using CREMAS basic type for that. In its functionality, I need to assign different partner functons to it. I identified the segment as E1WYT3M in it at hierarchy level 3. I passed the partner function like OA or PI in the PARVW field of it and provided the vendor number which I want to assign as partner function in the LIFN2 field.
Vendor is getting created but Partnering details are not getting updated when I am seeing in the XK03 Txn. Am I missing something.
Please help me on this.
Thanks
NatashaHi All,
Moving further, I got another issue in changing the partner details of a vendor. Changing includes assigning another partner function to an existing vendor or deleting any already assigned partner function. I am doing this through IDOC. I am getting an error message 'Deletion of mandatory partner function 'VN' is not possible.'
I tried changing the msgfn also.
How should I proceed here.
Thanks
Natasha Garg -
Bapi_po_create1 - partner function and partner number problem
hello.
let me just first state that on ecc5 this problem doesn't exist.
we are in the middle of an ECC6 upgrade right now and i have a problem creating a PO through the BAPI on the ECC6 upgrade system, needless to say that all customization was copied from ECC5.
when trying to create the order i get an error MSG ME 350, "please enter partner number" .
i didn't get the error in ECC5. customization hasn't changed in ECC6. I've checked Ecc6 customization on MM->purchasing->partner determination. entering a partner function isn't mandatory and we've never entered a partner function before in the PO header besides the vendor number.
please help.
thanks,
Oren.
Edited by: Oren Wolk on May 2, 2010 11:17 AMhello.
the note suggested doesn't help my case.
can someone please suggest a different solution?
maybe in ECC6 the partner function is set by default to some value? and therefore expects a partner function?
thanks,
Oren. -
Creation of new partner function through /AFS/BAPI_SALESORD_CHANGE
Hi all,
Can anybody help me to create partner functions through the bapi /AFS/BAPI_SALESORD_CHANGE ??
In the selection-screen we will pass the vbeln, PARVW and kunnr values ??
Any kind of little help is very much appreciated.thats all you need to pass to change the partner type like bill to or ship to.
You dont create partner functions from this bapi. This is to change the sales order and the details in sales order. Creating partner function comes under SPRO.
Ask you sales functional people to create new partner function -
Problem in passing customer Partner Functions from ECC to CRM
Hi to all, I am facing the following error in the crm system
1.Partner 0000080059(DCEAB7AC31DA22F1B7CE001372368B21): the following errors occurred
Message no. BUPA_MW_EXCHANGE010
2.Status exists already for this business partner
Message no. CRM_BUPA_FRG0050012
3.Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN.
Message no. SMW3018
My scenario in ECC is: I use a custom BTE copy of VMD_VENDOR_BTE_1421_IMPL which is executed when I save a new vendor. In this BTE I use the FM SD_CUSTOMER_MAINTAIN_ALL to create a customer with the same attributes as the vendor, because only customer informations (not vendor informations) pass as Business Partners in CRM. The problem is that when I pass only master datas to the FM SD_CUSTOMER_MAINTAIN_ALL, the customer passes to CRM as a Business Partner with the same number, but when I pass also Partner Functions to FM SD_CUSTOMER_MAINTAIN_ALL, no Business Partner is created in CRM, and the error I get is that up.
What can I do?
Thank you very much,
AntonioHola Antonio,
I have a same problem.
You can tell me the solution.
Please.
Maybe you are looking for
-
How to find out all available disks on RHEL?
Hello, I notice that all sd device files are created under /dev/directory in advance.But I want to discover all actual available hard disk on my system and their status.I know I can get those information by using ioscan -fnCdisk on HP-UX and format o
-
No "purchased by" or "account name" in Get Info display
The first song I purchased from the iTunes store works fine. When I use "Get Info" to see the details there appears to be corrent information for the "Purchased By" and "Account Name" fields. Every other song I have purchased since then does not disp
-
Struts, log4j, commons-logging problems in 9.0.4 too??
ok... I have a J2EE project that uses struts, log4j, a couple ejbs. I can successfully deploy and run on JBoss. However, our client insists that we use the 10g App Server, so I tried to deploy on 10g v10.1.2 (after making the appropriate changes to t
-
TA26589 iphone 4s sort order for number in contacts
iphone 4s How to sort order for numbers in contacts ? Like First - mobile Second - office Third - work Four - home It differs as you enter while as you enter / update. Can any one guide me. Thanks.
-
Why does my mail not start up?
Hi - having a real problem...I didn't use my mac yesterday and then today when I went to turn it on the keyboard was lit up but the screen didn't light up so I turned it off and on..ooops! Now everything works ok but when I go to start up mail a box