2009 Feb 16 8:48 AM
Hi,
I would like update the Milestone description with a input file. I used the function READ_TEXT and SAVE_TEXT but I see that only long text is updated and not short (field MLTX-KTEXT). I used the funtions : CJBP_MILLESTONE_UPDATE, BAPI_PROJECT_MAINTAIN, CN2M_MLST_CHANGE and Sap Note 1300978 but I can't update the Mileston description!! I hope that the last solution isn't directly update the MLTX table!
Thanks for help.
Hi,
I would like update the Milestone description with a input file. I used the function READ_TEXT and SAVE_TEXT but I see that only long text is updated and not short (field MLTX-KTEXT). I used the funtions : CJBP_MILLESTONE_UPDATE, BAPI_PROJECT_MAINTAIN, CN2M_MLST_CHANGE and Sap Note 1300978 but I can't update the Mileston description!! I hope that the last solution isn't directly update the MLTX table!
Thanks for help.
2009 Feb 16 9:04 AM
hi,
If the updation you are carrying out is through report programming, then the other way to update that table is to use database statement update or modify.
1) Create a internal table of similar structure of the database table and fill in it with entries existing in the database table.
2) Modify the internal table by using
LOOP AT ITAB INTO WA
MODIFY table itab from wa transporting KTEXT.
ENDLOOP.
3) MODIFY DBTAB FROM TABLE ITAB ( Make sure entries already exist else new entries are added to dbtab)
OR
UPDATE DBTAB FROM TABLE ITAB ( Make sure entries already exist else NO changes are made to dbtab)
Thanks and regards
Sharath
2009 Feb 16 9:04 AM
2009 Feb 16 9:21 AM
I wouldn't like update the database directly but to use a function for a process more clean. I try to debug standard for the description Milestone modification (CJ02-> Miestones overview) but, I don't see when the description is updated! The CJBP_MILLESTONE_UPDATE function is used but when I used it, the update don't funtion even with COMMIT.
2009 Feb 16 2:33 PM
I found the function! This function is 'CJVB_MLST_POST'.
Edited by: Xavier Couloumies on Feb 16, 2009 3:33 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |