2009 Jul 31 10:57 AM
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.
2009 Jul 31 11:06 AM
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
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.
2009 Jul 31 11:06 AM
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
2009 Jul 31 2:46 PM
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
2009 Aug 03 4:33 AM
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
2009 Jul 31 11:47 AM
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