Quantcast
Channel: SCN : Popular Discussions - SAP Business Client
Viewing all articles
Browse latest Browse all 1327

Opening URL in a new SAPBC window - example

$
0
0

Dear Experts,

 

I have a requirement to create a z-tcode that generates a system native URL for Personas 3.0 and open it in a new SAPBC window, while keeping current window intact when triggering from the SAPBC Landing Page (Entry Page in Personalize options is set to First Pinned Tab or Index Page).

 

I have created a z-tcode that runs a program with simple code:

1. Generate the URL

2. call cl_nwbc=>url_launch( exporting url = lv_url ), which works via se24 in the SAPBC

3. Leave program.

 

When the code logic is as above, it does not do anything in SAPBC via Landing Page, but if I replace 3. item with:

3. LEAVE TO TRANSACTION 'SMEN'.

it will open the requested URL in a new window, but it will do so twice (the same personas transaction code will be triggered in two separate windows).

 

However the code will work if I go first to SMEN transaction and then run the same z-transaction with generating URL from there.

 

I read some posts on this topic and it seems HTML control might be needed. Is there a way to archive this without additional programming in JAVA or HTML?

 

Help much appreciated.

 

 

Kind regards,

Matevz


Viewing all articles
Browse latest Browse all 1327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>