02-04-2016 7:52 AM
Internally it may be saved.. but not displayed in CS03 transaction
02-04-2016 8:00 AM
CONCATENATE sy-mandt ls_stpo-stlty ls_stpo-stlnr
ls_stpo-stlkn ls_stpo-stpoz
INTO lf_tdname.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = 'MPO'
flanguage = sy-langu
fname = lf_tdname
fobject = 'BOM'
TABLES
flines = lt_lines
EXCEPTIONS
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 ,
Sri
02-04-2016 10:19 AM
Hi Sri,
I have tried it... but its not getting update in CS03 transaction...
02-04-2016 10:30 AM
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'
02-04-2016 5:42 PM
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
Diagnosis
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,
Andrea
02-05-2016 9:01 AM
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?
Regards,
Raymond
02-04-2016 4:09 PM
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)
Regards,
Raymond