2014 Apr 04 7:28 AM
Hi team,
need one support from your side..
I am looking for User Exit for TCode CJ20N to populate Project system user fields on SAVE.
I have found
Enhancement CNEX0001
Short text PS: User field
which is exactly suiting my req...as it has USER Fields (USR08/USR09 )in export paramters..
BUT it is not triggering on SAVE,,
Any hint or is any other user exit/badi which have USER Fields in export paramters.
Warm Regards
Krishan
Hi team,
need one support from your side..
I am looking for User Exit for TCode CJ20N to populate Project system user fields on SAVE.
I have found
Enhancement CNEX0001
Short text PS: User field
which is exactly suiting my req...as it has USER Fields (USR08/USR09 )in export paramters..
BUT it is not triggering on SAVE,,
Any hint or is any other user exit/badi which have USER Fields in export paramters.
Warm Regards
Krishan
2014 Apr 04 8:04 AM
Hi Krishnan,
If you want a custom tab that contains User defined fields at Project level then you have to use CNEX0006 user exit. Before this you must declare your fields using the CI include CI_PROJ in the PROJ table.
If you want a custom tab that contains User defined fields at WBS level then you have to use CNEX0007 user exit. Before this you must declare your fields using the CI include CI_PRPS in the PROJ table.
In the PBO function module exit of these exits you must use the following statements as the first statement.
MOVE-CORRESPONDING sap_proj_imp TO proj.
MOVE-CORRESPONDING sap_prps_imp TO prps.
In the PAI function module exit of these exits you must use the following statement as the last statement.
MOVE-CORRESPONDING proj TO cnci_proj_exp.
MOVE-CORRESPONDING prps TO cnci_prps_exp.
The remaining programming as in the case any Screen Exit.
Regards,
Abijith
2014 Apr 04 8:25 AM
Dear Abijith,
Thanks for your help.
I am using only standard fields..provided by SAP and in standard tab.
At header level, there is "BASIC DATA" tab having below dates field
Start date
Finish date
I want to transfer these two fields values to WBS element level
to two dates field USR08 and USR09 (PRPS) table
BUT breakpoint is not stopping in user exit CNEX0001
which have all fields
please suggest
2014 Apr 04 8:43 AM
Hi Krishnan,
Ok. Then you do one thing. Implement the BAdI PROJECTDEF_UPDATE and use method BEFORE_UPDATE to get the Start & Finish dates and place this into an Export parameter.
Then Import this parameter in the BEFORE_UPDATE of the BAdI WORKBREAKDOWN_UPDATE and place this dates where you want to save.
Regards,
Abijith
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |