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: 

smartforms workflow logic

Former Member
0 Kudos

Hello!

How works smartforms logic in this case.

How is the worklflow

by the following circumtance within smartforms:

E.g.

Does he continue working with next node "code"

after COMMAND ????

Header-Window

-Text

Main-Window

LOOP

CODE

COMMAND (new Page if condition true)

code

LOOP

CODE

TEXT

END Main-Window

Regards

Ilhan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

If condition is true it will go for new page if it is false it will go to the node "code".

Reward if helpful.

5 REPLIES 5

Former Member
0 Kudos

Hi,

If condition is true it will go for new page if it is false it will go to the node "code".

Reward if helpful.

Former Member
0 Kudos

HI llhan,

Whenever it encounter command node. if the condition is true it will start from new page. it will not do nething after that command node.

regards,

Azad.

varma_narayana
Active Contributor
0 Kudos

Hi...

Yes .. The processing Continues after the node COMMAND

Basically COMMAND node triggers the Page Break only.

So the Processing of "code" after COMMAND continues.

<b>Reward if Helpful.</b>

Former Member
0 Kudos

Hello Everybody

Does the processing contninue after COMMAND generally know or not ?

If not how is the flow ?

Regards

Ilhan

0 Kudos

Hi,

COMMAND here just Force a page break within table loop.

if the it is satisfied it will go to new page else ends the main window.

Here is the code that can be use to determine the internal name of the function module:

Code:

if sf_label(1) <> '/'. " need to resolve by name

move sf_label to externalname.

call function 'SSF_FUNCTION_MODULE_NAME'

exporting

formname = externalname

importing

fm_name = internalname

exceptions

no_form = 1

no_function_module = 2

others = 3.

if sy-subrc <> 0.

message 'e427'.

endif.

move internalname to sf_label.

endif.

also please check out the link below it will help you

http://myweb.dal.ca/hchinni/sap/smartforms/SmartForms.doc

*******please reward points if the information is helpful to you*********