Skip to Content
avatar image
Former Member

Submit an alv Report and return

Hi All,

I have a problem when i submit an ALV Report RPUFIXDS

and do exporting list to memory. I am using the function module LIST_FROM_MEMORY to get back the list output, I know for sure that it works for list output,i was not sure whether it works for alv report as I tried and its not working.

If any one has faced the same problem Plz help.

Regds,

Rajeev

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 24, 2006 at 05:12 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 24, 2006 at 06:53 PM

    Hi Rajjev,

    U have to import and see this code.

    See this once.

    SUBMIT (P_PROG) USING SELECTION-SET P_VAR EXPORTING LIST

    TO MEMORY AND

    RETURN.

    CALL FUNCTION 'LIST_FROM_MEMORY'

    TABLES

    LISTOBJECT = LISTOBJECT

    EXCEPTIONS

    NOT_FOUND = 1

    OTHERS = 2.

    IF SY-SUBRC <> 0.

    WRITE 'Error in list_from_memory.'.

    ENDIF.

    CALL FUNCTION 'LIST_TO_ASCI'

    TABLES

    LISTASCI = ASCITAB

    LISTOBJECT = LISTOBJECT.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I tried all the ways that you guyz have suggested before making a post here but it didn't work. Any way i got my problem solved i created a tcode for the report and made a call transaction.

      Thanks for all your help!.

      Rajeev