‎2008 Mar 05 3:31 AM
Hi Experts,
Can some one give me an idea of how to implement the following scenario's?
(Say ) i have 2 exits say EXIT1 and EXIT2.
I want to trigger Exit1 from today till next 6 months. And after 6 months. i need to trigger EXIT2 for another 6 months. And then again EXIT1 for another 6 months..and then EXIT2 interchangably and so on.
Please suggest.
Thanks
Dan.
‎2008 Mar 05 3:42 AM
Hi Dan,
Triggering can't be controlled that way but you can check in the code of exits with the date.
EXIT 1
sy-datum in <required date>
EXIT 2
sy-datum in <required date>
Regards,
Atish
‎2008 Mar 05 4:50 AM
Hi
Trigering of exits cannot be controlled in this way. Only way looks possible is you can check the current date and compare the month field .. say if is from 1 to 6 then you can trigger exit 1 and if it is from 7 to 12 you can trigger the exit 2 .
Reward if helpful
Thanks .
‎2008 Mar 05 1:46 PM
Hi All,
My point is where exactly do we place our code for sy-datum? Inide the exit or outside the call function stmt...etc?
thanks
Dan
‎2008 Mar 05 1:52 PM