- To branch to a new page
- Line in SMARTFORM
- Difference between form interface and global definitions
- Functional module name of smartform
- Inserting Logo in SmartForm
To branch to a new page in Smart forms The page to which you want to branch must exist. You can branch to a new page only as long as you are still displaying the contents of a main window. Choose Create -> Command in the context menu to create a command node in the main window of the page. On the General Attributes tab strips Tick Go to new page. Determine the new page using the list box next to the checkbox (it can be the same page if you want). The output of the main window will continues on the new page. Question : Subject : Line in SMARTFORM HOW TO GET "THICK-LINE"(HORIZANTAL) IN SMARTFORM. Answers : Subject : Line in SMARTFORM Hi. Either you can use a window that takes up the width of your page and only has a hight if 1 mm. then you put a frame around it (in window output options). Thus you have drawn a box but it looks like a line. Or you can just draw "__" accross the page and play with the fonts so that it joins each UNDER_SCORE. Question : Subject : Difference between form interface and global definitions What is the difference between 'form interface' and 'global definitions' in global settings of smart forms. Answers: Subject : Difference between form interface and global definitions The Difference is as follows. Form Interface is where you declare what must be passed in and out of the smartform (in from the print program to the smartform and out from the smartform to the print program). Global defs. is where you declare data to be used within the smartform on a global scope. ie: anything you declare here can be used in any other node in the form. Hope this is clear enough... Question : Subject : Functional module name of smartform I have created a smartform and generated it. what will be the name of the Functional module? how to use it in abap ? It is urgent pl. Answers : Subject : Functional module name of smartform Hi, Once you have activated the smartform, go to the environment->function module name. There you can get the name of funtion module name. Thanks Answers : Subject : Functional module name of smartform I'm not sure you even have to know the exact name of the FM. The key thing is the program that calls it. for instance, the invoice SMARTFORM LB_BIL_INVOICE is ran by the program RLB_INVOICE. This program uses another FM to determine the name of the FM to use itself. The key thing is that when it calls this FM (using a variable to store the actual name), that the parameters match the paramters in your smartform. Answers : Subject : Functional module name of smartform Yep Innocent. thats right. Another thing to note is that the FM name will change wherever the SF is transported to. So u need to use the FM to determin the name of the SF. Answers : Subject : Functional module name of smartform Here is code i 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. it checks to see if the sf_label starts with a '/', which is how the internal names start. if it does, the name has already been converted. If not, it calls the FM and converts the name. you would then CALL FUNCTION sf_label. Inserting Logo in SmartForm Follow the given steps in order to add a logo, - In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
- Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
- In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
- Select any picture and set its Resolution in DPI
- Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
- Set any other parameters if required, save and activate.
- If there is only 1 Window in the forms, set it as Main Window in general attributes.
- User TCode SE78 to upload new pictures and logos.
Related Items:
|