Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SUBMIT from alv table

Former Member
0 Kudos

Hello gurus,

i am developing a new report program. I want to submit the result of report "rm07mlbd". The table is (before alv displayed) "g_t_totals_flat". how can i pass this internal to my report ?

I use submit, but i dont know what to do after this...

BREAK-POINT.

     SUBMIT rm07mlbd

               WITH bukrs IN rt_bukrs

               WITH datum IN rt_datum

               WITH matnr  IN rt_matnr

               WITH werks IN s_werks

               WITH pa_sumfl = 'X'

       EXPORTING LIST TO MEMORY  AND RETURN.

     CALL FUNCTION 'LIST_FROM_MEMORY'

       TABLES

         listobject = lt_listobject

       EXCEPTIONS

         not_found  = 1

         OTHERS     = 2.

     IF sy-subrc = 0.

     BREAK-POINT.

     IMPORT l_t_totals_flat FROM MEMORY ID 'G_T_TOTALS_FLAT'.

  ENDIF.

can anyone help ?

Thanks,

stratos

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

You could use class cl_salv_bs_runtime_info to get rm07mlbd internal data and prevent ALV display.

(Use search tool on this class and read some blogs/wiki documents like Gain Programmatic Access to Data of SAPGUI ALV Reports.)

Regards,

Raymond

Former Member
0 Kudos

Hi,

I did not get much of you but what i understood was that you needed to pass internal table to submit statement and got these for you -http://scn.sap.com/thread/1325043

& http://wiki.sdn.sap.com/wiki/display/ABAP/Passing+data+from+one+ABAP+program+to+another

Please ask further if needed.

BR.

former_member184569
Active Contributor
0 Kudos

Check this answered thread.

http://scn.sap.com/thread/39352