How to mapping Bapi_EeCatimesheet with Web Dynpro iview

I have problem with CATS:
1. mapping field from Web Dynpro iview with Bapi_EeCatimesheet_Worklist
Column: Activity = Bapi_EeCatimesheet_Worklist_input_Out.???
Column: xxx = ???
Variable as TimeSheet of SAP Easy View
2. How to insert Employee timesheet into SAP System by Bapi

Hi,
At first time the ApplicationParameter was not displayed among the mappable properties. After that I changed the ApplicationParameter property of the WD iView (so it became different from the default one) and created a new room template. What happened ? At the new template I could map to room_id to the ApplicationParameter. Interesting, not?
One other thing: What do you think about the following ?
1. First creating a "Concat Strings" extension to create a string like "room_id=<room_id>"
2. Creating an other extension and mapping the newly created string to the ApplicationParameter property
3. Getting the parameter from WD with the help of getRequestParameter(java.lang.String key)
I have not tried it yet, but I plan to do it.
Regards,
Ferenc

Similar Messages

  • How to make changes on Web Dynpro iView.

    Dear all
    We are using EP 7.0. Now I need to upload two documents to be accessed with link from a portal iView for HR documents, which was created using Web Dynpro. As I am new to Web dynpro, can any body help me to make these changes. I have already installed NWDS 7.0.9 on my system. Also tell me steps if it needs to configure with my portal.
    Please revert me if anyone of you want more clarification about the issue.
    With regards
    Virender Sharma

    Hi Virender,
    Now 1 thing is clear you need to customize the application. This is how you can do it:
    The thing is that if you know the person who had developed this application earlier, then you can directly get the application from him or the other way is as already told above, i.e,  If you want to add extra links to webdynpro application then you have to modify the webdynpro project. To do this you need ear(Enterprise Archive)/Project structure zip file to upload into portal and modify the webdynpro appln and deploy back into portal.
    1) Once you get the project open NWDS> Goto File> Select Import-->import the project.
    2) Open the project by double clicking on the imported project in the Webdynpro Explorer.
    3) Expand the project node> expand webdynpro node> expand web dynpro components node> expand the view node> open the view by double clicking on the view name> now you can see the view similar to what you see in the portal(you are on the layout tab)> In the outline(Left hand side downside of the NWDS) you can see the rootuielement container> right click on the same and select Insert child>Add link to URL(select this component)> again insert the same child> you need to set the properties of these child as per your requirement> once you have done the same save the project>move to application node inside the webdynpro node> expand the same> right click on the application> select deploy new archive and run> enter the sdm password--> check for the desired output.
    To deploy the modified webdynpro application you need to know the SDM password
    Also before deploying the application you will need to do the following settings:
    1) Goto the menu bar and click on windows.
    2) Select preferences.
    3) Goto the SAP J2EE engine .
    4) Enter the required details which you can get from the basis person
    5) Close the preference window
    6) In the RHS downside of your NWDS you can find the J2EE engine tab> click on that> There is a refresh button on top of that and check that server, dispatcher and sdm node are green in color .
    7) Now you can deploy your application.
    Hope it helps.
    Regards.
    Rajat

  • How-to add a custom Web Dynpro iView to the MSS Employee Profile

    Hello everybody,
    i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
    The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
    I hope its of any value.
    cheers,
    Markus

    Hello Luca,
    unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
    regards,
    Markus

  • Buisness Package with web dynpro iview

    Hi everybdy,
    Can any body give me idea in which buisness package, we will be able to get web dynpro ESS Iviews ?
    It's urgent please help.
    Thanks
    Sanjay

    extract the SCA file with winzip and there u will get required EPA file. Then use import function to upload business package.
    regards.
    Consider awarding points for helpful answers

  • How to use JDI with Web Dynpro

    Can any one help me with detailed steps on how to put my Webdynpro development components into JDI?
    We are already done with the development work. Now we have JDI installed and want to source safe the project in JDI.
    So, my requirement is only to put them in JDI, to be able to check-in and check-out any future changes and use the JDI to deploy the applications into QA and production systems . No team development or anything.
    For this case, which of the 3 tutorials ( Team oriented development, Development with track, Development with layers) given in help.sap.com will be ideal?
    Please help.

    Hi Aditya,
    Step for creating Webdynpro:
    1. Open Development Configuration Perspective in NWDS. In the “Local DCs” view, right-click on “Local Development” and choose “Import
    Configuration…”
    2. Login remote with your username and password. It will create development infrastructure in Inactive DCs. There you can create the component like webdynpro, Java, J2EE, Enterprise Portal, etc.
    3. Creating Webdynpro in the DTR perspective.
    Step 1: Right click on Inactive DCs -> Create new DC.
    1. By default vendor name is SAP. You can change vendor name according to your requirements.
    2. create a new Web Dynpro DC with desired name.
    Name should not exceed eight characters (Recommended)
    create a new Web Dynpro DC with desired name.
    3. Select the language
    4. Select the domain
    5. Select the component type
    3. Copy the file structure from your existing local project to DC.. These will be under an activity..
    Step 2:
      1. Build and Deploy and test your new DC.If it works fine then in DC perspective..Right click on src folder->add subtree ->create activity.
    See this thread discussing about how to migrate local project to JDI..
    How to migrate local Web DynPro projects into the DTR?
    Regards
    Suresh KB

  • How to map XML to Web Dynpro context nodes?

    Hi All,
    Could anyone tell how xml string can be bound to context nodes ? In my requirement i need to serialize context nodes value to string and deserialize it back to nodes for implementing back naviagtion between views.
    I didnt see much threads achieving this giving details on class cl_wdr_xml_convert_util and methods if_wd_client_conversion_util~string_to_struct.
    I am using wd_context->to_xml to convert into xml.
    From this format, i want to bind it back to context  node.
    When i use this below approch i get short dumb.
    Serialization to xml:
    lv_data_string = wd_context->to_xml( ).
    Deserialization:
      DATA lv_typedescr           TYPE REF TO cl_abap_typedescr.
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
      CALL METHOD cl_abap_typedescr=>describe_by_object_ref
        EXPORTING
          p_object_ref         = wd_context
        RECEIVING
          p_descr_ref          = lv_typedescr
        EXCEPTIONS
          reference_is_initial = 1
          OTHERS               = 2.
       try.
      CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
        EXPORTING
          in            = lv_data_string
          typedescr = lv_typedescr
        IMPORTING
          data      =  <fs_data>
      CATCH cx_wdr_conversion_exception into lo_err .
      lv_exp = lo_err->get_text( ).
    ENDTRY.
      wd_context->bind_table( values = <fs-data>.
    Using this way, i get a short dumb as assert statement is failed as value for  typedescr->type_kind is '*'.
    method if_wd_client_conversion_util~string_to_struct.
      assert typedescr->type_kind = cl_abap_typedescr=>typekind_struct1
          or typedescr->type_kind = cl_abap_typedescr=>typekind_struct2.
      raise exception type cx_wdr_conversion_exception
        exporting textid = cx_wdr_conversion_exception=>illegal_type.
    On debugging changing this value to required also made no difference, as no value could be assigned to the field symbol.
    Suggest a soution to do this.

    Hi Thomas,
    Thanks for your replies.
    I have corrected it, but the field symbol is empty and while debugging it says data type is incorrect.
    code:
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
    data:       lsbp type ZXBPCENTRAL,
                   go_ref type ref to data.
    CALL METHOD cl_abap_typedescr=>describe_by_data " ( before it was describe_by_object_ref)
    EXPORTING
    p_data = lsbp
    receiving
    p_descr_ref = lv_typedescr.
    try.
    CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
    EXPORTING
    in = lv_data_string
    typedescr = lv_typedescr
    IMPORTING
    data = go_ref "<fs_data>
    CATCH cx_wdr_conversion_exception into lo_err .
    lv_exp = lo_err->get_text( ).------> Here the error says " Invalid data type and hence, there is no data.
    ENDTRY.
    assign go_ref->* to <fs_data>.
    I am still looking for solution and thanks a lot ....

  • Urgent--- UME with Web Dynpro

    i want to use User Mapping APIs
    with web Dynpro.
    give some information or code .

    Hi,
    Please provide us with more details.
    Anyways check the following weblog to know more about User Management API in WebDynpro.
    /people/sap.user72/blog/2005/06/05/user-management-api-in-webdynpro
    Also check the following link to know more about UME
    http://help.sap.com/saphelp_erp2004/helpdata/en/7d/003c41325fa831e10000000a1550b0/frameset.htm
    Regards,
    Vijith

  • Oracle as Back-end with Web Dynpro

    hello
    i wish to know how to use oracle with web dynpro as database store
    initially we have been using R/3 system as our store with
    backend of r/3 as oracle
    but now we directly want to communicate with oracle

    Hi Mitesh,
    Initially I had tried few ways to connect directly from WD to Oracle, but nothing worked for me. Finally I could achieve it only through ejbs & even today I stick to that. I tried out many things for connecting directly including accessing the JDBC connector service of the server, but don't know why nothing worked for me.
    Anyway, I'll send you the step by step process to create the ejb & use it in your WebDynpro application to connect to the database (you might find it a bit long, but I believe I have included every step). If someone knows a better way to connect pls let us know, cos it is tiresome to write ejbs each time we need to connect.
    1)     Open the J2EE perspective
    2)     Create an EJB Module project
    3)     Right click on ejbModule, create a new EJB (select your EJB type)
    4)     While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml  ->  <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5)     Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6)     Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7)     Create an Enterprise Application project.
    8)     Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9)     Right click on the EJB project, select ‘Build EJB Archive’
    10)     Right click on the EAR project, select ‘Build Application Archive’
    11)     Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    •     Java Build path  - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    •     Project references – select the EAR project
    •     WebDynpro references – select ‘sharing references’ tab, click add & make an entry as :     <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12)     Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
              Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
              MyEJB mybean = home.create();
              int a = 0;
              a= mybean.add(10,15);
         wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Hope this helps & pls do let us know if you have any further queries,
    Best Regards,
    Nibu.

  • How to fill BI cube with Web Dynpro ABAP Program UI

    Hello,
    I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
    I know that such a functionality exist  in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
    Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
    Many thanks
    Arnaud
    Edited by: Arnaud on Jul 28, 2010 3:32 PM

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • Using Java Web Dynpro iViews to integrate with SAP MDM

    Hi,
    I have already SAP MDM 5.5 supplied iViews with Enterprise Portal.
    These include itemDetail iView, ResultSet iView, PicklistSearch, Hiearchy Search.
    Now, I am integrating Java Web Dynpro iViews with SAP MDM.
    When adding the fields using object of ResultSetDefinition Class, should we use MDM Table Name or MDM Table Name Code/MDM Field Name or MDM Field Code?
    I think we should use the CODE as the name as it does not contains any space while working with Java API.
    Regards
    Kaushik Banerjee

    Hi Kaushik ,
    Yes you should use the Field and Table CODE when integrating MDM with any other system using API either Java, Abap or Com api.
    Actually this is one of the main use of the code in MDM .In API.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • How to create web dynpro iView?

    Hi all,
       How to create web dynpro iView?
    I want to create a web dynpro iView where WD is displayed in its icon when create.
    Can you give me the steps and which options to select on each steps.
    Thanks.

    Hi Virenp
    Welcome to SDN
    First Check the below Link  before the below message.so it would give clear idea
    [Creating a Web Dynpro-Based iView|http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm]
    http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm
    Go to Content_Administration --> Click on Portal content  -
    > Go any of your Folder
    Right click on the Folder and Click on New -
    >  Iview
    Selct the 3rd Option webdynpro java applicaiton.
    Select the iview as FULL page for one application
    Then select the webdynpro application you deployed  (it would be either under Local or in SAP.com folder)
    Click on next,. and UNCHECK the Option where it would prompt to Create Page.. this is necessary only when u need a page
    Click Finish  ,  and Preview the Iview..
    Suggestion : Always check on [help.sap.com |http://help.sap.com ] for any queries, which is the Bible for SAP reference.
    Thanks
    KT

  • How to get the portal user id into the web dynpro iview at runtime?

    Hi,
    Can any one let me know, How to display portal id and as well as backend SAP user id into Web Dynpro iview at runtime. I am using Adaptive RFC model in my web dynpro application.
    Raj.

    Raj:  check this thread. I think that will help you.
    Can i get Portal User's details in webdynpro??
    I had the same requirement and its works whit this solution.
    regards.

  • Web Dynpro iviews integration with web page composer

    Hi,
    Can web dynpro iviews be integrated into web page composer? I was trying to integrate one ESS web dynpro iview into wpc but the system is throwing an error:
    We are on EP7.01 SP3 (Enhancement Pack1). Please advice if the integration is possible in Enhancement Pack1.

    Hi,
    According to the documentation Web Dynpro iViews are not supported : [Configuring Entry Points for iViews|http://help.sap.com/saphelp_nw70/helpdata/EN/06/4776399abf4b73945acb8fb4f41473/content.htm].
    Regards,
    Pierre

  • Web Dynpro iView - how to pass URL parameters?

    I have a Web Dynpro application that is housed in the Enterprise Portal.  We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email.  As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data. 
    The Web Dynpro has a startup plug parameter - call it 'id'.
    I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine.  However, when I try and do the same via a Roles-based URL, the parameter does not survive.  I've tried two different methods:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234
    and
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234
    neither of which work.
    is there a way to do what I'm trying to do?  Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

    Hi,
    please try the following:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>
    The value of the DynamicParameter value must bei encoded.
    For details please have a lool to
    <a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this</a>
    This book will be also available in English soon.
    Best regards
    Jochen

  • Eventing between Web Dynpro iView and regular DynPage iView

    I have seen, done eventing between two dynpage iviews and two webdynpro iviewsHowever, and gone through "How to Use the Portal Eventing for Web Dynpro iViews". However, I have been trying to have a webdynpro iview talk to a dynpage iview but they just won't communicate. Is this even possible?
    Ok basically I have a portal page in a popup window with no masthead and top level navigation. The page has two iviews -  the top one being an iView that points to a webdynpro application on Server A, and the bottom one being a dynpage iview on the Portal Server B.
    In the webdynpro iview, the code for when a button is clicked is
    public onSomeAction(Event event) {
        WDPortalEventing.fire("urn:myUrn","eventName","value");
    In the dynpage iview, the code i have for it is
    myServ = (IEpcfToolbox) PortalRuntime.getRuntimeResources().getService(IEpcfToolbox.KEY);
    myReceiver = myServ.getClientEventReceiver(request, "urn:myUrn", "eventName");
    form.addRawText(myReceiver.getWrappedScript());
    try {
        if (!myReceiver.isReceived()) {
            form.addComponent(createMainScreen());
        } else {
         form.addComponent(new TextView("event received!"));
    } catch (Exception e) {       
        form.addComponent(createErrorScreen());
    I tried all the things I could think of but the receiving iView just won't get the event fired.
    Can someone confirm that this should work? and correct me where I've done wrong.
    Please help. this is very urgent. your help will be greatly appreciated. thanks in advance
    PS. My environments are EP 6.0 SP2 and WAS 6.40 SP14

    > hi,
    >
    > portal eventing  works properly if all participants
    > are in the same domain. Otherwise portal eventing
    > g does not work. If the SAP J2EE
    > Engine on which the Web Dynpro application is
    > deployed is in another domain, you have to  map the
    > IP address of the SAP J2EE Engine to the domain name
    > of the
    > SAP J2EE Engine on which the SAP Enterprise Portal is
    > running, by editing the configuration file hosts.
    >
    > regards,
    >
    > Ganesh.N
    I am no direct access to the boxes so I can't try your suggestion. It really makes sense that eventing won't work if the iViews are on different domains. I know they are in the same domain but different subdomains.
    Anyway, good news I got eventing to work with the mentioned set. I found that that the SAP Java EPCFToolbox API had a bug that kept throwing javascript errors when I tried to have the web dynpro iview fire an event and the SAP one subcribed to it.
    I got around it but using the EPCF Javascript API instead.
    Code:
    response.write("<script>");
    response.write("EPCM.subscribeEvent('urn:dla.telework', 'createPdf', doSomething);");
    response.write("function doSomething() {");
    response.write("window.location = self.location + '&eventReceived=true';");
    response.write("}");
    response.write("</script>");
    So basically just output raw text through the response object and it just works.
    On a similar topic, since eventing can only pass string parameters back and forth, I'm still looking for a way to pass other more complex Java objects between web dynpro and sap iviews. From what I haven't they don't share the same session object (which I thought they did). So basically I can't just stick stuff in the session and pull it down on the other end. I'm clueless right now. If anybody has some tips, plesae share. Thanks

Maybe you are looking for

  • Forms11g Installation-Error starting OPMN server-216.34.131.135:BIND error

    Hi, I am getting an error while installing Forms 11g. As in the installation manual, i have installed Weblogic server and then installed the forms/reports (select only Forms Server, Report Server, Forms Builder, Report Builder and HTTP Server). The s

  • Customer master data change -XD02 Disable all filelds except text screen.

    Hi SAP Experts, Have  any idea please forward immediately. In cusomer master data change XD02 all filelds should not be changed by specified users and the user should be able to update the text screen where as am giving the path below XD02>company co

  • URGENT: Corrupt iPod

    My iPod is corrupt. It won't show up in iTunes 7, and therefore I can't restore it. Help needed quickly.   Windows XP  

  • Powerbook G4 only start safe mode

    Hello i have powerbook g4 with cpu 1.25ghz. I use to have mac os4.1.1 installed. Lately had freexing problem and as it was a very old install i tried a fresch install. I downloed os as i lost my original dvd. Tried 10.4.3. Install go fine but never s

  • DMS & Portal Configuration

    Hello Experts, We have configured the DMS in ECC as per our requiremnt and also created iViews for DMS related transacations. But, we are facing issues with viewing few file types (.dwg, .tif) through portal which we can view from WinGui. Do we need