03-28-2008 4:41 AM
Hi Gurus!!
how do you write code for IF and Endif in smartforms?please help.
Thanks
Srihari.
03-28-2008 4:47 AM
Inside the smartform.Goto the window in which u need th logic.Right Click Create->Flow Logic ->Program Lines.
Inside the flow logic u can code as u do in ABAP.
03-28-2008 4:47 AM
Inside the smartform.Goto the window in which u need th logic.Right Click Create->Flow Logic ->Program Lines.
Inside the flow logic u can code as u do in ABAP Editor
03-28-2008 4:58 AM
hi,
follow the steps.
1. goto smartforms then select a window to which u want to write the code.
2. right click on window then create
3. select FLOWLOGIC then ALTERNATIVE
4. then appears CONDITION with TRUE or FALSE under the window.
5.then write the code in CONDITIONS tab.
6. for success message write data in TRUE by creating text.
7.for unsuccess message write data in FALSE by creating text.
thanks,
raji
reward if helpful.
03-28-2008 5:00 AM
thanks for the replay. I actually converted an existing script into smartform.
in the script i have the IF statements...which here are shown in text,and obviously we have to change it.
But, here I got two different answers...now which one is correct.
03-28-2008 5:00 AM
There is one more option to create conditons - ALTERNATIVES
Click Create->Flow Logic ->ALTERNATIVES
Thanks
Murthy .M