Get the wage type, amount and cost center

Dear Expert,
Is there any FM to get the payroll result for each wage type, amount, and cost center allocation?
Example,
Employee Tom was in cost center A with wage type 1001 ($1000) in Jan.
But in Feb payroll, we need to retro the cost center for employee Tom to cost center B from 1-jan onwards.
So after the Feb payroll run, I would like to have the result like below:
Cost Center A Jan  $1000
Cost Center A Feb -$1000
Cost Center B Jan $0
Cost Center B Feb $2000
But if I use the FM HR99L00_GET_RETRO_MONTH_DIFF, I cannot get the value like below because the cost center is already replace in infotype 0001
Cost Center B Jan $1000
Cost Center B Feb $1000
Please help.
Thanks,
WF

Hello
First you can use the FM HR_PT_READ_PAYROLL_RESULT to retrieve the payroll results of an employee. For your purpose you need just the international cluster, so you can use the table type pay99_result.
Say if you have run the payroll run for the Feb with the new cost center assignment, you can get all these details from the WPBP cluster of the returned result. You'll will have one record in WPBP for each pay period. Using the index of the result you need i.e. for the month of Feb, get the amount value form cluster RT in the same payroll result. Now you should have the amount you are looking for.
Regards
Ranganath

Similar Messages

  • How to get SAP report that inculde PR number, PR amount, PO number, PO amount and cost center ??

    Please help! How to get the report in SAP that include information of PR number, PR amount, PO number, PO amount and cost center in one report??
    I try ME5A but th
    ere are no information of PO amount.

    Thank you for your help.
    I have no authorize to use SQVI as I am only the user. I will use your information and ask my SAP team to help.
    Thank you again (^_^)

  • How to get the document type, name and revision from the search page cv04n

    Hello,
    After performing cv04n and getting a list of documents satisfying the search criteria, how can I then get the document type, name and revision of the selected document using ABAP?
    Thanks

    HI,
    IN table DRAW... u have Document type, Version and document number.
    In Table DRAT also u get Document Type, Version, Number and Description of Doucment.
    Regards
    SAB

  • Pcr To Get The Wage Type Value From Previous Years Master Data Records

    Hi
    I have an issue related to pcr.  I want to get the value of a wage type from previous year and it has to be added to another wage type.  Tried to write pcr by using the operation TABLE.  But i am not able to get the previous years data.  Request to help in writing the PCR for the issue.
    Thanks
    EKP Yadav

    1 - Create an "Information WT" that will be saved into RT but that has no impact on net pay.
    2 - Create a PCR that will be activated on the last pay of the year to read the WT you want and transfer it's information into your Information WT.
    3 - Create a PCR that will read the last payroll results (activated with function PLRT) and transfer into the Input Table (IT) the Information WT.

  • Unable to read the wage type amount in payroll report output...

    Hi all,
    In the program below I am not able to see the car amount incurred by the office in the output, please find the error....
    Regards
    john
    *& Report  ZHR_PY_REPORT1                                              *
    REPORT  ZHR_PY_REPORT1                          .
             TABLES
    TABLES : PERNR.
          INFOTYPES
    INFOTYPES : 0000,
                0001,
                0002,
                0006,
                0105.
         STRUCTURES
    TYPES : BEGIN OF T_FINAL,
            PERNR  TYPE PERNR_D,
            STAT2  TYPE STAT2,
            BUKRS  TYPE BUKRS,
            PLANS  TYPE PLANS,
            ORGEH  TYPE ORGEH,
            ABKRS  TYPE ABKRS,
            VORNA  TYPE VORNA,
            NACHN  TYPE NACHN,
            GBDAT  TYPE GBDAT,
            STRAS  TYPE STRAS,
            ORT01  TYPE ORT01,
            PSTLZ  TYPE PSTLZ,
            MAILID TYPE CHAR255,
            CARAT  TYPE CHAR15,
            END OF T_FINAL.
          INTERNAL TABLES
    DATA : IT_FINAL TYPE STANDARD TABLE OF T_FINAL.
          WORK AREAS
    DATA : WA_FINAL  TYPE T_FINAL.
    PARAMETER : P_DOWN AS CHECKBOX.
    START-OF-SELECTION.
    GET PERNR.
    *SUBROUTINE TO FETCH DATA FROM INFOTYPES
      PERFORM F_FETCH_DATA_FROM_INFTY.
    END-OF-SELECTION.
    *SUBROUTINE TO DISPLAY DATA
      PERFORM F_DISPLAY_DATA.
    *&      Form  F_FETCH_DATA_FROM_INFTY
          text
    FORM F_FETCH_DATA_FROM_INFTY .
      RP_PROVIDE_FROM_LAST P0000 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-PERNR = P0000-PERNR.
        WA_FINAL-STAT2 = P0000-STAT2.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-BUKRS = P0001-BUKRS.
        WA_FINAL-PLANS = P0001-PLANS.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0002 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-VORNA = P0002-VORNA.
        WA_FINAL-NACHN = P0002-NACHN.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0006 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-STRAS = P0006-STRAS.
        WA_FINAL-ORT01 = P0006-ORT01.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0105 '0010' PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-MAILID = P0105-USRID_LONG.
      ENDIF.
    *SUBROUTINE TO FETCH EMPLOYEE PAYROLL RESULTS
      PERFORM F_FETCH_PAYROLL_DATA.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDFORM.                    " F_FETCH_DATA_FROM_INFTY
    *&      Form  F_DISPLAY_DATA
          text
    FORM F_DISPLAY_DATA .
      LOOP AT IT_FINAL INTO WA_FINAL.
       AT FIRST.
         WRITE : / 'EMP.NO',
                 10 'FIRST NAME',
                 20 'COMPANY CODE'.
       ENDAT.
        WRITE : / WA_FINAL-PERNR,
                10 WA_FINAL-VORNA,
                20 WA_FINAL-BUKRS,
                30 WA_FINAL-CARAT.
      ENDLOOP.
    ENDFORM.                    " F_DISPLAY_DATA
    *&      Form  F_FETCH_PAYROLL_DATA
          text
    FORM F_FETCH_PAYROLL_DATA .
      DATA : W_MOLGA TYPE MOLGA,
             W_SEQNR TYPE CDSEQ,
             W_RELID TYPE RELID_PCL2.
      DATA : IT_RGDIR TYPE STANDARD TABLE OF PC261,
             IT_RESULT  TYPE PAY99_RESULT.
      DATA : WA_RT TYPE PC207.
      CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          PERSNR          = P0000-PERNR
        IMPORTING
          MOLGA           = W_MOLGA
        TABLES
          IN_RGDIR        = IT_RGDIR
        EXCEPTIONS
          NO_RECORD_FOUND = 1
          OTHERS          = 2.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'CD_READ_LAST'
          EXPORTING
            BEGIN_DATE      = PN-BEGDA
            END_DATE        = PN-ENDDA
          IMPORTING
            OUT_SEQNR       = W_SEQNR
          TABLES
            RGDIR           = IT_RGDIR
          EXCEPTIONS
            NO_RECORD_FOUND = 1
            OTHERS          = 2.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE RELID FROM T500L INTO W_RELID WHERE MOLGA = W_MOLGA
          IF SY-SUBRC EQ 0.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                CLUSTERID                    = w_relid
                EMPLOYEENUMBER               = P0000-PERNR
                SEQUENCENUMBER               = W_SEQNR
                READ_ONLY_INTERNATIONAL      = 'X'
              CHANGING
                PAYROLL_RESULT               = IT_RESULT
              EXCEPTIONS
                ILLEGAL_ISOCODE_OR_CLUSTERID = 1
                ERROR_GENERATING_IMPORT      = 2
                IMPORT_MISMATCH_ERROR        = 3
                SUBPOOL_DIR_FULL             = 4
                NO_READ_AUTHORITY            = 5
                NO_RECORD_FOUND              = 6
                VERSIONS_DO_NOT_MATCH        = 7
                OTHERS                       = 8.
            IF SY-SUBRC EQ 0.
              LOOP AT IT_RESULT-INTER-RT INTO WA_RT.
                IF WA_RT-LGART EQ 'M810'.
                  WA_FINAL-CARAT = WA_RT-BETRG.
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " F_FETCH_PAYROLL_DATA

    Hi all,
    In the program below I am not able to see the car amount incurred by the office in the output, please find the error....
    Regards
    john
    *& Report  ZHR_PY_REPORT1                                              *
    REPORT  ZHR_PY_REPORT1                          .
             TABLES
    TABLES : PERNR.
          INFOTYPES
    INFOTYPES : 0000,
                0001,
                0002,
                0006,
                0105.
         STRUCTURES
    TYPES : BEGIN OF T_FINAL,
            PERNR  TYPE PERNR_D,
            STAT2  TYPE STAT2,
            BUKRS  TYPE BUKRS,
            PLANS  TYPE PLANS,
            ORGEH  TYPE ORGEH,
            ABKRS  TYPE ABKRS,
            VORNA  TYPE VORNA,
            NACHN  TYPE NACHN,
            GBDAT  TYPE GBDAT,
            STRAS  TYPE STRAS,
            ORT01  TYPE ORT01,
            PSTLZ  TYPE PSTLZ,
            MAILID TYPE CHAR255,
            CARAT  TYPE CHAR15,
            END OF T_FINAL.
          INTERNAL TABLES
    DATA : IT_FINAL TYPE STANDARD TABLE OF T_FINAL.
          WORK AREAS
    DATA : WA_FINAL  TYPE T_FINAL.
    PARAMETER : P_DOWN AS CHECKBOX.
    START-OF-SELECTION.
    GET PERNR.
    *SUBROUTINE TO FETCH DATA FROM INFOTYPES
      PERFORM F_FETCH_DATA_FROM_INFTY.
    END-OF-SELECTION.
    *SUBROUTINE TO DISPLAY DATA
      PERFORM F_DISPLAY_DATA.
    *&      Form  F_FETCH_DATA_FROM_INFTY
          text
    FORM F_FETCH_DATA_FROM_INFTY .
      RP_PROVIDE_FROM_LAST P0000 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-PERNR = P0000-PERNR.
        WA_FINAL-STAT2 = P0000-STAT2.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-BUKRS = P0001-BUKRS.
        WA_FINAL-PLANS = P0001-PLANS.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0002 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-VORNA = P0002-VORNA.
        WA_FINAL-NACHN = P0002-NACHN.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0006 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-STRAS = P0006-STRAS.
        WA_FINAL-ORT01 = P0006-ORT01.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0105 '0010' PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-MAILID = P0105-USRID_LONG.
      ENDIF.
    *SUBROUTINE TO FETCH EMPLOYEE PAYROLL RESULTS
      PERFORM F_FETCH_PAYROLL_DATA.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDFORM.                    " F_FETCH_DATA_FROM_INFTY
    *&      Form  F_DISPLAY_DATA
          text
    FORM F_DISPLAY_DATA .
      LOOP AT IT_FINAL INTO WA_FINAL.
       AT FIRST.
         WRITE : / 'EMP.NO',
                 10 'FIRST NAME',
                 20 'COMPANY CODE'.
       ENDAT.
        WRITE : / WA_FINAL-PERNR,
                10 WA_FINAL-VORNA,
                20 WA_FINAL-BUKRS,
                30 WA_FINAL-CARAT.
      ENDLOOP.
    ENDFORM.                    " F_DISPLAY_DATA
    *&      Form  F_FETCH_PAYROLL_DATA
          text
    FORM F_FETCH_PAYROLL_DATA .
      DATA : W_MOLGA TYPE MOLGA,
             W_SEQNR TYPE CDSEQ,
             W_RELID TYPE RELID_PCL2.
      DATA : IT_RGDIR TYPE STANDARD TABLE OF PC261,
             IT_RESULT  TYPE PAY99_RESULT.
      DATA : WA_RT TYPE PC207.
      CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          PERSNR          = P0000-PERNR
        IMPORTING
          MOLGA           = W_MOLGA
        TABLES
          IN_RGDIR        = IT_RGDIR
        EXCEPTIONS
          NO_RECORD_FOUND = 1
          OTHERS          = 2.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'CD_READ_LAST'
          EXPORTING
            BEGIN_DATE      = PN-BEGDA
            END_DATE        = PN-ENDDA
          IMPORTING
            OUT_SEQNR       = W_SEQNR
          TABLES
            RGDIR           = IT_RGDIR
          EXCEPTIONS
            NO_RECORD_FOUND = 1
            OTHERS          = 2.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE RELID FROM T500L INTO W_RELID WHERE MOLGA = W_MOLGA
          IF SY-SUBRC EQ 0.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                CLUSTERID                    = w_relid
                EMPLOYEENUMBER               = P0000-PERNR
                SEQUENCENUMBER               = W_SEQNR
                READ_ONLY_INTERNATIONAL      = 'X'
              CHANGING
                PAYROLL_RESULT               = IT_RESULT
              EXCEPTIONS
                ILLEGAL_ISOCODE_OR_CLUSTERID = 1
                ERROR_GENERATING_IMPORT      = 2
                IMPORT_MISMATCH_ERROR        = 3
                SUBPOOL_DIR_FULL             = 4
                NO_READ_AUTHORITY            = 5
                NO_RECORD_FOUND              = 6
                VERSIONS_DO_NOT_MATCH        = 7
                OTHERS                       = 8.
            IF SY-SUBRC EQ 0.
              LOOP AT IT_RESULT-INTER-RT INTO WA_RT.
                IF WA_RT-LGART EQ 'M810'.
                  WA_FINAL-CARAT = WA_RT-BETRG.
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " F_FETCH_PAYROLL_DATA

  • Control G/L account and Cost Center for movement type 251

    Dear Friends,
    I would like to use mov. type 251 for GI for sale and like to control over G/L account and Cost center.
    The G/L account is by default from the valuation class of the the material and if the user will enter wrong G/L
    we had done the customising in OMJJ movement type 251 - Account grouping - Unchecked the check box of column
    "Check account assignment" - Impact is " the system always uses the G/L accounts or account assignments determined automatically"
    I also made default cost center for G/L account and plant wise through OKB9.
    Now I would like to suppress/dispaly the G/L account and cost center - for same I had done Setting in Entry control menu of OMJJ for 251 of field Account control - Value  - "-" field is suppressed. But it is not working.
    Please advise to solve this situation.
    Thanks & Regards
    Rajan

    Dear Rajan
    Yes, I have checked in MB1A earlier. We have separate node for Field seletion layout for Enjoy transaction MIGO for mvt type in which the G/L account (KONTO) an Cost center (KOSTL) have only optional or required entry selection.
    warm regards
    Ramakrishna.

  • Not to show the wage type when amount is zero in payslip

    Hi Gurus,
    I am not sure what's wrong with the rule below, my intention is to display the text and the wage type amount when the wage type amount is not Zero, and not to display the text and the amount when wage type amount is zero.
    Below is the rule i apply to the wage type text, but it only works when the wage type amount is not EQ 0. When the WT amount is zero, the WT text text still appear
    rule   no. Table    field  Typ CO   Value1   table     new value
    1      1 RT BETRG N      NE            ' 0       TEXT      10 (TEXT 10 is the WT text)
    1      2 RT BETRG N      EQ            ' 0       TEXT      34 (text 34 is blank line)
    I apply the below rule for the amount and this is working fine
    rule   no.  Table  field    Typ   CO     Value 1    table new value
    2        1       RT   BETRG  N    NE         ' 0           RT      BETRG
    2        2       RT   BETRG  N      EQ       ' 0                      SUPPRESS PRINTING
    I need some pionters to the rules to make it work. Thanks a lot.
    Rgds,
    C
    Edited by: Team HR on Sep 13, 2010 9:29 AM

    if the amount is 0 than there is no wage type in RT right than wht is the need of going through the rule

  • Infotype 0008 and Wage Type Amount

    Hi ,
    I can see the Wage type in infotype 0008 , but when I input an amount in "Annual salary" , the Wage type Amount is not calulated ( stay blank ) .
    The Wage type Amount should be = Annual salary / PFREQ .
    What did I miss ? Feature PFREQ and LGMST are setup . Can see the Wage Type , but no calculation is done ?
    Help will be rewarded
    Thank you.

    Hello there!
    There are 3 important things to note in ANSAL.
    1. Period Parameters - Table T549R
    2. Annual Salary Wage Type - When you are defining the characteristics you will have to use ANSAL as Indirect evaluation module
    3. Monthly/Period Wage types - the wages which will make the sum for Annual Salary.
    Try to complete all the steps present in PA-> Payroll Data -> Basic Pay -> Define annual salary.
    Thanks
    Yash

  • How to Override Company and Cost Center for FI Posting from HR Payroll

    Current problem:  A company code has been 'merged' into another one and the old company code can no longer be used.  In the last payroll run, there was a rate change that caused a retro back to the time of the old company code and since the old company code and cost center were closed, the FI posting error'ed out.  To correct, we had to delete the offending pernr from the cluster and back out the rate change until we came up with a solution. 
    Investigation has revealed a process called 'Substitute Cost Centers', but we tested it and a 'flusher' cost center is required to be set up in the old company code and FI refuses to open it up. 
    Also, I've located 3 user exits for RPCIPE00, but I do not see where  company and cost center can be changed.  So I've tried to code my own BAdi, but there seems to be a header company code that I'm not getting.  The item company code and cost center seem to be doable, but I don't know how to change the header company code.
    I am new to HR and Payroll having spent the last couple of years in BI and before that I worked with the material master and Purchasing.  It is my humble opinion that the company should not have been 'turned off' until Payroll was finished with it and that means 2 years until we archive.  In reading about symbolic accounts, several times it is written not ever to delete them.  Seems to me company code is the same.  But surely I must be wrong and there is a solution that will make everybody happy. 
    I would appreciate any and all ideas.  Thank you so much.

    Amosha, thank you for your response.  Here is PCP0 that shows what I mean by 'header company code' that I don't see how to change (I re-ran pd 26 2008--bi-weekly payroll, btw):
    06/30/2009 Posting Document
    Run                      0000002791
    Company Code    0057
    Document            0000008174
    PostingCurrency  USD
    Reference           HRPAY00009
    Doc. Type            ZB
    Run Type             PP
    Posting Date        12/01/2008
    Documant Type   G/L Account Document   
    Document Date    06/30/2009
    Bus. Transaction HRP1
        There are error messages for this document
    Account Number with Text
    21301000   Accrued Salaries & Wages   CCTR 14515      ...
    20303998   HR P/R Doc Split                                               ...
    Messages for Document 000008174
    Error in document: HRPAY 0000008174
    The CO account assignment object belongs to company code 0001, not 0057
    Company code 0057 is now closed and has been merged into 0001.  Cost center 14515 in the above doc was populated by my clone of RPCIPE00 and call to my BAdI which retrieved current company and cost center from PA0001.  You can see from above that the 'header' data still shows 0057 and indeed, my version of RPCIPE00 only changes P_ITEM-BUKRS, P_ITEM-KOSTL and P_ITEM-SGTXT.  It looks to me that fm HRPP_TRANSLATE_FICO gets the 'header' company code afresh.  I was planning to leave WPBP-BUKRS (and all other Payroll data) alone (ie, not override company code).
    As for your other question, we post retros to /551 and /552. 
    Thanks again.

  • Wage type amounts in cluster PCL4

    Hi all,
    I am trying to capture the wage type amount changes in infotype logging. enables infotype logging. Used function module 'HR_INFOTYPE_LOG_GET_LIST' and HR_INFOTYPE_LOG_GET_DETAIL to retrieve the change data.
    So far so fine. But the structuer returned by these function module contains the amount in some non readable format(this is the value for 4500 --  #E倀ఀ#ఠ ) . Can any one guide me as to how toretrieve the wage amount changes from cluster PCL4
    regards
    sam

    Ahmed,
    thanks for ur reply. I a passing the correct structure. Infact i have retrieved about 20 other fields. I am having problem only with the amount field. As u said my lasyt option woululd be to write maacros as done by the standard program. but was checking whether i can do away without writing a different peice of code altogether.
    I any one has retrieved amount fields from cluster using this FMs, please let me know how.
    Appreictae any suggestions.
    sam

  • Sourcing: Shows wrong company code and cost center

    Hello
    We have implemented SRM4.0 SP8. When we display shopping carts in sourcing cockpit before aggregate to create a PO, we check that SC from different companies doesn’t show the correct company code and cost center. We have a central purchase group that aggregates SC from different enterprises. For two SC, the second displays a wrong company code and cost center.
    Example:
    First SC:
    SC -> A123
    Company -> SNLL
    Cost center –> AAA
    Second SC:
    SC -> A124
    Company -> SNPP
    Const center -> BBB
    When displaying the second SC it shows company code SNLL and Cost center AAA each is incorrect. In DB data is correct for each SC, company code (table BBP_PDBEI) and cost center per item (BBP_PDACC). Even if we aggregate both SC to create one PO, this document has correct data per item (different company code, requester, cost center) the only issue is related with the information showed in ITS/HTML in sourcing cockpit before aggregation.
    Do you have any idea how can we resolve this?
    Thanks in advance

    Hi
    Seems like a SRM bug.. with the Support pack 8... Try upgrade to latest support pack in SRM system, if possible...
    Also Please create a customer OSS message with SAP !!
    Do let me know.
    Regards
    - Atul

  • How to get the split period wage type amount in payslip?

    How to get the split period wage type amount in payslip?
    Payroll period for 01.01.09 to 31.01.09.
    1.     Employee is active from 1.1.09 to 10.01.09
    2.     Employee is inactive from 11.01.09 to 20.01.09
    3.     Employee is again active from 21.01.09 to 31.01.09
    In Result Table three split periods are created.
    From 01.01.09 to 10.01.09 u2018Basic Salaryu2019 Wtype  1101 amt is 20.00
    From 11.01.09 to 20.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 00.00
    From 21.01.09 to 31.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 10.00
    My requirement is to print only the last split period in payslip from 21.01.09 to 31.01.09. May you please help me in this regard.
    Thanks in advance
    Regards,
    Rajesh.

    Hi
    Try to read the below:
    WPBPC : Distribute Lump Sum Wage Elements to WPBP Periods
      Object
        Operation
      Use
        Operation WPBPC distributes the amount of the current wage type to the
        active WPBP periods in the payroll period.
      Input
        The current wage type in the header entry of table OT is used as input
        for this operation.
      Procedure
        Within payroll, wage types are assigned to a fixed WPBP period by
        infotype 0014 Recurring Payments/Deductions, for example. However, you
        may want to distribute this payment to all active WPBP periods, which is
        what would happen if the wage type were entered in basic pay. Therefore,
        various specifications exist for parameter S:
        o   If the specification is 'A', and if several active WPBP periods
            exist, the amount is simultaneously reduced on a calendar-day basis.
        o   If the specification is 'D', the wage type is distributed to all
            existing WPBP periods without the amount being reduced.
        o   If the specification is 'S', and if the validity period starts or
            ends during the period, the entry in table WPBP is split using this
            date. The wage type is stored in table OT for the corresponding WPBP
            period.
            This parameter is only allowed if processing was accessed using
           function P0014.
           In this case, infotype 0014 must be processed before absence
           valuation and function PARTT. Otherwise, rejections occur during
           payroll processing.
       o   Specification 'X' is the combination of 'A' and 'S'.
           This parameter is only allowed if processing was accessed using
           function P0014.
       o   If the specification is 'W', and if the validity period starts or
           ends during the period, the entry in table WPBP is split using this
           date (as with option 'S'). Unlike 'S', the wage type is not stored
           in table OT.
           This parameter is only allowed if processing was accessed using
           function P0014.
       o   If the specification is ' ', the wage type is stored in table OT for
           each WPBP period in which the validity interval fits.
           This parameter is only allowed if processing was accessed using
           functions P0014 or P0015.
       If the WPBP split is set for a wage type, the wage type is stored
       without changes in table OT. If you specify a different wage type name
       in the second parameter, the wage type is stored with this name in table
       OT. Before you execute operation WPBPC, you may therefore need to delete
       the split using operation ELIMI.
       If a country-specific split (C1, C2, or C3 split) is set, the operation
       interprets it as an error. The employee in question is rejected by
       payroll. All other splits are transferred as they are.
      Output
        The processed wage type, or the wage type specified in the operation
        call, is written to table OT (output table) with the appropriate split
        indicator and reduced amount as operation output for each WPBP period.
        Parameter specification 'W' is the only exception.
      Syntax
        OOOOOSVVVV
        OOOOO       WPBPC       Operation name
        S
                    blank       distribute to all WPBP periods
                    S           split and distribute WPBP
                    W           split but do not distribute WPBP
                    A           distribute to active WPBP periods
                                with calendar-day reductions
                    D           distribute to all existing
                                WPBP periods
                    X           combination of 'S' and 'A'
        VVVV                    Results wage type
                    blank       input wage type = results wage type
                    wage        wage type name of input wage type is replaced
                     type       by wage type name of results wage
                     name       type
        Wage type before operation:
      Example
        M100        02          3000
        WPBP split
        01  June 01 - June 20 active
        02  June 21 - June 30 active
        VVVV                    Results wage type
                    blank       input wage type = results wage type
                    wage        wage type name of input wage type is replaced
                     type       by wage type name of results wage
                     name       type
        Wage type before operation:
      Example
        M100        02          3000
        WPBP split
        01  June 01 - June 20 active
        02  June 21 - June 30 active
        Wage type before operation:
        WType       WPBP        Amount
        M100        00          3000.-
        M200        02          2000.-
        Operation:   WPBPCA
        Wage type after operation:
        WType       WPBP        Amount
        M100        01          2000.-
        M100        02          1000.-
        M200        02          2000.-
        Operation:   WPBPC
        Wage type after operation:
        WType       WPBP        Amount
        M100        01          3000.-
        M100        02          3000.-
        M200        02          2000.-
    Regards
    Team Member.

  • Post proft segment and cost center in a sales order with value type 4 in CC

    Hello,
    We have CO-PA activated in SD. When we create the Sales order the field "Profit Segment" is automatically filled (with the characteristics values) and additionally we field manually the cost center.
    The main problem is that when we post in the two CO objects the cost center becomes automatically with value type 11 "Statistical Actual".
    In the end of the month we need to do the Assessments (KSU5) from the invoices created from one cost center to various cost centers but since the cost center in the invoice has "statistical  actual" value type we can't do the assessments.
    Is there any way to post in profit segment and in cost center and the cost center becomes with value type 4 "Actual"?
    Thank You

    Hello,
    Thank You for you answer. I have one more question.
    Is there any way to desactivate the field "Proft Segment" only for a specific document type?
    I've already tried in transaction KE4W and system is not creating now the Profitability Analysis document but this field "Profit Segment" is still  with values so the cost center is still with value type 11.
    I've tried to delete manualy the values in the field Profitability Analysis but system gives me an error related with incomplete data in sales order. I've look in SD customizing and this field is not configured in the incomplete data messages
    Best Regards

  • Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.

    Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.
    The above is what the bar says. It's been a while and wondered, maybe Apple changed the format for forums. Then got this nice big blank canvas to air my concerns. Went to school for Computer Science, BSEE, even worked at Analog Devices in Newton Massachusetts, where they make something for apple. 
    The bottom line is fast CPU = more FPU = more headroom and still can't figure out why the more cores= the slower it gets unless it's to get us in to a 6 core then come out with faster cores down the road or a newer Mac that uses the GPU. Also. Few. I'm the guy who said a few years ago Mac has an FCP that looks like iMovie on Steroids. Having said that I called the campus one day to ask them something and while I used to work for Apple, I think she thought I still did as she asked me, "HOW ARE THE 32 CORES/1DYE COMING ALONG? Not wanting to embarrass her I said fine, fine and then hung up.  Makes the most sense as I never quite got the 2,6,12 cores when for years everything from memory to CPU's have been, in sets of 2 to the 2nd power.  2,4,8,16,32,64,120,256,512, 1024, 2048,4196,8192, 72,768.  Wow. W-O-W and will be using whatever I get with Apollo Quad. 
    Peace to all and hope someone can point us in THE RIGHT DIRECTION.  THANK YOU

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

Maybe you are looking for

  • Compare two similar objects

    Do you know about any possible Java bugs with JDK update? In my case, my code stopped working. Here is what I have. There are two similar objects, but Object 1 has key, and Object 2 (same as Object 1) has no key. I need to compare both, and if they a

  • Using ip-helper without using DHCP functionality

    Hello, I am fairly new to Cisco, and am after a bit of help. My scenario: We have a new domain setup on a new VLAN (3), seperate from our current infrastructure VLAN (2). The new domain controllers provide DHCP for our new servers, and I would also l

  • Transferring DVD files

    Can I get a DVD disc for example the dark knight rises and get the file from the disc and transferred it to the iPad or iPhone. if can, can u interact with the main menu in the iPad

  • Medruck script Item line changes

    Hi how to track changes in item line when ever changes are made in item level in which strucutre or special fields it stores tht value.

  • How to Make SC Header view visible

    Hi Experts, I'd like to know how I can get the SC header view visible when the SC is created through the SC Wizard (Employee Role). We need to add some Z-Fields at header level but the problem is that we cannot display the header information when the