2013 May 10 11:11 AM
Hi experts,
I have a requirement where I need to change the field value before displaying to screen.
Requirement:
For XD03 Transaction ( for displaying ), I have to prefix the Customer first name with 'C_'. And when I change to change mode and change any data, before saving the data into database I have to remove the prefix 'C_' which I was added.
For this transaction I got 3 BADI's, but I didn't understood when these are used:
CUSTOMER_ADD_DATA_CS.
CUSTOMER_ADD_DATA.
CUSTOMER_ADD_DATA_BI.
I created implementation for CUSTOMER_ADD_DATA BADI and gave breakpoint in all of the methods, but it was not triggered when I execute transaction XD03.
What will be the best way for enhancement of my requirement, using user exit or BADI? Even I want the use of the above 3 BADI's.
Please guide me, I am totally blank.
Hi experts,
I have a requirement where I need to change the field value before displaying to screen.
Requirement:
For XD03 Transaction ( for displaying ), I have to prefix the Customer first name with 'C_'. And when I change to change mode and change any data, before saving the data into database I have to remove the prefix 'C_' which I was added.
For this transaction I got 3 BADI's, but I didn't understood when these are used:
CUSTOMER_ADD_DATA_CS.
CUSTOMER_ADD_DATA.
CUSTOMER_ADD_DATA_BI.
I created implementation for CUSTOMER_ADD_DATA BADI and gave breakpoint in all of the methods, but it was not triggered when I execute transaction XD03.
What will be the best way for enhancement of my requirement, using user exit or BADI? Even I want the use of the above 3 BADI's.
Please guide me, I am totally blank.
2013 May 10 11:50 AM
Hi,
You have to create an implementation first and activate to use it. Rest see which method is suitable for your case. The methods are visible in interface tab of the BADI.
Cheers,
Arindam
2013 May 10 12:06 PM
Hello Satish,
The above mentioned BADI's wont be of use because they don't come to picture during the execution of XD03, they are used for custom fields. To my opinion you will have to find a position create an Implicit exit during the screen display of Customer data.
IMPLICIT EXIT is the only solution as of now. I will keep you posted as soon as i come to know something about this.
Regards
Suresh Nair
2013 May 10 12:17 PM
Hi,
You can try this way:
In the PAI of the standard screen you can create an implicit enhancement and in that you can cehck if it is tarnsaction is XD03 and sy-ucomm not equal to Change button user action. If so you can append C_ to the value RF02D-KUNNR.
Thanks & Regards,
Swarna
2013 May 10 12:48 PM
Hi all,
Thanks for all the replies. I'll try out with our suggestions.