on 09-03-2014 10:48 AM
Hiya,
I have two reports (web dynpro reports) that I've created.
Each report has buttons that are supoposed to open SAP transactions.
So I've added code to the buttons that make the OBN calls, the reports have been added to the PFCG, and then OBN details have been added to the report nodes within the PFCG to open the SAP transactions.
And this all works fine!
The problem is this - the business would like a button to open report 2, in a new NWBC tab, from report 1.
I can't seem to do this AND get the OBN buttons to work for report 2.
So Report 1 works perfectly, I'm using open 'external_window' from the web dynpro to open a URL that points to the web dynpro of report 2.
Report 2 appears fine but the buttons don't work and nothing happens when you click them.
Can anyone suggest how best to approach this problem i.e. open a new NWBC tab, for a report in your PFCG role.
Thanks in advance!
Hi H.M.
This code will launch the transaction QM01 in a new tab, i think you would be able to use this snippet to open a new report instead.
Do you need to pass parameters from Report 1 to report 2, otherwise you might be able to use a portal launchpad or create your own OBN?
data: lo_lsapi TYPE REF TO IF_LSAPI.
data: lv_location type string.
lo_lsapi = cl_lsapi_manager=>get_instance( ).
lv_location = 'ls-tr://QM01?RIWO00-QMART=Q1'.
lo_lsapi->navigate(
location = lv_location
mode = '1'
* history_mode = iv_history_mode
title = 'Create notification'
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.