How to Hide Parameters on Selection Screen

REPORT ZSACHIN_ALV_DEEP27. *———————————————————————-** T A B L E S **———————————————————————-* tables: mara, skb1, BSEG. *———————————————————————-** S E L E C T I O N S C R E E N **———————————————————————-* selection-screen: Begin of block b1 with frame title text-001. parameters : R1 radiobutton group g1 default ‘X’ user-command AA. select-options : s_bukrs for skb1-bukrs … Read more

Example of Report having all events

REPORT ZKA_REPORT MESSAGE-ID ZKA LINE-SIZE 255 LINE-COUNT 10(2). TABLES: ZKA_EMP,ZKA_COM. DATA: ITAB LIKE ZKA_EMP OCCURS 0 WITH HEADER LINE. DATA: JTAB LIKE ZKA_COM OCCURS 0 WITH HEADER LINE. SELECT-OPTIONS: EMP_NO FOR ZKA_EMP-EMPNO. SET PF-STATUS ‘ZKA_MENU’. INITIALIZATION. EMP_NO-LOW = ‘1’. EMP_NO-HIGH = ’10’. EMP_NO-SIGN = ‘I’. EMP_NO-OPTION = ‘BT’. APPEND EMP_NO. CLEAR EMP_NO. AT SELECTION-SCREEN. IF … Read more

Assign Variable Type at Runtime in ABAP report

Dynamic programing can save a lot of ‘superfluous’ coding. To assign a variable a type at runtime, use the ABAP statement ASSIGN with the option TYPE. For instance: DATA: D_TYPE,D_FIELD(35).DATA: D_TEST TYPE P.FIELD-SYMBOLS: .D_FIELD = ‘D_TEST’.D_TYPE = ‘P’.ASSIGN (D_FIELD) TO TYPE D_TYPE. Additionally you can use the option DECIMALS of the ASSIGN statement if your … Read more

System fields used in interactive Reporting

The SY-LSIND system field contains the index of the list currently created. While creating a basic list, SY-LSIND equals 0. With each interactive event, the system automatically sets the following system fields: System field Information SY-LINCT total line count of a list SY-LINNO current line no where cursor is placed. SY-LSIND Index of the list … Read more

Standard SAP Reports

RGUGBR00 Substitution/Validation utility RHGENZ0/HRGRENZ2 Notes RHGRENZ0/2 will abend if there are any inconsistencies between PD and PA (i.e. people in a different controlling area than the position they belong to). RHGRENZ0 Delimit IT1000 and related 1001s. Program will delete any 1001 infotypes whose start date is after the delimit date. RHGRENZ1 Extend the end date … Read more

Standard SAP Reports

RGUGBR00 Substitution/Validation utility RHGENZ0/HRGRENZ2 Notes RHGRENZ0/2 will abend if there are any inconsistencies between PD and PA (i.e. people in a different controlling area than the position they belong to). RHGRENZ0 Delimit IT1000 and related 1001s. Program will delete any 1001 infotypes whose start date is after the delimit date. RHGRENZ1 Extend the end date … Read more

A Complete Guide to ABAP Report

Pdf Content : 1.Introduction 2.Type Of Reports 3.Events Driver Event User Event Program Event 4.Classical report 5.Use of Select-Options 6.Event Of Classical report: Initialization At Selection Screen Start-of-selection top-of-page End-of-page End-of-selection 7.Event of Interactive report : At line Selection At pfn At user-command 8.Menu painter 9.Logical database Builder 10.Creation of Logical database 11.Creation of report … Read more