Skip to Content
0
Former Member
May 18, 2010 at 05:39 PM

short dump when trying to download alv( reuse_alv_grid data) into excel

246 Views

Hi SAPAll.

here i have got one alv report ,when executing this alv report it displays in correct way but the only problem is when i click on the icon(local file) which exists at standard tool bar at the top to dowbload into local excel file it is raising the runtime error as

The current statement requires a character-type data object.

at happened?

Error in the ABAP Application Program

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

come across a statement that unfortunately cannot be executed.

ror analysis

At the statment

"STRLEN( obj )..."

, only character-type data objects are supported at the argument

position "obj".

In this particular case, the operand "obj" has the non-charcter-type type

"P".

igger Location of Runtime Error

Program SAPLKKBL

Include LKKBLF99

Row 3.948

Module type (FORM)

Module Name GEN_FIELD_OUT2

Line SourceCde

3923 * Bei NUMC führende '0' und ' ' nicht berücksichtigen

3924 elseif gs_fc-tech_form = 6.

3925 write to gs_out-hlpchar no-zero left-justified.

3926 if gs_fc-just = 'R'.

3927 condense gs_out-hlpchar.

3928 endif.

3929 gs_out-hlplen = strlen( gs_out-hlpchar ).

3930 elseif gs_fc-tech_form = 11. "INS TECH11

3931 * Min. Ausgabelänge für ein Datum ist immer 8

3932 if gs_fc-datatype = 'DATS'. "INS TECH11

3933 gs_out-hlplen = 8. "INS TECH11

3934 * Min. Ausgabelänge für eine Uhrzeit ist immer 6

3935 elseif gs_fc-datatype = 'TIMS'. "INS TECH11

3936 gs_out-hlplen = 6. "INS TECH11

3937 endif. "INS TECH11

3938 elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.

3939 * Überführung int. in ext. Format via Konvertierungsexit

3940 if not gs_fc-convexit is initial or "INS TECH11

3941 not gs_fc-inttype ca 'CN'.

3942 * elseif not gs_fc-convexit is initial. "DEL TECH11

please respond at ur time