Skip to Content
author's profile photo Former Member
Former Member

Code ( Submit....Exporting ..) not working after SP11 Upgrade

Hi friends ,

the following code not working after SP11 upgrade -

SUBMIT zrsusr002

USING SELECTION-SCREEN 1000

WITH tcode = 'ZCIDDCM'

WITH listmark = 'X'

EXPORTING LIST TO MEMORY

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = itab_abaplist

EXCEPTIONS

not_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

RAISE not_found.

ENDIF.

What we are trying -

The code will find out all the valid users for specified transactions and stores the generated ALV report in memory. The LIST FROM MEMORY function will recall this exported data back into listobject (of type structure ABAPLIST).

Being a standard code, the code should work fine and retrieve the ALV list into listobject. However, it fails when it try to import the list output back from memory. To be noted that, the same code was working fine before SP11 upgrade.

I raised OSS Note and got the reply - to use "Submit....to spool" instead of "Exporting LIST to memory" . I tried the following -

SUBMIT rsusr002

USING SELECTION-SCREEN 1000

WITH tcode = 'SE38'

WITH listmark = 'X'

TO SAP-SPOOL

SPOOL PARAMETERS pri_params

WITHOUT SPOOL DYNPRO

AND RETURN.

But it is generating the spool and i want all the user list in a table. Not able to get exact systax which can work . PLEAS HELP. Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 02, 2005 at 06:57 AM

    ABAP forum , may give a better response for this question

    ABAP Development

    By the way, we are on was6.40 sp11 and submit ..exporting list to memeory is working fine.

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.