Application Development and Automation 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: 
Read only

Creating Ztransaction

Former Member
0 Likes
547

I have to create ztransaction for executing bw bex report.

My report works fine.But I am not able to create transaction.

REPORT ZTEST.

DATA: WBID LIKE RSRWBINDEX-WORKBOOKID.

WBID = '7DA2P06KIWAZXRBAU2JAUETR1'.

CALL FUNCTION 'RSAH_LAUNCH_EXCEL'

EXPORTING

I_WORKBOOKID = WBID

.

IF SY-SUBRC <> 0.

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

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

ENDIF.

Created ztest transaction using se93.I have the first time Screen number 1000

Similarly I have to create one more ztransaction for different report.

I am not able to assign the same screen number for the new transaction creation.

Thanks

I have to create ztransaction for executing bw bex report.

My report works fine.But I am not able to create transaction.

REPORT ZTEST.

DATA: WBID LIKE RSRWBINDEX-WORKBOOKID.

WBID = '7DA2P06KIWAZXRBAU2JAUETR1'.

CALL FUNCTION 'RSAH_LAUNCH_EXCEL'

EXPORTING

I_WORKBOOKID = WBID

.

IF SY-SUBRC <> 0.

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

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

ENDIF.

Created ztest transaction using se93.I have the first time Screen number 1000

Similarly I have to create one more ztransaction for different report.

I am not able to assign the same screen number for the new transaction creation.

Thanks

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
525

Hi,

when you create a transaction of program type 'report', better is to create a transaction with selection screen.

even if you have no selection-screen in your report

Rgd

Frédéric

Read only

Former Member
0 Likes
525

when u create transaction for simple reports, u need to select 'Program n selection screen(report transaction')-->2nd radiobotton...>>

Hope it helps,

Regards,

Bikash

Read only

Former Member
0 Likes
525

Hi Smartone,

While creating transaction code, select option "Program and Selection screen (report transaction)". It will take Selection Screen as 1000. Don't change it. It will not create any problem.

Hope it helps.

Regards,

Neeraj Gupta