ABAP program for wage type variant report

Hi experts,
plz any one sen me the ABAP program for to create wage type variant report plz.
Thanks
Rajesh.

Requesting for code is against forum rules. Please read the rules of the forum before posting.

Similar Messages

  • Report for wage type with number, amount and amount per unit?

    Hi friends.
    I would like to know if there exits a report for wage type (like the PC00_M99_CWTR) that shows the number (anzhl), amount per unit (betpe) and the amount (betrg) of a person for a specific wage type.
    The standar report PC00_M99_CWTR does not display the amount per unit (betpe).
    Thanks in advance.
    Albio.-
    Edited by: Albio Manuel Vivas on Oct 20, 2011 6:13 PM

    Thanks,
    could you tell me what transaction i'll should use?
    thanks in advance
    Albio.-

  • ABAP Program for Processchain..

    I have one processchain that is running my manually.
    if processchain running means need a output like processchain running.if processchain not running/completed
    i need a output like process completed.so finaly i need to develop abap program for my processchain.any one write program for my processchain?

    Hi,
    REPORT  ZPROCESSCHAINLOG.
    TABLES rspclogchain.
    DATA: gt_rspclogchain LIKE rspclogchain OCCURS 0,
          wa_rspclogchain LIKE rspclogchain.
    DATA: gt_log LIKE rspc_s_msg OCCURS 0,
          wa_log LIKE rspc_s_msg,
          log type c.
    SELECT * FROM rspclogchain
    INTO CORRESPONDING FIELDS OF TABLE gt_rspclogchain
    WHERE datum eq sy-datum
    AND chain_id = YOUR PROCESSCHAINID.
    IF sy-subrc = 0.
      SORT gt_rspclogchain BY datum DESCENDING
                               zeit DESCENDING.
      READ TABLE gt_rspclogchain
           INTO wa_rspclogchain INDEX 1.
      CALL FUNCTION 'RSPC_API_CHAIN_GET_LOG'
        EXPORTING
          i_chain = wa_rspclogchain-chain_id
          i_logid = wa_rspclogchain-log_id
        TABLES
          e_t_log = gt_log.
      IF sy-subrc = 0.
        LOOP AT gt_log INTO wa_log.
          if wa_log-msgv4 = 'Successfully completed'.
            log = 1 .
          endif.
        ENDLOOP.
        if log = 1.
          WRITE: / 'Processchain completed'.
        ELSE.
          WRITE :/ 'processchain is running'.
        endif.
      ELSEIF sy-subrc <> 0.
        WRITE :/ 'Not scheduled'.
      endif.
    endif.
    Best Regards,
    Thangesh

  • Need a sample program for hierarchial oops ALV report

    Hello experts,
                     I Need a sample program for hierarchial oops ALV report.

    Hi,
       Check the following sample code...
    T A B L E S
    tables : ekko.
      data definition
    types : begin of ty_ekko,
              ebeln type ekko-ebeln,
              lifnr type ekko-lifnr,
              bsart type ekko-bsart,
              aedat type ekko-aedat,
              ernam type ekko-ernam,
            end of ty_ekko.
    types : begin of ty_eket,
               ebeln type ekpo-ebeln,
               ebelp type ekpo-ebelp,
               werks type ekpo-werks,
               matnr type ekpo-matnr,
               menge type eket-menge,
               wamng type eket-wamng,
               netpr type ekpo-netpr,
            end of ty_eket.
    data : it_ekko type table of ty_ekko,
           it_eket type table of ty_eket.
    data: ob_hieralv type ref to cl_salv_hierseq_table.
    data: it_binding type salv_t_hierseq_binding,
          is_binding type salv_s_hierseq_binding.
    S E L C T O P T I O N S
    select-options : s_ebeln for ekko-ebeln.
    S T A R T O F S E L E C T I O N
    start-of-selection.
    select ebeln
           lifnr
           bsart
           aedat
           ernam from ekko
    into corresponding fields of table it_ekko
    where ebeln in s_ebeln.
    if sy-subrc eq 0.
    select aebeln aebelp
           awerks amatnr
           bmenge bwamng
           a~netpr from ekpo as a join eket as b
                     on  amandt = bmandt
                     and aebeln = bebeln
                     and aebelp = bebelp
                   into corresponding fields of table it_eket
                  where a~ebeln in s_ebeln.
    endif.
    is_binding-master = 'EBELN'.
    is_binding-slave = 'EBELN'.
    append is_binding to it_binding.
    *TRY.
    call method cl_salv_hierseq_table=>factory
    exporting
    t_binding_level1_level2 = it_binding
    importing
    r_hierseq = ob_hieralv
    changing
    t_table_level1 = it_ekko
    t_table_level2 = it_eket .
    *CATCH cx_salv_data_error .
    *CATCH cx_salv_not_found .
    *ENDTRY.
    call method ob_hieralv->display( ).
    Cheers,
    Ram

  • How to read a word in a abap program for syntax check

    program for finding keywords:
    into a given program name in selection screen.
    e.g Parameters Keyword in YXABC propgram.
    How to find a word in a abap program for syntax check

    Hi!
    Read table TNAPR for the program names.
    Then use the READ REPORT  statement for it and load the program into an internal table.
    Then loop at the table.
    Regards
    Tamá

  • ABAP program for sending emails

    Hello SAP developers,
    I need ABAP program for sending emails to my internet adress in background - just some simple header with no body and no attachement. Recipient should be specified due the parameter etc... Does program like this exist or i have to create it? I am not familiar with ABAP. I am basis admin so I am little bit lost in this. I have tried program code from this page ->
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    But anyway it does not work - there is an exception "no message send". SCOT is configured, mails are working fine from transaction SBWP.
    Thanks in advace
    JM

    I have already solved my issue through CCMS agents and RZ20 central autoreaction (sms) in Solution Manager.
    Regards
    JM

  • ANSAL module for wage types !

    Hello,
    Can you please explain
    1. What is the significance (why & when is it used) of ANSAL module in wage type configuration ?
    2. How is this configured ?
    Thank You,
    Anthony

    Hi
    1. What is the end result of configuring the tables mentioned above ?
    > You can default the WT's and its values in IT 8 using above configuration.
    2. Will the field Ann. salary in IT0008 be populated ?
    > If you enter the amt in WT's field which is defaulted,  ANSAL field will automatically calculates annual amts.
    3. So do we use ANSAL only for generating the annual salary ? Is there any other purpose of using this
         module for wage types ?
    > As of past experience, i have used only for defaulting the values ie.. configuring the IT-0008 to make it easier for the enduser to enter the values.
    Good Luck
    Pavan
    Reward Points if it is useful

  • ABAP programing for off-cycle payment for bonus

    Hi Guru's
    I have to develop a ABAP program for Off-cycle payment bonus,
    I am new, any one can help me in this.

    Hai,
    Please refer to the given below link:
    back payment for off-cycle bonus

  • ABAP program for BAPI and convert DB into XML

    ABAP program for BAPI and convert DB into XML
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Refer the link -
    give an example of bapi coding?
    how can we transfer huge amount of data from database server to xml format
    Regards,
    Amit
    Reward all helpful replies.

  • Time contraint for wage types which are the subtypes of the Infotypes.....

    Dear Sap folks ,
    Anybody can explain that "what is the role of "Time contraint"(Once / Sev.Times) for wage types which are the subtypes of the Infotypes like IT0015 and  IT0014 (V_T512Z).
    Thanks & Rgards
    Maria Carlos Perera

    Hi,
    any wage type marked with once can be maintained only once for that specific period and several times means it can be there more than one time.
    For example, IT0015 wage type XXXX has value once. You are booking this wage type on perticular day say 12.06.2011 then you cannot book same wage type XXXX on 12.06.2011. But you can book this on any  oteher day of that month. if its several times then you can have several entries on same date.
    Regards,
    Poorvi.

  • How to create a job thru ABAP program for calling a program with variant???

    Hello experts,
    can u give me step wise procedure to create jobs for  a program with a variant name thru ABAP???
    Also, can a transaction can be scheduled as a job to run in background with a variant name???
    Edited by: SAP USER on Jul 22, 2008 6:08 AM

    Hi,
    To create a job through ABAP program you can do the following.
    Go to Menu bar.
    In there, go to   SYTSTEM> SERVICES> JOBS--> DEFINE JOB.
    Then give the JOB NAME and CLASS in the screen that comes up.
    This is how we schedule a program.
    Now, to create a variant for a program -
    First activate your program in SE38. Then execute it .
    Now, click on SAVE button. It will open up  the variant creation screen. Give the details there like variant name and value for the fields. Save and come back.
    Hope this helps.
    Regards,
    Hari Kiran

  • Standard ABAP program for process chains

    Hi gurus,
      Is there any standard ABAP program to trigger process chains?
    I do not have authorization for RSPC_API_CHAIN_START. So is there any alternative function module or any standard ABAP program that I could use?
    Please help.

    Hi Apara,
      Did you try scheduling the chain via rspc1? If not then follow the steps as given below and see if it is successful
    1) Goto RSPC1.
    2) Enter your chain technical name.
    3) Go to display variant by right clicking the chain. Select the immediate option. save the settings.
    4) Come back to the process chain screen. Click on execute button. See if this succeeds.
    or in case if the chain has been already scheduled once:
    Just open the PC in RCPC1/RCPC
    right click on the start variant (i.e the first process in the PC)
    and select display scheduled jobs...
    this will show you the released jobs for this pC
    just selsct the check box in front of the released job and the select the menu option Job - > selct Repeat scheduling.
    selct immediate and remove the periodic tick mark and save which will run your process chain immediately.
    But i doubt if you will be able to schedule the process chain via a function module or a ABAP code without prior authorization. Maybe you can request some one from your team to run the chain for you until you get access.
    You will surely need to get access for running the chain without which it should not be possible to run the chain.
    Thanks
    Pawan

  • ABAP Program for set local process chain failed

    I would like to execute ABAP Program in local process chain. If the condition is in the pre-defined bussiness rule, local process chain is set to fail.
    Currently I use ABAP and Raise Message Error = Message Type E for cancel program. After program is cancelled, local process chain don't know its status, wait for job SAP_CCMS_MONI_BATCH_DP  to determine status of process chain and then further execute subsequent process.
    I 'm not sure that our solution is right or not about set process chain to fail via ABAP. Please suggest us if there are other solution to set process chain as failed.

    Hi.
    Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
    Regards.

  • Amount for wage type "Variable DA" not apeearing in Remuneration Statement

    I am learning Payroll-India on IDES 6.0. I have configured Dearness Allowance using "Incremental CPI slab based Calculation" method (not yet fully sure how I did it! will try to figure out!). I executed the "DA Report" for a personnel number and the VDA amount is computed there (it shows Rs. 1200). After this I used the "Start Payroll" to run the payroll for the personnel number. Tthe VDA amount is appearing in Infotype 0008 for the personnel number.  In the remuneration statement, neither the wage type text nor the amount is appearing ( I have done the necessary configuration to include the wage type in window W1).
    Please guide me on what could be going wrong.

    Dear
    showing data in the window .. you must have the Line Layout on Remuration.
    In Window must fill that values:
    SRG:           Table:             ID                   Long Text                         Ptype          Ctyp                                   Splits             Dsplits
    1     RT     /552     Difference prev. Period     01               1                                 *     *              
    1     RT     0001     Basic                          01               1                           *     *      
    1     RT     0002     House Rent                          01               1                           *     *
    Regerds,
    Rizwan

  • Any abap program for copying transformation in bi 7.0

    Hi guys
    Could you please let us know is there any abap program to copy transformation in BI 7.0 as we used to have copying update rule in Bw 3.5 or is there any other way ! It is for same datasource , ODS but different source system...
    Advance thanks

    Hi,
      It is there in support packs. we use to have similar kind of problem but we applied and it works pretty neat.
    i think the support pack is sp17 or sp16.
    thanks
    syed

Maybe you are looking for

  • Error While Activating the Table

    i have created a table name ZEMPLOY11 in ABAP Dictionary containing fields Client [NUM] Carieer [NUM] Firstname [CHAR] and Surname [CHAR] and save it . when i activated this table it shows and error Mesage "Errors occurred during activation". kindly

  • Recent update has affected second display - help

    MacBook Pro, Dell E207WFP, in my case, after last update of 10.6.8, the macbook ONLY work with external monitor connected with mini-DVI to VGA adapter. If I remove the external monitor the MAC doesn't start. I want to go back to 10.6.7 or remove the

  • Importing .mod files and posting them as .mov files on YouTube

    I'm importing .mod files from my camcorder to iMovie directly. The videos play fine on iMovie. I then directly send them to YouTube (I believe as the QuickTime format .mov). The files import, but fail to process for viewing. Any suggestions?

  • Untill today FF has been great now when starting get firefox has stopped working message

    Windows 7 pro. HP Pavilion D3 laptop 4 gb Ram. All was good up until this morning and then FF will not open just get below error. Have uninstalled and reinstalled no joy

  • User mail ID validation with RSCONN01 program

    Hi All, I want to send mail to particular users only. How can i set there mail IDs , so that when program RSCONN01 runs , it will pick only those mails, which are to be sent only to those users  ? It should not pick the mails for other users. Thanks.