Application Development 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: 

Pop-up message in XD02 leaving active screen and navigating to another screen

former_member209119
Active Participant
0 Kudos

Hi Experts,

I am displaying pop-up message in XD02 for validation of KNA1-NAME4 (General data). I have implemented BTE '00001321' for the same. Problem is after giving pop-up when user clicks on ok button, control is going to 'Sales area data' tab and clearing values of 2 fields (currency & pricing proc). If I maintain them program works fine. But I should not be into sales area data tab after pop-up, it should allow me to be in 'general data' tab to make changes in NAME4 field. Below is code FYR. Please suggest.

if I_kna1-name4 is initial.

message text-001 type 'E' display like 'I'.

Leave to list-processing.

Endif.

Thanks!

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Description of this BTE is 'The event will run when creating and changing a customer after the update.' so its purpose doesn't seem to be check of values, so you tried tricking the system with the LEAVE TO LIST PROCESSING during a dialog?

Did you consider some Customizing (at customer type level) in SPRO Define Account Groups with Screen Layout (Customers)

Otherwise could you consider customer exit EXIT_SAPMF02D_001 (SMOD SAPMF02D) or BTE 00001340 or BAdI CUSTOMER_ADD_DATA->CHECK_ALL_DATA (the last one allowing return of dynpro number)


2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Description of this BTE is 'The event will run when creating and changing a customer after the update.' so its purpose doesn't seem to be check of values, so you tried tricking the system with the LEAVE TO LIST PROCESSING during a dialog?

Did you consider some Customizing (at customer type level) in SPRO Define Account Groups with Screen Layout (Customers)

Otherwise could you consider customer exit EXIT_SAPMF02D_001 (SMOD SAPMF02D) or BTE 00001340 or BAdI CUSTOMER_ADD_DATA->CHECK_ALL_DATA (the last one allowing return of dynpro number)


0 Kudos

Thank you for your quick help. BTE 00001340 has served my purpose.