Skip to Content
0
Apr 23, 2007 at 01:40 AM

update routine

10 Views

hi there

Some one Please to help me to understande these code.

FIELD-SYMBOLS: <f> LIKE LINE OF DATA_PACKAGE.

LOOP AT DATA_PACKAGE ASSIGNING <f>.

*--->>> Calculate Total Hours store open on Sunday

<f>-ZZAMOPEN = <f>-/BIC/ZI_SOAB1.

<f>-ZZAMCLSE = <f>-/BIC/ZI_SOBI1.

<f>-ZZPMOPEN = <f>-/BIC/ZI_SOAB2.

<f>-ZZPMCLSE = <f>-/BIC/ZI_SOBI2.

<f>-ZZDAYWK = '1'.

<f>-ZZTOTHR =

( <f>-/BIC/ZI_SOBI2 - <f>-/BIC/ZI_SOAB1 ) -

( <f>-/BIC/ZI_SOAB2 - <f>-/BIC/ZI_SOBI1 ).

<f>-ZZTOTHR = <f>-ZZTOTHR / 3600. " Convert to Hours

Append <f> to DATA_PACKAGE1.

Await your replay