Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3167

Fields were getting cleared during front level screen validation using Enhancement

$
0
0

Hi All,

 

My requirement is to set simple front level screen validation to the TCode: F-28.

The Following are the steps that I've Done.

 

1. Front Level Validation on BKPF-BLDAT (Date) and BKPF-BLART (Doc. Type).

 

sdn1.JPG

 

2. As both the fields are at two different CHAIN and ENDCHAIN, I've done the validation at common point as Implicit Enhancement.

 

CODE1.JPG

 

 

sdn2.JPG

 

3. After pressing 'ENTER', as per the code, Message Type 'W' Display Like 'E' and Leave To Screen 'FBZ1(F-28)'. It went to the Screen F-28, but the fields were cleared at PBO.

 

sdn3.JPG

 

Kindly let me know where I've went wrong during the process. Let me know how to restrict clear.

 

4. If I going for the below approach, using LOOP AT SCREEN and MODIFY SCREEN. I'm getting the input field in Enable Mode so that I can give the correct input. But even though I'm giving new and correct input, its taking the previous value only.

 

CODE2.JPG

 

Kindly let me the correct approach to validate front level screen.

 

With Regards,

Sudhir.

 


Viewing all articles
Browse latest Browse all 3167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>