Call Transaction in Web dynpro
Hi friends ,
how to call the sap transaction in web dynpro abap.
I am using the function module
CALL FUNCTION 'ABAP4_CALL_TRANSACTION '
EXPORTING
tcode = 'VA01'
in web dynpro abap
but i am getting error like fill all the required filed
please give suggestion.
Regards ,
krishnan R.
Hi Krishnan,
You cannot call a transaction from WebDynpro ABAP. You can instead create an transactional iView in the portal. Go through this link for further information.
[http://help.sap.com/SAPHELP_NW04S/helpdata/EN/18/f96f4132f15c58e10000000a1550b0/frameset.htm|http://help.sap.com/SAPHELP_NW04S/helpdata/EN/18/f96f4132f15c58e10000000a1550b0/frameset.htm]
There are already many similar threads over the issue of calling a transaction from WebDynpro ABAP. Please try run a search in the previous forum threads. Below are a few such threads:
[https://forums.sdn.sap.com/click.jspa?searchID=18250003&messageID=5345700|https://forums.sdn.sap.com/click.jspa?searchID=18250003&messageID=5345700]
[call Transaction thru WB4A.|call Transaction thru WB4A.]
Regards,
Uday
Similar Messages
-
How to call call transaction in web dynpro abap
hello experts,
i need to call one RFC in web dynpro.In RFC we maintained the BDC program. but while calling the same RFC in web dynpro through service call function, it is not working.Kindly suggest any way out.this is very urgent.
RegardsHi Rajat,
Please use the below mentioned link.May be it will help you:
The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems
Thanks and Regards,
Neha -
Call a ABAP Web-Dynpro-application via a BSP-Application
We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
For the moment I can call the ABAP Web Dynpro-Application from our application.
This application runs in the same session as the Framework (verify in transaction sm04).
When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
Can someone help me?Thx for the tip,
but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
I want to call the ABAP Web Dynpro form BSP like this way.
1. Start BSP-Framework
2. Call ABAP Web-Dynpro-Application from BSP
3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
Regards Stefanie -
Passing parameters to Transactions from Web dynpro Application through ITS
Hi,
i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
CONCATENATE 'http'
'://' host ':' port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
'%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
Called T-Code CAT3
Passing Parameters are:
Data Profile TCATST-VARIANT
Pernr: CATSFIELDS-PERNRPradeep,
iam trying to pass values from webdynpro application to SAP GUI Transaction
here is the sample code which iam using
CONCATENATE 'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
'%20CAUFVD-AUFNR='
'ApplicationParameter=CAUFVD-AUFNR='
lv_workorder';'
'DYNP_OKCODE=SHOW'
INTO lv_url.
i could'nt able to succed as its displaying page not found exception.
Help me on this to proceed further
Regards
Jaipal.E -
Handle transaction in web dynpro
Hi,
How to handle transaction in web dynpro applications which is using Adaptive RFC model ?
Thanks,
TejaHello Teja,
Please refer tutorial at https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c.
I hope it will help u to understand transaction handling in wd.
Best Regards,
Pankaj Sharma -
Handle transaction in web dynpro applications
Hello,
can you please tell me How to handle transaction in web dynpro applications which is using Adaptive RFC model ?
Thanks,
TejaHi,
please see this [thread|Link to SAP Transaction using WebDynpro for Java;
regards, -
Create Transaction for web-dynpro ABAP
hi
Can you help me in creating a transaction for web-dynpro ABAP.
thank you.If you want a SAPGUI transaction code that will launch your Web Dynpro ABAP application then I suggest creating a parameter transaction code that wraps around the SAP standard transaction code WDYID. You can use the parameter STARTMODE to decide if you launch your browser within the SAPGUI window or if it opens a new browser window. You will get SAPGUI based Single Sign On with this transaction code as well. Here is an example of a TCode I setup:
http://www.flickr.com/photos/tjung/2758987559/
And here is what it looks like when running in place within the SAPGUI:
http://www.flickr.com/photos/tjung/2758987583/ -
How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP
Dear Experts,,
I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
Any help would be highly appreciated
Regds,
SriniHi Wolfgang,,
My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
So, I called the standard iView template for sap_transaction_iView as follows :
irj/servlet/prt/portal/prtmode/preview/prtroot/'
'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
'!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
'&GuiType=WinGui&OkCode=y&ApplicationParameter=' <appnm> into url.
l_popup =
l_window_manager->create_external_window( url = url
has_menubar = ' '
has_statusbar = ' '
has_toolbar = ' '
has_location = ' ').
l_popup->open( ).
And , it worked.
Any more help pls feel free to revert.
Regds,
Srini -
Call transaction in web by WebDynpro
Good day!
How i can call transaction with <b>parameters</b> from my web dynpro?
I need from my WebDynpro program run for ex:
http://yourabaphost.domain.com:port/sap/bc/gui/sap/its/webgui?~transaction=iw32
Regards.
Points guaranteed.Hi.
Oh now i see .. you could use this URL as source in an WebDynpro IFrame. Worked without problems here.
But keep in mind that the WebDynpro IFrame is obselete.
Or open a new window with this URL ?
Cheers,
Sascha
Message was edited by:
Sascha Dingeldey -
How to call method in web dynpro for ABAP
Hi All,
I created a z class and two methods to get the data.
I created a WE4A application. Now i want to call these methods from my Z calss in the web dynpro ,but i am getting amessage saying 'type zclass is unknown".
when i am trying to declare
data: cl_class type ref to zclass . i am getting above message.
can anyone explain how to call zcalss methods in my application.Hi,
You can call any global class method in WDA via. Wizard.
Even more you can make your class as assistance class and call their methods by wd_assist.
Thanks
Pradeep -
Looking for a beginner guide - Adaptive RFC call BAPI in Web Dynpro Java
Hi,
im new in SAP Developeing. I developed some basic web Dynpro applications (after some tutorials) and they are all working.
Now i want to build an Web Dynpro application with an adaptive RFC Model.
I already imported the adaptive RFC Modell with a function Model (BAPI Z_...) from the R3 System successfully.
But if i deploy the application i will get following error:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:mypackages.com.types.BapiModel:mypackages.com.types.Zmbs_Bapi_Dispo_Orderdata could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:449)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)
at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:377)
at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:322)
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:181)
at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
... 49 more
Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:152)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:178)
at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:62)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:77)
... 59 more
Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to load client to connect to SLD. Please check your SLD connection settings using the Visual Admin.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:754)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getClient(SystemLandscapeFactory.java:747)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:511)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:439)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)
... 62 more
Caused by: com.sap.sldserv.exception.SldServiceRuntimeException: Failed to create CIM client. Check via 'Visual Administrator' tool if the secure store is operational.
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:117)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:751)
... 70 more
Caused by: com.sap.lcr.api.cimclient.CIMClientException: java.net.MalformedURLException: URL must have a host part
at com.sap.lcr.api.cimclient.ClientFactory.createConnection(ClientFactory.java:466)
at com.sap.lcr.api.cimclient.ClientFactory.createClientImpl(ClientFactory.java:413)
at com.sap.lcr.api.cimclient.ClientFactory.createClient(ClientFactory.java:363)
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:113)
... 71 more
........Looks like a have a Problem with JCO.
Is there a good guide, which explains the Basic steps in developeing Web dynpro applications and BAPI ?!thank you guys for all the answers.I have to read all the documentations.
to my szenario:
I installed on my notebook the Trial Versions of:
SAP NetWeaver Application Server 7.00/Java AS 7.00
SAP NetWeaver Developer Studio Version: 7.0.14
All my basic Web Dynpro Applications in Java are running (even with Adobe Interactive Forms) on the local NetWeaver Trail- Web AS Trail perfectly.
Now i want to connect per RFC to another SAPERP Server, which is in the intranet.
I did the whole RFC tutorial with the flights -
http://help.sap.com/saphelp_nw04/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/content.htm (also with the JCO codeing etc)
so my web dynpro application should work.
I think I have to configure - like ramesh said something on the NetWeaver Trail.
So what do i need and configure excactly on my Netweaver Trial to work with RFC - to call the BAPIS in the other System?
- SLD ? JCO ?
If i over Web Dynpro - Content Administrator - >
it says "Connection to System Landscape Directory (SLD) could not be opended successfully." and all the buttons
create Jco destinations etc. are greyed out.
I didn´t configured the SLD and JCO in the Netweaver yet. -
I want to call a BAPI using web Dynpro.
In my case, the BAPI without input parameter, it only give out a out table after execute.
So that I include this Bapi in the model and directly call it in wdDoInit like this :
wdContext.nodeZbapi_Outvendor_Input().currentZbapi_Outvendor_InputElement().modelObject().execute();
wdContext.nodeZbapi_Outvendor_Input().invalidate();
However, no any result can see. Anybody could tell me what is the correct way to call BAPI in WD?
Thanks!Hi,
Don't invalidate the zbapi node...
If your output can be recieved from the node say.., output from the bapi side and you mapped it to controller to node say OutVend...
Then use this code
wdContext.nodeOutVend().bind(wdContext.nodeZbapi_Outvendor_Input().currentZbapi_Outvendor_InputElement().modelObject().getOutput());
Any queries revert back.
If this is not working post your context structure in your reply and tell where you are expect the output
Best Wishes,
Idhaya R -
How to call jsp from web dynpro app.
Hi Frndz,
How can I call a JSP from my web dynpro(and here i don't want to redirect to JSP ),I want to call a JSP which can show a message window as alert on top of WDP view.
Here am using CE 7.2 SP1, and my requirement is to call the model(back end) for every minute interval and need to give alert that how many new records r added.With WDP java i haven't find any option to give alert r notifications about new records added, so am thinking to call JSP where I will pass the parameter which can show a alert r notification(like FACEBOOK n outlook notifications).
Please share any ideas ti achieve this,
Thanks in advance.
Regrads
RajeshHi,
If your application should open in a new url, then you can use link to url action to open jsp.
You can also use EPCF navigation api to call any pcd page as well external links
i.e
WDPortalNavigation
.navigateAbsolute("link",[parameters]);
Since your passing parameters, you build url in both the cases.
Ram -
Hii,
I created one application in web dynpro.In the start page i have create button,export,refresh button and table.
I created button by name """ Create """"...And also in Action tab i given """"create"""..............
My requirement is.............
When i press Create button,,,,it has to go to next page.
when i press ""Save """""" it has to save the data...
Same for Cancel,Delete,Export,Refresh also........
For that what i have to do in the application.Is there any need to write the code.If thats the case,,,please provide the code for me.
Thanks in advance.
Regards
SushmaHi sushma ,
1. For the "create" button , to navigate to a new view what you have to do is to create outbound plug(createout) in the current view and an inbound plug(newin) to the view which you want to navigate ,
in the onAction property of the "create" button reate an action say onClick and in the implementations tab , add the following code to navigate to next view,
wdThis.wdFirePlugCreateout();
2. For the "save" button , if you want to save data from the view , you can create an RFC model for any functional module that does the required job of storing the data into the table.
Similarly for Delete , eport and all.
Regards
Sam Charles J -
PM-WCM Work Clearance Management transactions vu00EDa Web Dynpro
Hi All,
We are facing the task of exposing WCM functionality vía Web using Web Dynpro. WD Java needs RFC functions to access ERP data.
We have some problems because there is no API (SE37 RFC Function Modules) for WCM objects.
There are some function groups WC*, but are dynpro oriented and many are not useful to Web Dynpro.
Any experience in similar tasks related to WCM would be of much help.
Best Regards and many thanks,
Jorge LinaresHello Jorge,
I have a similar requirement. What did you do in the end? Did you create your own "BAPIs"?
Regards
Andrew Barnard
Maybe you are looking for
-
Screenshot in window mode not working
I have the weird situation that the screenshot utility "grab.app" returns a blank image (of correct dimensions) when I select "capture window" and point to a window. All other modes work just fine. This is on all user accounts and with 10.6.3 (update
-
Dear fourmites, I am using the log4j to log messages to files. File is getting created but my logger messages like logger.info("alaas"); are getting printed on console but not in file. Can any one plz tell me the solution. My code is as follows. pack
-
Hello Adobe Reader Developers. I need some functionality in Adobe Pdf Reader
I need a slideshow functionality of a pages with speed settings. Actually i did not want to change pages by swiping on it. I want to move up the pdf pages automatically so that i can only have work to read the content of pages from 1 line to other li
-
Issue accessing files in Customer SFTP site but PC users can
When logging into a Customers SFTP site for Project Files, I get the following message: "A component on this page is taking longer to load than anticipated. You can keep waiting, exit the page, or switch to an alternate file transfer page that has fe
-
Why can't I charge my Samsung 4GLTE wifi hotspot and surf at the same time?
Is the charger too weak to charge the device and surf the internet at the same time?