‎2006 Jan 03 4:54 AM
I am using create_text in a function module which is called from a dynpro project.Whenever the function module runs in R/3 it is working perfectly but when the function module is called from dynpro ,it is throwing
exception NO_INIT.
Can anybody tell what could be the possible error?
Thanks
Regards
Jeetu
‎2006 Jan 03 4:59 AM
Check whether you have defined the parameters correctly or not. While passing values to the FM the type conflict should not occur. If you check the FM you will see another FM in it
call function 'INIT_TEXT'
exporting
id = fid
language = flanguage
name = fname
object = fobject
importing
header = fheader
tables
lines = tlinetab
exceptions
id = 01
language = 02
name = 03
object = 04.
if sy-subrc <> 0.
raise no_init.
endif.
here if id, language, name, object. if any of the parameters fails you may get the error. please check the same.
Cheers
‎2006 Jan 03 4:57 AM
Hi jeetu,
1 Probably in Dynpro
the TEXT is have not been defined / customized.
2. The possible errors are :
ID Text ID invalid
LANGUAGE Invalid language
NAME Invalid text name
OBJECT Invalid text object
I hope it helps.
regards,
amit m.
‎2006 Jan 03 4:59 AM
Check whether you have defined the parameters correctly or not. While passing values to the FM the type conflict should not occur. If you check the FM you will see another FM in it
call function 'INIT_TEXT'
exporting
id = fid
language = flanguage
name = fname
object = fobject
importing
header = fheader
tables
lines = tlinetab
exceptions
id = 01
language = 02
name = 03
object = 04.
if sy-subrc <> 0.
raise no_init.
endif.
here if id, language, name, object. if any of the parameters fails you may get the error. please check the same.
Cheers