E-Recruiting - 'Z' Smart Form Configuration.

Hi,
We need to change the smart form for Application/Candidate Data Overview in E-Recruiting.
Application Data Overview path,
Recruiter Application -> Personal Pages -> Candidate Selection -> Select ‘Requisition’ and click Assignment -> Click highlighted application number in the Application column.
Candidate Data Overview path,
Recruiter Application -> Personal Pages -> Candidate Selection -> Select ‘Requisition’ and click Assignment -> Click highlighted Candidate Name in the Candidate column.
May I know IMG steps to call the ‘Z’ smart form and parameters as well?
Do let me know, if you need anything else.
Regards,
...Naddy

Hello Naddy,
the IMG node Ollivier pointed to is correct. For the release 600 there is just an additional level separating bsp and webdynpro but the nodes for bsp and their use stay the same.
To replace the 2 smartforms all you have to do is to change the following 2 entries in the table which are usually in the system from the original client copy 000 -> development client:
NAME                 Paramtype                 Parameter
hrrcf_appl_dovr      SF_VIEW_APPL              HRRCF_DATA_SUMMARY_APPLICATION
hrrcf_cand_dovr      SF_VIEW_CAND              HRRCF_CANDIDATE_PREVIEW
Just set your customer smartform instead of the SAP one as parameter. If the 2 entries are missing just add them to the table. Be sure to use NO capital letters for the application name.
Best Regards
Roman Weise
PS: the mantenance view will check the interface of the smartform you customize against the standard one. The interfaces have to be equal including flage like optional and handing as value.

Similar Messages

  • Smart form Addon after Upgrade to ECC 6 EHP4

    Hi,
    I have succesfully upgraded my system from R/3 4.7 EXT 1 to ECC 6 EHP4.
    During upgrade i had to delete Pre configured smart forms Addon ( According to note 572392 ) .
    Since we are on EHP4 and no smart forms configured we are not able to print.
    The latest pre configured smart form addon ( Best Practice all in one)  available is for EHP3.
    Please let me how to proceed with this situation as there may be other compaines who are on EHP4 and use pre configured smart forms.
    Appreciate your help.
    Thanks,
    FBK

    If you have old system copy try to copy forms into the new.
    Kind regards,
    Mirek

  • Sending emails in PDF & TXT format generated by SAP script/Smart forms

    Hi
    We have a requirement to configure SMTP node to send emails in PDF & TXT format. Currently, Output format for SAP Documents generated by SAP Script/Smart Forms configured in PDF. (Tx - SCOT - SMTP Node - Intetnet - Output Forms for SAP Documents). But, We also like to send emails in TXT format for other application in the same system. I see that you can send emails generated by SAP Script/Smart Forms either in PDF or TXT format not both.
    Is it possible to send the emails in both the formats by configuring in Tx SCOT?
    Your inputs will be appreciated.
    Regards
    Chandu

    Hi chandu,
    1.  emails in both the formats by configuring in Tx SCOT ?
      Scot will allow only ONE AT A TIME.
    2. The other workaround is,
      that using some FM
      convert the OTF (sapscript/smartform)
      data to TEXT,
      and send it as RAW
    3. Configure RAW =  TEXT in scot.
    regards,
    amit m.

  • E-Recruitment - Hide the details in Offer letter- Smart form

    Hi,
    We need to hide the details in offer letter for some users of E-Recruitment.
    I followed the below steps, but when click ‘Extend Offer’ Activity, flow does NOT stop at break point in custom smrtform and displays the all information.
    1)     Copied smart form ‘HRRCF_CS_EXA_OFFER_CONTRACT’ to’ ZHRRCF_CS_EXA_OFFER_CONTRACT’.
    2)     Made the configuration to call custom smart form.
    3)     Declared one global variable 'LG_ALLOW' in Initialization of Global Definition. Right now I’m passing ‘space’. Later I’ll write the logic to populate this field.
    4)     In ‘Condition’ Tab of ‘Main window’ I put the condition 'LG_ALLOW = X ‘.
    5)     Still I’m seeing the Main window information in E-Recruitment application, which is not expected.
    May I know why it behaves like this?
    Whenever we see the offer letter in E-Recruitment application, our customer smartform should trigger. Am I Right?
    My requirement is to hide the offer letter information to specific support team role assigned to users through check in the customer smartform. Please help me to achieve this.
    Do let me know, if you need anything else.
    Regards,
    ...Naddy

    Hi Naddy,
    I am still not fully clear. Do you talk about the dataoverview for the activity you get by clicking on the activity name in the activity list or do you talk about the display option for the correspondence you can call when you are in creating/ changing the activity?
    Best Regards
    Roman

  • *configure the Picking list(PL) output type,a smart form for PL.

    Hello SIR,
    I want to configure the Picking list(PL) output type,a smart form for PL but there should be an output type to print*.
    i have assign the out type to shipping point in t.code ovlt .i have created picking list in t.code nact. i created sales order and delivery. i have check my picking list in ovl2n change mode picking out put is available in extra-picking output. i have checked my picking out put for smart form in systems-service-output control if i execute it show like no data to list. no spool request number has generated there.
    so were i have to check picking list preview for smart form . is spool request number is necessary.plz help me to view preview of picking list.or plz say the steps to configure this to preview.
    thanks,
    agilarasan

    Hi,
    Go to Nace .The application for Goods Issues is
    ME - Inventory Management -> select and click on output types ->select wa03 output type and click on processing routines here you can find the form name and the driver program name.So while printing select wa03 as the output type.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards,
    Harini.S
    Edited by: Alvaro Tejada Galindo on Dec 23, 2008 3:46 PM

  • Pre-configured smart forms

    Hello
    I am trying to find out where I could download pre-configured smart forms for sales order confirmations? We are in a 4.7 system. I searched service.sap.com and could not find the download. Thanks.
    Jack

    Hi,
    for order conformation form
    Print program : RVADOR01
    you have to create smartfrom and assing this fom into NACE in Application V1
    Regards,
    Vijay
    Edited by: vijay kumar pamulapati on Aug 19, 2009 8:19 AM

  • E-recruiting / Smart Forms/ Candidate Phot

    Hi, We are storing Candidate's photo as an attachement in e-recruitment which is getting saved in the KW. Noe the problems i that when we try to pull the data in a smart form for Candidate profile, we are not abel to do.
    Is there anyways to pick up picture formats from the KW on to the Smart Forms
    Best Regards,
    Devyash

    Hello G Raj,
    the BAdI you found is only for providing standard texts in the posting maintainence. If implemented it sets text you use again and again depending on requisition attibutes so the recruiter does not have to type in everything each time.
    For the publication smartform, as for any other data overview, you do not change the standard you just replace the standard example by your company one. You start by copying the standard smartform to keep the correct interface (all e-recruiting smartforms are named HRRCF*) and changing to the layout you need. Then you set the smartform in IMG under SAP E-Recruiting -> Technical Settings -> User Interfaces -> Settings for User Interfaces with Business Server Pages (BSP) -> Assign Parameters to Parameter Types.
    Best Regards
    Roman Weise

  • What development/configuration is required to use smart forms?

    Hi All,
    My Question is,
    What Development/configuration is required to use smart forms to implement
    electronic workflow with ESS/MSS?

    Dear Prabhakar,
       Smartforms is exactly the same in ESS too. U just develop it and later just need to attach it to ESS.
    Regards,
    Deva.

  • E-Recruiting - Job Posting using smart Forms

    Hello,
    Iam working on adding some customized content to the Job posting which would be visible to the candidates when doing a job search and applying for jobs.
    I have browsed through SAP blogs which have information on using SAP Smart forms for Job posting but never knew how to go about the whole thing.
    I would also want to add my client logo and some image files for the Job posting.
    Can some one provide insights on how exactly to do that?
    P.S --> I found some information on u201CBAdI: Specify Proposal Texts for Postingsu201D  on SAP Help but could'nt find any such one in R/3 to work on. We are running version 6.0.
    Thanks
    G Raj
    Edited by: G Raj on Aug 29, 2008 2:45 PM

    Hello G Raj,
    the BAdI you found is only for providing standard texts in the posting maintainence. If implemented it sets text you use again and again depending on requisition attibutes so the recruiter does not have to type in everything each time.
    For the publication smartform, as for any other data overview, you do not change the standard you just replace the standard example by your company one. You start by copying the standard smartform to keep the correct interface (all e-recruiting smartforms are named HRRCF*) and changing to the layout you need. Then you set the smartform in IMG under SAP E-Recruiting -> Technical Settings -> User Interfaces -> Settings for User Interfaces with Business Server Pages (BSP) -> Assign Parameters to Parameter Types.
    Best Regards
    Roman Weise

  • SMART FORMS: How are they used and how can they be configured/enhanced?

    Hi Experts,
    I would like to know how are the smart forms used in crm.I know that by using t-code SMARTFORMS we can view/edit standard smart forms . But I am confused about the fact that how are they used.If some one can list me the steps to be followed in simple language that would be of great help.
    Any pointers would also be appreciated.
    Regards,
    Aneesh

    Hi Aneesh,
      In CRm we use smartforms to send mail to Business partners based on the client requirement. This sending process will be defined using Actions. Through actions we will trigger the smartform and send to the concerned busines partner mail id.
    Hope this helps you.
    Regads,
    Lakshmi.Y

  • Text inversed in the smart form table

    Dear all,
    I'm new in ABAP and working on a smart form which has a cell in table shows an article description in both Arabic & English
    but the Arabic text appears in reversed sequence  in the print preview and after printing it shows like this ##### #########.
    any idea how to solve this problem
    thanks

    Hello,
    Please see the following SAP Note about printing Arabic:
    587150 - Support of Arabic-script languages
    For your Unicode system, then you should be able to print Arabic
    characters via device type ARSWIN or device type SWINCF.
    The Unicode cascading fonts solution with the device type SWINCF
    described in the following SAP Note:
       812821 - Cascading Font settings
    So you need to configure a Frontend output device that uses device type
    ARSWIN and use this to create the print with the Arabic characters.
    Regards,
    David

  • SMART FORMS

    i have copied a driver programe of outbound delivery and modified in such a way the layout will convert to pdf and then download to pc, but the driver program is not executing online, so do i need to attache the driver program name and form name in nace t.code or how would i execute the program, when i am placing a break point in driver program and execute form its not stopping at break point, i am new to forms, help me out in this.
    i have placed the code below plz verify it and say if any thing is wrong in the code, u will be shurely rewareded.
         Print of a delivery note by SAPscript SMART FORMS               *
    REPORT Z_RLE_DELNOTE1.
    declaration of data
    INCLUDE Z_RLE_DELNOTE_DATA_DECLARE1.
    *INCLUDE RLE_DELNOTE_DATA_DECLARE.
    definition of forms
    INCLUDE Z_RLE_DELNOTE_FORMS1.
    *INCLUDE RLE_DELNOTE_FORMS.
    INCLUDE Z_RLE_PRINT_FORMS1.
    *INCLUDE RLE_PRINT_FORMS.
          FORM ENTRY
    FORM ENTRY USING RETURN_CODE US_SCREEN.
      DATA: LF_RETCODE TYPE SY-SUBRC.
      XSCREEN = US_SCREEN.
      PERFORM PROCESSING USING    US_SCREEN
                         CHANGING LF_RETCODE.
      IF LF_RETCODE NE 0.
        RETURN_CODE = 1.
      ELSE.
        RETURN_CODE = 0.
      ENDIF.
    ENDFORM.
          FORM PROCESSING                                               *
    FORM PROCESSING USING    PROC_SCREEN
                    CHANGING CF_RETCODE.
      DATA: LS_PRINT_DATA_TO_READ TYPE LEDLV_PRINT_DATA_TO_READ.
      DATA: LS_DLV_DELNOTE        TYPE LEDLV_DELNOTE.
      DATA: LF_FM_NAME            TYPE RS38L_FNAM.
      DATA: LS_CONTROL_PARAM      TYPE SSFCTRLOP.
      DATA: LS_COMPOSER_PARAM     TYPE SSFCOMPOP.
      DATA: LS_RECIPIENT          TYPE SWOTOBJID.
      DATA: LS_SENDER             TYPE SWOTOBJID.
      DATA: LF_FORMNAME           TYPE TDSFNAME.
      DATA: LS_ADDR_KEY           LIKE ADDR_KEY.
    *Begin of changes by 67.
      DATA:   ls_document_output_info TYPE ssfcrespd,
              ls_job_output_options TYPE ssfcresop.
    *End of changes by 67.
    SmartForm from customizing table TNAPR
      LF_FORMNAME = TNAPR-SFORM.
    determine print data
      PERFORM SET_PRINT_DATA_TO_READ USING    LF_FORMNAME
                                     CHANGING LS_PRINT_DATA_TO_READ
                                     CF_RETCODE.
      IF CF_RETCODE = 0.
    select print data
        PERFORM GET_DATA USING    LS_PRINT_DATA_TO_READ
                         CHANGING LS_ADDR_KEY
                                  LS_DLV_DELNOTE
                                  CF_RETCODE.
      ENDIF.
      IF CF_RETCODE = 0.
        PERFORM SET_PRINT_PARAM USING    LS_ADDR_KEY
                                CHANGING LS_CONTROL_PARAM
                                         LS_COMPOSER_PARAM
                                         LS_RECIPIENT
                                         LS_SENDER
                                         CF_RETCODE.
      ENDIF.
    *Begin of changes by 67.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
      EXPORTING
        i_language                  = v_language
       I_APPLICATION                = 'SAPDEFAULT'
    IMPORTING
       E_DEVTYPE                    = v_e_devtype
    st_output_options-tdprinter = v_e_devtype.
    *st_output_options-tdprinter = 'locl'.
    LS_CONTROL_PARAM-no_dialog = 'X'.
    LS_CONTROL_PARAM-getotf = 'X'.
    *End of changes by 67.
      IF CF_RETCODE = 0.
    determine smartform function module for delivery note
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
                      FORMNAME           = LF_FORMNAME
                    variant            = ' '
                    direct_call        = ' '
             IMPORTING
                      FM_NAME            = LF_FM_NAME
             EXCEPTIONS
                        NO_FORM            = 1
                        NO_FUNCTION_MODULE = 2
                        OTHERS             = 3.
        IF SY-SUBRC <> 0.
      error handling
          CF_RETCODE = SY-SUBRC.
          PERFORM PROTOCOL_UPDATE.
        ENDIF.
      ENDIF.
      IF CF_RETCODE = 0.
      call smartform delivery note
        CALL FUNCTION LF_FM_NAME
             EXPORTING
                      ARCHIVE_INDEX        = TOA_DARA
                      ARCHIVE_PARAMETERS   = ARC_PARAMS
                      CONTROL_PARAMETERS   = LS_CONTROL_PARAM
                    mail_appl_obj        =
                      MAIL_RECIPIENT       = LS_RECIPIENT
                      MAIL_SENDER          = LS_SENDER
                      OUTPUT_OPTIONS       = LS_COMPOSER_PARAM
                      USER_SETTINGS        = ' '
                      IS_DLV_DELNOTE       = LS_DLV_DELNOTE
                      IS_NAST              = NAST
    *Begin of changes by 67.
          importing
                     document_output_info = ls_document_output_info      "67
                     job_output_info      = tab_otf_data
                     job_output_options   = ls_job_output_options        "67
           EXCEPTIONS
                      FORMATTING_ERROR     = 1
                      INTERNAL_ERROR       = 2
                      SEND_ERROR           = 3
                      USER_CANCELED        = 4
                      OTHERS               = 5.
    *End of changes by 67.
        IF SY-SUBRC <> 0.
      error handling
          CF_RETCODE = SY-SUBRC.
          PERFORM PROTOCOL_UPDATE.
        get SmartForm protocoll and store it in the NAST protocoll
          PERFORM ADD_SMFRM_PROT.                  "INS_HP_335958
        ENDIF.
      ENDIF.
    get SmartForm protocoll and store it in the NAST protocoll
    PERFORM ADD_SMFRM_PROT.                       DEL_HP_335958
    --Function  modules conversts from otf to pdf format.--
    *Begin of chanes by 67.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    EXPORTING
      USE_OTF_MC_CMD               = 'X'
      ARCHIVE_INDEX                =
    IMPORTING
       BIN_FILESIZE                 = v_bin_filesize
      TABLES
        otf                          = v_tab_otf_final
        doctab_archive               = v_it_docs
        lines                        = v_it_lines
    EXCEPTIONS
      ERR_CONV_NOT_POSSIBLE        = 1
      ERR_OTF_MC_NOENDMARKER       = 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.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       BIN_FILESIZE                    = v_bin_filesize
       filename                        = 'D:\67.PDF'
       FILETYPE                        = 'BIN'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
       FILELENGTH                      = v_file_size
      tables
        data_tab                       = v_pdf_tab
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22.
    IF sy-subrc <> 0.
      MESSAGE i001(z00) WITH 'File not downloaded succesfully'.
      else.
      MESSAGE i002(z00) WITH 'File 67.PDF downloaded succesfully under D: drive'.
    ENDIF.
    *End of changes by 67.
    ENDFORM.

    Hi,
    Make sure that the output type you are using is configured for your custom-copied program name, form routine, and the form you are using. The output types can be found in transaction NACE.
    Award points if found helpful.
    Thanks,
    Leo

  • Smart Form not going as attachment with Email

    Hi,
    I am configuring actions for support message and email has to be automatically sent to a particular partner based on status of support message.
    I am using standard actions and standard smart forms.
    The email is also going but without attachment.The mail body is also blank. The subject appears as the name of smart form
    When I preview from Actions in transaction, I am able to view the complete smartform.
    Is there any settings I have missed out.
    In SCOT we have configured SAP Script/ Smart Forms as PDF.
    Useful answers will be rewarded.
    Regards,
    J.Prabananth

    Hi
    Check for the Processing Type
    Form name : CRM_REMINDER_MAIL_01
    Processing class : CL_SAMPLE_PROCESSING_CLASS_PPF
    Processing Method : COPY_1_OF_EXEC_SMART_FORM
    Archive mode : Mail only
    Regards
    Raj
    Please reward if helps!

  • Smart form w.r.t PO document types

    Dear Experts,
    I have a scenario where in I need different po prints ( smart forms ) for different PO document types. So I have created new Purchase Order Output Type ZNEU & assigned seperate smartform. Further while creating output condition records for purchase order thru MN04, getting a message saying Transportation is not defined for master data. ( information ). I have maintained that also. But still in PO this output type is not picked up. ALso if i try to maintain in po thru Me22n, i am getting an error saying Output ZNEU is not defined. Please help me to rectify this. I need different PO forms for different PO document types.

    Can you check any steps missed in configuration.
    Re: PO OUTPUT CONFIGURATION
    You can develop different smart forms dipperent document types.

  • How to use standard Smart forms

    hi All,
    Pls give me the detail for smartform ie how to use standard smart forms and how to modify them in SAP 4.7EE
    Thanks,
    Nitin

    Hi,
    first u copy the standrad smartform to z and then modify it,
    SOME STANDARD SMARTFORMS
    SF_EXAMPLE_01,
    SF_EXAMPLE_02,
    SF_EXAMPLE_03,
    LB_BILL_INVOICE,
    ENETR SMARTFORMS TCODE
    PRESS F4 HERE U FIND ALL STANDARD SMARTFORMS
    OR
    U GO TO TRANSACTION CODE NACE
    SAMPLE PROGRAM FOR SMARTFORM,
    . 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.
    Thanks&Regards,
    Phani
    POINTS HELPFUL

Maybe you are looking for