cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Long text more than 132 chars with BAPI_BUS1091_CREATE for Phrases

former_member782904
Discoverer
0 Kudos

Hi All,

Am trying to create Phrases with BAPI_BUS1091_CREATE but I could not able to create long text more than 132 chars since the length of Tdline is 132, but I have a requirement to create a long text around 400 - 500 chars.

Tried playing with primary and foreign keys, tried to use convert_String_to_text FM to pass text as a table to BAPI but no fruits.

Does anyone has same problem and got a solution for this.

Appreciate your help in advance 🙂

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_bergemann
Active Contributor
0 Kudos

Hello

phrases are normally either directly created using the corresponding transactions (and normally they are assigned idrect to a phrase set using CG12) or they are "uploaded" via EHS standard EHS import option; now you can use as well the "OCC" option to create by mass new phrases (e.g. https://answers.sap.com/questions/12501561/how-to-connect-occ-to-sap-for-online-data-load-spe.html or https://answers.sap.com/questions/11847406/different-steps-in-loading-data-from-occ.html

E.g some discussion has been done here:

https://answers.sap.com/questions/12298366/can-we-import-phrase-and-phrase-set-without-import.html

This BAPI is not discussed very often. I found only one thread:

https://answers.sap.com/questions/11083539/phrase-creation-using-bapibus1091create.html

So what is your business need? If you have a number of phrases to create: use the standard "import" variant and don't create new ABAP process (or use the new SAP EHS OCC variant)

C.B.

For "reading" phrases: check: https://www.se80.co.uk/sapfms/b/bapi/bapi_bus1091_getdetail.htm

By analysing this you will get an idea (I would assume) how to use the "create" part