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: 

XD02 User exit : GSTIN(TAXNUMBER3) validation - tab switching

Former Member

XD02 User exit : GSTIN(TAXNUMBER3) validation - tab switching

Hello,

I'm using EXIT_SAPMF02D_001 for customer change to display an error message after validating the TAXNUMBER3 (GSTIN, kna1-stcd3)

The error message is displayed but the active tab on the screen changes from 'Control' to 'withholding tax.

Does anyone know why this is happening and how to stop it happening?

This issue can be recreated in SAP by putting this line of code into EXIT_SAPMF02D_001 :

message 'test' type 'E'.

Then change a customer in XD02 and press save.

5 REPLIES 5

former_member598787
Participant
0 Kudos

Hello ,

TrY displaying your message Like

Message 'test' type 'S' display Like 'E'

0 Kudos

Same situation I'm looking for, if you get the solution so please suggest.

former_member751591
Participant
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend you to read this overview Community Q&A, and to take our Q&A tutorial . With these tips you'll be able to prepare questions that draw responses from our members.

The more details you provide, the more likely it is that members will be able to answer your question.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a Picture to your profile you encourage readers to respond.

0 Kudos

if we wrote message 'test' type 'S' display like 'E'.

its directly save. we dont want to save that validation is for show error.

for the same query i'm looking for the solution..

i wrote the logic on BADI - CUSTOMER_ADD_DATA

method : CHECK_ALL_DATA.

joserodriguez2
Discoverer
0 Kudos

Hello,

Did anyone find a solution for this issue?