Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smartform

Former Member
0 Kudos

Hi Gurus!!

how do you write code for IF and Endif in smartforms?please help.

Thanks

Srihari.

5 REPLIES 5

former_member210123
Active Participant
0 Kudos

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.

former_member210123
Active Participant
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

There is one more option to create conditons - ALTERNATIVES

Click Create->Flow Logic ->ALTERNATIVES

Thanks

Murthy .M