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
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.