Application Development 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: 

callling Transaction in Split Container

naresh_bammidi
Contributor
0 Kudos
1,016

Dear All,

I have created one module pool program for splitting the container by using the following classes

- cl_gui_docking_container

- cl_gui_easy_splitter_container

- cl_gui_container

after executing my program it's showing the splitting screen.Up to now it's fine.But What my requirement is,in left side container i have to display vf03 transaction.how to display the transaction in that screen?please help me out.

with Regards

19 REPLIES 19

marcin_cholewczuk
Active Contributor
0 Kudos
406

Hi,

I also wanted to do something like this in past, but I'm afraid it is not possible. The only idea that I came up with was to set in this container www page that would be pointing to your Webdynpro page.

Best Regards

Marcin Cholewczk

0 Kudos
406

Hi Thanks for your quick replay,

I am very new to using OO ABAP classes and all.Here i have a doubt ,in screen Layout we have a component called CUSTOM CONTROL .I dragged that into screen and executed the dialog transaction.But it's showing blank screen.Previously i created only screen and created object for custom control,so its displayed in the screen.why its not displaying when i drag that component into screen ?( like table control ).

with regards

0 Kudos
406

Custom control is a container which can contain other UI element of GUI control framework like OO ALV, OO tree etc. it does not have any visual appearance of itself on the screen.

0 Kudos
406

Hi Marcin,

What did you do to set www page to the container.can you please explain me briefly

with regards

Naresh

0 Kudos
406

i got a solution for you

just copy this report 'DEMO_ABAP_OBJECTS_DIALOG_BOX'.

and in line number 187. comment out the code

*    select single URL
*    from   SCARR
*    into   L_URL
*    where  CARRID = I_CARRID.

and insert this code.

l_URL = 'http://<host>:<port number>/sap/bc/gui/sap/its/webgui/?~TRANSACTION=VA02'.

you can get this host and port easily by launching any of the webservice from your server(like goto SICF, give service name webgui,execute, then on next screen right on the code sap/bc/gui/its/webgui and click test service.) from here you can pick the host and port or just ask your basis team,

after doing this.. execute the program and click on any main node(not the child node.. and bingo )

0 Kudos
406

Hi soumya,

will it display VA02 Transaction after clicking on node?Here i commented the code and added the URL .But after clicking on the node its showing internet error.port and host number might be wrong.But in SICF Tcode i couldn't find the Host or port number.Could you tell me please Briefly.

0 Kudos
406

Yes. it will show the VA02 screen after the double click

why error, because in your host file this host entry is not maintained. maintain it and you wont get error

moreover,in internet explorer. internet options, connections,in lan setting use bypass proxy server for local address and , advanced -> do not use proxy for (here enter <host name(part of it like 2/3 chars>>

Edited by: Soumyaprakash Mishra on Jan 20, 2012 4:01 PM

0 Kudos
406

Thanks sowmya,

It's working fine.After double clicking the node only Transaction is Happening.But in my case it should be happen when i execute the report.For that i called the method from PBO.But it's not happening ,when i execute the report.Is this right way?

with regards

Naresh

0 Kudos
406

Naresh, try a bit this is very much possible..

just add this before the last line of method constructor.

CALL METHOD fill_html
        EXPORTING
          i_carrid = i_carrid.

Edited by: Soumyaprakash Mishra on Jan 20, 2012 6:29 PM

0 Kudos
406

Hi sowmya,

Instead of this web view, is there any other way to display the standard transaction.Why because my client asking normal view not webview.I tried using sub screens by calling CALL TRANSACTION in PBO.But it's showing the transaction in new screen.If there is any other way please let me know.

with regards

Naresh

0 Kudos
406

I am not sure of anyother way of doing this...

call transaction wont work as a separate LUW. and calls its own transaction screen.. so this wont work .

Sandra_Rossi
Active Contributor
0 Kudos
406

Hi,

You can do it only if (at least) VF03 already appears inside some other SAP standard transactions. If it's not the case, then forget it. It's up to each transaction to allow this. If not programmed in such this way, then you're stuck. Usually, it's never possible (or you have to implement it in the SAP transaction, but it's usually not worth doing so). Said from the technical side, the only possibility is that in the PBO of the VF03 main screen, a DOCKING container is (can be) instantiated, and that it passes this container's instance to a user exit (like BAdI) so that you can fill it with anything you want... (only "latest" transactions do that, maybe have a look at Enjoy transaction VF03N, but I don't know if it exists...)

Sandra

naresh_bammidi
Contributor
0 Kudos
406

I tried by creating two sub screens in single screen.Inside the sub screen i called the transaction,but it is getting displayed in new

screen not inside the sub screen.when i click back its coming to my dialog screen.Any other alternative solutions to reach my requirement?

with regards

naresh

Edited by: naresh bammidi on Jan 20, 2012 8:37 AM

naresh_bammidi
Contributor
0 Kudos
406

Any idea,

I tried to analyze the code by debugging se80.But i didn't get anything.can anybody explain me how its happening in SE80.

with regards

0 Kudos
406

in SE80 as well, open a package and execute any transaction it will open in a new screen.

0 Kudos
406

But in se80 it opens in same screen. if we double click on any program in se80 ,it opens se38 editor in same screen but not different screen.Can't i implement like that.

with regards

0 Kudos
406

Hi,

I highly doubt that SE80 is calling SE38 in a way you describe it. I would say, that SE80 is using it's own implementation that looks like SE38. You can check it in ST05 - no SE38 call

Best Regards

Marcin Cholewczuk

0 Kudos
406

In Se80, transaction codes are shown though RS_TRANSACTION_WM_EDITOR and se38 editors are called though Cl_WB_EDITOR..

i am also not sure how you can do that for standard transactions.

what happened to that webservice logic? any problems?

0 Kudos
406

which is working perfectly.But My client wants the standard view not iview.So i am looking for other alternatives