cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

ABAP forum , may give a better response for this question

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

Regards

Raja