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: 

FM to get the long text of a notification/CRM order?

Former Member
0 Kudos

I use select statement into database table BALHDR, but get only the protocol data. Does anybody know how to obtain the longtext (content) of a notification?

Thanx.

Nuno

1 ACCEPTED SOLUTION

Former Member
0 Kudos

call function 'READ_TEXT'

EXPORTING

id = '0001'

language = 'EN'

name = document number

object = object name

TABLES

lines = lines

cheers,

sasi

7 REPLIES 7

Former Member
0 Kudos

hi,

Use READ_TEXT function module

cheers,

sasi

Former Member
0 Kudos

call function 'READ_TEXT'

EXPORTING

id = '0001'

language = 'EN'

name = document number

object = object name

TABLES

lines = lines

cheers,

sasi

0 Kudos

Hi, thanx Sasi,

Sorry, I'm a new abaper. Could you tell me how to get the object id and object name?

Nuno

0 Kudos

hi,

check with TTXID table

cheers,

sasi

0 Kudos

hi,

the object id may be QMEL

and with this Object Id goto table TTXID and find the text id ( with help of description )

ID = Text id (LTQM or LTXT)

LANGUAGE = 'EN'

NAME = Notification Number

OBJECT = 'QMEL'

cheers,

sasi

0 Kudos

I've found out the IDs and Name that I need:

ID = 'SU99'

LANGUAGE = 'E' *It's strange that EN will lead to error.

NAME = Notification Number

OBJECT = 'CRM_ORDERH'

For some technical reasons of this web site today I think, I can't reward points for you. Anyway I'll do it later.

Thanx again.

0 Kudos

I've made it.

Nuno