on 03-07-2007 11:51 AM
I would like to know how we can add Text fields in a Tab that we have created in cProjects. At present a blank page opens if we click the Tab.
Regards,
Rajesh Kumar
Dear
Rajesh,
you need to create a view in the z-application that is being called for the addiitional tab page.
The view needs to be called in the DO_REQUEST method of the controller that is being used for the additional page.
Regards,
Reema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Reema,
Thanks. Created a view in the application.
Now how do we call this view in DO_REQUEST. Is there any coding to be written? If yes, can you send me a sample one. The view I have created is in the name of "review.bsp" and the Controller class for this view is "CL_BSP_CONTROLLER".
In case you need more info please tell me.
Regards,
Rajesh Kumar
Dear Rajesh
Here is the code that needs to be writen in the DO_REUEST method of your controller.
Data: lr_view TYPE REF TO if_bsp_page.
lr_view = create_view( view_name = 'review.bsp' ).
call_view( lr_view ).
I would suggest you to get more information about MVC architecture and Development using MVC if you really need to do developments of this kind.
Regards
Reema
Pl award appropriate points and close the thread if your queries are answered.
Rajesh
In cProjects 3.10, in order to add fields from SPRO you need to do the following:
1. Extend the table for which you want to display the additional field, eg if you want to display an additional tab page with certains fileds on the project defintion, extend the table dpr_project. Make sure you include your additional fields in the customer include in the table. It is meant basically for extending the table.
2. Do customization for the node: Global Enhancements for Project elements
Read documentation for the settings.
In case you have aquery pl post back.
Enjoy!!
Regards
Reema.
Hai Reema,
We have already used the enhancement for extending the table and have added few custom defined fields in the "Basic Data Tab" under Project Definition by extending the table DPR_PROJECT. It works fine.
Due to client requirement, now we need to <b><u>relocate these fields to the new tab</u></b> that we have created in Project Definition level.
Already a blank tab page has been created.
Can you pls tell us how to proceed further?
Regards,
Rajesh Kumar
Rajesh
Go to SPRO :
SAP Customizing Implementation Guide -> Collaboration Projects -> Collaboration Projects -> Define Field Groups for customer fields
For having a tab page that is visibale only when u r at project definition:
Object Type: DPO (Project Definition)
Field Group ID: (ID) eg ZTAB_DPO
Field Group Name: This will appear as the text on the TAB
Make sure active check box is checked.
Select the entry made above and double click on Customer Fields for Field Group.
Customer Field will be the additional fields that you have added in the customer include in the table dpr_projects
Select Mode and Field Type.
Make sure active check box is checked.
Double click on the folder Field Group as per Project Type.
Click on new entries.
Select the project Type for which you want the tab to be displayed
Object Type : DPO (Project definiton)
Field Group ID (ZTAB_DPO)
Make sure active check box is checked.
Reema
Pl award appropriate points and close the thread if your queries are answered.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.