Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Populating Values in Selection Screen

$
0
0

Hi,

 

in my selection screen after giving the company code value and press enter means other fields in the SS need to be populated automatically. How s it possible.

 

This is my scenario.

AT SELECTION-SCREEN on p_bukrs.

   IF p_bukrs is INITIAL.

     set CURSOR FIELD 'P_BUKRS'.

     MESSAGE e034(ym) WITH 'Enter the Company code'(002).

   else.

     SELECT SINGLE bukrs

       from vbrk

       INTO v_bukrs

       where bukrs eq p_bukrs.

     IF sy-subrc <> 0.

       MESSAGE e034(ym) WITH 'Enter the valid Company code'(003).

     ENDIF.

   ENDIF.


Viewing all articles
Browse latest Browse all 8635

Trending Articles



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