Posts

Showing posts with the label Reports

SUBMIT WITH RETURN Statement

  Program 1: REPORT zcm_program1. data: p_c type i. parameters: p_a type i ,             p_b type i . p_c = p_a + p_b. write p_c.  Program 2: REPORT zcm_program1. DATA list_tab TYPE TABLE OF abaplist. SUBMIT zcm_dummy_program WITH p_a = 2                          WITH p_b = 1                          EXPORTING LIST TO MEMORY                          AND RETURN. CALL FUNCTION 'LIST_FROM_MEMORY'   TABLES     listobject = list_tab   EXCEPTIONS     not_found  = 1     OTHERS     = 2. IF sy-subrc...

Interactive Report

Image
  Interactive Report :  They are used to provide the detailed secondary list based on the current output list. HIDE statement is used to store line specific (SY-LINNO) information which is clicked by the user. System stores field name, field contents and line number of the field that was clicked. *&---------------------------------------------------------------------* *& Report ZVB_INT_REP *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT  zvb_int_rep  LINE-SIZE  80 . TABLES : vbak , vbap . TYPES :  BEGIN  OF  ty_vbak ,          vbeln  TYPE  vbak - vbeln ,          erdat  TYPE  vbak - erdat ,          erzet  TYPE  vbak - erzet , ...