Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fastest way to run the SAP query Infoset

I get runtime error with below code, can anyone suggest fastest output. Same logic as below: Thanks in advanced!

TABLES: LIPS.

SELECT SINGLE *
  FROM LIPS
  WHERE VGBEL = EKPO-EBELN
  AND   VGPOS = EKPO-EBELP
  AND   MATNR = EKPO-MATNR.

IF SY-SUBRC = 0.
  DELIVERY = LIPS-VBELN.
  STORLOC  = LIPS-LGORT.
  CREATED_BY_DELIV = LIPS-ERNAM.
  CREATED_DAY_DELIV = LIPS-ERDAT.
ELSE.
  DELIVERY = ' '.
  STORLOC  = ' '.
  CREATED_BY_DELIV = ' '.
  CREATED_DAY_DELIV = ' '.
ENDIF.

Tags:
Not what you were looking for? View more on this topic or Ask a question