on 11-19-2008 2:27 PM
Hi all,
I was trying to default the daily working hour for current logged in day in the Timesheet table.
I got the webdynpro project created from ess/cats and checked out the necessary files for modification.
But when I went into the component VcCatRecordEntry->VcCatTableWeek(View)-Layout, its empty which tells me that timesheet table is created dynamically.How can I set default value to a table that is created dynamically.I found it bit hard to understand the flow of implementation.Please help.
Thanks
Anjana
>
> Hi all,
> But when I went into the component VcCatRecordEntry->VcCatTableWeek(View)-Layout, its empty which tells me that timesheet table is created dynamically.How can I set default value to a table that is created dynamically.I found it bit hard to understand the flow of implementation.Please help.
> Thanks
> Anjana
The dataEntry table is actually built in the ListViewerSlim.Java.. it is not a WebDynpro Component as such & you can find it under the src>packages> of the ess~cat Dc..
I would suggest you try to default the values thru' th CAts User exits instead of making changes to the frontend.. this WebDynpro is very very different form the other ESS stuff..
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Thanks for your valuable inputs. I went and looked into the java file and found bit different.I dont see how they are getting the column headers like Saturday,Sunday,Monday...
Basically I need to keep one 'Submit' button on top of my table and on click, it should populate 8 hrs in the correspounding column.For eg. if its monday, it should default 8 hrs in monday column so that user dont have to manually type it in and also save these working hrs in the backend system without further click on 'Save' or 'Review'.
I still need to check with the ABAPers regading the user exit.
Also, Is it possible if I create a custom webdynpro application where I can use a BAPI that takes in the current day from my webdynpro and update the cats database and send an export parameter with success or error message.
Thanks
Anjana
Hi Suresh,
As I understand that CATSDB update is possible with custom BAPI, for my requirement(default 8hrs on timesheet table on 'Submit' button and save it in the backend CATSDB) can I create a new button 'Submit' on top of timesheet table in webdynpro and in actionhandler of that button execute the BAPI to update the CATSDB with 8hrs for the current loggen in user for that day?( In this case I may not able to default 8hrs in the timesheet table.)
Right now I dont have any model in my VcCatRecordEntry Component. Can i create a new model in this component and execute the BAPI to update the CATSDB with 8hrs and display a 'Data saved successfully' message to the end user.Please advice.
Thanks
Anjana
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.