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

Runtime Error

Former Member
0 Likes
1,266

Hi friends,

Pls advise how to resolve the below runtime error issue.

**********************************

Runtime Errors ITAB_ILLEGAL_COMPONENT Date and Time 20.05.2008 16:11:41

Short text

Illegal dynamic specification of a row component.

What happened?

Error in the ABAP Application Program

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

come across a statement that unfortunately cannot be executed.

Error analysis

In the current ABAP program "SAPLSKBH" the internal table "RT_COLLECT[]" was to be

processed ith "READ ... TRANSPORTING

At the same time, a component "VAT " was dynamically specified as content of the field "R_KEYFIG". One of the following errors has occurred:

- The row type "u" of the internal table "RT_COLLECT[]" does not contain a component "VAT ".

- "VAT " enthielt eine unzulässige Offset-/Längenangabe, z.B. wenn versucht wurde, in eine Komponente vom Typ I oder

STRING hineinzugreifen, oder beim Versuch, über die Grenzen einer Komponente mit elementarem Typ hinauszugreifen.

- The program "SAPLSKBH" is a Unicode program. In Unicode programs an offset/length access to a structure is only permitted within the character-type beginning section of the structure. In the case of "VAT ", the access extends beyond this beginning section.

- "VAT " contains a specification of the form "A->B" for a dynamic access to an object tribute.

This type of attribute access is only permitted statically at this point in time.

"VAT " contains significant closing spaces (only possible for the type STRING).

Information on where terminated

Termination occurred in the ABAP program "SAPLSKBH" - in "COLLECT".

Themainprogramwas "ZFI_ANNEXURE_CN ". In the source code you have the termination point in line 47

of the (Include) program "LSKBHF02

Source Code Extract

>>>>>

read table rt_collect into rs_wa

48

with key (r_sfield1) = r_value1

49

(r_sfield2) = r_value2

50

(r_sfield3) = r_value3

51

(r_sfield4) = r_value4

52

(r_sfield5) = r_value5

53

(r_sfield6) = r_value6

54

(r_sfield7) = r_value7

55

(r_sfield8) = r_value8

56

(r_sfield9) = r_value9

57

transporting (r_keyfig).

**********************************

Pls reply.

thanks & regards

'sankar.

4 REPLIES 4
Read only

former_member226999
Contributor
0 Likes
867

Check note 486151 may be relavent. Specialy note 356977.

There is a code correction by SAP. Is that applied.

Hope it helps, reward if appropriate.

FY

Read only

Former Member
0 Likes
867

Solved by BASIS Cons.

Problem in avtivation of one output type while using ME29N.

thanks

sankar.

Read only

0 Likes
867

Hi Sankar,

I get similar dump when pressing total buttion on ALV output.

Would you please let me know if you know the solution for it.

Thanks,

Varma

Read only

0 Likes
867

greetings hello men and women .

keep the same subject one alv they have some solution for this event isuue