Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to put condtion for date in scripts

$
0
0

Hi Abapers,

 

My Requirement is if date is after 01.04.2014 it should print manager.

else it should print asst .manager in footer using scripts.

 

I wrote the logic as follows in scripts

 

/: if <fs_header>-budat gt ' 01.04.2014'

    manager

/:else

Asst.manager

/:endif.

but it didn't work and tried this also as shown below

 

 

/: if <fs_header>-budat gt '20140401'

    manager

/:else

Asst.manager

/:endif.

this one didn't work .Give the solution for the above


Viewing all articles
Browse latest Browse all 8332

Trending Articles