05-14-2009 7:52 AM
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.
05-14-2009 8:04 AM
Hi,
As you mentioned, you need to display the short text in the report output, Is it custom report ?
If it is custom report, then you can modiffy the short text accordingly in the FIELDCATALOG itself.
If you are displaying any standard report means, then u need to look into the table or config from where the short text got picked.
Regards,
Santhosh.
05-14-2009 8:04 AM
Hi,
As you mentioned, you need to display the short text in the report output, Is it custom report ?
If it is custom report, then you can modiffy the short text accordingly in the FIELDCATALOG itself.
If you are displaying any standard report means, then u need to look into the table or config from where the short text got picked.
Regards,
Santhosh.
05-14-2009 8:06 AM
Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab
06-10-2014 3:06 PM
Hi Ankur,
I tried this function module and it reads the text but what option do I have if i need to read the text for about 500 batches ?
Thanks,
Darshak
05-14-2009 8:07 AM
hi...
check this FM:
CALL FUNCTION 'READ_TEXT_INLINE'
EXPORTING
id = 'VERM'
inline_count = 1
language = sy-langu
name = matnr_werks_charg
object = 'CHARGE'
IMPORTING
header = thead
TABLES
inlines = txt_inlines
lines = txt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
OTHERS = 99.
regards,darek