cancel
Showing results for 
Search instead for 
Did you mean: 

USER-EXIT

Former Member
0 Kudos

Hi Experts,

I want to do something before saving the CRM sales order(T-code: CRMD_ORDER ).So can any body let me know the available user exits or BADIs that are available to do some operation before saving the crm sales orde.

Thanks in Advance

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use BADI ORDER_SAVE.

Method check_before_save or prepare.

Regards

Kaushal

Former Member
0 Kudos

Hi Thanks..

can u tell me how did u find this BADI?

Former Member
0 Kudos

to find any badi, go the followint;

goto debug mode.

press save.

put break point at class method cl_exithandler method get_instance

This shall show you all the badis involved or called.

please close this thread if your query is resolved.

Regards

Kaushal

Former Member
0 Kudos

Hi Jak,

You can put a breakpoint in method GET_INSTANCE of Class CL_EXITHANDLER and debug your transaction. The parameter exit_name will give you the BAdI in that transaction.

Refer to the following weblog for more info on finding BAdIs.

/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it

Thanks.

Ajay Kiran

Former Member
0 Kudos

Hi Thanks.

I know how to find BADI for any t-code.

But for T-code CRMD_ORDER,

wheni go system>status>

the program name is SAPLCRM_1O_MANAG_UI.

Actually is a function pool.

Here i could 't find cl_exithandler method or get_instance.

So can you tell me how did u find the BADI for t-code CRMD_ORDER.

Thanks in Advance.

former_member927251
Active Contributor
0 Kudos

Hi Jak,

Goto the tcode SE80. Open the package for CRMD_ORDER, it is CRM_ORDER. You will find all the BADI def. and implemetations for this transaction.

<b>Reward points if it helps.</b>

Regards,

Amit Mishra

Message was edited by: Amit Mishra

Former Member
0 Kudos

Hi,

Thanks.

Points are given.

former_member927251
Active Contributor
0 Kudos

Hi Jak,

<b>Reward points and close the thread if you question has been answered.</b>

Former Member
0 Kudos

Hi,

Thanks,Points are given.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jak,

Use Method CHANGE_BEFORE_UPDATE in BADI ORDER_SAVE to do something before saving the order. For example refer to implemented BADI CRM_BUS20001_UPLOAD in SE19. Hope this helps.

Thanks.

Ajay Kiran