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

CUSTOMER_ADD_DATA

Former Member
0 Likes
1,205

Hi all,

I added a specific screen to FD01 by using the BADI CUSTOMER_ADD_DATA.

This specific screen contain fields which are in a specific Table.

Now when i save FD01, the standard normaly display message error of a obligatory field which are in standard Table.

I want when i save, the FD01 display message error of obligatory field wich are in my specific screen.

For this i used a method CHECK_ALL_DATA in a BADI CUSTOMER_ADD_DATA. And when i save in the transaction the message error is played but the screen To Be Navigated To don't work evenif i put in CHECK_ALL_DATA :

e_dynnr = Number of Dynnpro

e_scrgr = Name of Bouton

e_fcode = Code of Tab

Best Regards,

5 REPLIES 5
Read only

Former Member
0 Likes
1,046

Hello Hamza,

if ever you have been successful in resolving this issue, could you please provide me wiht your help?

i am getting the same issue.

kind regards,

devi

Read only

Former Member
0 Likes
1,046

Hi,

The screen navigation can be achieved by implementing the BADI CUSTOMER_ADD_DATA_CS.

This BADI is filter dependent and assign the custom screen group created while implemting the BADI.

Inorder to determine the screen for the tab created make use of method GET_TAXI_SCREEN.

You can validate this against the screen group using parameter FLT_VAL and against function code using parameter I_TAXI_FCODE.

Assign the screen name using parameter E_SCREEN and any further validation can be done by assigning a custom program to the screen using paramter E_PROGRAM.

Please revert for any further clarifications.

Regards,

Babul.

Read only

Former Member
0 Likes
1,046

Hi,

thanks for your answer.

Your explication is for displaying the specific screen when the user click to the specific button.

My question is how to navigate from a standard screen to another screen specific when i have error in a specific screen while i save.

Regards,

Read only

0 Likes
1,046

I have the same problem, any idea ?

Regards.

Read only

0 Likes
1,046

YES resolved !!

BADI CUSTOMER_ADD_DATA~CHECK_ALL_DATA Gives us the ability to display a message on a screen of our choice

Exemple :

      e_dynnr = '0301'.

       e_msgid = 'Z2'.

       e_msgno = '174'.

       e_msgv1 = 'text1'.

       e_msgv2 = 'text2'.