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.
Showing results for 
Search instead for 
Did you mean: 

Hi unable to upload BOM long text in component level through 'save_text'

Former Member
0 Kudos

Internally it may be saved.. but not displayed in CS03 transaction


Former Member
0 Kudos

        CONCATENATE sy-mandt ls_stpo-stlty ls_stpo-stlnr

                                 ls_stpo-stlkn ls_stpo-stpoz

          INTO lf_tdname.



              fid       = 'MPO'

              flanguage = sy-langu

              fname     = lf_tdname

              fobject   = 'BOM'


              flines    = lt_lines


              no_init   = 1

              no_save   = 2

              OTHERS    = 3.


The thing is that it should save the text in Line1 and line 2 of the item text if the length is less than 80. I assume that the TEXT Fms will do it for me. Please correct me if I'm wrong.

with Regards ,


0 Kudos

Hi Sri,

I have tried it... but its not getting update in CS03 transaction...

0 Kudos

I used 'Save_Text'..its working fine if there exists long text.. but if no long text is there... its not showing in CS03 transaction though i got those value through'READ_TEXT'

0 Kudos

Hi Anindita,

just tried to update BOM item text using CS02 and the system issued the following info message.

Item long text only saved if there are 3 lines or more


    You have entered or edited a text for an item in the long text editor.

    If this text is less than three lines long, it is not saved in the BOM

    item as a long text, but as an item text.

Try as suggested by the application.

Hope this helps,


0 Kudos

IMHO there is no chance for a SAVE_TEXT to trigger this code in BOM maintenance

Also when long texts already exist and OP change it with SAVE_TEXT, there will be now some differences between short text(s) in master data main record and long texts, so gess which text will win at next execution of CS02?



Active Contributor
0 Kudos

There are some OSS notes that describe some wrong usage of SAVE_TEXT, look for OSS/KBA notes like 1982719 - Texts cannot be displayed - Usage of function module SAVE_TEXT or  2100649 - Unable to view long text after using function module SAVE_TEXT. Usually the master data record contains a field "long text exists"... (as well as a synchronisation with short texts from first lines)

Hint: Look at some FM like CS_BI_BOM_CREATE_WITH_LONGTEXT (as in Directi input report RCSBI040)