Webdynpro
Hi Guys,
I am new to abap dynpro and i developed one application and and has been activated without errors but when i execute it, the webpage opens but it doesnt show me the content but displays error as show below:
The following error text was processed in the system SE1 : Adapter error in &VIEW_ELEMENT_TYPE& "LABEL" of view "ZDISPLAY_WEB.FIRST_VIEW": Property "labelFor" of the label is empty. It must always contain the ID of a UI element
The error occurred on the application server topwdserd001_SE1_51 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L0STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Please let me know what is the problem?
Thanks in advance
Go to your FIRST_VIEW view. Make sure that any label UI elements have the "labelFor" property filled in. It should be its corresponding input field name.
Regards,
Rich Heilman
Edited by: Rich Heilman on Jul 9, 2008 12:27 PM
Similar Messages
-
Hello,
I have a program in R/3 that is based on a logical database. I don't want to have to write the program all over again in Webdynpro.
Is there a way to use the logical database in Webdynpro for ABAP.Basically WDA calls a FM and then the following help is a good starting point:
"Calling a Logical Database Using a Function Module"
http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
Kindly close the thread and award appropriate a points to the answer given.
Sergio -
Filename in Webdynpro for a PDF created with Smartform
Hi,
I created a PDF with Smartform in my Webdynpro-Application.
When I click the save button there is a default filename f.pdf .
How can I change the filename?
Regards
Marcus SchugHi Experts,
any update on this?
I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
I spent a lot of time to find any possibility to get and change the file name but without success till now.
Please respond.
Regards,
Zdzislaw Kaczmarczyk
Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM -
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input
Dear Friends,
We are facing a serious problem for debugging. Expecting valuable input for the same.
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
1st ] Within R/3
Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
2nd ] From webpage to R/3
Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
In Prod. Server the 1st case above is working but the 2nd case is not working.
In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
The setting which are done in Prod. server are,
1] RZ10 in parameters are set for port and host name.
2.1] In SMICM check for ICM.
2.2] Host file updated in Windows-System 32.
3] In SICF following services are active,
3.1] default_host/sap/bc/webdynpro
3.2] default_host/sap/public/bc
3.3] default_host/sap/public/bc/webdynpro/viewdesigner
3.4] default_host/sap/bc/wdvd
3.5] default_host/sap/public/icman
3.6] default_host/sap/bc/gui/sap/its/webgui
3.7] default_host/sap/public/ping
3.8] default_host/sap/bc/error
3.9] default_host/sap/bc/echo
4] In SE80
4.1] Internet services-System-are published
4.2] Internet services-WEBGUI-are published
4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
5] In Su01 for user profiles sap_all & sap_new is assigned and role SAP_BC_WEBSERVICE_DEBUGGER is assigned.
6] The support packages are also updated to latest level.
7] Gone through following links but not getting any clues.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
Thanks in Advance.
Best Regards,
Abhijit.No cross posting
Read the "Rules of Engagament"
Regards
Juan -
IE Script error when double clicking on a view in Abap Webdynpro component
Hello experts,
I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
<b>Internet Explorer Script Error</b>
An error has occured in the script on this page.
Line: 1
Char: 1
Error: 'wdp_show_menu' is undefined
Code: 0
URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
Do you want to continue running scripts on this page?
Thanks in advance.
BhupendraHi Bhupendra,
If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
Thanks
Anzy -
Hiding a subview called in a main view in WEBDYNPRO Application
Hello Experts,
I have a scenario in which i am calling a subview inside a main view. I have created a main view in which:-
1. List of reportee to the manager logged in is getting displayed in the form of a table.
2. When we select any row of this table ( means selection of any reportee row) and click on a button 'Get Details', then it should display the detailed personal data of that reportee.
I have successfully called an already created personal data view inside this main view to display the detailed personal data of any selected reportee. But the issue is in the main view:-
1. This view has table containing the list of reportee getting displayed.
2. This view simultaneously also displays the default first row detailed data of the table of reportee.
Our requirement is:-
1. To display only table containing the list of reportee in the first load of main view.
2. Then when any row of this table is selected, then only the detailed data specific to that row should be displayed.
My approach till now is:-
1. I have removed the default first row lead selection for the table of reportee.
2. I have created a node VISIBILITY_DET_DATA and then an attribute IS_VISI BLE under that node of type WDUI_VISIBILITY.
3. In the layout section i have created a group GROUP_DETAIL_DATA and a view container UI element under that to call the detailed data view when any row of table containing the list of reportee is selected.
4. I have created a binding for the VISIBLE property of the group GROUP_DETAIL_DATA to the attribute IS_VISI BLE created in the context of the component contoller.
5. I have then used the method WDDOINIT of the main view to write code to hide the detailed data view by setting the IS_VISIBLE flag to '02' i.e. NONE.
But this is causing the entire view to be coming as blank view.
I am not sure why this is happening, Can any of you suggest if i am missing anything important which is cauing this analomy.
RupeshHi ,
This is a Webdynpro related question. you would have got many repsonses if you posted in webdynpro forum.
i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
You can do a post_exit enhancement in the MODIFYVIEW method. Get the UI element object from view and There are methods to set the visibility at runtime.
Is there an option to dynamically specify diffent image based on the login language with the IMage container?
i think yes, same procedure as first question's answer. Based on condition you can change the source path of the mime object . -
How to create a calender view in webdynpro java EP 7.0
Hi ,
I want to create a calender view in webdynpro,
Requirments are
1. it should be current month view
2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
ie
1
10am | 4pm
Is this possible in webdynpro java EP 7.0 ?
Please help me
Thanks
KumarHi Kumar,
If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
Regards,
Ganesh N -
WebDynpro Error while creating a Purchase Order in SRM 7.0
Hello Friends,
I need help.
We are on SRM 7.0 with support pack 8.0 and we are getting the below error wile clicking on Shopping cart or Purchase Order link in Portal.
Any idea on how to resolve this error.
Thanks
Jyothi.
http://sapsrm.erpcx.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
ASSERTION_FAILED
The ASSERT condition was violated.
Method: ADD_EVENT_TO_QUEUE of program CL_FPM========================CP
Method: IF_FPM~RAISE_EVENT of program CL_FPM========================CP
Method: SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: IF_COMPONENTCONTROLLER~SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: RESET_SCREEN of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: IF_V_PRSEL~RESET_SCREEN of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: WDDOMODIFYVIEW of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/0FJM4718F184UKVHA34J==CP
Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
Method: MODIFY_VIEW of program CL_WDR_VIEW===================CPHere is what I see:
Error analysis |
The following checkpoint group was used: "No checkpoint group specified"
If in the ASSERT statement the addition FIELDS was used, you can find
the content of the first 8 specified fields in the following overview:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"ASSERTION_FAILED" " "
"CL_FPM========================CP" or "CL_FPM========================CM004"
"ADD_EVENT_TO_QUEUE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
| -
Error while Look up session bean (EJB 3.0) in WebDynpro
hi ,
I want to look up session bean inside webdynpro. I hv written following code inside init of component controller. but not able to look up session bean
try{
InitialContext context = new InitialContext();
ApplicationFetcherLocal applicationFetcherLocal = null;
applicationFetcherLocal = (ApplicationFetcherLocal)context.lookup((ApplicationFetcherLocal.class.getName());
catch (Exception ex){
System.err.println("LookUp Failed\n\n"+ex.getMessage());Have you read my latest reply in your other [thread|session bean look up across DCs in EJB3.0;?
What's the value of asking the same question again if you don't care about the answer?
Regards,
-- Vladimir -
Problem while deploying a webdynpro java application in NWDS 7.1 version
HI All,
I got the below error when i deploying the webdynpro java application in NWDS 7.1 version..help me out...........................................
Exception:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:64)
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
va:136)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
DeployProcessorFactoryImpl.java:26)
at
com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
Impl.java:46)
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:58)
... 1 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
not found in lookup of tcbldeploy_controller.
at
com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
at
com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
directableImpl.java:80)
at
com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
4_Skel.java:555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
cess(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)First check is Java stack is running ?
make sure J2EE_ADMIN user not locked.
Ans please check password in secure area. check password in secure store should be correct.
may be you can try with restart of SAP and DB.
All the best
regards
nag -
Error while deploying a webdynpro application
Hi,
Iam getting an error while deploying the application in nwds the error is like this
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.labprocess.LabProcess1
what is the remedy for this and due to what reason it is displaying. plz reply me ASAP.
Regards,
Shilpa.N
Edited by: pasumarthi shilpa on Apr 17, 2008 7:01 AMHi,
Iam having one doubt regarding ECATT in case of this at front end any changes we need to make is it necessary.....
actually ECATT means recording the nwds applications at backend browser when we click on start recording it will start recording and what ever values we r entering at front end we can view from backend... Plz suggest me ASAP.... waiting for u r response........
Regards,
Shilpa.N -
Error while deploying a WebDynpro from NWDS
Hi,
I'm trying to deploy a simple WebDynpro application. I'm deveoping on a local machine, the J2EE Engine is on the remote host.
While developing I'm getting the following deployment exception:
Deployment exception: Cannot determine sdm host (is empty). Please configure your engine/sdm correctly!
I have read a lot of postings about the same problem, but none could realy solve my problem.
I don't have access to the remote machine, but the admistrator checked the J2EE Engine and the SDM and they should be running correctly.
I'm also sure that I have correctly specified the Message Server Host and the Message Server Port under Windows-Preferances-SAP J2EE Engine.
Strange is that in the J2EE Engine Tab the Remote engine node is not marked green like people told it should be, instead under the Remote engine node I only see another node marked with N/A and something like an error icon.
I would appreciate any help.
Thanks,
Mladenhi ,
select window> Preferences>SAP J2EE Engine-->Choose SAP J2EE Engine
and select FIRST radio button and enter the host address and port as 3601.
even it is not deploying..
Try adding this to solve ur problem,
in following location
C:\WINDOWS\system32\drivers\etc
u will find one file names "hosts" open that in notepad and add at the end of file..
<ur system ip address> <servername>
example:
202.2.3.45 <any name>
hope this will sovle ur deployment problem
regards
sunil
Message was edited by: sunil chiluveru -
CNTL_ERROR while calling a function module from Java webdynpro
I am calling a RFC function module from javawebdynpro app
which inturn calls a function module performing BDC on CAPP transaction. When I run this from SE37 of the same system or a different system everything works fine. But when called from Java webdynpro app, it raises a CNTL_ERROR exception and creates a short dump.
Any help on this is highly appreciatedGood catch, BI Learner. This was exactly it: when assigning the values from SOURCEFIELDS directly to the import/export parameters, you have to make sure that the types are EXACTLY the same, otherwise it will not work (the routine stops with an error when calling the FM, but there is no dump).
Therefore, to solve my problem, I created the declarations precisely as expected by the FM and assigned the values to these fields:
DATA:
SOURCEVAL TYPE /BIC/OIINVQTY,
SOURCEUOM TYPE /BIC/OIUSUOM,
USITM TYPE /BIC/OIUSITM,
TARGETUOM TYPE /BIC/OIUSUOM,
CONVERTED_COST TYPE /BIC/OIINVQTY.
DATA PRODUCTION_UOM TYPE /BIC/OIUSUOM.
" get the Production UOM
SELECT SINGLE I~/BIC/USPRDUOM
FROM /BIC/PUSITM AS I
INTO PRODUCTION_UOM
WHERE I~/BIC/USITM = SOURCE_FIELDS-/BIC/USITM AND I~OBJVERS = 'A'.
IF ( SY-SUBRC = 4 ). " no records found
"RAISE PARTNO_NOT_FOUND.
RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD.
ENDIF.
" load the parameters
SOURCEVAL = SOURCE_FIELDS-/BIC/USFRZMFC.
SOURCEUOM = SOURCE_FIELDS-BASE_UOM.
USITM = SOURCE_FIELDS-/BIC/USITM.
" then you can call the FM
CALL FUNCTION 'Z_CA_CONVERT_US_COST'
EXPORTING
PSOURCEVAL = SOURCEVAL
PSOURCEUOM = SOURCEUOM
PUSITM = USITM
PTARGETUOM = PRODUCTION_UOM
IMPORTING
PTARGETVAL = CONVERTED_COST
EXCEPTIONS
CONVERSION_NOT_MAINTAINED = 1
PARTNO_NOT_FOUND = 2
OTHERS = 3.
" ... [do the rest]
Thanks for your help,
Dennis -
Hi Experts,
I am getting following run time error message while running a Web Dynpro program:
java.lang.ClassCastException: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type 'com.sasol.pr.create.Bapimereqitemimp$Bapimereqitemimp_List', not of 'class com.sasol.pr.create.Bapimereqitem$Bapimereqitem_List'!
Detailed error message is:
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:18:32[UTC], changelist=434634, host=pwdfm101), build date: Thu Apr 12 16:35:25 IST 2007
J2EE Engine No information available
Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2 1.4.2.12-061213-10:06-IA64W IA64W, vendor: Hewlett-Packard Company
Operating system HP-UX, version: B.11.23, architecture: IA64W
Session & Other
Session Locale en_US
Time of Failure Tue Apr 17 14:05:49 IST 2007 (Java Time: 1176798949444)
Web Dynpro Code Generation Infos
local/Pr_Create_16042007_I
SapDictionaryGenerationCore 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
SapIdeWebDynproCheckLayer 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
SapMetamodelCommon 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
SapMetamodelCore 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
SapMetamodelDictionary 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
SapMetamodelWebDynpro 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
SapWebDynproGenerationCTemplates 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
SapWebDynproGenerationCore 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
SapWebDynproGenerationTemplates 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.ClassCastException: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type 'com.sasol.pr.create.Bapimereqitemimp$Bapimereqitemimp_List', not of 'class com.sasol.pr.create.Bapimereqitem$Bapimereqitem_List'!
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setRelatedModelObjects(DynamicRFCModelClass.java:807)
at com.sasol.pr.create.Bapi_Pr_Create_Input.setPritem(Bapi_Pr_Create_Input.java:403)
at com.sasol.pr.creation.PrCreationCust.executeBapi_Pr_Create(PrCreationCust.java:215)
at com.sasol.pr.creation.wdp.InternalPrCreationCust.executeBapi_Pr_Create(InternalPrCreationCust.java:240)
at com.sasol.pr.creation.ApplView.onActionSearch(ApplView.java:152)
at com.sasol.pr.creation.wdp.InternalApplView.wdInvokeEventHandler(InternalApplView.java:258)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
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.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Can you please have a look on it and suggest me the solution.
Regards,
RKHi
since u have shown only exceptions.. check this link.. u r also using PR i guess from the exception..
WDDynamicRFCException: Please help
n post ur code also.
Thanks
Puneet -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
Step for Publish a development created with Webdynpro for Java
Good Afternoon.
I am new in this of publish development in the portal.
We created a development with Webdynpro java using RFC. We want know what are the step for publish this development in the portal ESS?
The development work fine. But i don't know how to publish this in the portal.
What configurations i have that do In the part of ECC and in the part of portal.?.
Can someone help me?
Kind Regards-Hi,
When i have that do configurations for the following paths:
Employee Self-Service>General Settings>Homepage for Self-Services-->Resources
Employee Self-Service>General Settings>Homepage for Self-Services-->Headers and Area Group Pages
Employee Self-Service>General Settings>Homepage for Self-Services-->Areas
Employee Self-Service>General Settings>Homepage for Self-Services-->Subareas
Employee Self-Service>General Settings>Homepage for Self-Services-->Services.
Kind Regards,
Maybe you are looking for
-
Unable to Sync Video files after Itunes 9.0.3 and iPhone software update
This is my problem with Itunes- After I the Software Update program installed iTunes 9.0.3 yesterday, and I upgraded the iPhone software (to 3.1.3.) shortly thereafter. The iPhone upgrade failed (it froze). When I restarted the computer, I had to res
-
Send File Adapter - keyFieldValue like 'not(H,B)'
Hi, I've a problem in a sender file adapter. The file has one header line, multiple body lines and one trailer line. The structure of the flat file is like: H; 0815; text; 0235;my text; 745;7... 6341;your text; 464;4 ... 2342;another text; 726;2 T; 3
-
To change the string in Class Builder "New Method"
HI friends, Im using the std program of "RFDOPR10"...(changed into my customised program as ZRFDOPR10)..... Here i want to change the strings of Id_type eq 4 availble under the class builder "New Method". "id_ruler_string = '2.13.24.29|43|58|73|88|10
-
Eliminating leading ZEROs in EPM webform
Hi, We have entered data in webform with leading ZERO. that column datatype is TEXT. But its elimnating the leading ZERO, when we are requerying the data through webform. Example: we are having a column as 'X' data type is TEXT in webform. we have en
-
Hi all, If I drag an image from an open photoshop document into inDesign, it does not create a link to that content. Does inDesign save that image at full resolution even if I scale the image to half the size in the design? I have opened a file that