cancel
Showing results for 
Search instead for 
Did you mean: 

Open Catalog in a new Window

Former Member
0 Kudos

Hi,

I have a custom Transaction, in that I m calling BBP_WS_CALL FM to call a catalog, but it is opening in the same page in the ITS, I want the catalog to open up in a separate window like it does in the standard functionality.

Thanks in advance.....

Vaibhav.

Accepted Solutions (0)

Answers (1)

Answers (1)

robin_janke
Contributor
0 Kudos

Hi,

Maybe add the value top to the importing parameter IVCATALOGTARGET?

Regards,

Robin

Former Member
0 Kudos

hey robin... i tried that also... but still it is opening it in the same window...

If u see the standard program also.. there also this FM is called with just one input para the Catalog ID... dont know how it created a new internal explorer pop-up window and opens the vendor catalog in that window...... ?

Former Member
0 Kudos

Try calling the catalog from the config - Defin External webservices - here define it in Standard call structure. It should open the catalog in a new window.

Thanks,

-Devi Swain

Former Member
0 Kudos

Hi Devi,

I didnt get u ... i am calling the catalog with the function module: BBP_WS_CALL and passing just the Catalog ID....

can you please give some explanation on how to call it from external webservices ???

robin_janke
Contributor
0 Kudos

In standard you have the extra parameter "~caller" with value _top, so if you define that in "define external webservices" for the catalog that you have maintained there, in transaction SPRO, you might have more luck.

Regards,

Robin

Former Member
0 Kudos

All settings are there in the SPRO .. no problem with settings guys....

Problem is how to connect to vendor site ....

as i told the FM WS_CALL... is working through the SRM PORTAL.... but when i execute the same custom transaction through SRM SAP it doesnt open the vendor;'s site.. for that i think we need to create some internet explorer window... or some HTMP_PAGE.... to open the vendor;s site in SRM SAP also..... ???

any hints.....????

robin_janke
Contributor
0 Kudos

In the standard ITS page there is a javascript function that's called, namely window.open.

Example: http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

Regards,

Robin

Former Member
0 Kudos

Hey janke,

thanks a lot for that link man... i was actually looking for that javascript code only....

can you do me one more favour... can you please me out wer this JS cpde is written in sap... i mean some method must be getting called before the catalog gets opened up and ... wht;s the JS when u o submit from the catalog.... ???