Posts

Showing posts with the label classical Reports

Real-time delivery report in SAP ABAP

Real-time example of displaying delivery details for a range of sales orders in SAP ABAP. REPORT ZPROJECT_RANGE NO STANDARD PAGE HEADING LINE-COUNT 37(3). TABLES : VBAK,VBAP,VBFA,LIKP,LIPS. TYPES: BEGIN OF TY_VBAK, VBELN TYPE VBAK-VBELN, VKORG TYPE VBAK-VKORG, VTWEG TYPE VBAK-VTWEG, SPART TYPE VBAK-SPART, END OF TY_VBAK. TYPES: BEGIN OF TY_VBAP, VBELN TYPE VBAP-VBELN, POSNR TYPE VBAP-POSNR, MATNR TYPE VBAP-MATNR, ZMENG TYPE VBAP-ZMENG, NETPR TYPE VBAP-NETPR, END OF TY_VBAP. TYPES: BEGIN OF TY_LIKP, VBELN TYPE LIKP-VBELN, END OF TY_LIKP. TYPES: BEGIN OF TY_LIPS, VBELN TYPE LIPS-VBELN, POSNR TYPE LIPS-POSNR, LFIMG TYPE LIPS-LFIMG, NETPR TYPE LIPS-NETPR, END OF TY_LIPS. TYPES: BEGIN OF TY_VBFA, VBELV TYPE VBFA-VBELV, POSNV TYPE VBFA-POSNV, VBELN TYPE VBFA-VBELN, POSNN TYPE VBFA-POSNN, VBTYP_N TYPE VBFA-VBTYP_N,...

Classical Report with top of page and end of page in SAP ABAP

Real-time classical report with top of page and end of page in SAP ABAP *&---------------------------------------------------------------------* *& Report ZCLASSICAL_REPORT * *& * REPORT ZCLASSICAL_REPORT NO STANDARD PAGE HEADING LINE-SIZE 120 LINE-COUNT 10(1). TABLES: MARA, "Material Master T001W. "Plant Master DATA: V_LINE TYPE I. DATA: BEGIN OF IT_MARD OCCURS 1, MATNR LIKE MARA-MATNR, MAKTX LIKE MAKT-MAKTX, WERKS LIKE MARD-WERKS, LGORT LIKE MARD-LGORT, LABST LIKE MARD-LABST, END OF IT_MARD. SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-H01. SELECT-OPTIONS: S_MATNR FOR MARA-MATNR, S_WERKS FOR T001W-WERKS. PARAMETERS: P1 TYPE I. SELECTION-SCREEN: END OF BLOCK B1. INITIALIZATION. S_MATNR-LOW = '100-100'. S_MATNR-HIGH = '10...

Interactive Report -1

Example for Interactive Report : *&---------------------------------------------------------------------* *& Report  ZINT_REPORT                                                 * *&                                                                     * *&---------------------------------------------------------------------* *&           ...

Classical report with events in SAP ABAP

Developing classical report with classical report events in SAP ABAP. REPORT ZCLASSICAL_REPORT NO STANDARD PAGE HEADING LINE-SIZE 120 LINE-COUNT 10(1). *----------------------------------------------------------------------* * TYPES DECLARATIONS *----------------------------------------------------------------------* *----------------------------------------------------------------------* * TABLES DECLARATIONS *----------------------------------------------------------------------* TABLES: MARA, "Material Master T001W. "Plant Master *----------------------------------------------------------------------* * DATA DECLARATIONS *----------------------------------------------------------------------* DATA: V_LINE TYPE I. *----------------------------------------------------------------------* * CONSTANTS DECLARATIONS *----------------------------------------------------------------------* *---------------------...

Classical Reports in SAP ABAP

Classical reports are simple reports in SAP ABAP, these are normal reports with only one output screen with out any user interaction.We will just out put dat with in the loop to develop a classical report. Classical reports can be developped using some events, refer list of events available in SAP ABAP classical reports . REPORT ZCLASSICAL_REPORT NO STANDARD PAGE HEADING LINE-SIZE 120 LINE-COUNT 10(1). *----------------------------------------------------------------------* * TYPES DECLARATIONS *----------------------------------------------------------------------* *----------------------------------------------------------------------* * TABLES DECLARATIONS *----------------------------------------------------------------------* TABLES: MARA, "Material Master T001W. "Plant Master *----------------------------------------------------------------------* * DATA DECLARATIONS *------------------------------------------...