cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member182426
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182426
Active Contributor
0 Kudos

SOLVED

UweFetzer_se38
Active Contributor
0 Kudos

Hi,

don't know the report, but please check the following:

- does the report produce realy a list ? (no Grid-Control)

- do you get a list, if you call the report online ?

- if not, check with SU53, whether you have the authority to display the data

Regards,

Uwe