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: 

problem with submit a report painter in a program.

Former Member
0 Kudos

I've tried to call report painter in a program.

But it didn't work well. It didn't make any result.

the result is different from the result excuting it by tcode

How can I solve this problem.

blow is the source code. it works well when I change the program name with another one.

i_ascii type standard table of listzeile .

data : wa_ascii type listzeile .

rspar_1-SELNAME = 'SAVEDAT'.

rspar_1-KIND = 'P'.

rspar_1-SIGN = 'I'.

rspar_1-OPTION = 'EQ'.

rspar_1-LOW = 'X'.

rspar_1-HIGH = 'X'.

append rspar_1.

SUBMIT GPD73F0G6U07HBC1V48W3WU4KKA using SELECTION-SCREEN '1000' with selection-table rspar_1 EXPORTING LIST TO MEMORY AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

LISTOBJECT = z_ABAPLIST

EXCEPTIONS

NOT_FOUND = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

CALL FUNCTION 'WRITE_LIST'

TABLES

listobject = z_abaplist.

2 REPLIES 2

Former Member
0 Kudos

Thank you

0 Kudos

What is the resolution provided here?