InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How Do You Use Barcode In Smart Form? |
|
Answer» FIRST go to SE73 SAP Script FONT Maintenance to CREATE or display the system bar codes. Then go to SMARTSTYLES transaction, create a new character format and assign the barcode NAME that you have created in it. Then you can use the character format in your Smartform wherever you want the barcode to be displayed. First go to SE73 SAP Script Font Maintenance to create or display the system bar codes. Then go to SMARTSTYLES transaction, create a new character format and assign the barcode name that you have created in it. Then you can use the character format in your Smartform wherever you want the barcode to be displayed. |
|
| 2. |
What Is The Use Of Folder Node In Smart Form? |
|
Answer» Folder option is useful for placing all the contents into a single place which we call as logical grouping. If we want to put a condition on a group of TEXT elements or templates we can place them in a folder and apply the condition once to the folder. Folder option allows you to place all the contents into a single place. This is basically useful when you have number of windows and with each window you have different graphics, texts, tables, templates used. So to differentiate between 2 windows we generally go for folders and place all contents of one window in a folder and wise versa. PAGE PROTECTION property of Folder control will be used in order to display text in the same page without separating it into two different pages. If there is not enough space for a text node, or a group of text nodes, a group of table rows, etc. the items will be displayed as a group on the next page with maintaining the integrity of these items. In SAP Smartforms documents frequently it is a requirement to print data in same page. For example in a Smart Form table, some of the table rows are required to print in same page together. If the empty space is not enough it is preferred to print those table rows in following page together. In such cases Smartforms Folder control helps ABAP developers creating SAP Smartforms documents. Folder control is the key for page protection in Smartforms. SAP Smartform Folder control has the Page Protection attribute which can be used by SAP Smart Form developers as a SWITCH for KEEPING items in the same page. Folder option is useful for placing all the contents into a single place which we call as logical grouping. If we want to put a condition on a group of text elements or templates we can place them in a folder and apply the condition once to the folder. Folder option allows you to place all the contents into a single place. This is basically useful when you have number of windows and with each window you have different graphics, texts, tables, templates used. So to differentiate between 2 windows we generally go for folders and place all contents of one window in a folder and wise versa. Page Protection property of Folder control will be used in order to display text in the same page without separating it into two different pages. If there is not enough space for a text node, or a group of text nodes, a group of table rows, etc. the items will be displayed as a group on the next page with maintaining the integrity of these items. In SAP Smartforms documents frequently it is a requirement to print data in same page. For example in a Smart Form table, some of the table rows are required to print in same page together. If the empty space is not enough it is preferred to print those table rows in following page together. In such cases Smartforms Folder control helps ABAP developers creating SAP Smartforms documents. Folder control is the key for page protection in Smartforms. SAP Smartform Folder control has the Page Protection attribute which can be used by SAP Smart Form developers as a switch for keeping items in the same page. |
|
| 3. |
How Do You Assign Transport Request To Translations For Smart Forms? |
|
Answer» Once you are done with your translation and you want to PUSH the translation to your TARGET SYSTEM, you need a transport request. Run the TRANSACTION code SLXT or program RS_LXE_RECORD_TORDER for creation of transport request. Once you are done with your translation and you want to push the translation to your target system, you need a transport request. Run the transaction code SLXT or program RS_LXE_RECORD_TORDER for creation of transport request. |
|
| 4. |
How Can You Translate A Smart Form From One Language To Another? |
|
Answer» In smart forms, if you want a user to see the text in other languages (other than language in which smart FORM is created) , in Global settings ,we need to select RADIO button Into Selected languages and maintain the Translations in that particular language using SE63. There is no other way to automate this process but to maintain translations with HUMAN intervention for selected languages. In SE63 transaction, Use path Translations -> ABAP objects -> Other Long Text. Click on Forms and Styles & Select Forms. Please give object name in CAPITALS. Also select Source and target language from F4 help. In smart forms, if you want a user to see the text in other languages (other than language in which smart form is created) , in Global settings ,we need to select radio button Into Selected languages and maintain the Translations in that particular language using SE63. There is no other way to automate this process but to maintain translations with human intervention for selected languages. In SE63 transaction, Use path Translations -> ABAP objects -> Other Long Text. Click on Forms and Styles & Select Forms. Please give object name in CAPITALS. Also select Source and target language from F4 help. |
|
| 5. |
Can One Restrict The Translations Of Smart Form To Specific Languages? |
|
Answer» Yes, one can restrict the translations of Smart forms to specific languages by CREATING a super SET of languages for which you want to allow the translations. GO to FORM Attributes --> General Attributes --> Language Attributes --> Into Selected Language. Select all the languages for which you want the translation to happen. Yes, one can restrict the translations of Smart forms to specific languages by creating a super set of languages for which you want to allow the translations. Go to form Attributes --> General Attributes --> Language Attributes --> Into Selected Language. Select all the languages for which you want the translation to happen. |
|
| 6. |
What Is The Use Of Command Node In Smart Form? |
|
Answer» Command NODES can be used to ACHIEVE PAGE break. By using Command Node, one can manually control the numbers of records to be displayed PER page based on some condition. Command Nodes can be used to achieve page break. By using Command Node, one can manually control the numbers of records to be displayed per page based on some condition. |
|
| 7. |
What Are Text Modules In Smart Forms? What Are The Advantages Of Using Text Module? |
|
Answer» A Text Module acts as some sort of container of text, which makes reuse of text easier. There are texts that frequently appear in different forms. Text Modules can be used to store these texts centrally in the system. This detaches text maintenance from form maintenance, with the result that there will be no NEED to call the Form Builder to edit individual texts. Text modules can be maintained using smartforms transaction. The text module is maintained exactly like the Text element. Text literals as well as fields can be written in the text module. Fields of the Text module take values from the SMART Form from which it is called. Since a Text Module is a separate entity, it has its own Management (Attributes) screen. The main advantages of using a Text module are:
A Text Module acts as some sort of container of text, which makes reuse of text easier. There are texts that frequently appear in different forms. Text Modules can be used to store these texts centrally in the system. This detaches text maintenance from form maintenance, with the result that there will be no need to call the Form Builder to edit individual texts. Text modules can be maintained using smartforms transaction. The text module is maintained exactly like the Text element. Text literals as well as fields can be written in the text module. Fields of the Text module take values from the Smart Form from which it is called. Since a Text Module is a separate entity, it has its own Management (Attributes) screen. The main advantages of using a Text module are: |
|
| 8. |
What Are The Text Types Available In Smart Form? |
|
Answer» There are 4 different types of Text AVAILABLE in SMART FORMS. They are:
There are 4 different types of Text available in Smart Forms. They are: |
|
| 9. |
What Are The Different Auxiliary Nodes Available In Smart Form? |
|
Answer» Auxiliary nodes HELP to control and format the print but do not print any CONTENTS by themselves. Following are the different auxiliary nodes available in Smart Form:
Auxiliary nodes help to control and format the print but do not print any contents by themselves. Following are the different auxiliary nodes available in Smart Form: |
|
| 10. |
How Do You Debug A Smart Form? |
|
Answer» By PUTTING a BREAK point on the GENERATED function MODULE of the SMARTFORM, one can debug it. By Putting a break point on the generated function module of the Smartform, one can debug it. |
|
| 11. |
How Can You Find The Generated Function Module Name For A Smart Form? |
|
Answer» First activate the Smart Form. Go to ENVIRONMENT -> Function Module NAME and GET the automatically GENERATED function module for the Smart Form. First activate the Smart Form. Go to Environment -> Function Module Name and get the automatically generated function module for the Smart Form. |
|
| 12. |
Why Pages & Windows Node Are Required Or Mandatory While Creating A Smart Form? |
|
Answer» The Page represents the LAYOUT of the Page that is printed on and the items to be printed on the Page are CONTAINED in Windows. The page TOGETHER with the windows DEFINED on the page determines how the print will appear and the contents of the print. The Page represents the layout of the Page that is printed on and the items to be printed on the Page are contained in Windows. The page together with the windows defined on the page determines how the print will appear and the contents of the print. |
|
| 13. |
What Are The Various Text Formatting Options In Smartforms? |
|
Answer» Various text formatting options AVAILABLE in Smart Forms are:
Various text formatting options available in Smart Forms are: |
|
| 14. |
Sometimes While Using The Variable Sfsy-formpages Or Sfsy-page, You Get A Star '*' Instead Of The Total Number Of Pages Or Current Page Number. How To Resolve Such Issues? |
|
Answer» There may not be ENOUGH space in the window to DISPLAY the VARIABLE, EITHER increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)& or using &SFSY-FORMPAGES(ZC)& or using &SFSY-FORMPAGES(4ZC)&. Here
There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)& or using &SFSY-FORMPAGES(ZC)& or using &SFSY-FORMPAGES(4ZC)&. Here |
|
| 15. |
How Can I Display The Total Number Of Pages In Smartforms? |
|
Answer» USE SFSY-FORMPAGES to display the total number of pages in the Smartforms
Use SFSY-FORMPAGES to display the total number of pages in the Smartforms |
|
| 16. |
How Can I Make The Smartforms To Display A Print Preview By Default Without Displaying The Popup For Print Parameters? |
|
Answer» In the CALL FUNCTION of the Smartform Function Module (CALL FUNCTION fm_name ), SET the Output Options and Control PARAMETERS as mentioned below: control_options-preview = 'X'. " PRINT Preview In the CALL FUNCTION of the Smartform Function Module (CALL FUNCTION fm_name ), set the Output Options and Control Parameters as mentioned below: control_options-preview = 'X'. " Print Preview |
|
| 17. |
How Can I Make The Smartforms To Choose A Printer Name By Default? |
|
Answer» In the CALL FUNCTION of the Smartform Function Module (CALL FUNCTION fm_name ), set the OUTPUT options PARAMETER to set the printer name. The output OPTION is of the TYPE SSFCOMPOP which contains the FIELD TDDEST. Set the TDDEST field to your default printer name. For Example: OUTPUT_OPTIONS-TDDEST = 'Printer Name'. In the CALL FUNCTION of the Smartform Function Module (CALL FUNCTION fm_name ), set the output options parameter to set the printer name. The output option is of the type SSFCOMPOP which contains the field TDDEST. Set the TDDEST field to your default printer name. For Example: OUTPUT_OPTIONS-TDDEST = 'Printer Name'. |
|
| 18. |
How Can One Insert Symbols In Smartforms? |
|
Answer» SELECT the Text Node --> Change Editor --> Go to MENU Option 'Insert' --> Characters --> SAP Symbols. CHOOSE the SAP symbol that you want to insert. Select the Text Node --> Change Editor --> Go to Menu Option 'Insert' --> Characters --> SAP Symbols. Choose the SAP symbol that you want to insert. |
|
| 19. |
How Will You Print On Both Sided Of A Smartform? |
|
Answer» At the PAGE level in Smartforms, you can find something called as Print MODE. Set the Print mode to DUPLEX to print on both sides of the Smartform. At the Page level in Smartforms, you can find something called as Print Mode. Set the Print mode to duplex to print on both sides of the Smartform. |
|
| 20. |
How Can You Convert Smartforms Output To Pdf? |
|
Answer» Following steps NEEDS to be carried out to convert Smart Forms output to PDF:
Following steps needs to be carried out to convert Smart Forms output to PDF: |
|
| 21. |
In A Certain Smartform, For Two Differently Configured Printers, There Seem To Be A Difference In The Output Of Characters Per Inch (the Distance Between Characters Which Gives A Layout Problem - Text In Two Lines Instead Of One? |
|
Answer» It happens when the two PRINTERS having different PRINTER CONTROLS. We can go to SPAD Transaction Menu (Spool Administrator Menu) where we can see the difference in the Printer Control and if we make the Printer control setting for both the printers as same then there would be no difference in the output of characters per INCH. Also we will have to CHECK what is the device type used for both the output devices if the issue persist. It happens when the two printers having different Printer Controls. We can go to SPAD Transaction Menu (Spool Administrator Menu) where we can see the difference in the Printer Control and if we make the Printer control setting for both the printers as same then there would be no difference in the output of characters per inch. Also we will have to check what is the device type used for both the output devices if the issue persist. |
|
| 22. |
State The Difference Between Form Interface & Global Definitions In Global Settings Of Smartforms? |
|
Answer» Form Interface is where we can 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 Definition is where we declare DATA to be USED within the smartform on a global SCOPE i.e. ANYTHING we declare here can be used in any other node in the form. Form Interface is where we can 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 Definition is where we declare data to be used within the smartform on a global scope i.e. anything we declare here can be used in any other node in the form. |
|
| 23. |
You Have Created A Smartform In Development Server. Then You Transported The Smartform To Production Server. Will The Name Of The Function Module Be Same In Both The Servers? |
|
Answer» The Smart Form that is CREATED in the Development may not have the same name in the Production server. So it is always advised to use the Function Module 'SSF_FUNCTION_MODULE_NAME' to get the Function Module name by passing the Smartform name. DATA: fm_name TYPE rs38l_fnam. Once you transport the Smartform from Development to Production server, a NEW function module name for the Smartform in generated in the Production server. For a particular Smartform , generated function module names are different in different systems. The Smart Form that is created in the Development may not have the same name in the Production server. So it is always advised to use the Function Module 'SSF_FUNCTION_MODULE_NAME' to get the Function Module name by passing the Smartform name. DATA: fm_name TYPE rs38l_fnam. Once you transport the Smartform from Development to Production server, a new function module name for the Smartform in generated in the Production server. For a particular Smartform , generated function module names are different in different systems. |
|
| 24. |
How Do You Find The Name Of The Function Module For A Smartform? When Is This Function Module Created? |
|
Answer» The function MODULE for SMARTFORM is CREATED when the Smartform is activated. You can find the name of the Function Module for a Smartform by going to ENVIRONMENT --> Function Module Name. The function module for Smartform is created when the Smartform is activated. You can find the name of the Function Module for a Smartform by going to Environment --> Function Module Name. |
|
| 25. |
What Is The Difference Between Tables & Template Node? |
|
Answer» Template contains a fixed NUMBER of rows and columns, where the output is fixed where as a table can have variable number of rows. Templates are also preferred where there is a need of proper alignment. Templates are used to PRINT tables whose layout and rows are fixed and known before the application program RUNTIME. Example: Tax Forms Template is a static entity i.e. its dimensions cannot be changed at run time whereas Table is a dynamic entity i.e. its dimensions can be changed at run time. Hence, based on the data, it can last from one page to multiple pages. For line items display, normally table is used because one does not have prior information about the number of line items and no of pages. Table node has 3 components- HEADER, ITEM and FOOTER
Templates can be used to define the FOLLOWING:
Tables are used to print dynamic data which is not known before the application program runtime. Example: Material list Of Purchase orders. Tables node to be used only in main window and no such fixed height can be SET for table rows. Template contains a fixed number of rows and columns, where the output is fixed where as a table can have variable number of rows. Templates are also preferred where there is a need of proper alignment. Templates are used to print tables whose layout and rows are fixed and known before the application program runtime. Example: Tax Forms Template is a static entity i.e. its dimensions cannot be changed at run time whereas Table is a dynamic entity i.e. its dimensions can be changed at run time. Hence, based on the data, it can last from one page to multiple pages. For line items display, normally table is used because one does not have prior information about the number of line items and no of pages. Table node has 3 components- HEADER, ITEM and FOOTER Templates can be used to define the following: Tables are used to print dynamic data which is not known before the application program runtime. Example: Material list Of Purchase orders. Tables node to be used only in main window and no such fixed height can be set for table rows. |
|
| 26. |
Explain The Significance Of Final Window? |
|
Answer» Final window is to be used where there is a REQUIREMENT to show/display details that has to be PROCESSED only at the end of the form processing. The WINDOWS in a page are processed from top to bottom. So the execution first skips all the Final windows and completes the processing of other windows. Once all the non-final windows are processed, the Final windows are processed from top to bottom. For example if there is a requirement to display the total VALUE of all the items on the first page but the total value is KNOWN only at the end of the form processing, we can use the Final window for displaying the total value. The sum of line items is calculated in the MAIN window. Final window is to be used where there is a requirement to show/display details that has to be processed only at the end of the form processing. The windows in a page are processed from top to bottom. So the execution first skips all the Final windows and completes the processing of other windows. Once all the non-final windows are processed, the Final windows are processed from top to bottom. For example if there is a requirement to display the total value of all the items on the first page but the total value is known only at the end of the form processing, we can use the Final window for displaying the total value. The sum of line items is calculated in the MAIN window. |
|
| 27. |
Explain The Significance Of Copies Window? |
|
Answer» BASICALLY, COPIES WINDOW is a special type of secondary window for making pages as copy or original. This window type is used to output data either on original, or on copies, or both. In simple WORDS, Copies window is to be used when there is a REQUIREMENT to print copies of the pages. Copies window is used to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed. Basically, Copies Window is a special type of secondary window for making pages as copy or original. This window type is used to output data either on original, or on copies, or both. In simple words, Copies window is to be used when there is a requirement to print copies of the pages. Copies window is used to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed. |
|
| 28. |
Explain The Significance Of Secondary Window? |
|
Answer» Basically, secondary window is used to DISPLAY text or data output with a fixed length. Secondary windows are used when there is a need to display text and data in a predetermined output AREA. There is no flow text display with page break. If we position a secondary window with the same name on SEVERAL pages, the system displays the contents of this secondary window on each page. Text & data that do not fit into the secondary window are TRUNCATED and not displayed. Basically, secondary window is used to display text or data output with a fixed length. Secondary windows are used when there is a need to display text and data in a predetermined output area. There is no flow text display with page break. If we position a secondary window with the same name on several pages, the system displays the contents of this secondary window on each page. Text & data that do not fit into the secondary window are truncated and not displayed. |
|
| 29. |
Explain The Significance Of Main Window? |
|
Answer» BASICALLY, we use main window when there is a NEED to display text or data which can cover several pages. Say there is a requirement to display data of all the rows of a table (a table in which you are not very sure as to how many row it has), in such cases we always use main windows. As soon as a main window is completely filled with text/data, the system continues to display the text/data in the main window of the next page. It automatically triggers the page break. Only one window can be defined in a form as main window. The main window can be CALLED in other pages of the form but it must have the same WIDTH on each page, but can differ in height. A page WITHOUT main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages. Basically, we use main window when there is a need to display text or data which can cover several pages. Say there is a requirement to display data of all the rows of a table (a table in which you are not very sure as to how many row it has), in such cases we always use main windows. As soon as a main window is completely filled with text/data, the system continues to display the text/data in the main window of the next page. It automatically triggers the page break. Only one window can be defined in a form as main window. The main window can be called in other pages of the form but it must have the same width on each page, but can differ in height. A page without main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages. |
|
| 30. |
What Are The Types Of Windows Available In Smartforms? |
|
Answer» FOUR Types of windows available in SMART FORMS. They are: Four Types of windows available in Smart Forms. They are: |
|
| 31. |
Is It Mandatory To Have A Main Window In Smartforms? |
|
Answer» It is POSSIBLE to create Smartforms without a MAIN window also. In case, confirmation of a mail to client or customer is required there is no NEED of main window, this can be ACHIEVED or done through smartforms without main window. It is possible to create Smartforms without a main window also. In case, confirmation of a mail to client or customer is required there is no need of main window, this can be achieved or done through smartforms without main window. |
|
| 32. |
How Many Main Windows Can We Have In A Smartform? |
|
Answer» UNLIKE SAP Scripts, in SMART Forms you can have only one main window. And that too its width should be same in all the pages whereas height can be varied. Only one main window per SMARTFORMS is allowed but you can have 99 sub-windows. Main Window - Smartforms – Only 1 Main Window – SAP Scripts - 99 Unlike SAP Scripts, in Smart Forms you can have only one main window. And that too its width should be same in all the pages whereas height can be varied. Only one main window per smartforms is allowed but you can have 99 sub-windows. Main Window - Smartforms – Only 1 Main Window – SAP Scripts - 99 |
|
| 33. |
What Are The Differences Between Sap Scripts & Smartforms? |
|
Answer» Differences between SAP Scripts and Smart Forms are:
Differences between SAP Scripts and Smart Forms are: |
|
| 34. |
What Are Smart Forms In Sap System? |
|
Answer» SAP Smartform is a graphical USER interface tool to create and maintain forms. SAP Smart Forms supports printer, fax, e-mail or INTERNET (XML) as its output medium. SAP Smartform is a tool for the maintenance of forms on which application data from the SAP system can be output. DEPENDING on the application, the NUMBER of forms to be printed can be very high, and they might have to be printed in a short period of time, in a mass printing. Examples of mass printing are monthly invoices sent by telecom companies or salary statements. TRANSACTION Code to create and maintain forms is SMARTFORMS. SAP Smartform is a graphical user interface tool to create and maintain forms. SAP Smart Forms supports printer, fax, e-mail or internet (XML) as its output medium. SAP Smartform is a tool for the maintenance of forms on which application data from the SAP system can be output. Depending on the application, the number of forms to be printed can be very high, and they might have to be printed in a short period of time, in a mass printing. Examples of mass printing are monthly invoices sent by telecom companies or salary statements. Transaction Code to create and maintain forms is SMARTFORMS. |
|
| 35. |
Protection Against Page Break For Several Table Lines? |
Answer»
|
|
| 36. |
Protection Against Page Break For Line Types? |
| Answer» | |
| 37. |
How To Protect Lines In The Main Window From Splitting Between Pages? |
|
Answer» It was easy with SAPSCRIPT, but how to do it with SF's. For 4.7 version if you are using tables, there are two options for PROTECTION against line break:
It was easy with SAPscript, but how to do it with SF's. For 4.7 version if you are using tables, there are two options for protection against line break: |
|
| 38. |
How Does One Transport Smartform? Se01?how Do You Make Sure That Both, The Smartform & It's Function Module Gets Transported? Or Does The Fm With Same Name Gets Generated Automatically In The Transported Client? |
|
Answer» A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported. The definition is transported, and when called, the function module is regenerated. This LEADS to an interetsing situation. On the NEW machine, it is very likely the function module NAME will be DIFFERENT than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module. Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module. Smartforms: protect lines in main window. A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported. The definition is transported, and when called, the function module is regenerated. This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module. Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module. Smartforms: protect lines in main window. |
|
| 39. |
Smartforms Output To Pdf? |
|
Answer» There is a way to download smartform in PDF format.
There is a way to download smartform in PDF format. Please do the following: |
|
| 40. |
Smartforms Output Difference? |
|
Answer» Problem with Smartforms: in a certain form for two differently configured printers, there seem to be a difference in the output of characters per inch (the distance between characters which gives a layout problem - text in two lines instead of one. It happens when the two printers having DIFFERENT PRINTER Controls' if you go to SPAD MENU (SPOOL Administrator Menu) you can SEE the difference in the Printer Control and if you make the Printer control setting for both the printers as same. then it will be ok. and also u have to check what is the device type used for both the output devices. Problem with Smartforms: in a certain form for two differently configured printers, there seem to be a difference in the output of characters per inch (the distance between characters which gives a layout problem - text in two lines instead of one. It happens when the two printers having different Printer Controls' if you go to SPAD Menu (Spool Administrator Menu) you can see the difference in the Printer Control and if you make the Printer control setting for both the printers as same. then it will be ok. and also u have to check what is the device type used for both the output devices. |
|
| 41. |
Smartforms Function Module Name? |
|
Answer» Once you have activated the smartform, go to the environment -> function module name. There you can get the name of FUNTION module name. 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. Another thing to NOTE is that the FM name will CHANGE WHEREVER the SF is transported to. So you need to use the FM to determine the name of the SF. 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 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. Once you have activated the smartform, go to the environment -> function module name. There you can get the name of funtion module name. 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. Another thing to note is that the FM name will change wherever the SF is transported to. So you need to use the FM to determine the name of the SF. 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 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. |
|
| 42. |
Difference Between 'forminterface' And 'global Definitions' In Global Settings Of Smart Forms |
|
Answer» The Difference is as FOLLOWS. To PUT it very simply: 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. The Difference is as follows. To put it very simply: 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. |
|
| 43. |
Line In Smartform? |
|
Answer» Either you can use a window that takes up the WIDTH of your page and only has a HEIGHT of 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. Either you can use a window that takes up the width of your page and only has a height of 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. |
|
| 44. |
Font Style And Font Size? |
|
Answer» Goto Transaction SMARTSTYLES. There you can create Paragraph formats ETC just like in sapscript. Then in your WINDOW under OUTPUT OPTIONS you include this SMARTSTYLE and USE the Paragraph and character formats. Goto Transaction SMARTSTYLES. There you can create Paragraph formats etc just like in sapscript. Then in your window under OUTPUT OPTIONS you include this SMARTSTYLE and use the Paragraph and character formats. |
|
| 45. |
Forcing A Page Break Within Table Loop? |
|
Answer» Create a loop around the table. Put a COMMAND node before the table in the loop that FORCES a NEWPAGE on whatever CONDITION you want. Then only loop through a subset of the INTERNAL table (based on the conditions in the Command node) of the elements in the Table node. Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node. |
|