Skip to Content
0
Aug 31, 2007 at 06:17 AM

Runtime Error when trying to trigger smartform from VL03N

45 Views

Hi all,

i am having a runtime error while trying to triger my smartforms from transaction VL03N.

The error is 'The current ABAP program "SAPLV60U" had to be terminated because it has come across a statement that unfortunately cannot be executed.'

The it's in the include: "LV60UF0K"

| 21| LOOP AT XKOMV.

| 22| KONV = XKOMV.

| 23| BELEG = XKOMV-KNUMV.

| 24| IF BELEG-ID = '$'.

| 25| PERFORM VBRK_BELEGNUMMER_ERMITTELN.

| 26| XKOMV-KNUMV = XVBRK-KNUMV.

| 27| ENDIF.

| 28| MODIFY XKOMV.

| 29| ENDLOOP.

|>>>>>| INSERT KONV FROM TABLE XKOMV.

| 31| IF SY-SUBRC NE 0.

| 32| MESSAGE A100 WITH 'KONV' SY-SUBRC XKOMV-knumv.

| 33| ENDIF.

can anyone help me on this please..

Thanks in advance

Regards

Nitin