WebDynpro Action Types : Validating vs Non Validating Action Types

Hi
Can someone tell me the difference between Validating and Non Validating Action Types in webdynpro. I read it through, but its not very clear.
regards
Saurabh

HI Maksim,
Thanx it helped !!
I need some more help. I have a PAR file which displays an employees CV in an IView. I want to print only the content in the iView (i.e the CV) not the complete page with Roles and worksets, is there some code that can do this.
I need to place a button on the CV (in the iView) and on the click of the button the CV (iView) gets printed.
A workaround for this is that I open the CV (from the iView Personalization ) in a new window and then from the File menu of the new window fire the Print option. But I dont want to do it this way.
I want to Print the CV from the parent window only.
Plz suggest !!
Regards
Saurabh

Similar Messages

  • Java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDa

    Hi All,
    I have created and deployed an EJB application in CE7.1,I am using this jars "_webdynpro_pdfobject.jar",for read the xml data in pdf ,For that time i am getting following errors",
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDataat com.sap.tc.webdynpro.pdfobject.api.WDPDFObjectFactory.getPDFObject(WDPDFObjectFactory.java:43)
    Plz anyone suggest
    Regards,
    Vinoth Raja.V

    Well, first of all, you should not use a Web Dynpro API in an EJB app. Web Dynpro is a UI technology, EJB implements the business logic.
    Furthermore, the PDFObject API has been deprecated. For more information and guidance, please refer to its [javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/pdfobject/api/package-summary.html].
    HTH!
    \-- Vladimir
    P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting.

  • About webdynpro actions

    hi to all
    iam little but confusion among
    ACTION  ,, EVENT., EVENT HANDLER METHODS
    can any one give me description about all these
    thank u inadvance
    ratan

    Hi Ratan,
    Method can be void and it can be return type.
    Method with Event: it perform some system actions such as click, enter etc..
    Action it performs system events. for example. You can use actions with UI Elements where as methods are not.
    For example: Submit Button
    onActionSubmit()
    Note: Method with event and Action both are almost Similar
    To avoid Confusion:
    Use actions when use UI Elements
    Use methods if you want write individual methods

  • Consuming XI Webservice in WebDynpro - Data Type error

    HI All,
    I have a scenario, to access web service in web dynpro java, which is created by XI ..Now I have WSDL file. Using that WSDL file I have imported web service model(DEPRECATED method)  in my web dynpro java.
    Once web service  model is imported I have done the mapping 'model to component controller'. After that I did not write any coding, and just deploy the application. While deploying the application I am getting an error as given below,
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type java:byte not found.
    Reason of this error:
          Attribute type does not support web dynpro java  ,Because XI side that corresponding attribute  type is  base64binary once model is imported in to web dynpro that base64binary attribute type is automatically taken as byte.
    Please help me ASAP
    Error Trace:
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type java:byte not found
    at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:224)
    at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:319)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
    at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
    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.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.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
    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:150)
    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: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: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:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Regards,
    Boopathi M.

    Hi Saravanan ,
                             Thanks for your replay.
    Once i am testing the WSDL URL in netweaver webservice navigator,it showing an error like like
    Cannot download WSDL from http://host name.sap.com:8000/sap/bc/srt/wsdl/sdef_ZWEBSERVICE/wsdl11/ws_policy/document?sap-client=800: It is not allowed to access this service.
    But same URL is working fine in browser.It's displaying the XML file.
    Can you provide the solution to resolve this error?
    Thanks,
    Kundan

  • Consuming Webservice in WebDynpro - Content-Type issue

    Hi,
    I am getting a shortdump when consuming WebService in WebDynpro.
    I trace it back to the class CL_SOAP_HTTP_TPBND_ROOT method GET_HTTP_HEADERS whereby the
    value = 'text/html; charset=iso-8859-1' while the constants tsrc_soap_11_http_content_type = 'text/xml' ; tsrc_soap_bx_http_content_type = 'application/x-sap-bxml' ; tsrc_soap_mtom_http_cont_type = 'application/xop+xml' ; tsrc_soap_mp_http_content_type = 'Multipart/Related'. Because of this Content-Type difference my WebDynpro application dumps?
    Any ideas how to solve this problem?
    Thanks.
    Regards,
    Amel

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • How U Perform Client Side Validations In Webdynpro?

    Hi experts,
    explain me abt How U Perform Client Side Validations In Webdynpro?
    Thanks in advance
    Sreenivas

    Hi ,
    As the javascripts used for client side validations are not supported in Webdynpro, All the validation written in a code take a complete cycle at runtime.
    You need to write the validations in the corresponding eventhandler i.e. action.
    Regards
    Deepak

  • How to determine employee type (management vs nonmanagement) in WebDynpro

    Hi,
    I am running SP14.
    In my WebDynpro application, I need to hide/show a link based on if the employee is management or nonmanagement.
    What is the easiest way to determine the type of employee in a WebDynpro?  Is the management/non-management attribute already exposed and available to the WebDynpro?  Or do I need to invoke a BAPI/RFC to retrieve that information from SAP (eg Employee Group or Personnel Area)?
    Thanks for any help you can provide.
    Kevin

    You only need to call this RFC once and share the results with other views via context binding!
    In my applications I follow the Floorplan manager architecture and have one web dynpro component for all the frontend logic e.g. FcAddress
    In the component controller of FcAddress I setup model nodes for the RFC e.g.
    Address_Input (mapped to input RFC model class with all the import parameters of the RFC)
    Address_Output (mapped to either the output RFC model class with all the export parameters of the RFC or it includes another model node for Address_Records which is mapped to the export table parameter.)
    Address_Messages (mapped to the return parameter of the RFC (BAPIRET2).
    All other views with their component controllers are mapped to those model nodes to allow access to the RFC data.
    You can pass the userid to the RFC and then the RFC will get the related employee number via IT105/ST10. You just need to have the userid defined as an import parameter in the RFC.

  • How to add reference to a type group from ABAP webdynpro?

    Hi,
    When I copied the webdynpro application from a system to another with SCWB, the referenced types in type groups are reported not defined, even the types from basic type group ABAP - the type groups are defined in both systems, the webdynpro app works well in the original system.
    And I didn't find the way to add type group references in webdynpro with "TYPE-POOLS:". Anybody knows how to handle this?
    Thanks and regards, Said

    OK I found it.
    Under my main program there is a global include. A co-worker called it somehting different.
    So it had:
    type-pools: rs, rsr, rro01, rrk, rro04.
    And I change it to:
    type-pools: rs, rsr, rro01, rrk, rrs0, rro04.
    Yes, Then when I r-click on the main program and select "Rebuild Object List" then it added the type group under "Type Group".
    Mike

  • Single SignOn in webdynpro ABAP

    Hi,
    I am pretty new in Netweaver Portal side and recently got an requirement from a customer for single Sign on:
    Requirement -
    We already had a SSO set up with MS Windows with SAP Portal. Hence in order to open SAP Portal, user has to use his Window's credential (Usually Company's own network credentials) instead of SAP credentials.
    Now customer also has another legacy portal where  client has similar SSO set up.
    Recently we had implemented SAP Learner Portal (SAP LSO Solution) and now user should directed to legacy portal only when he/she clicks a button in SAP portal's application (Webdynpro ABAP).
    Therefore, we need to implement same SSO inside Webdynpro Action. Please suggest me what should be our approach of doing so.
    Will APIs like IF_WD_PORTAL_MANAGER be handy ?

    Enable SSO between the portal and the AS ABAP system hosting the WDA. Using SAP Logon Tickets is the simplest way. Then access the WDA through the portal. That way you will have SSO since portal already has SSO using Windows Credentials. Another option is to enable SSO in the AS ABAP system hosting the WDA. Your options include at least SPNEGO for ABAP (part of the NWSSO suite), X.509 certificates and SAML.

  • Callable Object for Webdynpro Application

    Hello,
    I have  a Webdynpro for Java Application where I am importing a model from R/3 and displaying certain records......and want to include it in GP Framework....so which is the Callable Object I should use.....i tried using Webdynpro application type but it gives me the error at runtime while execution as :
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/home~<webdynpro component name>
    Any help would be highly appreciated.
    Regards,
    Anil

    Hi Anil,
               I am also facing a similar problem . Can you please guide how to solve it.
    Thanks and Regards,
    Anurag

  • Re:Interactive Form in webdynpro java

    Hi Experts,
              I have designed  a form in ALD. And open in NWDS.The form containing 3 buttons.
             1)  Submit(WebDynpro    Native Type)
              2)  Approve(WebDynpro    Native Type)
              3) Reject(WebDynpro    Native Type)
    I have write a JavaScript    for readOnly format in the click event of Submit button.Its working fine in ALD.But when  am trying run my form in NWDS  its not working.i.e when i click submit button in the form the entire form must be readonly. How i can archive this. Can anyone suggest me how to do.My JavaScript    in click event of Submit button is
    for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++)
            var oFields = xfa.layout.pageContent(nPageCount, "field");
            var nNodesLength = oFields.length;                            
            for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++)
              oFields.item(nNodeCount).access = "readOnly";
    please help....
    Regards,
    Venkat

    Hi Venkat,
                     You may need any JavaScript to do this.
    In Designer you can setup the signature field in that way, that all fields will be locked after signing.
    Look here:
    Link: [http://forums.adobe.com/message/3121870?tstart=2]

  • WEBDYNPRO QUESTIONS

    1.What ate the Webdynpro related types of projects?
      2. Inorder to implement Webdynpro what are the prerequired things for the project?
      3. How Webdynpro is asccessed and what are differences between Web AS and Webdynpro?
    4.Webdynpro its connectivity to its ABAP tables?
    5. What are the advantages with examples from technical point of view & technical point view?
    6. Webdynpro related projects delt by companies usage of this application?
    7. Webdynpro accesibility to all modules or scalability?
    8. Webdynpro existence ? How it is loaded into system? And from which version it has started and which year?

    Hi Busam,
    check the following link to solve your issues :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d5c09c90-0201-0010-17a8-c473134632df
    if helpful reward points are appreciated

  • BPM Java WebDynpro xsd:date decrease one day

    Hi Experts.
    I have a problem with the context between Java WebDynpro and BPM. I have an attribute of date type , when BPM call the Web Dynpro UI, this date it shows to user with one day minus, but in BPM Context and Web Dynpro context are with the correct date.
    I checked the BPM context and the value of this attribute is: "2011-08-06Z".
    I think that the problem is with the "Z" because it's like a time zone.
    Any suggestions?
    Thanks,
    Julian.

    Hello Julian,
    We faced the same issue as you, and after doing all checks in configuration, nothing!, finally we found a SAP note that recommends to change the date type to string types, but, we have a lot of webservices calls and mappings that requieres a "date" type and this make more dificult the "solution".
    Then we found a little tricky solution.
    We change the webdynpro Date types to Strings, and make the transformation in bpm mapping to cast as xsd:date,  finally in webdynpro you must perform a string.format for the outgoing date as BPM is specting the date ( "YYYY-MM-DD")
    With this solution you see a "date" type in BPM  context and String type in Webdynpro and the offtset disappears.
    This solution maybe is similar to SAP Note, but you don't need to change all your consumed webservices types.
    Regards!
    Julio Cesar Leyva

  • How to get Fiori fluid design in Non ABAP environment

    hi All,
    I am very new to fiori, want to use the the responsive lay-outing  in business objects product so please help me getting the stating guide for fiori.
    In Business objects we have the webapp (tomcat) so how to bootstrap fiori in tomcat??. First of all is my understanding correct about fiori??
    Can it be used outside ABAP or SAP context like SAPUI5.
    Thanks & regards
    Kunal

    Hi Kunal,
    Fiori uses UI5 libraries (html5) hence it is responsive(adjusts as per the resolution of the screen).
    This cannot be used for SAP GUI as we have webdynpro screens and these are non responsive.
    Fiori is always placed as a frontend being UI5 application. Business data comes from SAP. If you want to build fiori-like applications. You need an odata service(to be built using SAP Netweaver gateway) and a ui5 application to consume the service. You can either setup eclipse or use WEBIDE.
    For more information on FIori : All Things SAP Fiori
    For information on UI5 area : SAPUI5 Developer Center | SCN
    or What is OpenUI5 / SAPUI5 ?
    Regards,
    Tejas

  • Reloading Context Elements

    I am using all non-validating action handlers, and managing user input validation myself.  I have a situation where the user wants to not save the changes he or she has made and simply reload the saved data.  The situation involves a tree structure, so I could always just invalidate the appopriate node to reload the data, but I'd like to avoid this b/c I'd have to reselect the current element after invalidation.  I've implemented reload methods on my model objects being used, so I don't have to invalidate the node, but I've run into a problem with invalid data (such as a string in a date field).  When the user enters invalid data, and does something to cause the element to be reloaded, all the valid fields are reloaded - but the fields with invalid data are not reloaded.  Is there any way to drop the user input for the element (other than going through all the fields clearing out any invalid data - then calling the model object reload method)?
    Thanks,
    -Dave

    David,
    I guess you already know this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/usage of validating and non-validating actions.pdf
    But it worth to re-read this again (I trap to almost the same situation as you
    The document clearly highlights that you have to <b>reset invalid context attributes on your own</b> in non-validating action handler.
    VS

Maybe you are looking for