on 05-22-2006 3:28 AM
Hi,
Is there a BADI implementation available to over-ride the Pricing in the Opportunity Document.
We are maintaining Prospects without Sales Area Views. Because of this we do not get IPC pricing in the Opportunity transaction. We had created a Z field in Mobile to manage this. Now, we want to replicate this functionality in PCUI.
Thanks,
Ranjan.
Hi Ranjan,
The BAdI CRM_PRICING_BADI would do the trick for you!
If not you can try out the BAdIs CRM_PRICING_I_BADI or
CRM_PRIDOC_COM_BADI.
Let me know if this was useful!
Jash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranjan,
In the BAdI call the function module CRM_ORDERADM_H_READ_OB and pass the IV_REF_GUID from the BAdI to the FM. The return structure (ES_ORDERADM_H_WRK) of FM would contain the transaction type. Note that this FM will return the transaction type even before the transaction is saved to the database. Sample code is as below:
CALL FUNCTION 'CRM_ORDERADM_H_READ_OB'
EXPORTING
IV_GUID = IV_GUID
IMPORTING
ES_ORDERADM_H_WRK = LW_HEADER
EXCEPTIONS
PARAMETER_ERROR = 1
RECORD_NOT_FOUND = 2
AT_LEAST_ONE_RECORD_NOT_FOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Let me know if this helps!
Jash.
User | Count |
---|---|
5 | |
1 | |
1 | |
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.