‎2009 Jun 12 10:32 AM
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,
‎2009 Jun 22 3:50 PM
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
‎2009 Jun 22 4:21 PM
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.
‎2009 Jun 23 12:03 PM
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,
‎2014 Oct 10 4:39 PM
‎2014 Oct 10 6:05 PM
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'.