Skip to Content
0
Former Member
Sep 01, 2007 at 04:43 AM

doubt in this application

15 Views

the last record LITL1-NAME = 'VARIJA' is not appendind into the table ... can i know why ...

please reply me...

REPORT Z_SB_ITAB2 NO STANDARD PAGE HEADING.

DATA: BEGIN OF LITL1 OCCURS 8,

NAME TYPE STRING,

DEPARTMENT TYPE STRING,

DESIGNATION(20) TYPE C,

LOCATION TYPE STRING,

END OF LITL1.

*DATA: W_TIME(8) TYPE C VALUE '123456',

  • NAME TYPE STRING VALUE 'PHANINDER',

  • VALUE(10) TYPE N VALUE 4685.

*

*WRITE:/ NAME USING EDIT MASK '_____ ____'.

*WRITE:/ SY-UZEIT USING NO EDIT MASK.

*WRITE:/ W_TIME USING EDIT MASK '__:__:__'.

*WRITE:/ VALUE UNDER NAME.

*WRITE:/ SY-DATUM mmddyy.

*WRITE:/ NAME NO-GAP, VALUE.

*SKIP TO LINE 19.

*

*

*

*

**DATA LITL2 LIKE LITL1 OCCURS 3 WITH HEADER LINE.

*

LITL1-NAME = 'SATYA SAI BABA'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'AGM'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'SRINIVAS'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'ASST MANAGER'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'NAGARAJU'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'SYSTEM ADMINISTARTOR'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'PHANINDER'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'SAP-ABAP'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'BHANU KIRAN'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'SAP-BW'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'NAROTHAM'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'SAP-ABAP'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

LITL1-NAME = 'VARIJA'.

LITL1-DEPARTMENT = 'IT'.

LITL1-DESIGNATION = 'SAP - FI/CO'.

LITL1-LOCATION = 'LANCO INFRATECH'.

APPEND LITL1.

*LITL2-NAME = 'NAROTHAM'.

*LITL2-DEPARTMENT = 'IT'.

*LITL2-DESIGNATION = 'SAP-ABAP'.

*LITL2-LOCATION = 'LANCO INFRATECH'.

*APPEND LITL2.

*

*LITL2-NAME = 'VARIJA'.

*LITL2-DEPARTMENT = 'IT'.

*LITL2-DESIGNATION = 'FI/CO'.

*LITL2-LOCATION = 'LANCO INFRATECH'.

*APPEND LITL2.

SKIP.

FORMAT INVERSE..

WRITE 'DETAILS OF EMPLOYEES OF LITL IT DEPARTMENT >>> ' COLOR 5.

FORMAT INVERSE OFF.

*DELETE LITL1 WHERE NAME = 'XXXX'.

SKIP.

ULINE 1(85).

SKIP.

FORMAT COLOR 5.

WRITE:/7 'NAME',25 '|',29 'DEPARTMENT',42 '|',44 'DESIGNATION',64 '|',66 'LOCATION',85 '|'.

FORMAT COLOR OFF.

SKIP.

ULINE 1(85).

LOOP AT LITL1.

WRITE:/5 LITL1-NAME ,25 '|',29 LITL1-DEPARTMENT,42 '|',44 LITL1-DESIGNATION,64 '|',66 LITL1-LOCATION,85 '|'.

ENDLOOP.

Thanx & Regards,

PHANINDER GOLLAPUDI.