Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Change short texts

Former Member
0 Kudos

Hello ABAP developers,

I have to write a program for changing texts in Transaction CAT2.

At the moment I use the two function modules "READ_TEXT" and "EDIT_TEXT".

With this function modules I can change the long texts, but not the short texts.

Does anybody have an idea for my problem?

If the information can help, the short texts are stored in the table "CATSDB".

In addition the first line of a long text seems to be the short text. But after the change of the first line, the change isn't applied for the short text.

Thanks and regards

Sergej

4 REPLIES 4

Former Member
0 Kudos

Hi!

The short texts are just stored in a character field (LTXA1) in table catsdb. You don't have to use the READ_TEXT and EDIT_TEXT fm-s, you just simply modify this field.

However, be careful of the direct table update, because not only CATSDB table, what is used in CAT2 transaction. For example there are CATSPM, CATSCO and CATSHR tables also...

I was copied CAT2 to a ZCAT2 transaction and applied the modifications within the tablecontrol, and SAP handled the rest...

Regards

Tamá

0 Kudos

Hi,

thanks, but is there way, to change the short text with a function module?

Sergej

raymond_giuseppi
Active Contributor
0 Kudos

To change the CATSDB records use BAPI BAPI_CATIMESHEETMGR_CHANGE.

You will have to copy the first line (the first character of) to the records in table parameter CATSRECORDS_IN (structure BAPICATS3) you could also use this BAPI to change the long texts using the LONGTEXT table parameter.

Regards

0 Kudos

Hi,

Is there any way to populate BAPICATS3 table throufh FM or BAPI?