How to call transaction from webdynpro application
Hi Experts,
I have a web dynpro component zxx_comp.its corresponding web dynpro application zxx_app.
my requirement is , when i test the webdynpro application, i have to call a transaction zxx_txn corresponds to the module pool program zxx_pgm directly . How can i do that?
Regards
Ashwin KV
Hi Ashwin,
Use the following to open a T-Code from WD application.
CALL METHOD cl_http_server=>if_http_server~get_location
IMPORTING
host = lv_host
port = lv_port
out_protocol = lv_protocol.
DATA lv_url type string.
concatenate lv_protocol '://' lv_host ':' lv_port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='zxx_txn' into lv_url.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window_manager->create_external_window(
EXPORTING
url = lv_url
RECEIVING
window = lo_window ).
Regards,
Harsha
Similar Messages
-
How to call infotypes from webdynpro application
Hi friends
My requirement is, I need to call infotypes in r/3 system. Exact requirement is I got a dropdown, which gets the data from infotype, I got a textview which also gets the the data from other infotype.My question how to call these infotypes. Is this is the same way like importing bapis or different. Please let me know the detail procedure, and any doccuemnts mail me to [email protected]
Regards
keerthiFor reading HR infotypes you have to do the following
a. Create a Remote enabled function module (FM) in the HR syste. This FM shall wrap the standard FM HR_READ_INFOTYPE.
b. Create a Model in your webdynpro project for the FM you developed in step a.
Thanks and Regards,
Prasanna Krishnamurthy -
How to call infotypes from webdynpro applications
Hi friends
My requirement is, I need to call infotypes in r/3 system. Exact requirement is I got a dropdown, which gets the data from infotype, I got a textview which also gets the the data from other infotype.My question how to call these infotypes. Is this is the same way like importing bapis or different. Please let me know the detail procedure, and any doccuemnts mail me to [email protected]
Regards
keerthiHello Keerthi,
it is no special way to call infotypes, you have to find a Bapi which return data you want (or part of this thata). When there is no Bapi which fill your requirements (or you must call to much bapis) i think you should write your own bapi. Last step is using this (own or found) in wdp.
Regards
Bogdan -
How to call webservice from Java application
Hi XI gurus
Pls let me know how to call a webservice from Java application.
I wanted to build synchronous interface from Java Application to SAP using SAP XI
For example, i need to create Material master from Java application and the return message from SAP, should be seen in Java application
Regards
MDHi,
If your JAVA Application is Web based application, you can expose it as Webservice.
JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
So we can Use SOAP Adapter or HTTP in XI..
If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
If you are dealing with the Webservice and SAP Applications means check this
Walkthrough - SOAP XI RFC/BAPI
REgards
Seshagiri -
How to call javascript from java application
How can we call a function written in javascript from java application (core java not applet)? How will java identify javascript?
Is there any such options ?Try creating a page called launcher.html (for example). That does this:
<html>
<head>
<script language="javascript">
windowHandle=window.open("http://www.javasoft.com", "", "height=700,width=1000,status=no,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,top=5,left=5");
</script>
</head>
</html>Now you launch IE (or whatever) with this page using the Runtime class. After x seconds (after the second window has been launched) try killing the process. Hopefully it will kill the original window you opened and not the window you popup (the one without toolbars etc)
It might kill both windows but I can't be bothered to test it. If it does you'll have to try and find a workaround. -
How to create iview from webdynpro application abap
hi ,
i have built webdynpro Application ABAP with adobe interactive form in it. i want this as part of the page in portal .
Can you point me how to do it ...some resources .
thank you
chandra.Hi,
Logon to portal, Content Administration->Portal Content and by right clicking, select New iView. In the "Template Selection" select SAP Web Dynpro iView. In the 2nd step, give the name and id of the iView. In the 3rd step you have the option to select either 'Java' or 'ABAP'. In your case select ABAP.In the 4th step, select the System and supply namespace and application name of your Web Dynpro ABAP Application. Click and Next->Finish. Now you will find the iView for your web dynpro ABAP application.
A doc on integrating web dynpro appl in portal,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
Hope this helps.
Regards,
Srinivasan T
<b>Helpful answer=>points</b> -
How to Call JSPDynPage from WD application?
Hi Xperts,
Can someone help me to call JSP Dyn Page from Web DynPro application.?
Thanks in advance!!
-VishalHi Vishal,
Check the below link about JSP Dyn Page
I have written a blog on JSP Dyn Pages, also check it
/people/anil.dichpally/blog/2007/04/25/jsp-dyn-pages-with-an-example
/thread/191892 [original link is broken] WebDynpro and JSPDynpage
difference between Dynpage & JSPDynpage between Dynpage & JSPDynpage
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/471ce3617b14bce10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/cfa441cd47a209e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/cfa441cd47a209e10000000a155106/frameset.htm
hope that helps.
regards
Anil -
How to call scriptlogic from another application
Hi
In BPC 7.0 NW, how would I call scriptlogic defined in another app from my current app. The MDX *RUN:OGIC is not supported. Is there anther way to do this and if so, how?
Thanks
L.Hi,
The Script Logic File is assigned to Data Manager Package which in backend will call the process chain.
So in your case you will be assigning the name of the Script file(in different application), to the DM Package of some other application from where you will be calling the logic.
The Dynamic Scriptin that case will be as below if you are using FXRESTATEMENT Process chain,
PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,<Name of App where the>)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,QTYOFRM.LGF)
Hope this helps,
regards,
G.Vijaya Kumar -
How to call SKYPE from Flex application ?
The basic idea is this. I've got Flex application, to simplify the problem, let's say it's phonebook.
Data in this phone book is pulled from SQL server and telephone numers are changing daily.
I'm choosing a person, and I have button - CALL CONTACT ...
How to link this button to his current telephone number to call this number via SKYPE ?
There is such a way if you have HTML site - http://www.skype.com/intl/en-gb/business/features/calling/buttons/
Have you any idea how to make such button in Flash / Flex ??navigateToURL() ? http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#navigateToURL%28%29
However, it looks like the Skype HTML has some form of JavaScript involved. If it's doing something special you may be Out of luck. -
Calling RFCs from Webdypro application!!!!
Can anybody show me a suitable example for calling rfc from webdynpro application.
Hi steve,
Look at this tutorial..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on accessing abap functions in web dynpro - 4.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on handling transactions with bapis in web dynpro - 5.htm
Follow the steps provided in those documents.
You can easily understand how to access ABAP functions from WebDynpro.
Let me know if you need more help on this.
Regards,
Karthick -
Calling GuidedProcess from WebDynpro ABAP
Hi all
can anybody tell me that how to call GP from webdynpro ABAP.
and what are the advantages and disadvantages in this scenario??
if anyone reply then it would be the great help to me
Regards
Suresh babuHey,
You can call a GP from WD ABAP through by implementing a service call from a method that is embedded in your WD. You can refer this link for the same.
http://help.sap.com/saphelp_nwce10/helpdata/en/44/58f9cc0d95311ce10000000a155369/frameset.htm
But you should note here that Data exchange between ABAP WD and GP is not two way but its only one way.
Cheers,
Mandrake -
Not able to call RFC from webdynpro
Dear Experts , I want to call a rfc from my webdynpro application , but its not working
I have a function module in my ECC system , that I want to call from webdynpro application of SRM system but its not working , it is not showing any error also
I called the function module like
CALL FUNCTION 'ZFM_SR_GET_PLANT_RFC' DESTINATION lv_logsys
TABLES
it_plant = lt_pr.
the control is just passing thru this function call but not going inside it,
at the same time when I call this function module from my report program in SRM it's working fine , is there anything else i have to specify to call it from webdynpro application ?
Please helpHi thomas ,
I have added the exception for my function module , but they didnt triggered ,while debugging I have observed that no exception occured at the point of call , and my sy-subrc eq 0 ,
se I did like this
CALL FUNCTION 'ZFM_SR_GET_PLANT_RFC' DESTINATION lv_logsys
TABLES
it_plant = lt_pr
EXCEPTIONS
system_failure = 1 MESSAGE msg
communication_failure = 2 MESSAGE msg
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID 'ZMSG01' TYPE 'E' NUMBER '00' WITH msg
INTO ls_message-message.
CALL METHOD wd_comp_controller->gref_message_manager->report_error_message
EXPORTING
message_text = ls_message-message.
ENDIF.
AT CALL FUNCTION statment the control is just passing thru it , and not going inside function module -
Related documents or links on how to call webservices from WDJ
Hi all
i need documents & links on how to call webservices from Webdynpro for Java.
if anybody send the documents on sample scenarios on the same then it is the great help to me...
Thanks
SunilHi Sunil,
May these links help you.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
and the below thread to call weservices in java.
Re: How to call a web service from Java
Regards,
Supraja -
Run R/3 transaction from WebDynpro
Hi gurus,
We're developing a webdynpro that has to call R/3 report (ALV one). How can we do this?
Thanks a lot!
Regards,
Iván.Hi,
according to me you want to call a report program from wd abap.
so if this is your requirement then go thru this thread
how to call report program from WebDynpro Application
also go thru this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a086ce1e-b551-2b10-e4ba-bf7ac5e4b2d6&overridelayout=true -
Calling Transaction from other system using RFC
Hi ,
I have one button on screen(say Screen-A), in ECC. when its pressed the transaction '/SAPAPO/BOPIN' gets called from APO.
For calling transaction from APO I am using FM - 'ABAP4_CALL_TRANSACTION'.
I want the initial screen of that transaction to retain some values which I fill on the Screen-A(the screen which has that button).
When I call the transaction from ECC itself (ex. C006), the initial screen of C006 retains the value on Screen-A.
I want the same to happen in case of calling transaction from APO.
How to achieve this? Would it need the changes in IMG (SPRO)?
Please note that, Screen-A is initial screen of transaction 'md05' and I want to retain vaules of Material, MRP Area, Plant.
Thanks,
SujeetBuilld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
Regards,
Raymond
(*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
(**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm]
Maybe you are looking for
-
The detail part of table doesn't refresh after deleting a row
Hello! I'm developing a Master-Detail table with some a functionality. Particularly, I want to invoke a DELETE function in the Detail part of the table. For this purpose, I placed a Command button to the tableSelectOne component of the Detail part of
-
Hi , I want a list of all open Purchase Orders in a Plant since the begining of the Plant.However please note that I have already tried the following & failed: 1)Delivey completed indicator is not used in the Plant neither it is set in the configurat
-
Where do I get a Skype #?
Where do I get a Skype No. please. Have a free monthly subscription for the world but don't seem to be able to use it??
-
Trying to load and install gnome
I have tried to load and install gnome for thge past three(3) days with no success. If this is what Arch linux is all about then its lost on me. Anybody want to change my mind?
-
Error: Please Try Again- When trying to upload content to iTunes U
Hello, I am able to log into my site and access the upload and manage files web page just fine. When I upload a file I can see it in the Queue and it uploads till about 1MB of completion then I get "Error: Please Try Again" Is anyone else having this