Skip to Content
author's profile photo Former Member
Former Member

Create PS Text programmatically

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2008 at 11:23 AM

    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-

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2008 at 12:35 PM

    Check out FM EDIT_TEXT_FORMAT_DOC

    Regards

    Sreenivas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.