on 05-27-2008 7:23 AM
Hi Experts,
I am trying to exchange order reason between CRM and ECC. All the necessary customizing has been done but the order reason are still not exchange.
Any clue?
thanks!
Hi Michele,
Please refer the SAP Notes 520742 and 678281, these will be useful to you
regards
Srikantan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Maintain code entries for catalogue type A1 (activity reason).
Don't forget to maintain business category BUS2000126 (business activity) to your sales order in CRM.
Then maintain the mapping between the code for activity reason in CRM and the order reason in R/3, in CRMV_CODEMAPMSA view (in CRM side). Any problems look note 678281.
if not try
create an implementation for the BADI CRM_DATAEXCHG_BADI and then using the Method CRM_DATAEXCH_AFTER_BAPI_FILL
This is what I did:
method if_ex_crm_dataexchg_badi~crm_dataexch_after_bapi_fi ll.
constants: gc_bapiupdate type bapiupdate value 'X'.
data: ls_bapischdl
type bapischdl.
data: zcheck type flag.
CALL FUNCTION 'Z_SELECT_BASEL'
EXPORTING
AUART = cs_bapisdhd1-doc_type
IMPORTING
FLAG = zcheck.
if zcheck = 'X'.
cs_bapisdhd1-ord_reason = 'ZGF'.
cs_bapisdhd1x-ord_reason = gc_bapiupdate.
endif.
endmethod. "IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_ FILL
The Fucntion Z_SELECT_BASEL
Attributes :
Function group
Z_SELECT
Z_select_basel
Short text
Z_select_basel
Package
ZCRM
Program name
SAPLZ_SELECT
INCLUDE name
LZ_SELECTU01
Import:
AUART TYPE CRMT_PROCESS_TYPE
Export:
FLAG
TYPE
FLAG
Source Code:
FUNCTION Z_SELECT_BASEL
Regards
Manohar
Edited by: Manohar R on May 27, 2008 9:01 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Copy control will not copy the reasons for you, you need to use the BAdi for that
'CRM_COPY_BADI'
sorry this is relating to only in crm follow up transactions
Regards
Manohar
Edited by: Manohar R on May 27, 2008 8:41 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.