SlideShare a Scribd company logo
REPORT y_m_rept_po_dtls NO STANDARD PAGE HEADING
LINE-SIZE 132 LINE-COUNT 26(3) MESSAGE-ID y_msg.
----
Tables Declaration *
----
TABLES : ekko, " Purchasing doc Header data
ekpo, " Purchasing doc item data
lfa1. " Vendor Master(General Section)
----
Internal Tables Declaration *
----
DATA : BEGIN OF it_ekko OCCURS 0,
ebeln LIKE ekko-ebeln, " Purcahse Order no.
ekorg LIKE ekko-ekorg, " Purchase Organization
lifnr LIKE ekko-lifnr, " Vendor no.
waers LIKE ekko-waers, " Currency Key
name1 LIKE lfa1-name1, " Vendor's Name
END OF it_ekko.
DATA : BEGIN OF it_ekpo OCCURS 0,
ebeln LIKE ekpo-ebeln, " Purcahse Order No.
ebelp LIKE ekpo-ebelp, " Purchase Item No.
matnr LIKE ekpo-matnr, " Material no.
netwr LIKE ekpo-netwr, " Net Price of Purchase Order
END OF it_ekpo.
----
Variables Declaration *
----
DATA : v_grd_netwr LIKE ekpo-netwr, " For Grand totals of net price
v_sub_netwr LIKE ekpo-netwr, " For Sub totals of net price
fg_no_data, " NO DATA flag
v_ekorg LIKE ekko-ekorg. " For Purchase Organiztion validation
----
Selection Screen *
----
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
SELECT-OPTIONS : s_bukrs FOR ekko-bukrs. " For Company Codes
PARAMETERS : p_ekorg LIKE ekko-ekorg. " For Purchase Organization
SELECTION-SCREEN END OF BLOCK blk1.
----
Initialization *
----
INITIALIZATION.
PERFORM initialize. " Initializing values
----
at selection screen *
----
AT SELECTION-SCREEN.
PERFORM sel_scr_vald. " Selection Screen validations
----
start of selection *
----
START-OF-SELECTION.
PERFORM retrieve_data. " Select the data from database
----
end of selection *
----
END-OF-SELECTION.
PERFORM list_data. " List the selected data
----
top of page *
----
TOP-OF-PAGE.
PERFORM disp_header. " Page Header
PERFORM disp_col_header. " Column Header
PERFORM draw_vline. " Generates Vertical Lines
----
end of page *
----
END-OF-PAGE.
PERFORM disp_footer. " Page Footer
----
SUB ROUTINEES *
----
&----
*& Form disp_header
&----
text
----
--> p1 text
<-- p2 text
----
FORM disp_header.
WRITE : /40 'Intelligroup Asia Pvt. Ltd.'(001),
/47 'Hyderabad'(002).
SKIP 1.
WRITE : /43 'Purchase Orders List'(012) COLOR 5 INVERSE ON.
ENDFORM. " disp_header
&----
*& Form disp_footer
&----
text
----
--> p1 text
<-- p2 text
----
FORM disp_footer.
IF fg_no_data = 'X'.
EXIT.
ELSE.
SKIP 1.
WRITE : /89 'PAGE NO. : '(003),
(4) sy-pagno COLOR 2 INTENSIFIED OFF.
ENDIF.
ENDFORM. " disp_footer
&----
*& Form initialize
&----
text
----
--> p1 text
<-- p2 text
----
FORM initialize.
p_ekorg = '1000'.
s_bukrs-low = '1000'.
APPEND s_bukrs.
ENDFORM. " initialize
&----
*& Form sel_scr_vald
&----
text
----
--> p1 text
<-- p2 text
----
FORM sel_scr_vald.
*This Select statement validates the supplied Purchase Org. Value.
SELECT SINGLE ekorg
INTO v_ekorg
FROM ekko
WHERE ekorg = p_ekorg.
IF sy-subrc <> 0.
MESSAGE e000 WITH p_ekorg 'Purchase Org.does not exists'.
ENDIF.
*This Select statement validates the supplied Company Code Values.
SELECT SINGLE bukrs
INTO s_bukrs-low
FROM ekko
WHERE bukrs IN s_bukrs.
IF sy-subrc <> 0.
MESSAGE e000 WITH s_bukrs 'Company Code does not exists'.
ENDIF.
ENDFORM. " sel_scr_vald
&----
*& Form retrieve_data
&----
text
----
--> p1 text
<-- p2 text
----
FORM retrieve_data.
*This select statement retrieves the P.O header data based on
*Company Code and Purchase Organization supplied
SELECT v1~ebeln " Purcahse Order no
v1~ekorg " Purchase Organization
v1~lifnr " Vendor no
v1~waers " Currency Key
v2~name1 " Vendor's Name
INTO TABLE it_ekko
FROM ekko as v1 join
lfa1 as v2 on
v1lifnr = v2lifnr
WHERE ekorg = p_ekorg
AND bukrs IN s_bukrs
AND bsart = 'NB'
AND loekz = space.
IF sy-subrc <> 0.
fg_no_data = 'X'.
MESSAGE i000 WITH 'No Data for this Selection Criteria'.
STOP.
ENDIF.
*The following select statement retrieves the item data
*for each P.O retrieved
IF NOT it_ekko[] IS INITIAL.
SELECT ebeln " P.O No.
ebelp " Itm No.
matnr " Mat No.
netwr " Net Pr.
INTO TABLE it_ekpo
FROM ekpo FOR ALL ENTRIES IN it_ekko
WHERE ebeln = it_ekko-ebeln.
ENDIF.
ENDFORM. " retrieve_data
&----
*& Form list_data
&----
text
----
--> p1 text
<-- p2 text
----
FORM list_data.
SORT it_ekko BY ebeln.
SORT it_ekpo BY ebeln ebelp.
LOOP AT it_ekpo.
AT NEW ebeln.
READ TABLE it_ekko WITH KEY ebeln = it_ekpo-ebeln.
IF sy-subrc = 0.
WRITE : /3 it_ekko-ebeln COLOR 2,
15 it_ekko-ekorg COLOR 2,
21 it_ekko-lifnr COLOR 2,
33 it_ekko-waers COLOR 2,
83 it_ekko-name1+0(20) COLOR 2.
ENDIF.
PERFORM draw_vline.
ENDAT.
WRITE : /42 it_ekpo-ebelp COLOR 1 INTENSIFIED OFF,
47 it_ekpo-matnr COLOR 5 INTENSIFIED OFF,
67 it_ekpo-netwr LEFT-JUSTIFIED COLOR 3 INTENSIFIED OFF.
PERFORM draw_vline.
v_sub_netwr = v_sub_netwr + it_ekpo-netwr.
v_grd_netwr = v_grd_netwr + it_ekpo-netwr.
AT END OF ebeln.
ULINE AT /47(35).
PERFORM draw_vline.
WRITE : /53 'Doc.Value : '(010) COLOR 3 INVERSE ON,
v_sub_netwr LEFT-JUSTIFIED COLOR 3.
CLEAR v_sub_netwr.
PERFORM draw_vline.
ULINE AT /2(104).
ENDAT.
AT LAST.
WRITE : /52 'Grand Value :'(011) COLOR 7 INVERSE ON,
v_grd_netwr LEFT-JUSTIFIED COLOR 7 INTENSIFIED OFF.
CLEAR v_grd_netwr.
ENDAT.
ENDLOOP.
ENDFORM. " list_data
&----
*& Form disp_col_header
&----
text
----
--> p1 text
<-- p2 text
----
FORM disp_col_header.
SKIP 1.
ULINE AT /2(104).
WRITE : /3(11) 'P.O No.'(003) COLOR COL_HEADING,
15(6) 'P.Org'(004) COLOR COL_HEADING,
21(12) 'Vendor No'(005) COLOR COL_HEADING,
33(8)'Curr.Key'(006) COLOR COL_HEADING,
42(4) 'Item No'(007) COLOR COL_HEADING,
47(19) 'Material No.'(008) COLOR COL_HEADING,
67(15) 'Net Price'(009) COLOR COL_HEADING,
83(22) 'Vendor Name'(013) COLOR COL_HEADING.
PERFORM draw_vline.
ULINE AT /2(104).
ENDFORM. " disp_col_header
&----
*& Form draw_vline
&----
text
----
--> p1 text
<-- p2 text
----
FORM draw_vline.
WRITE : 2 sy-vline,
14 sy-vline,
20 sy-vline,
32 sy-vline,
41 sy-vline,
46 sy-vline,
66 sy-vline,
82 sy-vline,
105 sy-vline .
ENDFORM. " draw_vline
1. OBJPS
2. SPRPS
3.Qnnnn
4. CI_Pnnnn
Several infotypes have subtypes. If this is the case, the infotype’s time
constraint is on
the subtype.
1-3-1 How do you determine which time constraint is assigned to the subtype of
an
infotype?

More Related Content

What's hot (18)

PDF
Climbing the Abstract Syntax Tree (Forum PHP 2017)
James Titcumb
 
PPTX
SQL: Querying Multiple Tables
RJ Podeschi
 
PDF
Climbing the Abstract Syntax Tree (PHP Russia 2019)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (PHP UK 2018)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (IPC Fall 2017)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (DPC 2017)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
James Titcumb
 
PDF
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
James Titcumb
 
PDF
Duug - Ttypescript
Jan van Helvoort
 
PDF
Building custom sections in Umbraco
dawoe
 
PDF
Having Fun Programming!
Aaron Patterson
 
PDF
DIBM. OCT 2001.PDF
huzefakaka
 
PDF
Climbing the Abstract Syntax Tree (phpDay 2017)
James Titcumb
 
Climbing the Abstract Syntax Tree (Forum PHP 2017)
James Titcumb
 
SQL: Querying Multiple Tables
RJ Podeschi
 
Climbing the Abstract Syntax Tree (PHP Russia 2019)
James Titcumb
 
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
James Titcumb
 
Climbing the Abstract Syntax Tree (PHP UK 2018)
James Titcumb
 
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
James Titcumb
 
Climbing the Abstract Syntax Tree (IPC Fall 2017)
James Titcumb
 
Climbing the Abstract Syntax Tree (DPC 2017)
James Titcumb
 
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
James Titcumb
 
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
James Titcumb
 
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
James Titcumb
 
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
James Titcumb
 
Duug - Ttypescript
Jan van Helvoort
 
Building custom sections in Umbraco
dawoe
 
Having Fun Programming!
Aaron Patterson
 
DIBM. OCT 2001.PDF
huzefakaka
 
Climbing the Abstract Syntax Tree (phpDay 2017)
James Titcumb
 

Similar to ABAP EVENTS EXAMPLE (20)

DOCX
Example syntax alv grid list
Nur Khoiri
 
DOC
Program For Parsing2
Michelle Crapo
 
PPTX
Sap scripts
Jugul Crasta
 
PDF
Using C++I keep getting messagehead does not name a type.pdf
alokkesh1
 
PPT
Recovery of lost or corrupted inno db tables(mysql uc 2010)
guest808c167
 
PDF
Get into the FLOW with Extbase
Jochen Rau
 
PPTX
SAP Batch data communication
Jugul Crasta
 
DOC
Zmalv output type_v1.1
chandrashekarbh
 
TXT
Mona cheatsheet
Ce.Se.N.A. Security
 
PPT
Recovery of lost or corrupted inno db tables(mysql uc 2010)
Aleksandr Kuzminsky
 
DOC
Module Prog
muralisrt
 
TXT
Alvedit programs
mcclintick
 
PPT
1582627
tabish
 
PPT
List Processing in ABAP
sapdocs. info
 
PPT
ABAP Advanced List
sapdocs. info
 
PPT
PL/SQL
Vaibhav0
 
TXT
4sem dbms(1)
Karthik Sagar
 
RTF
Seistech SQL code
Simon Hoyle
 
DOCX
Report zalv
dineshk0105
 
Example syntax alv grid list
Nur Khoiri
 
Program For Parsing2
Michelle Crapo
 
Sap scripts
Jugul Crasta
 
Using C++I keep getting messagehead does not name a type.pdf
alokkesh1
 
Recovery of lost or corrupted inno db tables(mysql uc 2010)
guest808c167
 
Get into the FLOW with Extbase
Jochen Rau
 
SAP Batch data communication
Jugul Crasta
 
Zmalv output type_v1.1
chandrashekarbh
 
Mona cheatsheet
Ce.Se.N.A. Security
 
Recovery of lost or corrupted inno db tables(mysql uc 2010)
Aleksandr Kuzminsky
 
Module Prog
muralisrt
 
Alvedit programs
mcclintick
 
1582627
tabish
 
List Processing in ABAP
sapdocs. info
 
ABAP Advanced List
sapdocs. info
 
PL/SQL
Vaibhav0
 
4sem dbms(1)
Karthik Sagar
 
Seistech SQL code
Simon Hoyle
 
Report zalv
dineshk0105
 
Ad

Recently uploaded (20)

PPTX
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PDF
John Keats introduction and list of his important works
vatsalacpr
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PPTX
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
John Keats introduction and list of his important works
vatsalacpr
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
Ad

ABAP EVENTS EXAMPLE

  • 1. REPORT y_m_rept_po_dtls NO STANDARD PAGE HEADING LINE-SIZE 132 LINE-COUNT 26(3) MESSAGE-ID y_msg. ---- Tables Declaration * ---- TABLES : ekko, " Purchasing doc Header data ekpo, " Purchasing doc item data lfa1. " Vendor Master(General Section) ---- Internal Tables Declaration * ---- DATA : BEGIN OF it_ekko OCCURS 0, ebeln LIKE ekko-ebeln, " Purcahse Order no. ekorg LIKE ekko-ekorg, " Purchase Organization lifnr LIKE ekko-lifnr, " Vendor no. waers LIKE ekko-waers, " Currency Key name1 LIKE lfa1-name1, " Vendor's Name END OF it_ekko. DATA : BEGIN OF it_ekpo OCCURS 0, ebeln LIKE ekpo-ebeln, " Purcahse Order No. ebelp LIKE ekpo-ebelp, " Purchase Item No. matnr LIKE ekpo-matnr, " Material no. netwr LIKE ekpo-netwr, " Net Price of Purchase Order END OF it_ekpo. ---- Variables Declaration * ---- DATA : v_grd_netwr LIKE ekpo-netwr, " For Grand totals of net price v_sub_netwr LIKE ekpo-netwr, " For Sub totals of net price fg_no_data, " NO DATA flag v_ekorg LIKE ekko-ekorg. " For Purchase Organiztion validation ---- Selection Screen * ---- SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME. SELECT-OPTIONS : s_bukrs FOR ekko-bukrs. " For Company Codes PARAMETERS : p_ekorg LIKE ekko-ekorg. " For Purchase Organization SELECTION-SCREEN END OF BLOCK blk1. ---- Initialization * ---- INITIALIZATION.
  • 2. PERFORM initialize. " Initializing values ---- at selection screen * ---- AT SELECTION-SCREEN. PERFORM sel_scr_vald. " Selection Screen validations ---- start of selection * ---- START-OF-SELECTION. PERFORM retrieve_data. " Select the data from database ---- end of selection * ---- END-OF-SELECTION. PERFORM list_data. " List the selected data ---- top of page * ---- TOP-OF-PAGE. PERFORM disp_header. " Page Header PERFORM disp_col_header. " Column Header PERFORM draw_vline. " Generates Vertical Lines ---- end of page * ---- END-OF-PAGE. PERFORM disp_footer. " Page Footer ---- SUB ROUTINEES * ---- &---- *& Form disp_header &---- text ----
  • 3. --> p1 text <-- p2 text ---- FORM disp_header. WRITE : /40 'Intelligroup Asia Pvt. Ltd.'(001), /47 'Hyderabad'(002). SKIP 1. WRITE : /43 'Purchase Orders List'(012) COLOR 5 INVERSE ON. ENDFORM. " disp_header &---- *& Form disp_footer &---- text ---- --> p1 text <-- p2 text ---- FORM disp_footer. IF fg_no_data = 'X'. EXIT. ELSE. SKIP 1. WRITE : /89 'PAGE NO. : '(003), (4) sy-pagno COLOR 2 INTENSIFIED OFF. ENDIF. ENDFORM. " disp_footer &---- *& Form initialize &---- text ---- --> p1 text <-- p2 text ---- FORM initialize. p_ekorg = '1000'. s_bukrs-low = '1000'. APPEND s_bukrs. ENDFORM. " initialize &---- *& Form sel_scr_vald &---- text ---- --> p1 text <-- p2 text ----
  • 4. FORM sel_scr_vald. *This Select statement validates the supplied Purchase Org. Value. SELECT SINGLE ekorg INTO v_ekorg FROM ekko WHERE ekorg = p_ekorg. IF sy-subrc <> 0. MESSAGE e000 WITH p_ekorg 'Purchase Org.does not exists'. ENDIF. *This Select statement validates the supplied Company Code Values. SELECT SINGLE bukrs INTO s_bukrs-low FROM ekko WHERE bukrs IN s_bukrs. IF sy-subrc <> 0. MESSAGE e000 WITH s_bukrs 'Company Code does not exists'. ENDIF. ENDFORM. " sel_scr_vald &---- *& Form retrieve_data &---- text ---- --> p1 text <-- p2 text ---- FORM retrieve_data. *This select statement retrieves the P.O header data based on *Company Code and Purchase Organization supplied SELECT v1~ebeln " Purcahse Order no v1~ekorg " Purchase Organization v1~lifnr " Vendor no v1~waers " Currency Key v2~name1 " Vendor's Name INTO TABLE it_ekko FROM ekko as v1 join lfa1 as v2 on v1lifnr = v2lifnr WHERE ekorg = p_ekorg AND bukrs IN s_bukrs AND bsart = 'NB' AND loekz = space. IF sy-subrc <> 0. fg_no_data = 'X'. MESSAGE i000 WITH 'No Data for this Selection Criteria'. STOP.
  • 5. ENDIF. *The following select statement retrieves the item data *for each P.O retrieved IF NOT it_ekko[] IS INITIAL. SELECT ebeln " P.O No. ebelp " Itm No. matnr " Mat No. netwr " Net Pr. INTO TABLE it_ekpo FROM ekpo FOR ALL ENTRIES IN it_ekko WHERE ebeln = it_ekko-ebeln. ENDIF. ENDFORM. " retrieve_data &---- *& Form list_data &---- text ---- --> p1 text <-- p2 text ---- FORM list_data. SORT it_ekko BY ebeln. SORT it_ekpo BY ebeln ebelp. LOOP AT it_ekpo. AT NEW ebeln. READ TABLE it_ekko WITH KEY ebeln = it_ekpo-ebeln. IF sy-subrc = 0. WRITE : /3 it_ekko-ebeln COLOR 2, 15 it_ekko-ekorg COLOR 2, 21 it_ekko-lifnr COLOR 2, 33 it_ekko-waers COLOR 2, 83 it_ekko-name1+0(20) COLOR 2. ENDIF. PERFORM draw_vline. ENDAT. WRITE : /42 it_ekpo-ebelp COLOR 1 INTENSIFIED OFF, 47 it_ekpo-matnr COLOR 5 INTENSIFIED OFF, 67 it_ekpo-netwr LEFT-JUSTIFIED COLOR 3 INTENSIFIED OFF. PERFORM draw_vline. v_sub_netwr = v_sub_netwr + it_ekpo-netwr. v_grd_netwr = v_grd_netwr + it_ekpo-netwr.
  • 6. AT END OF ebeln. ULINE AT /47(35). PERFORM draw_vline. WRITE : /53 'Doc.Value : '(010) COLOR 3 INVERSE ON, v_sub_netwr LEFT-JUSTIFIED COLOR 3. CLEAR v_sub_netwr. PERFORM draw_vline. ULINE AT /2(104). ENDAT. AT LAST. WRITE : /52 'Grand Value :'(011) COLOR 7 INVERSE ON, v_grd_netwr LEFT-JUSTIFIED COLOR 7 INTENSIFIED OFF. CLEAR v_grd_netwr. ENDAT. ENDLOOP. ENDFORM. " list_data &---- *& Form disp_col_header &---- text ---- --> p1 text <-- p2 text ---- FORM disp_col_header. SKIP 1. ULINE AT /2(104). WRITE : /3(11) 'P.O No.'(003) COLOR COL_HEADING, 15(6) 'P.Org'(004) COLOR COL_HEADING, 21(12) 'Vendor No'(005) COLOR COL_HEADING, 33(8)'Curr.Key'(006) COLOR COL_HEADING, 42(4) 'Item No'(007) COLOR COL_HEADING, 47(19) 'Material No.'(008) COLOR COL_HEADING, 67(15) 'Net Price'(009) COLOR COL_HEADING, 83(22) 'Vendor Name'(013) COLOR COL_HEADING. PERFORM draw_vline. ULINE AT /2(104). ENDFORM. " disp_col_header &---- *& Form draw_vline &---- text ---- --> p1 text <-- p2 text ---- FORM draw_vline.
  • 7. WRITE : 2 sy-vline, 14 sy-vline, 20 sy-vline, 32 sy-vline, 41 sy-vline, 46 sy-vline, 66 sy-vline, 82 sy-vline, 105 sy-vline . ENDFORM. " draw_vline 1. OBJPS 2. SPRPS 3.Qnnnn 4. CI_Pnnnn Several infotypes have subtypes. If this is the case, the infotype’s time constraint is on the subtype. 1-3-1 How do you determine which time constraint is assigned to the subtype of an infotype?