Smartform Execution in FI

Hi,
   We execute smart form we wrote form routine in sd ,mm,pm....
  like that in FI...what is required for the execution of smart from?
  My requirment...Fb02..give the values...select one item number...
  Environment ..> Correspondence ..(FOR EG APP01)smartform is to be executed...
Please give some suggestions REGARDING THIS.
tHANKS & rEGARDS,
Padmaja

Hi,
     Check if the joining date is passed to the smartform from PA30.
Regards,
Srini.

Similar Messages

  • FM for Smartform execution

    Hi,
       I need <b>Function Module</b> name which executes <b>SMARTFORM</b> and gives the name of the Function Module for that <b>SMARTFORM</b>, which the actual Function Module.

    Hi Bhavin,
    DATA: fm_name type rs38l_fnam,
          p_form  type tdsfname default 'SMARTFORMNAME'.
    Call this function to get SF FM Name
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = p_form
           importing  fm_name            = fm_name
    now call the generated function module
      call function fm_name
    Take a look at example programs SF_EXAMPLE_01, ~_02 and ~_03

  • Smartform execution.

    Hi,
    I have an query in the VF02 transaction i have attached one smartform for a output type ..
    It's calling correctly ... but it is always executing background ... so i am able to debug it in case of any problem .So how to execute smartform from the transaction so that data flow from the transaction can be seen in debug mode..
    thank you

    Hi Mathivana,
                           RLB_INVOICE is the driver program for this smartform , so in debugging mode try assign the smartform to this  program  and issue output, so that u can see the Test o/p , in order to Debugg the smartform u can keep , either soft break points or hard break points  , after creating the function module go  with function module attributes , in that one go with program name in that go with last include u will find all the code which u have written and keep the break poins where needed and debugg it.
    Thnaks & Regards
    Bhaskar Rao.M

  • SmartForm execution does nothing - error

    When I execute this SmartForm it does nothing.  If I try to preview it nothing comes up and when I try to print it nothing goes to the print spool.  However, if I remove the address node then it works fine.  Does anybody have any ideas?
    I am also wondering what table the address node hits (uses for the address).
    Regards,
    Davis

    HI,
    1) To create an address node , call the context menu for that node in the tree structure that one wants to contain the text and choose create->text
    2) Enter a name for the node and a description
    3) Determine the address type on the general attributes tab
    4) For organizational addresses one has to specify the address number, for any other one has to specify the person number and the address number
    5) In the box additional addresses one can maintain other attributes to specify how to display the address
    Regards
    Sudheer

  • Geting Action Definition in SmartForm execution

    Hello,
    I use same smart form in different action definitions.
    In the execution method of action definition (e.g. CRM_ACTIVITY_EXEC_SMART_FORM) I need to know which action definition (name) has been executed.
    Available are smart form's name and the function name. How can I get the action definition it self?
    Thanks for helping

    Hi Babu,
    What is the start condition that you gave for the Action?
    Also how are you able to check whether it is getting fulfilled or not?
    Regards,
    Saumya

  • Smartform Execution error

    Hi All,
    I have created a Z form and when I am trying to execute the FM which is generated I am simply losing the connection to SAP server.
    When i checked in debug mode the termination occurs at SSFCOMP_OPEN FM.
    Any ideas why I am losing the connection when this FM is triggered.
    Thanks.
    Hussian

    In your FM,
    Set the OUTPUT OPTIONS paramter TDDEST to your printer name.
    Set the CONTROL PARAMETERS as ,
    control-preview = 'X'.
    control-no_open = 'X'.
    control-no_close = 'X'.
    control-no_dialog = 'X'.
    control-device = 'PRINTER'.
    control_parameters-no_dialog = 'X'.
    control_parameters-no_open = 'X'.
    control_parameters-no_close = 'X'.
    OUTPUT_OPTIONS-TDDEST = 'PRINTER NAME'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'

  • Smartform XML output stored in which table?

    Hi Folks,
    I wanted to know the  table where SAP stores the XML output of a Smartform...
    If not tables , please let me know where the output is stored....
    Thanks
    Reddy

    Hello Reddy,
    I suppose you are you calling Smartform execution with this kind of call (more or less):
    CALL FUNCTION v_fm_name
         EXPORTING
           ARCHIVE_INDEX                                   = s_archive_index
           ARCHIVE_INDEX_TAB                         = s_archive_index_tab
           ARCHIVE_PARAMETERS                    = s_archive_params
           CONTROL_PARAMETERS                  = s_control_param
           MAIL_APPL_OBJ                                   = s_mail_appl_obj
           MAIL_RECIPIENT                                  = s_mail_recipient
           MAIL_SENDER                                      = s_mail_sender
           OUTPUT_OPTIONS                              = s_output_options
           USER_SETTINGS                                 = 'X'
           LV_SALES                                               = p_sales
           LV_PADDR                                             = v_address_num
           LV_ADRNR                                             = v_adrnr
           LV_EQUNR                                             = v_equnr
           LV_SERNR                                             = v_sernr
         IMPORTING
           DOCUMENT_OUTPUT_INFO             =  s_doc_output_info
           JOB_OUTPUT_INFO                            =  s_job_output_info
         EXCEPTIONS
           FORMATTING_ERROR                        = 1
           INTERNAL_ERROR                              = 2
           SEND_ERROR                                      = 3
           USER_CANCELED                               = 4
           OTHERS                                                  = 5.
    You can get the document XML in the IMPORTING parameter JOB_OUTPUT_INFO, for example to download the XML document you can do something like this:
         LOOP AT s_job_output_info-xsfdata INTO xsf_line.
              l_line = xsf_line.
              APPEND l_line TO l_table.
         ENDLOOP.
         CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                   filename                        = 'C:\temp\test.xml'
              TABLES
                   data_tab                        = l_table.
    I am not sure the data is stored internally in any databse table (in addition to be return in the JOB_OUTPUT_INFO parameter).

  • 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

  • E-mail HR Payslips as PDF attachments

    Good afternoon,
    I want to e-mail the HR Payslip to users in my company as PDF attachments. My idea is to use the standard report RPCEDTP0 and check if the user has an e-mail address on infotip 105. If No, just print the payslip. If Yes, send the payslip to the spooler, get the spool order id back, convert it to pdf and send the mail. All those steps are not dificult to code. The problem is Where to make this on the original report. Is there any user-exit that can be used to implement this logic? if not, what's the better way to solve this problem?
    Thank you
    Best regards
    Paulo Sousa

    Hello,
    Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
    I am not sure but you can also try this ::::::
         If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
    Thanks.

  • E mail billing

    Account #  [removed for privacy]
    For months Ive been trying to cancell the account.
    Skype dosnt Care
     This is not the old Skype Microsoft now runs It
    I will never use Skype again and havent
    Try:  OOVOO   I give it an EXCELENT RATING
    Try: Goggle  HANGOUT I also give it a ExCeLLENT Rating.
    BUT  CANCELLE Your  SKYPE ACCOUNT It is a greeedy and uncarring TOOL!!
        Barry   Tramantano  xxxxxxxx@xxxxxxxx
    [Mod edit: Please do not include personal/private information when making a public post. Thanks!]

    Hello,
    Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
    I am not sure but you can also try this ::::::
         If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
    Thanks.

  • Send e-mail  Billing document as PDF Attachment while saving from VF01/02

    Hi all,
    I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the smartform and an email is sent when an output is issued manually from VF02/03 where as the requirement is to send email whenever the document is saved.
    We need to trigger this while saving the Output type say, <b>VF01</b> GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
    need ur help on this.
    thanks,
    Subba.

    Hello,
    Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
    I am not sure but you can also try this ::::::
         If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
    Thanks.

  • Background Execution of Smartforms

    Hi Frineds,
    Here is a requirement to execute a smartforms Layout in background. Can you please provide the detail step for execution.
    Rgds, Krishan Raheja

    Hi,
    Please post your thread in right forum to get fast responce.
    There is no difference. Print preview is equivalent to foreground, actual print/fax is equivalent to background where a spool is generated. I am assuming that you are not directly executing the smartform FM.
    Please be clear on the question if you are not ok with the above answer.
    Thanks,
    Vinod.

  • SMARTFORMS - Adicionar linha no Smart em tempo de execução

    Bom dia Pessoal.
    Desenvolvi um Fomulário no Smartforms para Nota QM - RNC Fornecedor, onde pego determinado número de nota, e através desse número copio as informações das tabelas em uma estrutura de dados no qual criei. Tudo estava tranquilo, até que a tabela 'QMMA' apareceu. Tenho vários registros para uma nota, tornando-se necessário imprimir as informações desses registros no SmartForms.
    O SmartForms esta desenvolvido para receber apenas uma linha de registro, porém seria necessário adicionar linhas no formulário. Dependendo da nota, pode existir um registo ou N registros. Ficando conforme demonstra a imagem a baixo. Sendo assim, tem como via código, deixar o SmartForms dinâmico? Se não, qual seria a solução?
    Exemplo.:
    Caso alguém possa me ajudar desde já agradeço.
    Att. Guilherme Urbinatti.

    I tried to understand your question using Altavista's Babel fish.
    As far as I know you cannot change the menu programmatically.
    The only way is to merge all of your menus to one big menu and hide the
    appropriate menu entries using SET_MENU_ITEM_PROPERTY.
    Babel fish translates my answer to
    Tanto quanto eu sei você não pode mudar o menu programmatically.
    A única maneira deve fundir todos seus menus a um menu grande e
    esconder as entradas apropriadas do menu usando SET_MENU_ITEM_PROPERTY.

  • Regarding execution of smartforms without a selection screen.

    Hi ,
        I would like to know whether it is possible to generate a smart form, by calling a function module in a report program without the option of selection screen.Can anyone suggest me in this regard.
    Thanks in advance,
    Shwetha Korlepara.

    Hi,
    You can do if the smartform generated does not require any input from selection screen.
    Check these links.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    Get back in case of any clarifications.Kindly reward points by clicking the star on the left of reply,if it helps.

  • Smartforms issue urgentttt....

    Hi All,
    This is a very urgent scenario which need to be resolved as soon as possible. Please go through the following.
    I am trying to take a print of philippines TDS form using a transaction S_P00_07000134 - Generic Withholding Tax Reporting. After entering the values related to philippines and selecting form tab when i view the print, i find only vendor and payor details in the form not the line items which are visible in report.Could you please update me on this scenario as we are in GOLIVE phase. The Form name is IDWTCERT_PH_2307.
    TCode: S_P00_07000134 - Generic Withholding Tax Reporting
    Input Values
    Process type: std
    Output Group:ph2
    Country Key:ph
    Reporting Period:01.04.2008 to 22.04.2008
    Company Code: 1100
    Vendor:600001
    In forms tab
    Selected Print Form1
    Number of copies: 1
    Output Device: local
    execution of this values(F8)
    selected print or print preview
    output will be displayed or printed with out line items and when we press back we find the regular report with line items.
    Could anyone give me the solution it is very urgent....
    regards
    PSNG

    I am able to do this part.What is getting stuck is that i have say 5 totals with me and i pass to internal table then how can i fetch from smartform.If i create a structure for this internal table either way doesnot work i tried F1 like bseg-dmbtr and mseg-menge ie amount in currency as well as menge i tried.Failure occurs in smartforms as it fails to recognize the field itself.

Maybe you are looking for

  • CO_PA DATA SOURCE ISSUE

    Hi, I am trying to display a COPA data source, i have given proper operating concern name and tried with costing based and account based it is throwing below error message: Table entry missing for data source. when i look into the details it is showi

  • Datapump help - cant get it to work

    This is my script: create or replace directory EXPORT as 'e:\aia\backup\dmp\'; declare      l_dp_handle NUMBER; begin l_dp_handle := DBMS_DATAPUMP.open( operation => 'EXPORT', job_mode => 'SCHEMA', remote_link => NULL, job_name => 'GTAIATB4_UPGRADE_E

  • Mission Control - mail attachments

    Ok, another problem with Mission Control - open an attachment from Mail in fullscreen (an Excel attachment anyway), and you get an Excel window in the Mail Space, but you can't get the menu bar for Excel. You also can't move the Excel window into ano

  • I cannot print to postscript or print at all in Illustrator CS4.

    Using CS4 Illustrator and I cannot print a 388 MB file. Computer freezes or sometimes the program crashes all together. Can anyone tell me how to fix this issue? 

  • Connect imac 2011 to hdtv

    Hi, I am trying to connect my mid-2011 iMac to my HDTV but can't find any useful information on the Internet. The iMac lacks a display port thus I am not sure what connector I need to purchase to have a dual screen setup. Is there any adapter in the