Wednesday, October 6, 2010
print the data in boxes in program
*&---------------------------------------------------------------------**& Report ZADASH1*&*&---------------------------------------------------------------------**&*&*&---------------------------------------------------------------------*REPORT ZADASH1 no STANDARD PAGE HEADING LINE-COUNT 55 LINE-SIZE 530.TYPES: BEGIN OF ty_rep345, sno TYPE i, matnr TYPE mseg-matnr, desc(40) TYPE c, jan_qty TYPE mseg-menge, jan_val TYPE mseg-dmbtr, feb_qty TYPE mseg-menge, feb_val TYPE mseg-dmbtr, mar_qty TYPE mseg-menge, mar_val TYPE mseg-dmbtr, apr_qty TYPE mseg-menge, apr_val TYPE mseg-dmbtr, may_qty TYPE mseg-menge, may_val TYPE mseg-dmbtr, jun_qty TYPE mseg-menge, jun_val TYPE mseg-dmbtr, jul_qty TYPE mseg-menge, jul_val TYPE mseg-dmbtr, aug_qty TYPE mseg-menge, aug_val TYPE mseg-dmbtr, sep_qty TYPE mseg-menge, sep_val TYPE mseg-dmbtr, oct_qty TYPE mseg-menge, oct_val TYPE mseg-dmbtr, nov_qty TYPE mseg-menge, nov_val TYPE mseg-dmbtr, dec_qty TYPE mseg-menge, dec_val TYPE mseg-dmbtr, tot_qty TYPE mseg-menge, tot_val TYPE mseg-dmbtr, mavg TYPE mseg-dmbtr, END OF ty_rep345. data:t_rep345 type STANDARD TABLE OF ty_rep345, rep345_rec type ty_rep345, v_date(2) value '10'.* TOP-OF-PAGE. Write:/2 'NEW DAR ALSHIFA HOSPITAL'. WRITE:/2 'HAWALLY,KUWAIT'. WRITE:/510 'From:'. Write:/2 'Consumption/Issue report for the cost center by material', 512 'To:'. write:/2 'Material Group'. write:/1(529) sy-uline. write:/1 sy-vline. write: 2(5) 'SL',7 sy-vline,8(49) 'Items',57 sy-vline,58(4) 'Jan-',62(30) v_date,92 sy-Vline,93(4) 'Feb-',97(30) v_date,127 sy-vline, 128(4) 'Mar-',132(30) v_date,162 sy-vline,163(4) 'Apr-',167(30) v_date,197 sy-vline,198(4) 'May-',202(30) v_date,232 sy-vline, 233(4) 'Jun-',237(30) v_date,267 sy-vline,268(4) 'Jul-',272(30) v_date,302 sy-vline,303(4) 'Aug-',307(30) v_date,337 sy-vline, 338(4) 'Sep-',342(30) v_date,372 sy-vline,373(4) 'Oct-',377(30) v_date,407 sy-vline,408(4) 'Nov-',412(30) v_date,442 sy-vline, 443(4) 'Dec-',447(30) v_date,477 sy-vline,478(34) 'Total',512 sy-vline,513(16) 'Monthly Avgs',529 sy-vline. write:/1 sy-vline. write:7(505) sy-uline. write:512 sy-vline. write:529 sy-vline. write:/1 sy-vline. write:2(5) 'No.',7 sy-vline,8(8) 'Code',16 sy-vline,17(40) 'Desc',57 sy-vline,58(17) 'Qty',75 sy-vline,76(16) 'Value',92 sy-vline, 93(17) 'Qty',110 sy-vline,111(16) 'Value',127 sy-vline, 128(17) 'Qty',145 sy-vline,146(16) 'Value',162 sy-vline, 163(17) 'Qty',180 sy-vline,181(16) 'Value',197 sy-vline, 198(17) 'Qty',215 sy-vline,216(16) 'Value',232 sy-vline, 233(17) 'Qty',250 sy-vline,251(16) 'Value',267 sy-vline, 268(17) 'Qty',285 sy-vline,286(16) 'Value',302 sy-vline, 303(17) 'Qty',320 sy-vline,321(16) 'Value',337 sy-vline, 338(17) 'Qty',355 sy-vline,356(16) 'Value',372 sy-vline, 373(17) 'Qty',390 sy-vline,391(16) 'Value',407 sy-vline, 408(17) 'Qty',425 sy-vline,426(16) 'Value',442 sy-vline, 443(17) 'Qty',460 sy-vline,461(16) 'Value',477 sy-vline, 478(17) 'Qty',495 sy-vline,496(16) 'Value',512 sy-vline, 513(16) 'Of last yesr',529 sy-vline. write:/1(529) sy-uline.loop at t_rep345 into rep345_rec. write:/2(5) rep345_rec-sno,7 sy-vline,8(8) rep345_rec-matnr,16 sy-vline,17(40) rep345_rec-desc,57 sy-vline, 58(17) rep345_rec-jan_qty,75 sy-vline,76(16) rep345_rec-jan_val,92 sy-vline, 93(17) rep345_rec-feb_qty,110 sy-vline,111(16) rep345_rec-feb_val,127 sy-vline, 128(17) rep345_rec-mar_qty,145 sy-vline,146(16) rep345_rec-mar_val,162 sy-vline, 163(17) rep345_rec-apr_qty,180 sy-vline,181(16) rep345_rec-apr_val,197 sy-vline, 198(17) rep345_rec-may_qty,215 sy-vline,216(16) rep345_rec-may_val,232 sy-vline, 233(17) rep345_rec-jun_qty,250 sy-vline,251(16) rep345_rec-jun_val,267 sy-vline, 268(17) rep345_rec-jul_qty,285 sy-vline,286(16) rep345_rec-jul_val,302 sy-vline, 303(17) rep345_rec-aug_qty,320 sy-vline,321(16) rep345_rec-aug_val,337 sy-vline, 338(17) rep345_rec-sep_qty,355 sy-vline,356(16) rep345_rec-sep_val,372 sy-vline, 373(17) rep345_rec-oct_qty,390 sy-vline,391(16) rep345_rec-oct_val,407 sy-vline, 408(17) rep345_rec-nov_qty,425 sy-vline,426(16) rep345_rec-nov_val,442 sy-vline, 443(17) rep345_rec-dec_qty,460 sy-vline,461(16) rep345_rec-dec_val,477 sy-vline, 478(17) rep345_rec-tot_qty,495 sy-vline,496(16) rep345_rec-tot_val,512 sy-vline, 513(16) rep345_rec-mavg,529 sy-vline. write:/1(529) sy-uline. endloop.
Subscribe to:
Post Comments (Atom)
Automation Testing
- Manual and Automation testing Challenges
- What you need to know about BVT (Build Verification Testing)
- BVT types
- Learning basics of QTP automation tool and preparation of QTP interview questions
- QuickTest Pro - QTP Functional testing tool review
- Tips you should read before automating your testing work
- Choosing Automation tool for your organization
Blog Archive
-
▼
2010
(342)
-
▼
October
(127)
- free downloadABAP/4 OLE Automation Controller pdf ...
- sap abap program Sample XML Source Code For SAP
- sap abap XML file to word document through SAP
- abap program for How to determine the number of av...
- Handling favorites in ABAP Workbench
- ABAP/4 Programming Quickstart
- Number Range Object in sap
- PERFORMENCE TIPS IN ABAP
- ABAP Tips and Tricks
- ABAP Tips and Tricks
- What is the use of the POSITION and SIZE command i...
- How to find the Driver Program for the given SAPsc...
- How can I set the header and footer in the main wi...
- What the conditional statements used in SAP Scripts?
- What the conditional statements used in SAP Scripts?
- What is the difference between the SAP Script text...
- How can I change the page size of the layout?
- How can I apply shading for the BOXes in SAP Script?
- How can I format the date being displayed in the S...
- How can I format the time in the SAP Script?
- Frequently Used System Variables in SAPScript?
- What are the different types of windows in SAP Scr...
- How can I set the position of the leading sign to ...
- What are the various text formatting options in SA...
- How can I trigger new page in SAPScripts?
- How can I prevent page-break in the message that i...
- How can I copy SAPScripts from one client to another?
- How can I print logos in SAPScripts?
- How can I copy SAPScripts from one client to another?
- How can I Word Wrap the text being displayed in SA...
- How can I display barcodes in SAPScripts?
- I have created a script in language DE. Now I need...
- ABAP Tips and Tricks
- PERFORMENCE TIPS IN ABAP
- ABAP Tips and Tricks
- Number Range Object in sap
- Handling favorites in ABAP Workbench
- abap program for How to determine the number of av...
- ABAP/4 Programming Quickstart
- Some ABAP/4 Query header line variable
- ABAP Quick Viewer
- Creating The Query
- SAP ABAP Queries
- Creating Functional Areas Without a Logical Database
- Creating Functional Areas using a Logical Database
- Creating the ABAP Query
- Creating the User Group in SAP ABAP Queries
- Ranked List and Statistics in abap query
- Data Retrieval Using Program in abap query
- Authorizations in abap query
- What Is SAP Queries
- Authorizations in abap query
- SAP Query (BC-SRV-QUE)
- click on link
- HOW TO DEVELOPE ABAP QUERY
- ABAP/4 Query Hints and Tips IN Abap Query
- ABAP Program: Output of Date Format
- ABAP Programs : Using the events start-of-selectio...
- C program that uses the GUI automatization interfa...
- This ABAP rings the bell on any chosen pc, that ha...
- Method of displaying the hidden ABAPs of SAP - fro...
- abap program for Parallel processing: breaks a rep...
- Simple macro that prevents runnig more than one in...
- abap Program to download/upload table data dynamic...
- Create/Modify/Delete records in any table from CSV...
- Displaying Graphics using an ABAP Program
- ABAP Program: Output of Date Format
- Making a Java Editor in ABAP and compiling it
- Program to Hide ABAP's Source Code and Protects it
- Program to Hide ABAP's Source Code and Protects it
- Using Different Color in ABAP
- Protect part of ABAP code from modifying
- String Handling in ABAP - Removing Unwanted Char
- How to find out Total No of Pages of a Report Outp...
- Split String into two parts at delimiter in sap abap
- Macro to validate Date in abap sap
- How to get the field descriptions of a table?
- Dynamically increase/decrease the number of batch/...
- Have active URL-s in the list an ABAP report creates
- ABAP Program: show and hide windows by request
- Perl script to check the status of the SAP systems...
- abap program for Customized, dynamic login screen
- ABAP Program for refresh dynamically - once a seco...
- ABAP Program for Limit the parallel instances a pa...
- Hide and password-protect any ABAP's source - stil...
- Display the long raw fields of such SAP tables as ...
- ABAP Program for Yet another customized logon scre...
- The abap part, that retrieves the data from the SA...
- abap program for The remote script for 96a
- ABAP Program for This perl displays a self-refresh...
- abap program for Automatically save and circulate ...
- Tree display of the UNIX process table - a click o...
- ABAP Program for Continuously display the rejected...
- abap program for Display the true average response...
- COMMUNICATION INTERFACE IN ABAP COMPLETE
- COMMUNICATION INTERFACE 1
- COMMUNICATION INTERFACE 2
- COMMUNICATION INTERFACE 3
- COMMUNICATION INTERFACE 4
- COMMUNICATION INTERFACE 5
-
▼
October
(127)
No comments:
Post a Comment