Skip to Content

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

select statment

Hi Guys,

I want to select the latest billing doc date .How do I use the order by clause and select single

in below select statment.Please guide

SELECT a~wadat_ist

INTO billing_dat

FROM likp AS a JOIN lips AS b

ON avbeln EQ bvbeln

WHERE a~kunag = iest0-customer

AND b~matnr = iest1-material.

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