Saturday, January 14, 2012

Structure declaration in sap abap with example program




REPORT demo_structure.

TYPES: BEGIN OF name,
         title(5)       TYPE c,
         first_name(10) TYPE c,
         last_name(10)  TYPE c,
       END OF name.                            

TYPES: BEGIN OF mylist,
         client         TYPE name,
         number         TYPE i,
       END OF mylist.

DATA list TYPE mylist.

list-client-title = 'Lord'.
list-client-first_name = 'Howard'.
list-client-last_name = 'Mac Duff'.
list-number = 1.

WRITE list-client-title.
WRITE list-client-first_name.
WRITE list-client-last_name.
WRITE / 'Number'.
WRITE list-number.

3 comments:

  1. The information provided here is of great use as I got to learn new things. Keep blogging.
    SAP ABAP TRAINING IN HYDERABAD

    ReplyDelete
  2. Great Post. The information provided is of great use as I got to learn new things. Keep Blogging.
    SAP ABAP TRAINING IN HYDERABAD

    ReplyDelete
  3. The gambling world is heading to Las Vegas
    The Gambling Industry 의왕 출장마사지 is on the move, and the world is gearing towards The 울산광역 출장마사지 Strip-based 전라남도 출장마사지 casino giant Caesars Entertainment, Caesars Entertainment announced today 보령 출장마사지 that it has 양산 출장마사지

    ReplyDelete