cancel
Showing results for 
Search instead for 
Did you mean: 

re: long text

Former Member
0 Kudos

HI,

IM using create_text fm to create function module.

But i don't know what the parameter values to send. Iam sending p_name = 'TEMP'

p_obj = 'DOKU'

P_ID = 'DT'. But it is giving error. Can any body tell regarding this one.

CALL FUNCTION 'CREATE_TEXT'

EXPORTING

FID = P_ID

FLANGUAGE = LANGUAGE

FNAME = P_NAME

FOBJECT = P_OBJ

TABLES

FLINES = TEXTLINES

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Paluri,

PRIOR TO USING ANY TEXTOBJECT & TEXTID ,

THERE MUST BE AN ENTRY IN A VIEW/TABLE

SPECIALLY FOR THIS PURPOSE.

1. For that u will require to use the view V_TTXIDI

2. goto sm30

enter the view : V_TTXIDI

Maintain

3. There u create new entries for

a) Text Object

b) Text ID

4. For this u will need customization rights

in different client number (same development server)

5. A new customizing request will get opened.

Hope it helps.

Regards,

Amit M.

Message was edited by: Amit Mittal

Former Member
0 Kudos

hi kirshna,

For CREATE_TEXT FM you need to pass

FID as any text id 'ST'

FNAME as any zname

FOBJECT as TEXT

FLINE as ST and your text

it will create the standard text now you can go and check it in STXH table for that entry.

rajkumar abbu

Former Member
0 Kudos

Hi,

I know these values. But my requirement is we created an module pool programming interface. For each document i have to create the text. So i want to know that can i save it by using id 'ST' and object 'text'. Is there any object and id for this.

rgds

p.kp

Former Member
0 Kudos

Kp,

Object id is whatever you want to give. There is no specfic value. So in your module pool program, if you have a key, you can use that.

Regards,

Ravi

Former Member
0 Kudos

Kp,

In case of a Sales order / PO you can see that the object id is the order number itself (In case of the Header texts).

However, there the other parameters differ.

Regards,

Ravi

Former Member
0 Kudos

Hi,

go to STXL table in which you will fine following input

field. Pick up values from that table and pass to this

Function module.

like FID = LTXT, Flang = E or D, FOBJ = ASMD

ans other inputs.

I hope this will help you.

Regards,

Amey

andreas_mann3
Active Contributor
0 Kudos

Hi,

have a look here:

Andreas