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: 

How to get the short text in tcode "msc3n" --> Basic data 2 --> short text.

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

former_member555112
Active Contributor
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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