Skip to Content
avatar image
Former Member

Smart forms

1) wht is an initialization tab in glodal defination.how we should use that TAb.

2) wht is text mobule ? and wht is the difference between text module and includetext

Thanks & regards.

Satish

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 22, 2008 at 08:33 AM

    Hi,

    1.Include Text:

    You need to goto T.CODE SMARTFORMS and then choose text module to create.

    Please see the below thread. I think you only asked about this in the morning.

    About Smart Forms

    2.The initialization tab is to initialize the values of Variables or even internal tables.Normally its not sujjested to write code in initialization, but u can try population internal tables thr without a print program attached to smartform.

    What all values that we want to initialize should be put in input parameters and we should have the same values in output parameters since we are initializing/changing the values for that variables.

    Those values can be accessed anywhere in smartform.

    When we create 'CODE Lines" also we can see input and out put parameters there, but here in input parameters what all tables or varaibles that we are using inside the code line should be put and in output parameters we should put what all valuse we want to output from that code

    for Example:-

    Suppose i have a work area "w_final"

    and I want to set value for a flag variable "w_flag" taking condition of that work area then I should put "w_final" in INPUT Section and "w_flag" in Output parameter section.

    Code -> ON CHANGE OF w_final-mtart.

    w_flag ='X'.

    endon.

    Try one example creating varibale and assighn some values to that.

    3.DEFINITION->

    There are texts that frequently appear in your forms. You can use text modules to store these texts centrally in the system. This detaches text maintenance from form maintenance, with the result that you do not need to call the Form Builder to edit individual texts.

    Integration

    To include text modules in forms, you use text nodes. The text node can either refer to the text module or copy its text. In the latter case, you can change or supplement the text according to the requirements of the form.

    Features

    Attributes of text modules

    SAP Smart Forms provides a text module maintenance function that allows you to create and edit text modules. Like text nodes, text modules have the following attributes:

    They can be used across clients

    They are connected to the transport system

    They are connected to the translation tools in the system

    As a result of the last attribute, the logon language uniquely assigns a text module to a language. However, when you include a text module, you can also access any translations of this module, for example, to include an English text module in a German form.

    CREATE TEXT MODULE->

    Go to Tcode Smartform there u will find 3 radio buttons

    1)smartform

    2)style

    3)text module

    Here u can select the third button and create a text module.

    in ur smartform create a text and say include the text module in it.

    4.Text module is within the smartforms only.

    Regards,

    Shiva.(reward if help ful ,don't forget)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      1. For Example:Just go with the invoice form:

      LB_BIL_INVOICE

      2.Display it see the initialization tab.

      3.Here he called the Form routine GET_TEXTNAM.

      4.The values are set in the Output parameters.

      5.The values which are in the o/p ,those can be directly u can use.

      6.Simply the initilization in reports is same as here.

      Regards,

      Shiva.