External URL in a Window of Web Dynpro for ABAP
I have two windows 1 and 2 in web dynpro for ABAP application.
In the view 1 which is embedded to window 1, I choose search engine. How do I navigate to window 2 which displays the external web page such as Google, Yahoo or Bing in the second window. I don't want it open new browser window or pop-up window. The browser must stay in the same.
Thanks,
Anthony
Exit Plug: If you want to navigate in the same browser
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm
Similar Messages
-
Troubles with Windows 7 Enterprise and Web Dynpro for ABAP
Hello together,
we've installed Windows 7 Enterprise and IE 8 and are using Web Dynpro for ABAP.
Since this installation on one Client, it is not possible to use the WD application - the sites seems to be frozen!
I know the fact, that SAP will support Windows 7 in March 2010 but it would be very helpfull if someone could give me a hint to solve this problem before.
Thanks in advance,
Andreas>
Andreas Damberger wrote:
> Hello together,
>
> we've installed Windows 7 Enterprise and IE 8 and are using Web Dynpro for ABAP.
> Since this installation on one Client, it is not possible to use the WD application - the sites seems to be frozen!
>
> I know the fact, that SAP will support Windows 7 in March 2010 but it would be very helpfull if someone could give me a hint to solve this problem before.
>
> Thanks in advance,
> Andreas
Hi,
Go to internet explorer -> tools -> internet options -> Advanced
There locate the check box "Enable memory protection to help migrate online attacks" and uncheck it.
Let me know if that works.
Regards
Prasenjit -
Web Dynpro for ABAP iview window question ...
Hi, I have a web dynpro for abap iview that calls a web dypro for abap program in ECC that generates a PDF document.
It works perfectly, except when the iview is launched it opens a blank iview page and then opens a separate window in which the PDF is displayed. Does anyone know how to suppress the blank iview window?
Can I suppress it in the ABAP for Web Dynpro program in ECC or is there something on the portal in the web dynrpo for abap iview that I can do?
Thanks
Angie.Hi,
Please check the same issue at the WD4A side-
Generating PDF in Web-Dynpro - empty window popup
Or
In the IF_WD_WINDOW_MANAGER try to use the method -create_internal_window method.
Regards
Lekha -
Web Dynpro for ABAP iView can't work
Hi guys,
I've developed an application in web dynpro for abap, it can be accessed from this url:
http://pekax110.aaa.com:8001/sap/bc/webdynpro/sap/zsfa_test
But when I created an Web Dynpro iview, set the parameters as follows:
System: SAP_CRM
namespace: sap
application: ZSFA_TEST
The WAS setting of the System is:
Web AS Host Name: pekax110.aaa.com:8001
Web AS Protocol: http
I add to iview to an portal role, and assign this role to one user. When I open the iview with the user, the iview reports error:
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
Component Name : com.sap.portal.appintegrator.sap.WebDynpro
Exception in SAP Application Integrator occured: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test.
Exception id: 09:51_22/10/06_0011_19338950
See the details for the exception ID in the log file
The default trace files shows:
#1.5#001125C948FE006A000000590009002E0004205C95299DFF#1161481918454#com.sap.portal.sapapplication#sap.com/irj#com.sap.portal.sapapplication#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Content pass of Application Integrator failed.
Component Name: 'com.sap.portal.appintegrator.sap.WebDynpro',
Context Name (iView): 'pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test',
Top Layer: 'WebDynpro/TopLayer',
Producer ID (FPN): 'null',
System Alias: 'SAP_CRM',
[EXCEPTION]
#1#com.sapportals.portal.appintegrator.ApplicationIntegratorException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:453)
at com.sapportals.portal.appintegrator.layer.URLTemplateProcessLayer.processLayer(URLTemplateProcessLayer.java:33)
at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:159)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:67)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:53)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java(Compiled Code))
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java(Compiled Code))
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java(Compiled Code))
at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: com.sapportals.portal.appintegrator.template_processor.TemplateParserException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:156)
at com.sapportals.portal.appintegrator.template_processor.compiler.TemplateCompiler.processWholeTagExpression(TemplateCompiler.java:54)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseSimpleExpression(TemplateParser.java:234)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:188)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTagExpression(TemplateParser.java:170)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTemplateExpressionPart(TemplateParser.java:97)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:89)
at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:83)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processImpl(TemplateProcessor.java:406)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:373)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:385)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:53)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:104)
at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:439)
... 32 more
Caused by: com.sapportals.portal.appintegrator.template_processor.context.ContextException: Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:156)
at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.access$000(IViewWrapper.java:28)
at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper$1.getTerminal(IViewWrapper.java:79)
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:152)
... 49 more
Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java(Compiled Code))
at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java(Compiled Code))
at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:148)
... 52 more
#1.5#001125C948FE006A0000005B0009002E0004205C9529A580#1161481918456#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Exception ID:09:51_22/10/06_0011_19338950
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : yangxm
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>&\#39;; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:121)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:96)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
... 31 more
Can anybody help me out, thank you very much!
Best Regards,
Xiaoming Yanghi Xiaoming Yang ,
i am facing the same error . can you please tell me how you have solved this ??
regards
Sujay Kulkarni -
Pop up view in Web Dynpro for ABAP
Hi,
I am new in web dynpro for ABAP. Now I am facing a problem of how to make a view pop up.
Since I had already create some table in this view. I just want to make it pop up after I click a button. But I had no idea to do it, could anyone tell me how to do it?
Thanks!
EdmondHi Ho,
For POp up view please follow the below steps.
1. Create one view [Ex:popup_view] and design it as per your requirement.
2. Create one window [Ex:popup_win] and embed the popview_view into pop up window.
3. Then write the below code when ever you need a pop up window.
data: l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
if wd_this->m_popup1_1 is initial.
wd_this->m_popup1_1 = l_window_manager->create_window(
window_name = 'POPUP_WINDOW'
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>CO_MSG_TYPE_STOPP ).
endif.
wd_this->m_popup1_1->open( ).
Thanks. -
Issues with portal integration of Web dynpro for ABAP application
Hi,
I have the following issues when i integrate a Web Dynpro for ABAP application with portal.
1. the iview does not contain some images, such as table scroll button images, maximize and close buttons of popups etc.
2. the iview loads properly, but there is an error in the status bar that says "Access denied"
3. is it possible to do absolute navigation from
role1->folder1->iview1 to role1->folder2->iview2?
when i fire this navigation from the webdynpro
application, the navigation does not happen in the
portal.
thanks,
Kavitha>
sridhar vadaga wrote:
> Hi Experts,
>
>
> CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
> EXPORTING
> text = url
> IMPORTING
> BUFFER = content .
>
>
> Thanks & Regards
> Sridhar
I think you are overestimating the power of the SCM_STRING_TO_XSTRING function module. By supplying a URL as the value of the input text, it isn't going to magically go read the content from the remote location and convert that to a binary string. It is going to take whatever value you supply in th importing TEXT parameter convert that to binary. In other words it is literally converting the string http://xxx/test.xls to binary. You will need some other mechanism to read the content from the remote location into ABAP memory before you can process it. You will need to use the CL_HTTP_CLIENT class or call some sort of web service to retrive the content. -
Close OVS Help via Button in Web Dynpro for ABAP
Hello!
Is it possible to use a close-button in a "ovs help popup"? I tried to fire a "Type-Exit Outbound-Plug" of window controller of the "ovs help window" but it didn't work.
Thanks for help
JoergHello Joerg,
in Web Dynpro for ABAP there is currently no possibility to subscribe to the close event of the OVS popup.
Regards, Ariane. -
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 -
Web Dynpro for ABAP Naming Convension & Guide line
Hi, everyone.
I have a plan to implement Web Application as WDA(Web Dynpro for ABAP). but I don't know how can I give a name to Windows or Views or Custom controllers.
If you have a naming convension or guid line document,
Could you share the document with me? ^^As Rich said, there are no official naming conventions. Nonetheless, a few things have become quite popular, such as:
- adding wnd_ in front of window names as they share the same namespace with views
- adding m_ in front of member variables of controllers
- adding s_ in front of supply methods and using the name of the node afterwards
- adding lbl_ in front of labels and using the name of the labelled ui element afterwards like "lbl_customer" and "customer"
Some developers also add certain prefixes to view elements to distinguish between them.
Regarding the names of components, there is one thing that you should not do: Start them with WD_ or WDR_ as both are somehow preserved. The same is true for entities within a component, although there checks in place that prevent you from doing that.
Best regards,
Thomas -
Web Dynpro for Abap - Tutorial 3 Navigation
Hi,
I did the exercise Web Dynpro for Abap: Tutorial 3 - Navigation, but when I test.
The first screen It´s ok, but when I press the search button.
This message shows me.
How can I fix this?
Error when processing your request
What has happened?
The URL http://gru-s-ecc-001.arinso.com.br:8000/sap/bc/webdynpro/sap/zz_bapinav_minoru/ was not called due to an error.
Note
The following error text was processed in the system ER1 : Lower-Level Node with Name FLIGHTLISTVIEW.flight_list Does Not Exist
The error occurred on the application server gru-s-ecc-001_ER1_00 and in the work process 10 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_CHILD_NODE_INTERNAL of program CL_WDR_CONTEXT_ELEMENT========CP
Method: IF_WD_CONTEXT_ELEMENT~GET_CHILD_NODE of program CL_WDR_CONTEXT_ELEMENT========CP
Method: IF_WD_CONTEXT_NODE~GET_CHILD_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: ONACTIONGET_FLIGHTS of program /1BCWDY/34A63FKGEJ2MX3QE6HZM==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/34A63FKGEJ2MX3QE6HZM==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ER1 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server gru-s-ecc-001_ER1_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 10 in transaction ST11 on the application server gru-s-ecc-001_ER1_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 100 -u: JACOB -l: E -s: ER1 -i: gru-s-ecc-001_ER1_00 -w: 10 -d: 20080417 -t: 150647 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Teamdid you check the short dump message in ST22, maybe gives you some additional information.
But when looking at the message, I would say that in the FLIGHTLISTVIEW node flight_list is not created.
Check if node is available, also check the name of the node. Maybe a typo (fligth_list, or flight_lits, or...)somewhere. -
HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP
We are pretty well invested in HCM Processes and Forms. We currently use JSP based forms as the UI for our notifications. We do not, use Adobe Forms.
For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP.
We want to bring a new scenario online using WD4A. Down the road, weu2019ll very likely transition our old JSPs over to the new methodology as well.
I would expect that this is pretty well doable. As part of a proof of concept, we did launch notifications from the web dynpro environment, had them initiate workflow, etc . Weu2019ve also pulled up our web dynpro app from the UWL and portal.
Has anyone gone through this specific exercise u2013 moving from JSPs to WD4A? We are particularly interested in where the integration points will be, working with ISR_PROCESS_EVENT, etc.
Your comments, suggestions, references, etc. are welcomed, as well as any discussion you may offer.
Thanksu2026
...MikeAnd along the same lines, any thoughts around which of the following QISRDPROCESS_TYPEs might be a better choice?
Entry Using ITS Service
Entry Using Adobe PDF
We currently use the ITS Service type. I think this may be our first direction, replacing url links with links to our webdynpro application which woulds need to integrate calls through ISR_PROCESS_EVENT
The Adobe Type seems interesting - Again, we do not, nor will, have Adobe Forms in place for this development. But, I've read some discussion that folks have enhanced out of actual Adobe Form rendering.
Again, the thoughts of the community are welcomed here.
Thanks...
...Mike -
Web dynpro for abap error: Error type sapPopupmainID_X1
I am using Solution Manager System 4.0 and I developed an application with web dynpro for ABAP but we have an web dynpro error from Internet Explorer 6.0 when I open the popup(You can look screenshot of the[ error message|http://mtargun.googlepages.com/error.jpg]). I have found a SAP note but this note(997989) is obsolete for our system.Please help me.
Hi Heidi
My server is not in the domain. It is in work group.
Is it neccessary that server should be in domain?
Could you suggest me the work around when server is in workgroup.
Why it is showing hostname of the other server in the URL instead of the server on which I am developing the application?
Thanks,
Rashmi -
Direct link to Web Dynpro for ABAP
Hey everyone,
I created a web dynpro for ABAP application that will list out all the work items for the purchase requisition approval through workflow. I want to be able to have our higher ups be able to access this through our portal. I created an iView that works and calls the application just fine. What I want to do now is provide a link in an email to these people so they will be able to log into the portal and go directly to the application (just the application not portal wrapper around it at all) and only the application. I can't provide a directly link to the WDA app since, I think, it would be to the ECC server and not the portal one.
I have tried Quick Links but that isn't what I want.
I did try to put a pcd location link
http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd location>
but I get an internal error because it's trying to do an anonymous login and I want the login screen to show up first.
HELP!!!!!
Thanks,
ArchieThe PCD path of the portal object is the Navigation target.
http:/myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole
This can be hashed and shortened to form the Short URL as shown below
http:/myServer:50000/irj/portal?NavigationTarget=navurl://b3d6d9ebac16a46574d62757803b05d4
Short URL can be enabled and disabled depending upon the requirements.
Check the links below for detail description to enable short URL:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/330b66fd695aa8e10000000a42189d/frameset.htm
NavigationTarget generally shows all the portal roles with the specific object highlighted.
In the sense it takes you to that Object with the portal header and TLN.
If your requirement is not to show header and TLN,then try adding &NavMode=3 to the NavigationTarget url you are using as below
http://<server>.<port>/irj/portal?NavigationTarget=ROLES://<PCD path of object>&NavMode=3
I( made some testes here, and works fine for worksets and roles.
Hope it Helps.
Fabio Sarmento -
N4S: Web Dynpro for ABAP layout editor not working
Have problem in Layout editor in Web Dynpro for ABAP
I have installed NW04S Testdrive on 64bit Linux and able to login.
SE80 is working alright.
Next I create a Web Dynpro Comp. / Intf. and create a component.
I double click on the View name "V_Default" . The Layout editor opens on the right side. Change into Edit Mode.
The "View Elements" panel on the left side of layout editor is missing. This is where we select the various elements like "Textview" etc.
Even the right click on the "ROOTUIELEMENTCONTAINER" to insert elements using context menu does not work.
In summary I am not able to add any element in WD4A Layout screen.
Is there any special plugin required to be installed?
How to solve this problem?you cannot develope Webdynpro for ABAP using ECC5
This is available with netweaver 2004s (WAS7.0) for which ramp up is going on right now and the general availability is expected sometime around 1st quarter for 2006.
Regards
Raja -
Import Data from Office Control (Web Dynpro for ABAP) into internal-Table
Hello,
I have a question concerning the Office Control UI-Eelement in Web Dynpro for ABAP:
How can I import spreadsheet data from the Office Control into a internal-table?
I have an Excel-sheet (without any data) which is shown initially in the Office Control. First the empty Excel-Sheet will be loaded and in the second step data from an alvxml-transformation will be loaded into the Excel-sheet with the method 'activatexmlsource'. This works so far. When I change the loaded data in the Office Control and save it it will be stored as XLS-File. The problem is that I'm not able to use existing Upload-FM because every function module I tried uses GUI-functions and WebDynpro has no GUI-functionality. I always get the error that data from clipboard cannot be imported.
So now the question is:
How can I import changed data from the Office control into a internal-table staying in Web Dynpro application?
Please give some advice, if you have some useful code or ideas.
Thanks
ram
Edited by: Ramakullay Challa on Sep 24, 2009 9:05 AM
Edited by: Ramakullay Challa on Sep 24, 2009 9:07 AMHi,
Once you save to desktop again you have made some changes to that file, this file you want to upload it right.
Then in that case you need to use the FILEUPLOAD UI element right.
Regards,
Lekha.
Maybe you are looking for
-
Issue with Delta in Function Module
Hi Team, I have an issue with delta in Genric extraction using function module.Full load is working fine and i have taken post_date as delta field.plz chk the code if any delta related statements are missing. FUNCTION ZRSAX_BIW_MANGEMENT_RAT . ""Loca
-
Why is the video camera really zoomed in???
Hi. Has anyone else noticed that when you use the Iphone4 camera in video mode, it is zoomed in compared to the still camera? It makes it really difficult to shoot anything close up and is just really annoying. Why should it be different, surely it u
-
Every time I try to open any of the programs in my CC suite, it makes me try to sign in, then another window opens that tells me to press "continue" to begin working, but when I do this, the FIRST dialog box appears AGAIN. I can't even read a PDF wit
-
Hi All, I have one urgent requirment. we are using the work flow.In the workflow process when ever a new vendor is going to create,we are attaching one W9 form to that pericular workflow and sending it for approvals.After all approvals according to t
-
'Upgraded' email is a big step back!
I used to be able to set up an icon on my Firefox taskbar to take me straight into BT's Yahoo webmail, but not now, oh no, I'm just presented with a BT login screen EVERY time. Progress, not for me, that's for sure. Is there a workaround or should I