‎2008 Jan 05 3:19 PM
Hi all !!
I need the logic how to get data into the database table when some check boxes are checked in a tree structure (means the checked fields are to be carried into the database table).
I can understand its saturday, but pls kindly do the needed help.
<REMOVED BY MODERATOR>
regards,
Hema Sundara.
Edited by: Alvaro Tejada Galindo on Jan 5, 2008 10:34 AM
‎2008 Jan 05 7:57 PM
Hi Hema,
we could help you more efficient if you tell us how the tree is created.
Check the tree class for a method get_selected_records().
Regatds,
Clemens
‎2008 Jan 06 3:27 AM
Hi Clemens
thanks for the early reply.
The thing is that- based on the methodology we are using(like ASAP or User defined), we have to display a tree structure in a screen which will be having various projects,phases,work packages,tasks, subtasks, etc.. All these have check boxes.
Now our work is that when a Program Manager selects all or few or none of these above said things by checking the check boxes, we need to update the checked ones into the database table.
Like the scenerio is that we are finalizing our methodology in this screen whether it is ASAP or Project specific. Hope u are getting the basic idea.
When a PM selects as per his wish the various phases,tasks,etc.. and presses a 'finalize' button which should result in only the selected ones to get updated in a project methodology table which contains all above said fields.
And after updating, we have to write a report program where we can we can display the tree structure with the ones updated in the table.
Please share your phone number so that I can get in touch with u for a clear idea.Also ur company mail ID so that I can send u screen.
Like see a project can have any number of phases, a phase can have any number of work packages, a work package can have any no. of activities, an activity can have any no. of tasks, a task can have any no. of subtasks and so on....
Like for a project if the PM selects 2 phases and under the 1st phase he can select all or few work packages and under those selected work packages, he can select few activities and so on...
The chain goes on and we have to send this data to a table and display it in the form of a tree when needed.
Please ask for clarifications if any.
My mail ID is hemasundara_munagapati@satyam.com
Thanking u.
Hema.
Edited by: Hema Sundar Munagapati on Jan 6, 2008 6:09 AM
‎2008 Jan 06 3:32 AM
Like see a project can have any number of phases, a phase can have any number of work packages, a work package can have any no. of activities, an activity can have any no. of tasks, a task can have any no. of subtasks and so on....
Like for a project if the PM selects 2 phases and under the 1st phase he can select all or few work packages and under those selected work packages, he can select few activities and so on...
The chain goes on and we have to send this data to a table and display it in the form of a tree when needed.
Ask for clarifications if any.
‎2008 Jan 20 3:56 AM
‎2008 Jan 20 3:14 PM
‎2008 Jan 21 4:10 AM
hi Clemens!!
We earlier designed the screen using Visual Composer, but later when the functionality was not met, we shifted to WebDynpro where the thing became a bit easy than the earlier.
And the background BAPI logic also was changed a bit.
cheers,
Hema.