Skip to Content
0
Former Member
Apr 20, 2010 at 05:16 PM

Issue with Submitting a ALV report in container ...

144 Views

Hello Gurus,

I know how to display data in ALV in container on screen. My issue is, I have a container defined on screen. I have a separate report whose output is in the ALV form.

Now if I submit the report in the PBO, I do not get the ALV output of that report in custom container defined on screen, but the report as a whole gets executed.

How can I submit a report and still get its output on ALV container.

MODULE STATUS_0100 OUTPUT.

 CREATE OBJECT CUSTOM2
EXPORTING
  CONTAINER_NAME              = 'CUSTOM2'.

  CREATE OBJECT GRID1
    EXPORTING

      I_PARENT          = custom2.

  perform loaddata2.

ENDMODULE.

FORM loaddata2.
  DATA: v_sp like rsparams occurs 0 with header line.

  V_SP-SELNAME = 's_usr'.
  V_SP-KIND = 'P'.
  V_SP-LOW = 'X'.
  APPEND V_SP.


submit ZREPT with selection-table v_sp and return.

ENDFORM.

Please help.

Regards,

Jainam.

Edited by: Jainam Shah on Apr 20, 2010 7:23 PM

Edited by: Jainam Shah on Apr 20, 2010 7:24 PM