cancel
Showing results for 
Search instead for 
Did you mean: 

Create PS Text programmatically

Former Member
0 Kudos

Hello all,

I need to programatically load PS texts to order activities within Project Systems. I can not find a BAPI to load this, andI have been debugging transaction CJ20N and have not been successful there either. In addition to storing the text with the SAVE_TEXT function, I need to also populate tables NPTX and PSTX. I have found functions CN_TX_NPTX_POST and CN_TX_PSTX_POST, which are essentially the same as doing direct table updates. Does anyone know of a better way to do this?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check out FM EDIT_TEXT_FORMAT_DOC

Regards

Sreenivas

Former Member
0 Kudos

I should appreciate your courage to debug CJ20N.

Never user the 'update FM' that you mentioed because they do a direct database update with out any validations or business logic that needs to be executed before that.

Do you want to create a report which will do this for you?

Or want to do it when the poroject is saved in the CJ20N?

Regards,

Ramesh-

Former Member
0 Kudos

My suggstion would be to add the text to networks activites using a BDC program by recording the transaction CN22 for change network..

Or ask the users to always new a template network which will the PS text preentered.

Regards,

Ramesh