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

run time error in FBZ5

Former Member
0 Likes
867

Hi,

while runing t,code FBZ5 , i am getting this run time error.

Runtime Errors CALL_FUNCTION_NOT_FOUND

Except. CX_SY_DYN_CALL_ILLEGAL_FUNC

Date and Time 30.05.2009 13:12:34

Short text

Function module "OTF_LIST" not found.

What happened?

The function module "OTF_LIST" is called,

but cannot be found in the library.

Error in the ABAP Application Program

The current ABAP program "SAPLSTXC" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was

not caught in

procedure "OTF_SEND_SPOOL" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

The program "SAPLSTXC" contains the CALL FUNCTION statement.

The name of the function module to be called is "OTF_LIST".

No function module exists with the name "OTF_LIST".

All function modules are listed in the Function Library (SE37).

Possible reasons:

a) Wrong name specified. Pay particular attention to

upper/lower case and underscores ("_").

or

b) Transport error

c) In the case of an enqueue/dequeue module,

the lock object may not have been activated

(ABAP/4 Dictionary).

Line SourceCde

241 unknown_font = 2

242 others = 3.

243 if sy-subrc <> 0.

244 perform internal using 'OTF_SOFT_FONT_GET' sy-subrc.

245 endif.

246

247 * insert in otf table before(!) font call, i. e. append

248 check not otf[] is initial.

249 append lines of l_sfont to otf[].

250

251 endform.

252

253

254 form otf_send_spool tables otfdata structure itcoo

255 using param structure itcpp.

256 data: l_parlen type i,

257 l_dummy(1) type c,

258 l_mult type i,

259 l_actmult type i,

260 l_cp type tcp00-cpcodepage.

261

262 * right-to-left conversion

263 if itcpp-tdrtl = true. "RTL

264 if spool_external_print <> true. "RTL

265 perform otf_rtl_layout tables otf. "RTL

266 endif. "RTL

267 endif. "RTL

268 * use old 2.0 ABAP driver or spooler c-routines

269 if param-tdotfcall <> space.

270 check param-tddest <> c_dest_null.

>>>>> call function param-tdotfcall

272 tables otf = otfdata

273 exceptions others = 1.

274 if sy-subrc ne 0.

275 perform fatal.

276 call function 'SAPSCRIPT_MESSAGE'

277 exporting typ = 'A'.

278 endif.

279 else.

280 check param-tddest <> c_dest_null.

281

282 describe field l_dummy length l_mult in byte mode.

283 l_actmult = l_mult.

284

285 loop at otfdata.

286 case otfdata-tdprintcom.

287 when pc_id_string.

288 if c_unicode = false.

289 l_parlen = 7 + otfdata-tdprintpar+5(2).

290 else.

Regards,

balu

Hi,

while runing t,code FBZ5 , i am getting this run time error.

Runtime Errors CALL_FUNCTION_NOT_FOUND

Except. CX_SY_DYN_CALL_ILLEGAL_FUNC

Date and Time 30.05.2009 13:12:34

Short text

Function module "OTF_LIST" not found.

What happened?

The function module "OTF_LIST" is called,

but cannot be found in the library.

Error in the ABAP Application Program

The current ABAP program "SAPLSTXC" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was

not caught in

procedure "OTF_SEND_SPOOL" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

The program "SAPLSTXC" contains the CALL FUNCTION statement.

The name of the function module to be called is "OTF_LIST".

No function module exists with the name "OTF_LIST".

All function modules are listed in the Function Library (SE37).

Possible reasons:

a) Wrong name specified. Pay particular attention to

upper/lower case and underscores ("_").

or

b) Transport error

c) In the case of an enqueue/dequeue module,

the lock object may not have been activated

(ABAP/4 Dictionary).

Line SourceCde

241 unknown_font = 2

242 others = 3.

243 if sy-subrc <> 0.

244 perform internal using 'OTF_SOFT_FONT_GET' sy-subrc.

245 endif.

246

247 * insert in otf table before(!) font call, i. e. append

248 check not otf[] is initial.

249 append lines of l_sfont to otf[].

250

251 endform.

252

253

254 form otf_send_spool tables otfdata structure itcoo

255 using param structure itcpp.

256 data: l_parlen type i,

257 l_dummy(1) type c,

258 l_mult type i,

259 l_actmult type i,

260 l_cp type tcp00-cpcodepage.

261

262 * right-to-left conversion

263 if itcpp-tdrtl = true. "RTL

264 if spool_external_print <> true. "RTL

265 perform otf_rtl_layout tables otf. "RTL

266 endif. "RTL

267 endif. "RTL

268 * use old 2.0 ABAP driver or spooler c-routines

269 if param-tdotfcall <> space.

270 check param-tddest <> c_dest_null.

>>>>> call function param-tdotfcall

272 tables otf = otfdata

273 exceptions others = 1.

274 if sy-subrc ne 0.

275 perform fatal.

276 call function 'SAPSCRIPT_MESSAGE'

277 exporting typ = 'A'.

278 endif.

279 else.

280 check param-tddest <> c_dest_null.

281

282 describe field l_dummy length l_mult in byte mode.

283 l_actmult = l_mult.

284

285 loop at otfdata.

286 case otfdata-tdprintcom.

287 when pc_id_string.

288 if c_unicode = false.

289 l_parlen = 7 + otfdata-tdprintpar+5(2).

290 else.

Regards,

balu

4 REPLIES 4
Read only

Former Member
0 Likes
749

Hi,

Kindly check in debug wht the non existent FM 'OTF_LIST' is getting called?

Probably this seems to be a dynamic call to some FM and the FM name is not getting generated properly.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
749

closed

Read only

Former Member
0 Likes
749

closed

Read only

Former Member
0 Likes
749

closed