2018 Jul 03 6:07 AM
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!
2018 Jul 03 8:34 AM
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)
2018 Jul 03 8:34 AM
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)
2018 Jul 03 10:16 AM
Thank you for your quick help. BTE 00001340 has served my purpose.