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

selection screen

$
0
0

in the below program when i enter 'sandeep' in the login it need to call screen 234.but it was nt happening........and it was showing error message

why this  is happening......could any one suggest a solution.

 

REPORT  Z_MODULARIZATION.

tables:vbap.

types:begin of ty_vbap,

         vbeln type vbeln,

         posnr type posnr,

         matnr type matnr,

       end of ty_vbap.

data: wa type ty_vbap,

       it type ty_vbap occurs 0.

 

parameters : login(10) type c default 'sandeep' obligatory.

 

selection-screen begin of screen 234.

          select-options:s_vbeln for vbap-vbeln.

selection-screen end of screen 234.

initialization.

s_vbeln-low = '5000'.

s_vbeln-high = '5050'.

s_vbeln-sign = 'I'.

s_vbeln-option = 'BT'.

append s_vbeln.

 

at selection-screen on login.

   if login = 'sandeep'.

     call selection-screen 234.

     else.

       message 'wrong  login' type 'E'.

   endif.

 

   start-of-selection.

   select vbeln

          posnr

          matnr

     from vbap into table it where vbeln in s_vbeln.

 

   end-of-selection.

  loop at it into wa.

    write:/ wa-vbeln,

             wa-posnr,

             wa-matnr.

   endloop.


Viewing all articles
Browse latest Browse all 8644

Trending Articles



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