Configure HRFORMS to call a custom Smartform.

Hello All-
We have a custom Payroll Form created in PE51 and we have a custom smartform which uses this custom payroll form.
By using TCode HRFORMS can we configure to call a custom smartform. If so can you please let me know how? Or do you have a document of how to use HRFORMS please let me know.
Thanks-
Chakri.
Edited by: chakri somisetti on Jul 1, 2008 4:54 PM

Hi Chakri,
I think PE51 forms are different from what you do from HRFORMS...
PE51 uses a intermediate config table which can be maintained via PE51_CHECKTAB tcode. It allows you
to configure what data to print at waht position and other formatting options. You can enhance std. print program behind the form class (CEDT etc ) to select any custom data and print it on the form.
HRFORMS - you create a form here and choose the pre-prepared data strctures - here the front form can be a smart from or form builder (PDF forms - tcode SFP). IF you create a form from HRFORMS it will generate the underlying form and print program for you. You can then modify this form as per your requirements...
I dont have much knowledge on how to use that Infostars/info dimensions of HRFORMS. may be you can look at a standard from or search in the forums. I am sure you will find some useful info...
hope this helps
thanks

Similar Messages

  • Calling custom Smartform on execute Campaign

    Hello experts,
    does anybody know which steps i need to take when i wnat to execute a custom Smartform instead of sending e-mail.
    I need to attach Smartform because to campaign needs to generate a phsical letter which is made in StreamServe bases on the XSF file the Smartform generates.
    Waiting for reply
    Greetings Richard

    Hi,
    As far as I understand, in order to execute a Smartform you need to implement this using BADI 'CRM_MKT_EXP_CAMP_DAT'.
    (This is exit used for Connecting External Tools for Follow-Up Processing)
    Follow customization path :
    SPRO > CRM > Marketing Planning and Campaign Management > Campaign Execution > BADI's >
    BAdI: Transport of Campaign Data to Open Channel
    Use method : IF_EX_CRM_MKT_EXP_CAMP_DAT ~ EXPORT_CAMPAIGN_DATA to implement the same.
    Hope this is useful and helps.
    Regards,
    Anup

  • Contents of a custom print program for a custom smartform

    Hi...
    Can you please tell me if we are writing a custom print program from scratch for a custom smartform for which there is no standard form available what are all the things that need to be coded in the print program..
    My doubts on this are if we are configuring this form for output types of PO purchase order for mediums 1,2, 5 and 6 does any extra coding need to be done in the print program that is related to these mediums or is it just a configuration issue..
    Apart from data retrieval part and call the function modules to send the data to smartforms what are the other things that we need to code in a custom smartform..  Anything that we need to code related to printing issues..
    It would be great if someone can post a custom print program for any output type valid for mediums 1, 2, 5 and 6.
    Also my last doubt is do we need to do anything in SE11 in designing a smartform and in what context do we need it...
    Thanks and appreciate your help... Surely will reward for all the helpful answers..
    Thanks again..
    Kanthi..

    Hi,
    yes you need to create your own print program. You need to catch printing information and to send data to your smartforms.
    To send data to your smartforms you need to use structure describe in the data dictionnary.
    This is a peace of code for sending information to a smartform that will be print used an external program (Esker)
      DATA: it_data       LIKE TABLE OF zssf_bl WITH HEADER LINE,
            w_formname TYPE tdsfname ,
            w_fm_name  TYPE rs38l_fnam ,
            is_output  TYPE ssfcompop ,
            is_control TYPE ssfctrlop ,
            is_job_out TYPE ssfcresop .
    *  Récupère le nom du module fonction.
      MOVE 'Z_BL_STT' TO w_formname.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = w_formname
        IMPORTING
          fm_name                  = w_fm_name
        EXCEPTIONS
          OTHERS                   = 3.
    * Prépare les paramètres d'impression.
      is_output-xsfcmode   = 'X'.
      is_output-xsf        = 'X'.
      is_output-xsfoutmode = 'S'.
      is_output-xsfoutdev  = 'DOCL'.
      is_output-xsfformat  = 'X'.
      is_output-tdnoprev   = 'X'.
      is_output-tdnoprint  = ' '.
      is_output-tddest     = 'DOCL'.
      is_output-tdprinter  = 'PLAIN'.
      is_output-tdnewid    = 'X'.
      is_output-tdimmed    = 'X'.
      is_output-tddelete   = 'X'.
      is_control-no_dialog = 'X'.
      is_control-preview   = ' '.
      is_control-no_open   = 'X'.
      is_control-no_close  = ' '.
    * Prepare le formulaire
      CALL FUNCTION 'SSF_OPEN'
        EXPORTING
          user_settings      = ' '
          output_options     = is_output
          control_parameters = is_control
        IMPORTING
          job_output_options = is_job_out
        EXCEPTIONS
          OTHERS             = 5.
    * Appels du formulaire.
      CALL FUNCTION w_fm_name
        EXPORTING
          control_parameters = is_control
          output_options     = is_output
          is_bl              = zbl_soustrait
        TABLES
          it_data            = it_data
        EXCEPTIONS
          OTHERS             = 5.
    You need to catch information from the NAST table maybe
    Rgd
    Frédéric

  • Custom SmartForm for Purchase Order Printing

    Hi,
    I need a customized smartform for purchase order, which is called after the standard transaction ME9F.
    I adjusted "Conditions for Output Control" by using transaction NACE  ( Erased the name of the form MEDRUCK, Entered my customized smartform's name under smartform Form part and chose the type as smartform )
    However, I couldn't success to see my printview whereas I continued to see the printview of Medruck.
    I'd searched for the problem through here and the net,  I found some names of smartforms such as: /SMB40/MMPO_L  and /SMB40/MMPO_A and their driver programs like: /SMB40/FM06P . The package which consists of these elements was mentioned as " /SMB40/ "... but despite I downloaded it, my system still doesn't have the elements.
    So, how can I use my own purchase order smartform or if i need the forms mentioned,  in which best practice package i can find them?
    SAP ECC 6.0
    SAP_APPL 604
    SAP_BASIS 701
    Thanks in advance,

    Hi,
    If your SAP doesnt have a standard smartform for PO, it is quite complicated to use smarform rather than sapscript.
    I guess that you will need to modify the program SAPFM06P that calls the sapscript and make it call the smartform.
    I will take a few time to adapt the sapscript.
    Regards
    Miguel

  • Passing data to custom smartform from a custom program...

    Hello Gurus,
    Since, the function module gets generated dynamically at runtime when smartform is activated, I know that first I should use  "SSF_FUNCTION_MODULE_NAME" and pass custom smartform name to it to get the name of function module. Then I have to use call function '/XXXXXXXXX'.
    Now, I am writing a custom code and I want the data from my select program in custom program to be passed to smartform ? How can I pass the data from my custom program to smartform ? Do I pass it before using function module "SSF_FUNCTION_MODULE_NAME" ? If yes, how ?
    Regards,
    Rajesh.

    hi,
    u have to declare ur structures in form interface and can retrive the data from custom program.
    check this sample code.
    declare structure in interface.
    WA_MKPF TYPE MKPF.
    write ur custom code lik this.
    DATA: wahz TYPE zmemigo_form_header,
          wa_mkpf  TYPE mkpf.
    DATA: t_itemz LIKE zmemigo_form_item OCCURS 0,
          t_mseg   TYPE mseg OCCURS 0,
          waitemz TYPE zmemigo_form_item,
          waitem TYPE mseg.
    DATA : form_name TYPE tdsfname VALUE 'ZPS_STN'.
      DATA : fnc_module TYPE rs38l_fnam.
    SELECT SINGLE mblnr INTO wa_mkpf-mblnr FROM mseg
                CLIENT SPECIFIED WHERE  mandt EQ sy-mandt
                                   AND  mblnr EQ p_mblnr
                                   AND  mjahr EQ p_mjahr
                                   AND  bwart EQ '351'
                                   AND  shkzg EQ 'H'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = form_name
        VARIANT                  = ' '
        DIRECT_CALL              = ' '
        IMPORTING
         fm_name                  = fnc_module
        EXCEPTIONS
         no_form                  = 1
         no_function_module       = 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 fnc_module
        EXPORTING
          wa_headz         = wahz
          wa_mkpf          = wa_mkpf
        TABLES
          it_itemz         = t_itemz
          it_mseg          = t_mseg
        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.

  • Cannot change library path or name when configuring a library call function

    I cannot change the library path or name when configuring a library call.  I browse to the new location, click OK.  The new path appears  in the box.  I click OK to dismiss the configuration.  Then I re-open the configuration and the old path has magically appeared.  I wouldn;t care but I get a fatal error whenever I execute the call.  (Another VI with the same call but to a different library works fine.  So I am trying to get the failing call to use the one that works.)

    I am using version 7.1
    It turns out that everything works fine in LV 2010 but the customer doesn't have that rev.
    I am remotely debugging this using GoToMeeting.  Sounds weird, but I fell into that.  It works fine, I have a screen which looks exactly like the screen in the customers site.  I can do everything, albeit with a little time drag.  The thing is, I e-mailed the VI from his site to mine so that I could send it to you.  But it works fine here.  So the question is what could be different there that would cause this?
    The main problem that I am trying to solve is that when I run the VI, I get a message
    "Labview:  An exception occurred within the external code called by the Call Library Node.  This might have corrupted Labview's memory. Save any work to a new location and restart Labview"
    If I set the Library Node on my machine to the correct function, it runs without error.  It seems, however, to start with a different function and then I get the same error.  I would think that if there is a parameter mismatch that the library would return an error status, but this appears not to be the case.  (I did not write the library, HP (Agilent) did)  The function is correct at the customer's machine.

  • Not getting the tax details in me23n using custom smartform

    Hi to all,
       I am useing bapi to get the details of service order and printing the details in my custom smartform which is assigned in me23n. My problem is i am getting all the details like line item and all related but not the tax details. I need to print the net amount which is net amount + tax . Can any one help me in this regards.

    Use function module   CALL FUNCTION 'CALCULATE_TAX_ITEM'
          EXPORTING
           dialog                    = lc_n
           display_only              = lc_x
           i_taxcom                  = lwa_taxcom
          IMPORTING
        E_NAVFW                   =
           e_taxcom                  = lwa_taxcom
        E_XSTVR                   =
           nav_anteil                = lv_taxamt
         TABLES
           t_xkomv                   = lt_komv
         EXCEPTIONS
           mwskz_not_defined         = 1
           mwskz_not_found           = 2
           mwskz_not_valid           = 3
           steuerbetrag_falsch       = 4
           country_not_found         = 5
           OTHERS                    = 6
        IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    LT_KOMV will return the tax related data.
    Nabheet

  • Attach customized smartform in IW32

    Dear Experts,
    I need to copy the standard smartform to a customized one and make some changes and attach it. The already attached form is a PM_COMMON which is a script.
    1. Is there any smarform, if yes then what?
    2. How can I attach standard driver program with the customized form? Will it get attached automatically if the write customized smartform name in the form below?   
    Regards
    Mani

    Hi Mani,
    you can copy driver program  RIPRCT00 to zRIPRCT00 something. and  comment
    PERFORM main_print. from this driver program. once you comment this Perform then your SAP script part will be  disconnect from this.
    you can add new  perform  after PERFORM order_data_import and  add your SSF code here  like below reference code.
    -tdcopies         = wworkpaper-tdcopies.    " copies
      lwa_outputop-tdnewid          = wworkpaper-tdnewid.     " new spool entry
      lwa_outputop-tdimmed          = wworkpaper-tdimmed.     " immediately
      lwa_outputop-tddelete         = wworkpaper-tddelete.    " delete after
      lwa_outputop-tdcover          = wworkpaper-tdcover.     " cover page
      lwa_outputop-tdcovtitle       = wworkpaper-tdcovtitle.  " title for cover
      lwa_outputop-tdreceiver       = wworkpaper-tdreceiver.  " report to ->
      lwa_outputop-tdarmod          = wworkpaper-tdarmod.     " Archive mode
      lwa_outputop-tdtelenum        = wworkpaper-tdtelenum.
      lwa_outputop-tdteleland       = wworkpaper-tdteleland.
      IF NOT wworkpaper-print_lang IS INITIAL.
    *... reset the default print_language with a specific language
    *... if it was set in t390_u or set on the paper selection screen
        print_language =  wworkpaper-print_lang.
      ELSE.
        print_language =  original_print_language.
      ENDIF.
    *... should a print record be written later.
      IF device = c_screen
      OR device = c_preview.
        dont_log = yes.
      ELSE.
        dont_log = space.
      ENDIF.
      IF device = c_preview.               " special print preview option
    *    itcpo-tdpreview = yes.
    *    itcpo-tdnoprint = yes.             " no sneaky printing from SAPSCRIPT
        lwa_outputop-tdnoprev = ''.
        lwa_outputop-tdnoprint = 'X'.
      ELSE.
    * itcpo-tdpreview = space. " make sure preview is off otherwise
        lwa_outputop-tdnoprev = 'X'.
      ENDIF.
    *$*$ ARCHIVE LINK
      g_toa_dara_tab-function   = c_dara.  "archive function
      g_toa_dara_tab-sap_object = archive_type. "Order or Notification
      g_toa_dara_tab-ar_object  = t390-ar_object.  "arch object
      g_toa_dara_tab-object_id  = object_id.    " order or notif number
      g_toa_dara_tab-mandant = t390-mandt.
      g_arc_params_tab-sap_object  = archive_type. "Order or Notification
      g_arc_params_tab-ar_object   = t390-ar_object.
      g_arc_params_tab-mandant = t390-mandt.
      g_arc_params_tab-report = t390-abapname.
    *-> SY fields not available in update task
      g_arc_params_tab-arcuser = sy_uname.
      g_arc_params_tab-datum   = sy_datum.
      lwa_ssfctrlop-no_dialog = 'X'.
      lwa_ssfctrlop-preview = 'X'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lc_fname "'ZPMEU_MAINTN_JOB'
        IMPORTING
          fm_name            = lw_fmname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 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 lw_fmname
        EXPORTING
          archive_index      = g_toa_dara_tab
          archive_parameters = g_arc_params_tab
          control_parameters = lwa_ssfctrlop
          output_options     = lwa_outputop
    *     USER_SETTINGS      = 'X' "space'
          caufvd             = caufvd
          riwo1              = riwo1
          iloa               = iloa
          iviqmel            = iviqmel    "FSTS1628
        TABLES
          iaffhd             = iaffhd
          op_print_tab       = op_print_tab
          kbedp_tab          = kbedp_tab
          ihpad_tab          = ihpad_tab
          ihsg_tab           = ihsg_tab
          ihgns_tab          = ihgns_tab
          iafvgd             = iafvgd
          iripw0             = iripw0
          iresbd             = iresbd.
    same reference code you can call in your samrtform.
    Please try to this way for your development. It may be helpful for you.
    Regards,
    Prasenjit

  • Call a custom procedure in release 2

    How do I call a custom procedure as an HTML form action. I am using release 2. I have a proceudre in my table that runs an update statement when I submit the form. I can't get the form to properly call the procedure. Anyone Know.
    Thanks
    Cal

    why don't you create a dynamic page & just call that custom procedure inside.
    as you know your dynamic page will give you url to call from HTML forms action.
    /pls/portal/.......
    vikas

  • How can I call a custom javascript function when clicking on cfgrid cell.

    I would like to call a custom javascript function when
    clicking on a cell in an cfgrid (of html format). The closest thing
    I can find is to use the HREF="" attribute, but it doesn't seem to
    work with javascript inside it.
    Simple example:
    <cfgridcolumn name="Foo" header="Foo"
    href="javascript:customFunction(#ID#);">
    Do I need to tap into the underlying Ext JS funtionality? If
    so, where can I start?
    Thanks!

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to call a custom controller method from view

    Hi,
    I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
    How to call a custom controller method from view?
    Please explain the syntax.
    Regards,
    Manoj.

    Hi Patralekha,
    Give some idea for the below scenario:
    I ve created a simple web service and consumed it in a model. What I did was
    1) for the input parameters, mapped the node from view->custom controller->model
    2)for the output parameter, mapping from model->custom controller->view.
    It works fine.
    But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
    Share me your thoughts.
    Regards,
    Manoj.

  • Error in customized smartform for goods recipt

    Hi experts
    I  have  created a customized smartform for goods recipt .
    I have used  form entry_we01 inside my zprogram and basically  fetching the material document no from  NAST-objky
    The problem is when i assign my program in TXN NACE
    it prevents the update of material document no MBLNR in the
    MSEG table .
    I get an express document as soon as I try to display the goods recipt stating " UPDATE HAS BEEN TERMINATED".
    and although material document has been generated it is not updated in the MSEG table.
    By the way this error does not happen when i use the standard driver program and standard form (SAPSCRIPT).
    Please suggest a solution

    Hi,
    Your problem may not be related with what you done in NACE.......Check for any other recent changes made in the System...

  • How to call a custom form on click of a button?

    We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
    some sample code will help. Thanks in Advance,
    Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053

    Hi,
    I think you are working with Oracle EBS.
    I don't think so that we can able to call the custom form on clicking button.
    We can call the form from the standard form using both custom.pll and form personalization
    In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
    So please check further, and let me know if any i can help you any.
    Regards
    Sri     .

  • How to configure TMS for ChaRM with Customizing routes?

    Hi Experts,
    We have succesfully configured three system landscape TMS for ChaRM for several pipelines already. Now we are facing a situation where TMS is as follows:
    DEV to QAS contains routes:
    Customizing: ZEBP => 100
    Transport: ZDEV => 100
    Customizing: ZSUS => 200
    Transport: SAP => 100
    The question with these is how to add ZEBP and ZSUS to ChaRM configuration?
    QAS to PRD:
    Delivery: 200 => 200
    Delivery: 100 => 100
    Here the question is how to enable transports between 200s alongside 100?
    When looking at SMSY in SolMan, SUS is a logical system only.
    Has anyone of you come across a situation like this? I'm glad for any hints you may give me!
    Our SolMan is 4.0 SP13.
    Best Regards,
    Auli

    Hi
    in my opinion you can configure it the following way:
    Customizing: ZEBP => 100
    Transport: ZEBP => 100 (not ZDEV)
    Customizing: ZSUS => 200
    Transport: SAP => 100
    Then assign ZEBP as default transport layer for client 100 and ZSUS for client 200.
    It is not possible to configure ZEBP and ZDEV for client 100 if you want to use charm
    regards, Andy

  • How do I personalize a form to call a custom package instead of standard

    We are finding that the vertex tax package is not correctly calculating the taxes for AR late changes. The late payment charge invoices are being created without an item and we know that if we had this in there the taxes would be calculated correctly. We have a solution designed by a senior architect and would like to pursue that approach unless it has been established it is impossible.
    From the Batch maintenance form ARIINR.fmb there is a generate button. It calls some pl/sql and eventually the api to create the invoice. What we want to do here is from the when button pressed trigger call a custom package (with most of the same logic intact). The problem is is that we don't want to call both the custom and standard package, only the custom one.
    My question is really is there any way to avoid calling the standard package by exiting out of the trigger after the custom package completed? I know I could easily change the standard form to accomplish this but we want to accomplish this in such a way to still maintain our support with Oracle on this form. So we are looking to do this via a personalization or custom.pll change.
    Any help would be very much appreciated. Thanks for your time.

    To my knowledge, both CUSTOM.pll and Forms Personalization execute code in addition to standard code, not instead off.

Maybe you are looking for

  • Can't find id definition of type attribute using JDeveloper 11.1.2.1.0

    Hello I'm trying to deploy the WebClient from Part 6 of the tutorial "Developing an ADF Client Using a Web Service Data Control" [http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_6.html] . For the tutorial I used the JDevelop

  • Automator: Render PDF as Images changes the filename.

    I have a PDF named "Bamboo Cutting Board Sales Sheet.pdf" that contains one image. When I run the PDF through the Automator action Render PDF As Images, the filename is saved and changed to "002ddf334.jpg. How do I keep the original file name?

  • QuerySummary() function is behaving weirdly in BI4.1 SP1

    Hi There, Any Idea/anybody came across the below issue if you migrate your existing 3.1 reports to 4.1 SP1 If I use QuerySummary() function in the report using pre-defined cell then, the resultant object names its displaying correctly, but in the Fil

  • Rank function code

    Does anybody know where I can find the code of rank function in Oracle 8.1.6 Enterprise Edition Thanks

  • T3+ volume slice issue

    I have two new T3+ arrays setup as separate systems Both have the same issue. Both have the latest advised release of the T3+ firmware. I set them to be a Raid 1+0 mirror (4 drives mirrored to 4 drives) with striping across all "4" drives. The nineth