‎2006 Aug 16 9:32 PM
Hello
I am using BAPI_PROJECT_MAINTAIN to create project/WBS elements. This BAPI doesn't have any segment for long text of WBS elements.
So, I am trying to use CREATE_TEXT to create long texts for WBS elements. I am using this function module after successfully creating the WBS element using the above BAPI. CREATE_TEXT doesn't seem to be creating any text for WBS element.
If I manually enter long text in the WBS element, save it and then use CREATE_TEXT, it is able to create additional texts. The problem seems to be only when I am using CREATE_TEXT for the first time when there is no long text in the WBS element.
Has anybody faced this? If yes, any possible solutions?
Thanks
KK
‎2006 Aug 16 11:02 PM
When you create text using standard transaction, PRPS-TXTSP is populated with SY-LANGU.
CREATE_TEXT is not working first time because above mentioned field is not populated, and it works second time because the field is populated by sap transaction.
You can populate the field with language key in an user exit. If there's no user exit, consider direct table update.
Regards
Sridhar
Message was edited by: Sridhar K