2006 Mar 16 2:28 PM
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
2006 Mar 16 2:30 PM
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
2006 Mar 16 2:39 PM
when u create transaction for simple reports, u need to select 'Program n selection screen(report transaction')-->2nd radiobotton...>>
Hope it helps,
Regards,
Bikash
2006 Mar 16 2:43 PM
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