How to use a CAS in web dynpro with NWDS 7.0

Hi, all.
        I implemented a cas project (some entity services and application services). Now I want to use it in a web dynpro project.
I know how to do that with NWDS 7.1, but it seems  something differernt with NWDS 7.0.
Can  anyone give me a hand?  Thanks.

hi
CAF Core project comes with a sub-project WebDynpro.
You can implement business logic using CAF Core Service ,integrate it in WebDynpro UI.
1)Select your CAF project root , right click on it and select u201CCreate Web Dynpro Modelu201D from the context menu.
2) Switch to the Web Dynpro Perspective
3)You can find  the CAF Core services have been generated and are available to the WebDynpro component.
    you can find caf services under modelclasses of webdypro project .
4)Then you proceed with creating component etc..
Regards
sowmya.

Similar Messages

  • How to use chart engine for web dynpro java(EP) for Graphics generation.

    Hi Frndz..
    now lookiing out for different types of dynamic graphics generations according to my requirment, n i saw the followiing blog
    Testing BusinessGraphics in Web Dynpro for Java
    Itz very nice to see that we can generate planty of types, but here our server is EP 7.0(not CE 7.1) and i gone thru  these links also
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/86/243f403f0a9354e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/0b/79553b066d9414e10000000a114084/frameset.htm
    https://help.sap.com/saphelp_nw04/helpdata/en/0c/95c83956852b51e10000000a114084/frameset.htm
    here it seems to be Chart Engine n Chart Designer is mainly for BSP(R3), how best we can use this for web dyn pro java.
    Thanks in Advance
    Regards
    Rajesh

    hi
    if you want to use BusinessGraphics in WebDynpro java you have to configure IGS.
    IGS Configuration
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4846ac90-0201-0010-099d-d3b4e271849c
    Business Graphics docs.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6
    ChartDeigner Usage
    http://help.sap.com/saphelp_nw04/helpdata/en/18/d4d43fb9490c65e10000000a114b1d/frameset.htm
    Generating Gantt chart using web dynpro business graphics

  • How to use HR Macros in Web Dynpro ABAP

    Hai All,
         Am new to Web dynpro Abap working in HR req.
           Can u pls help me how to import HR Macros in webdy ABAP.
            It will be very much helpful to me. Pls provide any link or doc if available.
    Thanks in Advance,
    Nalla.B

    Hi Nalla,
    if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
    1. What is your business logic supposed to do (output)  and what information does it need (input) for processing.
    2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
    3. Call the static methods in your WD4A-Framework.
    If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
    Does this help you a bit?
    regards, Lukas

  • Using HttpsURLConnection Error - from Web Dynpro

    I have this case where I need to connect to a https site using SSL api.
    I'd created a java class to connect to the https site using the normal "javax.net.ssl" package provided by J2SE api. And this work successfully.
    However, there will be a problem if i trigger an action from the view to call for this java class, there will be an error.
    One thing which i found weird is :
    1.) If i use the normal java class to connect to the https site, it uses this connection protocol :
    sun.net.www.protocol.https.DelegateHttpsURLConnection:https://server/test/test1.jsp  (Works successfully)
    But
    If I call this java class from a view, it uses this connection protocol :
    iaik.protocol.https.HttpsURLConnection:https://server:443/test/test1.jsp  (Unable to work)
    How am i to make the web dynpro to use this "javax.net.ssl" api? I tried removing two of these library file :
    iaik_jsse.jar
    iaik_ssl.jar
    but the error still occurs.
    Does anyone have any idea how to solve this problem? Thanks.

    Hi jo lum
    did you solve the problem? I am facing the same. Maybe you can give me a hint.
    Thank you in advance
    Martin

  • How to pass the data from web dynpro to workflow.

    hi gurus,
    how to pass the data from web dynpro to workflow.
    Regards
    vijay

    Hi
    you can use function module
    data   ls_input_container  TYPE swr_cont.
    data   lt_input_container  TYPE TABLE OF  swr_cont.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
        EXPORTING
          task            = ptask
        IMPORTING
          return_code     = lv_return_code
          new_status      = lv_new_status
        TABLES
          input_container = pinput_container
          message_lines   = lt_message_lines
          message_struct  = lt_message_struct.
    where you pass the data in imnternal table "pinput_container" as
      ls_input_container-element = 'KUNNR'.
      ls_input_container-value = ls_skna1-kunnr ."wd_this->lv_kunnr.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'CLUSER'.
      ls_input_container-value = lv_cluser.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'BUKRS'.
      ls_input_container-value = lv_bukrs. " youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'VKORG'.
      ls_input_container-value = ls_sknvv-vkorg. " youe value as per requirement
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'VTWEG'.
      ls_input_container-value = ls_sknvv-vtweg. "youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
      ls_input_container-element = 'SPART'.
      ls_input_container-value = ls_sknvv-spart. "youe value as per requirement.
      APPEND ls_input_container TO lt_input_container .
    *Also Forgot to mention where ptask is your workflow ID *
    Regards,
    Arvind
    Edited by: Arvind Patel on May 14, 2010 7:38 AM

  • Using .properties file in web dynpro

    Hi,
    I am having a requirement. I have to create a .properties file and I have to use it in my web dynpro application. How can I do that? Any help...
    Thanks & Regards,
    Raj

    Hi,
    Go to the navigator view...select src\Components\<ComponentName> and create create a .properties file.
    You can read the  configuration file in your webdynpro app as follows
    IWDConfiguration configuration =
          WDConfiguration.getConfigurationByName(
            wdComponentAPI.getDeployableObjectPart(),
            "<<>>");
    http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm
    Regards, Anilkumar
    Message was edited by:
            Anilkumar Vippagunta

  • How to send a mail through web dynpro application

    Hi
    How to send a mail through web dynpro application?
    Thanks

    Hi ,
      Please post some more details about your query .
    One way is to can use LinkToUrl UI element and in the reference property of the UI element , give it as mailto:mail addess
    Thanks.
    aditya.

  • Using macromedia flex in web dynpro

    how can i use flash object in web dynpro for displaying charts instead of using the webdynpro default charts .
    i want to use from NWSD not through the portal ..

    Hi Valery,
    I didn't say that it is the only solution. But this could be one of the solutions. Now, it depends on the requirement whether need to use it or not.
    Hi Yashpal,
    No need to use WDURLGenerator service. You can directly give flash object name which you have imported in mimes->components-><package>.
    Regards,
    Bhavik

  • How to decrease performane of a web dynpro abap application

    Hi Folks,
            I am new to web dynpro abap .pls tell me how to decrease performane of a web dynpro abap application but dont say by using icm tracking and wd_trace_tool.that are used to find out errors?

    >You mean to say we can use Runtime analysis and SQL trace in WDABAP?
    Yes, that is exactly what I mean.
    >I Thomas i need e learning tutorials created by you.I am new to WDABAP.if possible try to send URL of your e learning tutorials
    They are all available here on SCN in the Web Dynpro ABAP eLearning library:
    http://www.sdn.sap.com/irj/scn/webdynpro-elearning

  • Using External java within web dynpro DC

    Hi
    I'm new in web dynpro and I'm facing a problem.
    I'm doing a web dynpro DC application and I want to use some external java classes I have created into my DC. But I don't really know how to do it, I tried EJB but I don't exactly how it works.
    by the way, I was using a stand along web dynpro before and this worked fine, I just needed to create a package within my web dynpro project with all my class architecture to have them directly. but now with the DC stuff, it's not the same at all. so please help
    thanks

    Hi
    Better you create a Java Development component and add all your java classes to that DC and build it.
    Create a webdynpro DC to develop front end and add the java DC in used DC's of your Webdynpro DC.
    This is the way you can use the java classes effectively with out redundancy.
    If you create a package inside a normal webdynpro project, then you can not reuse them later in other webdynpro proj
    Go with SAP component model by creating 2 development components one for java and other for webdynpro and define the reusability (Used DC's) in DC Metadata.
    Regards
    Kalyan

  • How to call PDF file in Web Dynpro Appl?

    How to call PDF file in Web Dynpro Appl?

    Hi Gobinath,
    1. Create a value attribute of type byte called pdfSource.
    2. Insert an UI element called Interactive Form in your layout
    3. Set the source property of this Interactive From UI element to the context pdfSource.
    4. Insert a button which would open your pdf file.
    public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionsubmit(ServerEvent)
       IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
             byte[] bytes = contextElement.getPdfSource();
             try
                   File file = new File("C:
    temp
    example.pdf");
                   FileOutputStream os = new FileOutputStream(file);
                   os.write(bytes);
                   os.close();
                catch (IOException e)
                   // do something
                   e.printStackTrace();
        //@@end
    Warm Regards,
    Murtuza

  • How to use a case ststement in interface?

    how to use a case statement in interface?
    My requirement is in interface for one column for
    Eg: In source column if a.b=c.d then i need to write as "Source"
    else when a.c=d.e then i need to write as "Target".
    please can you help in solving this.
    Regards,
    Sridhar

    You will literally write in the "Implemenation", the following:
    Case when a.b=c.d then "Source"
    Else
    "Target"
    End

  • Regarding how to pass the data from web dynpro to workflow

    hi gurus,
    how to pass the data from web dynpro to workflow.
    Regards
    vijay

    Check this [thread|SAP_WAPI_START_WORKFLOW;

  • How to use the cases in button action?

    Hi Experts,
    I want to get a prompt message if the field is empty.I got it but at the same time if the field is filled I want the other action to be performed that is to call a BAPI and give me output.How can I give two events for the same action.
    How to use the cases in button action?
    So, please guide me.Urgent need
    Regards
    Nutan

    Hi Nutan,
    if I understand you, then you have a simple validation. Therefore you can use the validation functionality of VC for your components. An alternative could be by writing a new ABAP RFC function module like:
    BAPI Input parameters as input and BAPI output parameters as output and an additional return code or string for a message:
    IF I_FIELD IS INITIAL.
      E_RETURN_CODE = "THE FIELD IS EMPTY."
    ELSE.
      CALL FUNCTION <YOUR_BAPI>
      <BAPI PARAMETERS>
    ENDIF.
    I hope that helps.
    Best Regards,
    Marcel

  • Help me!    How to use it as a web service from third party application?

    After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
    TKS!

    Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
    :D
    John

Maybe you are looking for

  • Move Protection Group from One DPM server to another DPM server

    Hi Mike, Can we move Protection Group from one DPM 2012 SP1 to another DPM 2012 R2 version? If yes then what is the steps to perform that. Also i am running DPM servers with co-located and non-colocated configuration. What would be best as per best p

  • After SAP GUI 7.10 installation IE7 does not work properly

    Hello, After SAP GUI 7.10 installation over WIn Server 2003 Ent. + SP2. When I try to open new link or window with right click in IE7 this process starts but cannot display anything in new window. At the same time link is correct. Could you please he

  • Issue with Iview Analyze

    Hi Experts - I'm just trying to create a simple page with 3 i views which display the PDF documents. I used KM Document I View template and the preview works perfectly. When i add them to a page, sometimes it display them properly and sometimes it th

  • Adobe will not open

    Orignally started with adobe X. I have uninstalled and reinstalled with adobe XI. Even removed all registry entries. Any idea's?

  • E-Mailed Reports

    (In case anyone is interested or ever searches on this.....) I recently had a very simple workflow requirement as part of an APEX app which involved mailing some simple report for someones weekly approval. My solution feels a bit hacky, but it was a