Skip to Content

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


Hi Gurus,

I have a condition where I need to subtract n days from the current date and then I need to collect billing document from vbrp where the prsdt equals to the date we calculated

For this I ahve written the following code:

v_date = syst-datum - v_n (n no. of days).

select vbeln into table it_vbrp

from vbrp

for all entries in it_header

where prsdt = v_date.

I just want to make sure whether this code will work for me or not and if not then please tell me right one.


Rajeev Gupta

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