Function module for assigned wage types

Hi experts,
We need wage type wise count and sum of the amount for each wage type defined in infotype '0008' for the given from and to dates. Is there any function module available for the same.
Please suggest.
Regards,
Kaustubh Kabre.

Hi,
<li>I do not look for function module for this case as i know that we can or have to read wage types and corresponding amount in the program. LDB PNP should be given in program attributes.
REPORT RPABAP06.
TABLES:PERNR.
INFOTYPES:0008.
DATA: BEGIN OF WAGETYPES,
   LGA LIKE P0008-LGA01,
   BET LIKE P0008-BET01,
   ANZ LIKE P0008-ANZ01,
   EIN LIKE P0008-EIN01,
   OPK LIKE P0008-OPK01,
  END OF WAGETYPES.
DATA:total type P0008-BET01.
GET PERNR.
RP_PROVIDE_FROM_LAST P0008 SPACE PN-BEGDA PN-ENDDA.
DO 20 TIMES VARYING WAGETYPES-LGA FROM P0008-LGA01 NEXT P0008-LGA02
            VARYING WAGETYPES-BET FROM P0008-BET01 NEXT P0008-BET02.
IF WAGETYPES-LGA IS INITIAL.
EXIT.
ELSE.
TOTAL = TOTAL + WAGETYPES-BET.
WRITE: / WAGETYPES-LGA, WAGETYPES-BET.
ENDIF.
ENDDO.
WRITE TOTAL.
Thanks
Venkat.O

Similar Messages

  • Function module for assigning BP Number to the Postion ID in org model

    Hi Experts,
    Is there any function module for assigning BP Number to the Postion ID in organizational model.
    The requirement is:
    1)There are some employees which are reporting to a Manager who has a position ID.
    2) Each of these employees should be assigned to the given position ID.
    This can be done by First Locate the BP Record in SAP via the Vantive Person ID  and retrieve the SAP BP Number.
    <b>Then assign the SAP BP Number found to the Position ID.</b>
    My question is <b>Is there any function module for assigning BP Number to the Postion ID .</b>
    Looking forward for reply.
    Thanks & Regards,
    Renju.

    Hi,
       Org. management uses API classe objects with static methods as APIs. You may be able to achieve this using
    CL_CRM_ORGMAN_SERVICES->MAPPING_ORGUNIT_TO_BP
    Reward if helpful!
    Regards,
    Sudipta.

  • Function module for assigning a HU to delivery

    Function module for assigning a HU in HU managed location to a delivery ??

    Hello,
    In FuGrp HU_BASIC_BAPIS               Basic BAPIs for Hus
    with F’tn BAPI_HU_CREATE  Create handling unit with items
    this creates HU's NOT yet assigned.
    After F'tn BAPI_TRANSACTION_COMMIT
    You can assign the HU via
    F'tn BAPI_HU_CHANGE_HEADER
    using the BAPIHUHEADER fields: PACK_MAT_OBJECT & PACK_MAT_OBJ_KEY.
    Dirk

  • Function Module for RSAP001 requires Type Pool

    Hi
    I am not an ABAP Freak:
    I want to set up a Function Module for RSAP0001.
    Setting Import and / or Tables Parameters give an Activation error:
    Type pool SBIWA has not been declared
    Message no. FL031
    Diagnosis:
    You used a type from type pool & in the interface of a function module.
    Procedure:
    For the program to be syntactically correct, you must
    declare the type pool in the global data declaration of the
    function group using the 'TYPE-POOLS: &.' statement.
    Where do I  find the global data declaration of the
    function group ?
    Thank You
    Best Wishes
    Martin

    Hi Martin,
    When you click on the function group you will find many includes declared in it.
    Some of them will be Include L<fgrp>UXX and there will be one include,
    INCLUDE L<fgrp>TOP, this is the include in which you will have to make declarations, and here you will have to declare type pool.
    Simply goto transaction SE38 and the the program name as L<functionfroupname>TOP and you can directly change this include. 
    Regards,
    Durgesh.

  • How to know the function module for a message type

    hi sd gurus,
    how can i know the function modules used ( based  on message type can i know it?) in inbound idoc processing.
    can anyone  let me know where can i find it out and the related transaction codes
    Thanks&Regards
    Srini

    You can find out the Functionmodule if you know the message type.
    Go to WE20, find the message type for hte relevant partner type by clicking the partner type and then clicking one partner int hat partner type.
    Now on the right hand side, you will get a screen. Based on whether it is your outbound IDOC or ibound, click the relevant parameters, select the message type and double click.
    In the new screen open the Message control tab and fidn out the process code of the IDOC.
    Now go to WE41 if ur IDOC is outbound or WE42 for inbound IDOC.
    Search for the process code which is assigned to the message type in WE20.
    Double click the process code, you will see the relevant function module in the 3rd field.
    Hope thsi helps you
    Pls reward if it helps.

  • Function modules for Goods Movement Types 501 and 502

    Hi,
    Is there any function modules to do Goods issues and Goods receipts without PO (501 & 052).
    Thanks in Advance.
    Eswar

    Hi,
    Check BAPI_GOODSMVT_CREATE
    Thanks & Regards,
    Navneeth K.

  • Function Module To Obtain Wage Type Characteristics

    Hi Gurus,
    Is there a FM to obtain the characteristics of a wage type.
    What I am after is whether a particular wage type is an amount wage type or a number/unit wage type.
    Many thanks in advance.
    Raj

    HI,
    Try using this
    BAPI_WAGETYPE_GETLIST      
    BAPI_WAGEcompext_GETLIST
    bapi_WAGEcompext_getdetail
    Regards
    Hiren K.Chitalia

  • How to use BAPI function module for maintaing product type to material

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

  • Outbound function module for IDOC WMMBID02

    Hi,
    Do we have any outbound function module for basic IDOC type WMMBID02 (Stock movements from ext. systems) which has message type WMMBXY.
    I searched with hot keys OUTBOUND_WMMBXY in SE37 but unable to find a standard FM. My task is to extend that FM by a user-exit so as to populate my extended IDOC which is of basic type WMMBID02.
    Any help would be greatly appreciated.
    Regards,
    Harsh

    Hi Kamal,
    Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
    This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Function module for wage type permissibility

    There are is a function module for get the wage type permissibility in the module of HR?
    Kind Regards

    Hi,
    Try with HRGPBS_MSA_GET_WAGE_TYPES.
    Regards
    Abhii..

  • Inbound function module for IDoc type INFRECMASS01

    Hello everybody,
    What is the inbound function module for IDoc type INFRECMASS01?
    I tried IDOC_INPUT_INFREC (as for IDoc INFREC01), but I got the following message (B1 044): Incorrect function module IDOC_INPUT_INFREC called up
    Thanks in advance
    Roland

    The only difference between INFRECMASS01 and INFREC01 is that repitition of the same segments. However, the standard function module is hardcoded with IDOC type INFREC01, so if you want to use the MASS IDOC copy the standard one and put in the logic to loop around and process the info records one by one.
    There is no standard funtion that can process mass idoc of the info record.
    Regards,
    Ravi
    Note:  Please mark the helpful answers

  • Out Bound Function Module For IDoc Types CODCMT01

    Hi Experts,
        Can you please tell me the Out Bound Function Module For IDoc Types CODCMT01,CODCAGN01,PRCDOC01.
    Thanks..
    Debi.

    Hi Debi,
    You can use FM MASTER_IDOC_DISTRIBUTE to distribute outbound IDoc CODCMT01, CODCAGN01 and PRCDOC01.
    Regards,
    Ferry Lianto

  • What is outbound function module for IDoc type INFRECMASS01

    Hi,
    What is outbound function module for IDoc type INFRECMASS01? This is for purchasing info record.
    Thanks
    Kamal

    Hi Kamal,
    Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
    This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Function module for Indirect valuation

    Dear Experts,
    I need to calculate the 5 percent of 1st month basic salary in order for deduction.
    I am not able to get the basic pay details for indirect valuation wage types.
    Is there any function module to get it ?
    Please help
    Regards
    Bala

    Hi Bala,
    You should consider using Module TARIF - indirect valuation of base wage types.  Here you assign the wage types and the fixed percentage for your deduction.  This is done in table T539J. Assign the Module to your wage type in T511.   Assign all to IT0008 in T539A with Feature LGMST.
    Paul

  • How to connect our outbound function module to the message type

    how to connect our outbound function module to the message type any transcation code exits to assign the message type with the function module .
    Thank in advance .
    A. Thiru

    Hi Thiru,
    Standard Transaction Codes, have their own Function Modules for generating Outbound/Indbound Idocs. Where these Function Modules will be configured to a particular Process Codes.
    For E.g for PO's
    Process code : ME10 - IDOC_OUTPUT_ORDERS - for creation
    In case if its a Z Function Module, It depends on the case how you use IDOC types. either directly through Z Program or through Inbound/Outbound Process  codes with respective Function modules.
    Regards,
    Anbalagan

Maybe you are looking for