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

reports

Former Member
0 Likes
360

Hello Experts!!!!

Any one can tell me how to use a table which consits of INDEXES and it should not give any error in code inspector.table name VEPVG.

Thanks & Regards,

shaheen.

2 REPLIES 2
Read only

Former Member
0 Likes
337

hI ,

Try this example.

SELECT * FROM VEPVG WHERE VBELN BETWEEN VON AND BIS ORDER BY VBELN.

Regards,

Mohan.

Read only

Former Member
0 Likes
337

Hi,

Example code:

SELECT * FROM VEPVG WHERE VBELN BETWEEN VON AND BIS ORDER BY VBELN.

SELECT SINGLE * FROM VBUK WHERE VBELN = VEPVG-VBELN.

IF SY-SUBRC <> 0.

IF DB_AKTIV = 'X'.

DELETE VEPVG.

ENDIF.

WRITE: / VEPVG-VBELN,

VEPVG-VSTEL,

VEPVG-LEDAT,

VEPVG-LPRIO,

VEPVG-ROUTE,

VEPVG-SPDNR,

VEPVG-WADAT,

VEPVG-KUNWE,

VEPVG-LIFSP.

OUTPUT = 'X'.

ENDIF.

ENDSELECT.

Regards,

Mohan