Custom tab in Delivery (VL01N) - Header / Item Level

...Previous  

10.  Go to TOP include

Declare the variables at TOP include

FUNCTION-POOL ZSD537_HEAD.                  "MESSAGE-ID ..

DATA: gv_full      
TYPE  zzful ,
      gv_partial   
TYPE  zzpartial ,
      gv_veh_no    
TYPE  zzveh_no  ,
      gv_lr_dkt_no 
TYPE  zzlr_dkt_no ,
      gv_lr_dkt_dt 
TYPE  zzlr_dkt_dt ,
      gv_driver    
TYPE  zzdriver  ,
      gv_inote_num 
TYPE  zzinote_num ,
      gv_inote_dt  
TYPE  zzinote_dt  ,
      gv_inote_cntr 
TYPE zz_inote_cntr ,
      gv_trnsp      
TYPE zztrnsp.

11.  Save & Activate the TOP.

12.  Create the Function Module to get values from screen

13.  Give the Function Group Name & Function Module Name

14.  Give the Export parameter as below  

15.  In the source code write the code as given below. This Function Module is to get values from the screen.

Code

cs_likp-zzfull     = gv_full.
cs_likp-zzpartial  = gv_partial.
cs_likp-zzveh_no   = gv_veh_no.
cs_likp-zzlr_dkt_no = gv_lr_dkt_no.
cs_likp-zzlr_dkt_dt = gv_lr_dkt_dt.
cs_likp-zzdriver    = gv_driver.
cs_likp-zzinote_num = gv_inote_num .
cs_likp-zzinote_dt  = gv_inote_dt.
cs_likp-zzinote_cntr = gv_inote_cntr.
cs_likp-zztrnsp      = gv_trnsp.

16.

Create another FM to set values to screen  

16.  This Function Module is to set values to the screen

17.  Write the code as below.

Code

gv_full       = is_likp-zzfull  .
gv_partial    = is_likp-zzpartial .
gv_veh_no     = is_likp-zzveh_no  .
gv_lr_dkt_no  = is_likp-zzlr_dkt_no.
gv_lr_dkt_dt  = is_likp-zzlr_dkt_dt .
gv_driver     = is_likp-zzdriver .
gv_inote_num  = is_likp-zzinote_num .
gv_inote_dt   = is_likp-zzinote_dt .
gv_inote_cntr = is_likp-zzinote_cntr.
gv_trnsp      = is_likp-zztrnsp.

Click here to continue..

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image