Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XD Transaction

Former Member
0 Likes
1,660

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.

4 REPLIES 4
Read only

arindam_m
Active Contributor
0 Likes
1,345

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

Read only

former_member15255
Active Participant
0 Likes
1,345

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

Read only

former_member217544
Active Contributor
0 Likes
1,345

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

Read only

Former Member
0 Likes
1,345

Hi all,

Thanks for all the replies. I'll try out with our suggestions.