Application Development and Automation 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: 
Read only

Sales order header text

Former Member
0 Likes
720

Hi all,

I need a wirte a routine in VOFM requirements for sales order header text.

I have created a custome

Just I need to populate some text in header text.

pls tell me how to do this.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
663

HI,

Please check this link.

http://abaplovers.blogspot.com/2008/02/function-modules-create-text-and-read.html

You can use 'READ_TEXT' and 'create_text' this is explained very well in this above link.

Regards

Hiren K.Chitalia

4 REPLIES 4
Read only

Former Member
0 Likes
664

HI,

Please check this link.

http://abaplovers.blogspot.com/2008/02/function-modules-create-text-and-read.html

You can use 'READ_TEXT' and 'create_text' this is explained very well in this above link.

Regards

Hiren K.Chitalia

Read only

0 Likes
663

Hi,

I have to create text at the time of sales order creation .

For this Create_Text i hav to pass the VEBLN . before creating it is not possible to pass this

Read only

0 Likes
663

Hi Chandra,

I really have to check that.

But what u can do is create the VBELN first and then use the function module (CREATE_TEXT) to add the text.

Regards

Hiren K.Chitalia

Read only

Former Member
0 Likes
663

Hi Chandra,

for header text use FM: CREATE_TEXT.

CALL FUNCTION 'CREATE_TEXT'

EXPORTING

fid = c_id

flanguage = c_en

fname = l_anfnr(SALES ORDER NO)

fobject = c_ekko(ekko)

save_direct = c_check

fformat = '*'

TABLES

flines = i_headtext[]

EXCEPTIONS

no_init = 1

no_save = 2

OTHERS = 3.

data: i_headtext TYPE TABLE OF tline,

wa_headtext type tline.

Hope this can solve your problems.

Regards,

Tutun