AboUt Smartforms

Hi Developers,
I AM WORKING ON ECC6.0 IS THERE ANY OPTION TO CALL FUNCTION MODULE IN PROGRAMLINES IN SMARTFORM LAYOUT,CAN ANY ONE HELP ME.
Thanks&Regards,
phani.

Hi,
Go through the following Links, here u can find example with step
by step.
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
http://sap.niraj.tripod.com/id67.html
Check these step-by-step links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
Check these links also.
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
Regards,
Priyanka.

Similar Messages

  • I want  to know about smartforms

    hi experts tell me
    i want to know about smartforms
    anybody have material pls send me
    thanks in advance

    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    1. Create a new smartforms
          Transaction code SMARTFORMS
          Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
          First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
          Here, you can specify your title and page numbering
          &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
          Main windows -> TABLE -> DATA
          In the Loop section, tick Internal table and fill in
          ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name    Type assignment   Reference type
    ITAB1               TYPE                  Table Structure
    Global definitions
    Variable name    Type assignment   Reference type
    ITAB2               TYPE                  Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g.  HD_GEN for printing header details,
            IT_GEN  for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by :  SAP Hints and Tips on Configuration and ABAP/4 Programming
                        http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
            INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
       MOVE-CORRESPONDING MKPF TO INT_MKPF.
       APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSMARTFORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        FM_NAME                  = FM_NAME
      EXCEPTIONS
        NO_FORM                  = 1
        NO_FUNCTION_MODULE       = 2
        OTHERS                   = 3.
    if sy-subrc <> 0.
       WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        GS_MKPF                    = INT_MKPF
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    if sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    also refer
    http://www.erpgenie.com/abap/smartforms_detail.htm
    http://www.sap-basis-abap.com/abphy.htm
    <b>http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://www.ionutz.ro/sap/sapabap01.htm[very imp links]</b>
    http://www.sap-basis-abap.com/sapsf001.htm
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Ask a question about smartform

    Hi expert,
         I have a question about smartform . Now I am doing a task about Purchase Order,
    when I create a new Purchase Order in Transaction ME21N , before I saved , I click the button to preview how it looks .
    as everyone knows , during that time , there is no Purchase Order created . So in the header text - > Price types , I write something in
    the text . I know the data , I can get it from table STXH , then use the function 'READ_TEXT'  to check if there is data in it according to
    TDNAME (in this case the tdname is purchase order ), but I didn't save it , so there is no purchase order , how can I get the data .
    I only want to get the data in type 'EKKO' , not 'EKPO'.
    kind regards
    Nick

    Hi...
    use this code..
    data : variable type c.
    first concatenate ekko-name ekpo-ebelp into one variable.
    and take one text element and give the name is variable
    ok...
    follow this steps..
    i think this is help full for u...
    thxs & regards,
    rahul

  • Que about smartform::::

    Good Noon to my all ABAP Gurus And Gurumaiyas....
    Here once again i came here to give some silly questions ( may be for u...)
    " Could anyone tell me basics about smartforms executions i mean how does it execute??? How can i use two pages in smartforms??? What is need of loop in smart form??? and why, when and how can i use it??? "
    I know basics about smartforms and i have also implemeneted it.... but i m not much aware of it.....i would be thankful to u if u take out 15 mins from ur busy schedule....
    Waiting for ur reply.....
    Warm Regards,
    Nirav Parekh

    Hi,
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    Here is the procidure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    check this:
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    check this linkls------>
    https://www.sdn.sap.com/irj/sdn/collaboration
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    reward if useful
    regards,
    ANJI

  • Information about Smartform

    Hi All,
    We are presently working with SRM 4.0 with extended classic scenario .
    I want to know the following things about PO output smartforms.
    1)Regarding PO output smartform :  in u2018smartformsu2019 transciation system is showing many  smartforms for PO output, In this regard , I want to know, which smartform system is calling when we click on PO print preview.
    2)Where we can see that which smart form is linked to PO preview button ?
    3)How to switchover to external de-bugging and how to debug smart form ?
    Thanks in advance
    Sachin.
    Edited by: sachin patil on Feb 12, 2009 12:45 PM

    Hi Sachin,
    Please check the following documentation in IMG settings:
    Supplier Relationship Management --> SRM Server --> Cross application basic settings --> set output actiona and output format --> define actions for document output.
    Also see the implementation for the BAdI: BBP_OUTPUT_CHANGE_SF
    Thanks,
    Pradeep
    Edited by: Pradeep Purushottam on Feb 12, 2009 5:24 PM

  • About Smartform as PDF

    hi, all
      I want to display the smartforms as pdf in web dynpro abap, bu there are error at runtime.
    Source code:
    method DISPLAYFORM .
      data : l_x(1) value 'X'.
      data: lv_text type char3,
      lv_syucomm type char1,
      ls_pdf type xstring,
      lv_fm_name type rs38l_fnam,
      lv_control_parameters type ssfctrlop,
      lv_output_options type ssfcompop,
      lv_ssf_output type ssfcrescl,
      lt_otfdata type TSFOTF.
      data:
      node_input1 type ref to if_wd_context_node,
      elem_input1 type ref to if_wd_context_element,
      stru_input1 type ig_CONTROLLER_FORM=>element_pdf.
    navigate from <CONTEXT> to <INPUT1> via lead selection
      node_input1 = wd_context->get_child_node( name = 'PDF' ).
    get element via lead selection
      elem_input1 = node_input1->get_element( ).
    get all declared attributes
      elem_input1->get_static_attributes( importing static_attributes = stru_input1 ).
      call function 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZFORM_TEST'
        IMPORTING
          fm_name            = lv_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          others             = 3.
      if sy-subrc <> 0.
    Error MESSAGE
      endif.
    Set relevant control parameters
      lv_control_parameters-getotf = l_x.
      lv_control_parameters-no_dialog = l_x.
      lv_control_parameters-preview = space.
    Set relevant output options
      lv_output_options-tdnewid = l_x.
      lv_output_options-tddelete = space.
      DATA: ls_book TYPE PPFTBOOK.
      call function lv_fm_name
        EXPORTING
          control_parameters = lv_control_parameters
          output_options     = lv_output_options
          user_settings      = space
        IMPORTING
          job_output_info    = lv_ssf_output
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          others             = 5.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      refresh lt_otfdata.
      lt_otfdata[] = lv_ssf_output-otfdata[].
      call function 'SSFCOMP_PDF_PREVIEW'
        EXPORTING
          i_otf                    = lt_otfdata[]
        EXCEPTIONS
          convert_otf_to_pdf_error = 1
          cntl_error               = 2
          others                   = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      data: l_dummy type standard table of tline,
      pdf_data type xstring,
      pdf_size type i.
      clear: pdf_data, pdf_size.
    convert otf to pdf
      call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = pdf_size
          bin_file              = pdf_data
        TABLES
          otf                   = lt_otfdata[]
          lines                 = l_dummy
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          others                = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      data:
      node_pdf type ref to if_wd_context_node,
      elem_pdf type ref to if_wd_context_element,
      stru_pdf type if_CONTROLLER_FORM=>element_pdf ,
      item_source like stru_pdf-source.
    navigate from <CONTEXT> to <PDF> via lead selection
      node_pdf = wd_context->get_child_node( name = 'PDF' ).
    get element via lead selection
      elem_pdf = node_pdf->get_element( ).
    set single attribute
      elem_pdf->set_attribute(
      exporting
      name = 'SOURCE'
      value = pdf_data ).
    endmethod.
    error:
      Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WD_GENERAL
    Date and Time          2007.07.30 17:24:55
    What happened?
         The exception 'CX_WD_GENERAL' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program
          'CX_WD_GENERAL=================CP' has to be
         terminated.
    Error analysis
         An exception occurred which is explained in detail below.
         The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
         therefore caused a runtime error.
         The reason for the exception is:
         WebDynpro Exception: Die URL  enthält möglicherweise bösartiges Script
    How to correct the error
        You may able to find an interim solution to the problem
        in the SAP note system. If you have access to the note system yourself,
        please use the following search criteria:
        "CX_WD_GENERAL=================CP" "UNCAUGHT_EXCEPTION"
        If you cannot solve the problem yourself, please send the
        following documents to SAP:
        1. A hard copy print describing the problem.
           To obtain this, select the "Print" function on the current screen.
        2. A suitable hardcopy prinout of the system log.
           To obtain this, call the system log with Transaction SM21
           and select the "Print" function to print out the relevant
           part.
        3. If the programs are your own programs or modified SAP programs,
           supply the source code.
           To do this, you can either use the "PRINT" command in the editor or
           print the programs using the report RSINCL00.
        4. Details regarding the conditions under which the error occurred
           or which actions and input led to the error.
    Message was edited by:
            pei li

    Hello Pei,
    Have you made all the required settings to get the so called "print scenario/pdf display" working in Adobe integration of Web Dynpro ABAP. You can find more information in the online help.
    Best regards,
    Thomas

  • About Smartforms and watermarks

    Hi, i'm trying to put a watermark in a smartform until here i have no problem, but all starts when there's any variable over the watermark then u can't see the picture, but that change if the variable if is a static text, then u can se both, anybody knows why or how can i solve that?
    Thanks for the attention.
    Luis

    hi Luis,
    as i understood you want to print a image in the back ground of the data you r printing. if iam not wrong... fallow this way.. i did it this way.
    in the PAGE1--> i have created a Graphic window, then alligned it same location of the main window(because data printing starts from there.)
    then in the Main window-->as usual i have inserted the table. its working fine with both static and dynamic text.
    in you r case.. the problem cluld be the color u have selected for the table line type...even though u haven't did it once check in the  <b>double click on TABLE>TABLE tab>in Shading -->color BLACK and saturation 0%.</b>
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • About smartforms Genration

    Hi All
    My smartforms on development work properly . but when i transfer smartforms and all related data to production server that not work.
    i debuge the driver program on production server there is problem in FB_GENERATE_FORM .
    when cursor goes on FB_GENERATE_FORM process has stop and hang.
    anybody tell me where is the problem.
    Regards
    Sam.

    Hi All
    My smartforms on development work properly . but when i transfer smartforms and all related data( smartforms style, ztable, driver program, smartforms, logo) to production server that not work.
    i have also use 'SSF_FUNCTION_MODULE_NAME' function module.
    when i debuge the driver program on production server there is problem in SSF_FUNCTION_MODULE_NAME' .This function module does not give FM_NAME value.
    when cursor goes on FB_GENERATE_FORM process has stop and hang.
    anybody tell me where is the problem.
    Regards
    Sam.

  • Re: about smartforms

    hi all,
         what is the need of print programme in the smartforms?

    HI,
    in the smartforms we have an option of the program lines...
    when you develop the smartform with out using a driver programm
    how you the user can use it
    we cannot assing transaction for a smartform
    only the driver programm can have tcodes..
    and perform wise if you send all the data to the smartform
    by usingthe driver programme it will be efficient....
    reward points if helpful
    thanks & regards,
    venkatesh

  • About smartforms driver program

    Hello Experts,
          Is there any function module to fetch data from sd module to get data in SMARTFORMS ?
    mail me solution on "[email protected]"
    Thanx in advance,
    Rahul Talele

    Hi Rahul,
                   Call function 'SSF_FUNCTION_MODULE_NAME' that will give u smartform function name by passing smartform name. then call that FM to transfer data from driver program to smartform.
                  Refer this code :
                  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = P_FORM
       IMPORTING
         FM_NAME                  = P_FUNCTION
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION P_FUNCTION
        TABLES
          D_VBRK                     = IT_VBRK
          D_VBRP                     = IT_VBRP
          D_LIKP                     = IT_LIKP
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Reward points if helpful.
    regards,
    Hemant

  • About smartforms print

    I writed a report with smartforms, all setting default system,some computer print is OK, some computer print is not good,why?

    Hi
    The problem would be with the printer settings need to contact basis for the configurations.
    Regards,
    Sravanthi

  • About Smartforms dynamic obj

    Hello,
    I want to develop one form for tax payment. Now i want to develop one form, and i want to get dynamically one object according to my requirement into my Smartform.So how can i develop this kind of smart forms. And how to develop one object for a smart forms which can be get into smartforms dynamically according to my requirement.
    Thank you

    If you are trying to vary the number of columns, this may not be possible. You may have fixed number of columns and change the contents (and heading) of the same in a pre-determined manner.

  • About smartforms modification

    where to define tables used in smartform to generate invoice, what should be the fields for internal table. pls let me know

    Check the standard driver program for INVOICE SMARTFORMS RLB_INVOICE and the Smartforms u can look upto is LB_BIL_INVOICE

  • About smartforms loop

    hi,
    i am using an internal table importing from the program.
    i have one main window and 2 windows.the windows are not nested into main window.all windows are seperated.this is my main page.
    i have to insert this main page in a loop.how can i do this?

    right click on the window ? here u will find options LOOP? pick this
    and window format should be like this
    ---> window
    >looop
    >text
    u have to call Loop within the WINDOW.
    regards
    Prabhu

  • Smartforms and its internal table

    Hi All!
    From the main program, I call the FM SSF_FUNCTION_MODULE_NAME
    and later "call lf_fm_name" as below shown.
    The generated FM name gets an "internal table" in the tables parameter.
    And now how can I to treat now this internal table within smart forms?
    Please can you sequential explain the treatment. How can I acces
    these datas of this internal table in the smartforms
    reagards
    ilhan
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
        formname                 = lv_pick_formname
    *       VARIANT                  = ' '
    *       DIRECT_CALL              = ' '
      IMPORTING
        fm_name                  = lf_fm_name
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3.
      IF sy-subrc <> 0.
        IF sy-subrc = 1.
          MESSAGE e061.
        ELSEIF sy-subrc = 2.
          MESSAGE e062.
        ELSEIF sy-subrc = 3.
          MESSAGE e063.
        ENDIF.
      ENDIF.
      CALL FUNCTION lf_fm_name
          TABLES    lt_ausgabe_data       = lt_ausgabe_data

    what ever you pass from program to smartforms you need to declare in
    GLOBAL INTERFACE -> Import parameter.(in the driver program export parameter). make sure u use the same name in the SMARTFORM GLOBAL INTERFACE - > import parameter.
    for more about smartforms go thru these link
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Please check the tables TNAPR and TTXFP for Standard Smartforms.
    See the note 595812: it explain how to download the preconfigured smartforms.
    Detailed information can be accessed at the site:
    http://service.sap.com/preconfiguredforms OR
    http://service.sap.com/smb/development/preconfiguredforms.
    To download preconfigured smartform package, please:
    1. Go to http://service.sap.com/installations, select tab "download".
    2. On the right hand side screen, locate navigation tree node
    SAP Software Distribution Center->Download->Installations and Upgrades->
    Entry by Application Group.
    3. In the main window (right hand side), follow the path
    SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
    SMART FORMS, you can find available preconfigured smartform versions.
    regards,
    Prabhu
    reward if it is helpful

Maybe you are looking for

  • When one window containing 1 tab is closed, the other window with several tabs closes also

    I have a set of web pages that reproducibly causes Firefox to act incorrectly. When Firefox is first started I click the "Restore previous desktop" button. Then I have 2 Firefox windows. The first to open has 6 tabs; the second has 1 tab. When I clos

  • Essbase : Order evalution with dynamic Calc : Account x Scenario

    Hi everybody, I'm trying to calculate a variation N / N-1 in % for All Accounts. basically : %/ N-1 = (Actual- Actual N-1) / Actual N-1 - I create a scenario. I create a scenario %_N_1 which is Dynamic Calc. "%_N_1" = ("ACTUAL" - @MDSHIFT( "ACTUAL" ,

  • Constantly crashes in Macbook Pro

    Hi community! I'm having constantly and unexpectedly crashes in my Macbook Pro. It ask me for restart the mac and then, after several intents, it runs fine again (for a few hours, sometimes days). I'm really scared, because in other times when I'm wo

  • No vibration on z10

    Hi i got my new z10 recently, but i found out that there is no vibration on it. is it a hardware problem? how can i fix it? thank you.

  • E-Recruiting Roll-out Project activities

    Hello Team, Need some inputs on the E-Recruiting roll-out strategy . Please share your inputs for the below scenarios. Would be very helpful if you can detail down the list of activities or provide a checklist for the roll-out for the below 2 scenari