07-24-2007 11:47 AM
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
07-24-2007 11:51 AM
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.
07-24-2007 11:51 AM
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.
07-24-2007 11:51 AM
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.
07-24-2007 11:52 AM
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>
07-24-2007 11:56 AM
Hello Everybody
Does the processing contninue after COMMAND generally know or not ?
If not how is the flow ?
Regards
Ilhan
07-24-2007 12:07 PM
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*********