Reg : smartform in abap-hr

hi ,
In hr-abap we have the smartforms i.e hrforms i got the standard smartform... SAP_PAYSLIP_US ... is this smartform wat we use is same as in abap... smartform or different.. also i need the information related to this smartform SAP_PAYSLIP_US.. and driver program....

Hi
RPCEDTX0 is the standard program which takes of Remuneration Statements(payslips) for payroll. It has a include RPCEDSZ9 which can control the form routines of the form which is used as a payslip. However, the selection of form which can be used a payslip is controlled from IMG settings. You can always edit this form using a smartform if you are using SAP_PAYSLIP_US as your payslip.
Which version of SAP you are working on?
Regards
Waz

Similar Messages

  • How do we call smartforms in abap program or web services

    how do we call smartforms in abap program or web services
    How many types of smartforms are there?
    points will be rewarded

    Hi
    See this sample program
    Using the fun module smartform is called from the program
    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
    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
    <b>call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'</b>
    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 <b>FM_NAME</b>
    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.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How can i print data in smartforms from ABAP program.

    Dear gurus:
    in my abap program i process require data, and saved in a internal table.
    how can l print the data in smartforms.?
    who can give me a code sample is better:)
    reward all helpful advise.

    Try this....
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    <b>Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module --> smart form function module and pass your internal table</b>
    Regards,
    SaiRam

  • SmartForms and ABAP Objects

    Hi all,
    I'm trying to use ABAP Objects with smartforms. The thing is that whenever I need to display an object attribute, I have to call a getter method (say object->getSomeAttribute for example), assign the return to a global variable in the smartform, then assign that variable to the text node. I would like to know if there is a way to avoid this and do like we usually  would do for field in a structure, i.e. assign sommeStrucutre-someField directly to a text node without using a global variable. Thank you in advance.

    Hi,
    Look at:
    <a href="/people/dirk.feeken/blog/2007/07/06/abap-trial-version-for-newbies-part-17--your-first-abap-object Trial Version for Newbies: Part 17 - Your first ABAP Object</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf">ABAP Code Sample for Objects</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2503f09c-0801-0010-dc89-80bab376e4b8">Object Oriented ABAP - Local and Global classes</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47">ABAP Code Sample to Learn Basic Concept of Object-Oriented Programming</a>
    <a href="https://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/37c5db90-0201-0010-3a9b-d0a5288f3c15">Eight Reasons Why Every ABAP Developer Should Give ABAP Objects a Second Look</a>
    <a href="https://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3e59b790-0201-0010-88aa-bc8a7f95f6fb">Why use ABAP Objects</a>
    <a href="https://media.sdn.sap.com/public/eclasses/teched04/ABAP151_files/Default.htm#nopreload=1">ABAP Objects for Java Developers</a>
    Regards.
    Marcelo Ramos

  • SMARTFORMS and ABAP OO

    I have a performance probleme when I activate my Smartforms.
    The activation of my smartforms are very very long (Time out).
    This is only when I use ABAP object program in my Smartforms.
    Exemple in an invoice formular: I use specific object class (create with SE24) to read all the data.
    - ZCL_INVOICE_DOC = 1 invoice (attributes : VBRK, VBELN, .... methodes get_customer, get_item, get_adress, ...)
    - ZCL_INVOICE_DOC_ITEM = 1 invoice item (attributes : VBRP, POSNR, ... methodes : get_material (object), ...)
    - ZCL_ADDRESS = 1 adresse
    - ZCL_CUSTOMER = 1 partner
    it is very simple to use this sort of object to get invoice data, the performance of this ZCL_xxx object are good.
    but when i use it in a smartforms the activation time increase too much!!!
    Do you have notice this sort of probleme with ABAP OO in smartforms?.
    Is there a methode to activate smartforms in bacth mode?
    Thanks for your answer.
    Frederic CASTEL
    (sorry for my english)

    well, ABAP OO is well known to have performance issues, thats why SAP had to introduce the "FRIEND"-concept, which actually works against all capsulating rules of the OO concept.
    Anyway, if your smartform takes that long for activation you got MUCH coding in it.
    a Smartform is beeing called from a driver program, so why dont you do your GET_DATA stuff in the driver program and pass it to the smartform?
    In my personal taste it makes much sense to have as less coding in the form as possible and move anything possible to the driver program.
    much fun further on.

  • Reg : smartform assign in NACE transaction

    Hi Guys,
    I have a requirement in NACE transaction :
    I have a created one module pool program, in that i am calling two different smartforms. i need to assaign NACE transaction to see the preview or print options.is there any solution how to assign two smartforms in one NACE transaction.

    Hello,
    well you could make two separate codes for calling smartforms and use different output types for each abap program.

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • Smartform in Abap Webdynpro

    Hi Expert,
    I am new to SmartForm and WDP. I try to follow the below instruction to do, but got lots of error. Could anyone help me on this?
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
    My smartform name is ZSGPayslip and with 1 parameter named "MYDATE".
    According to the instruction, I should only create 1 node and 1 attribute, but I am not sure why the below code is calling another. Please hlep.
    Thanks,
    WF
    Edited by: williamfok on Feb 1, 2010 12:59 PM
    Edited by: williamfok on Feb 1, 2010 12:59 PM

    To call A smartform in Web dynpro View, Make an Interactive UI element on Layout
    Create A node name  PDF with an attribute SOURCE type string in context tab of view.
    Bind the Interactive UI element with Source attribute . And write the below code in WDDOINIT method to call Smartform  ZG2_SMARTFORM_TEST.
    method WDDOINIT.
    * Reading Node for display
       DATA LO_ND_NODE_FOR_DISPLAY TYPE REF TO IF_WD_CONTEXT_NODE.
       DATA LO_EL_NODE_FOR_DISPLAY TYPE REF TO IF_WD_CONTEXT_ELEMENT.
       DATA LS_NODE_FOR_DISPLAY TYPE WD_THIS->ELEMENT_NODE_FOR_DISPLAY.
    * navigate from <CONTEXT> to <NODE_FOR_DISPLAY> via lead selection
       LO_ND_NODE_FOR_DISPLAY = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_NODE_FOR_DISPLAY ).
    * get element via lead selection
       LO_EL_NODE_FOR_DISPLAY = LO_ND_NODE_FOR_DISPLAY->GET_ELEMENT( ).
    * get all declared attributes
       LO_EL_NODE_FOR_DISPLAY->GET_STATIC_ATTRIBUTES(
         IMPORTING
           STATIC_ATTRIBUTES = LS_NODE_FOR_DISPLAY ).
    * Calling Smartform
       DATA LV_SMARTFORM       TYPE RS38L_FNAM.
       DATA LS_SSFCTRLOP       TYPE SSFCTRLOP.
       DATA LS_OUTPUT_OPTIONS  TYPE SSFCOMPOP.
       DATA LS_JOB_OUTPUT_INFO TYPE SSFCRESCL.
       DATA LT_LINES           TYPE STANDARD TABLE OF TLINE.
       DATA LV_BIN_FILESIZE    TYPE I.
       DATA LV_PDF_XSTRING     TYPE XSTRING.
       data LT_OTFDATA TYPE TABLE OF ITCOO.
    * -- Get the name of the smartform function module
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING
           FORMNAME           = 'ZG2_SMARTFORM_TEST'
    *     VARIANT            = ' '
    *     DIRECT_CALL        = ' '
         IMPORTING
           FM_NAME            = LV_SMARTFORM
         EXCEPTIONS
           NO_FORM            = 1
           NO_FUNCTION_MODULE = 2
           OTHERS             = 3.
       IF SY-SUBRC <> 0.
         BREAK-POINT.
    * Implement suitable error handling here
       ENDIF.
    * -- Call the smartform
       LS_SSFCTRLOP-NO_DIALOG = SPACE.
       LS_SSFCTRLOP-GETOTF    = ABAP_TRUE.
       LS_SSFCTRLOP-NO_DIALOG = 'X'.
       LS_SSFCTRLOP-PREVIEW = 'X'.
       LS_SSFCTRLOP-GETOTF = 'X'.
       LS_SSFCTRLOP-LANGU = 'EN'.
       LS_SSFCTRLOP-DEVICE =  'PRINTER'. "LOCAL_PRINTER2 'LOCAL_PRINTER1'.
       LS_OUTPUT_OPTIONS-TDPRINTER  = 'PDF'. "'PDF1'.
       LS_OUTPUT_OPTIONS-TDDEST     = 'LP01'.
       LS_OUTPUT_OPTIONS-TDIMMED    = 'X'.
       Ls_OUTPUT_OPTIONS-TDDELETE   = 'X'.
       Ls_OUTPUT_OPTIONS-TDLIFETIME = 'X'.
       Ls_OUTPUT_OPTIONS-TDDEST     = 'LOCL'.
       CALL FUNCTION LV_SMARTFORM
         EXPORTING
           CONTROL_PARAMETERS = LS_SSFCTRLOP
           OUTPUT_OPTIONS     = LS_OUTPUT_OPTIONS
           USER_SETTINGS      = 'X'
           GS_NODE_FOR_DISPLAY = LS_NODE_FOR_DISPLAY
    *     custom_input       = ls_your_custom_smartform_input
         IMPORTING
           JOB_OUTPUT_INFO    = LS_JOB_OUTPUT_INFO
         EXCEPTIONS
           OTHERS             = 0.
    REFRESH LT_OTFDATA.
    LT_OTFDATA[] = LS_JOB_OUTPUT_INFO-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.
    * -- Convert the OTF data to xstring
       CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           FORMAT                = 'PDF'
           MAX_LINEWIDTH         = 255
         IMPORTING
           BIN_FILESIZE          = LV_BIN_FILESIZE
           BIN_FILE              = LV_PDF_XSTRING
         TABLES
           OTF                   = LT_OTFDATA[]
           LINES                 = LT_LINES
         EXCEPTIONS
           ERR_MAX_LINEWIDTH     = 1
           ERR_FORMAT            = 2
           ERR_CONV_NOT_POSSIBLE = 3
           ERR_BAD_OTF           = 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 LV_PDF_XSTRING IS NOT INITIAL.
       DATA LO_ND_PDF TYPE REF TO IF_WD_CONTEXT_NODE.
       DATA LO_EL_PDF TYPE REF TO IF_WD_CONTEXT_ELEMENT.
       DATA LS_PDF TYPE WD_THIS->ELEMENT_PDF.
       DATA LV_SOURCE TYPE WD_THIS->ELEMENT_PDF-SOURCE.
    * navigate from <CONTEXT> to <PDF> via lead selection
       LO_ND_PDF = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_PDF ).
    * get element via lead selection
       LO_EL_PDF = LO_ND_PDF->GET_ELEMENT( ).
    * @TODO handle not set lead selection
       IF LO_EL_PDF IS INITIAL.
       ENDIF.
    * set single attribute
       LO_EL_PDF->SET_ATTRIBUTE(
         NAME =  `SOURCE`
         VALUE = LV_PDF_XSTRING ).
    endmethod.

  • Reg: Test an ABAP mapping

    Hi All,
                        When i go to test at interface mapping level there is no possiblity to test ABAP mapping. Is there any way to test ABAP mapping without executing scenario.
    Thanks,
    Satish.

    This is a link very useful for ABAP Mapping :
    http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
    You should define a simple scenario. Sender Service, Receiver Service and Interface Mapping using your ABAP Mapping
    You can test your ABAP Mapping using the transaction,
    SXI_MAPPING_TEST
    Check my weblog as to how to use the transaction for testing,
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    Check this thread:
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D44%26threadID%3D34468%26messageID%3D326456%23326456
    Note:please reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Reg:bapis for abap-hr

    Hi Gurus,
    Cna iget the bapis used for the HR module in abap-hr
    programming ....
    Thanks & Regards
    Suman

    Hi,
    Goto Txcode-BAPI->in the left side of the screen click on Alphabetical tab -> Scroll down you will get lot of BAPIs regarding employee, HR master data replication and all.
    Cheers!!
    VEnk@

  • Reg smartforms

    Hi all
    atter giving the values in the selection screen, i am generating the output in Smartforms. After coming back to selection screen , i am changing the values in the seletion screen ., But the output of the forms remains same as the previous one.
    What could be the solution?
    Regards
    karthik

    clear the variables and refresh internal table.For going back to selection screen give leave to transaction <tcode>.

  • Reg smartform background n print prob?

    hi experts
    i have a requiremnt my sf has to run in backgorund mode by default. how to make it ?
    and i have to put a check box on my selection screen for print if the user checked it print should come . how to get this functionality?
    thanks & regards

    Hi Deepu,
    Refer to my post below thread
    Re: smartform into pdf...
    Regards,
    Sravanthi

  • Reg : SMARTFORM name and DRIVER PROGRAM

    Dear Gurus,
    Can anybody help me out in providing standard SMARTFORM name and also driver Program for
    'ANNUAL MAINTENANCE CONTRACT CONFIRMATION' in CS(Customer Service) module.
    Cheers,
    Loverboy K

    Hi,
    there is on a standard system no smartform for you. So you have to do your thing with the standard sapscript.
    However there have been some BestPractices projects at SAP. There they have a lot of standard smartforms. Maybe you can download them from SAP somewhere the name will something
    with MMCON or MMDLS in it.
    you have to find out yourself because i do not have it here to send it to you.
    Gr., Frank

  • Reg: History of ABAP development objects

    Dear Experts
    Is there any function module or table available to get the information of created, change and Version information of both z and standard abap objects?
    Regards
    Arun.P
    Edited by: Thomas Zloch on Oct 6, 2010 1:19 PM - subject changed to avoid misunderstanding

    Hi Hatsan,
    Thank You for the reply,
    I tried that table but when i give an abap report name or function module name it is showing 'No Table entries found'.
    I also found out that by using the table TRDIR we can get the history of reports and TFDIR to get the history of function module.
    it will be good to find the correct source in which these entries are maintained ie with tables information.
    Regards
    Arun.P
    Edited by: Arun Padmanaban on Oct 7, 2010 7:15 AM

  • Reg: Web Dynpro ABAP application in mobile

    Dear Experts,
    Is there any possibility to show the Web Dynpro ABAP applications on mobile?
    if possible is there any steps to do implement that?
    Regards
    Arun.P

    >
    Abhimanyu Lagishetti wrote:
    > a small correction
    > it is Sybase Unwired Platform actually where sybase is giving a device independent platform to build mobile applicaitons.
    No, Frank was correct.  Sybase Unwired Platform was renamed SAP Unwired Platform during the SAP - Sybase Media Day in August 2010. Although as it generally goes with renames within SAP, the old names die hard.

Maybe you are looking for

  • GR/IR clearing value

    Hi all There is a SA with many times GR and IR now i want to know the GR/IR clearing value about this SA. Which T-code can display this? I tried manys but all under vendor,account number.which can under a SA? Thanks a lot

  • Third Party app issue

    Hello me and my Wife downloaded an app called itube. It's an app where you could download your favorite music/video and listen to it offline. Download app 4 months ago with no issue however a few days ago it started having an issue where now I could

  • Query: Not Update the resource provisioned AD

    Someone can help me with this case, I configured the connector for the supply of Active Directory, up here all goes well, when trying to enter the domain with the user supplied I do not take into consideration the assigned password and other details

  • Urgent!flexSDK not working

    hi everybody, i downloaded a code from http://www.neave.com/dandelion/ and i wanted to make few changes on it. But when i opened the main.fla file in flash and tried to play movie(ctrl+enter) This warning appears: so i´ve downloaded the SDFile from h

  • DataGrid ItemEdit Validation

    Hi all, I have an application with datagrid inline editing functionality. I have a custom item renderer for all the columns and i have to perform validations also on the user entered data. The itemEditEnd function goes like this, private function edi