Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SUBMIT rep EXPORTING LIST TO MEMORY (output of report is in ALV GRID)

hi friends,

i want the output of this report.

i am trying like this but i am not getting any data in listobject itab.

REPORT ZSHAN_SUBMIT1.

DATA: begin of pernr_qttrans,
         pernr type pernr-pernr,
         cname type p0002-cname,
         SNAME type P0001-SNAME,
         gdate  type pc2bl-gdate,
         qtext type t556b-ktext,
         qtype  type pc2bl-qtype,
         lvnum  type pc2bl-lvnum,
         untext type t538t-etext,
         quoun  TYPE ptquoded-quoun,
       end of pernr_qttrans.

DATA: itab_qttrans LIKE TABLE OF pernr_qttrans,
       wa_itab_qttrans LIKE pernr_qttrans.

DATA: listobject1 like table of ABAPLIST,
      l_contents_hex like table of ABAPLIST.

SUBMIT rptqta10
       EXPORTING LIST TO MEMORY
       WITH PNPPERNR-LOW = 102
       AND RETURN.


CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    LISTOBJECT       = listobject1
 EXCEPTIONS
   NOT_FOUND        = 1
   OTHERS           = 2
          .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

i want this listobject1 details into local itab. and by using this local itab i am trying to display the values using tableview control in BSP applicaiton.

plz any help.....

Regards,

shankar.

Not what you were looking for? View more on this topic or Ask a question