‎2008 Mar 19 2:25 PM
IF i_bsas-augdt(4) GE sgjahr+3(4)
IF i_bsas-augdt+4(2) GT pmonat.
what does this mean
‎2008 Mar 19 2:30 PM
IF i_bsas-augdt(4) GE sgjahr+3(4)
IF i_bsas-augdt+4(2) GT pmonat.
consider i_bsas-augdt = '12345678' and sgjahr = '8765432'.
Then,
i_bsas-augdt(4) = '1234'
sgjahr+3(4) = '5432' and
i_bsas-augdt+4(2) = '56'.
These notations are used for getting offsets of character strings.
So your conditiopn becomes.
If '1234' >= '5432'
If '56' > pmonat
G@urav.
‎2008 Mar 19 2:32 PM
Hi,
Offsetting and comparing the dates.
IF i_bsas-augdt(4) GE sgjahr+3(4) "Checking the year with sgjahr
IF i_bsas-augdt+4(2) GT pmonat. "Checking the period
Thanks,
Sriram Ponna.
‎2008 Mar 19 4:06 PM
I think that SGJAHR is a select-option and PMONAT is a parameter.
If it is right, SGJAHR+3(4) is the same as SGJAHR-LOW.