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

Getting Dump when tested in Q System while creating the Dynamic table

Former Member
0 Likes
315

Hello All,

I am getting short dump error, when I tested a program in Q system.

Actually dump is triggered when calling the FM

CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE

EXPORTING

IT_FIELDCATALOG = IT_FIELDCAT

IMPORTING

EP_TABLE = <FS_DATA>

EXCEPTIONS

GENERATE_SUBPOOL_DIR_FULL = 1

OTHERS = 2.

Inside this method Form name: <b>FB_TABLE_CREATE</b>

<b>Exactly I am getting here</b>

if r_oo_class is initial.

perform (l_form) in program (l_name).

else.

perform (l_form) in program (l_name) using r_oo_class.

endif.

endform.

<b>Telling that the program not Found</b>

Program " " not found.

What happened?

There are various possibilities:

program library.

The current ABAP/4 program "SAPLSKBH " had to be terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

or

Error in the SAP Basis system

ABAP/4 processor detected an internal system error.

The current ABAP program "SAPLSKBH " had to be terminated because the ABAP

processor discovered an invalid system state.

Can anyboby tell how to avoid this dump.

The same code is working fine in D system.

I am filling the fields catalog like this...

LOOP AT G_T_FIELDCAT INTO G_R_FIELDCAT WHERE NO_OUT IS INITIAL

AND TECH IS INITIAL.

MOVE-CORRESPONDING G_R_FIELDCAT TO IS_FIELDCAT.

IS_FIELDCAT-FIELDNAME = G_R_FIELDCAT-FIELDNAME.

IS_FIELDCAT-INTTYPE = G_R_FIELDCAT-INTTYPE.

IS_FIELDCAT-OUTPUTLEN = G_R_FIELDCAT-OUTPUTLEN.

IS_FIELDCAT-REF_FIELD = G_R_FIELDCAT-FIELDNAME.

IS_FIELDCAT-REF_TABLE = G_R_FIELDCAT-REF_TABNAME.

APPEND IS_FIELDCAT TO IT_FIELDCAT.

ENDLOOP.

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
276

hi,

compare the sap-program in sytems Q and D from

...perform (l_form) in program (<b>l_name</b>).

...

per RFC

A.