Abap hr (urgent)

could any body explain detail(use) about these fn modules please
DATE_TO_PERIOD_CONVERT
RH_OBJID_REQUEST
HRCM_ORGSTRC_EMPLOYEE_LIST_GET
FIRST_DAY_IN_PERIOD_GET
HR_INFOTYPE_OPERATION

FIRST_DAY_IN_PERIOD_GET
Description: This function module is used to get the first day of the period.
data: wfirstday like sy-datum.
data: wbuper like t009b-poper.
data: wgjahr like t009b-bdatj.
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
  EXPORTING
    I_GJAHR              =  "This is the Posting date in YYYY format
    I_PERIV              = 'V9'
    I_POPER              = "This the Posting period
  IMPORTING
    E_DATE               = " Pass the date here
  EXCEPTIONS
    INPUT_FALSE          = 1
    T009_NOTFOUND        = 2
    T009B_NOTFOUND       = 3
    OTHERS               = 4.
Please refer to :
how to use this function modules
HRCM_ORGSTRC_EMPLOYEE_LIST_GET
Description: Returns the list of employees for an org unit.
RH_OBJID_REQUEST
Description: This Function Module is used for F4 help for fields and specify our own return values.
Please Reward if useful.
Regards,
Kalyan
Edited by: Kalyan Chakravarthy Misra on May 26, 2008 10:53 AM
Edited by: Kalyan Chakravarthy Misra on May 26, 2008 11:00 AM

Similar Messages

  • Hi All how to add new payscale  for an employee in sap hr-abap,its urgent

    Hi All ,
    how to add new payscale for an employee  in sap hr-abap,its urgent.
    Message was edited by:
            bharat kumar
    Message was edited by:
            bharat kumar

    Hi
    If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
    If that field is not there in the any of the structures then you can define a variable using define command
    /: DEFINE  &VAR&
    / &VAR&  = <some value>
    or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Hi All,Where can any send me material on ABAP-HR urgent please

    Hi All,Where can any send me material on ABAP-HR urgent please .
    Thanks&regards.
    Bharat Kumar.

    Hi,
       Here is a good start......
    http://www.planetsap.com/hr_abap_main_page.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.
    Regards

  • Code or Basis FM to find the attribute list in an ABAP class -- URGENT!!

    Dear All,
    Can you please let me know the piece of code or a basis Function Module to list all the attributes of an ABAP class? It's real urgent..
    Thanks in advance for all your help.
    Regards,
    Harish

    Hello Harish
    Call the static method <b>CL_ABAP_CLASSDESCR=>DESCRIBE_BY_NAME</b>(  '<name of your class>' ).
    The method returns an instance of CL_ABAP_CLASSDESCR. The attributes METHODS, ATTRIBUTES and EVENTS (and others) are <b>public </b>and, therefore, can be accessed directly.
    Another fancy class is <b>CL_OO_CLASS</b>. It has an instance method GET_ATTRIBUTES where you can specifiy the attribute type (public, private, protected).
    Regards 
      Uwe

  • HR ABAP documentation - Urgent

    Hi Friends,
    Could any one send me the documentation or link on ABAP HR.Useful
    docs will be rewarded.
    Vishnu.

    Hi,
    Check this post
    HR ABAP
    Regards,
    Satish

  • Hr abap, very urgent

    hi all,
                       i am new to hr abap . can u plese tell me the solution for this scenario .
                   when i am running transaction pc_m40_calc , and making my entries for payroll . when we execute, it will give u the layout . how to find the form name of that layout , how can edit that .
                   points will be rewarded .
    thanks&regards,
      magesh.

    hi,
               i am not getting the solution . i will explain step by step .
              1. starting transaction pc_m40_calc .
              2. entering the payroll values in that .
              3. uncheck display log .
              4. execute it.
       u will be getting a layout output . i need to format that. i.e i need to change that since some details , i am not getting in that . how to do that .  hope now its clear  .
           regards,
             magesh .

  • Pulling the condition records - help in the ABAP code -urgent!!!!!

    hi folks,
    I need some urgent help here..
    I have discussed this portion before in the forum  but there are some changes and I need some help here.
    The code goes like this....
    select knumv kschl kbetr kwert
      from konv into table cdata
         for all entries in bodyitab21
        where konv~knumv = bodyitab21-knumv
                     and konv~kwert > 0.
    I am successfully pulling the data into cdata here..
    I need to check for various condition types that are around 100. I need to split them into two types because some condition types containe just pricing values while some others have values in % (but the value not stored in that format) To do the extra coding I have use two differetn case statements and that's what i have done here.
    <b>My probelm is I will have to check for each condition type, if the 'kwert' field has some value in it pull the data  and there is a condition text associcated to it in the table 'T685T' that needs to be pulled into the itab.
    This process has to be done for every condition type.</b>Given this scenario how can i do it?
        loop at cdata  into wac.
        case wac-kschl.
             when 'ZRAT' OR 'ZAGR'  OR 'ZRCR' OR 'Y098' OR 'Y007' OR 'ZREW' OR 'Y106' OR 'ZTSR' OR 'Y127' OR 'Y125' OR 'Y126' OR 'Y124' OR 'Y157' OR 'Y092' OR 'Y085' OR 'Y090' OR 'ZMZD' OR 'Y215' OR 'Y214' OR 'Y111' OR 'ZC$D' OR 'ZAUD' OR 'ZTHX' OR 'ZCOL'
    OR 'ZCFE' OR ZSPA' OR 'ZBOX' OR 'ZCOR' OR 'Y130' OR 'ZBOR'
    OR 'Y108' OR 'ZFPP' OR 'Y204' OR 'Y200' OR 'Y202' OR 'Y201' OR 'Y203' OR 'Y002' OR 'ZSCR' OR 'Y128' OR 'Y100' OR 'ZABS' OR 'ZSMG' OR 'ZFRE' OR 'ZREC' OR 'ZCOM' OR 'ZPMG' OR 'BEMG' OR 'ZDTI' OR'ZBET'.
    <b>***** the first set of these condition types have just values</b>     if wac-kbetr = ' ' AND wac-kwert = ' '.
                   continue.
                 else.
                  p = wac-kbetr.
                  i = p.
                  c = i.
                  MOVE c to w_accitab-zrate.
                     MOVE wac-kbetr to w_accitab-zrate.
                  MOVE wac-kwert to w_accitab-zsubtotal.
                endif.
        when 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR'
         OR 'ZECD' 'ZAC1' OR 'ZAC%' OR 'ZAC2' OR 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR' OR 'ZECD' 'ZQUD' OR 'ZEMP' OR 'Y101' OR 'Y012' OR 'ZCHU' OR 'Y054' OR 'Y065' OR 'Y066' OR 'Y067' OR 'Y068' OR 'Y069' OR 'Y096'
    OR 'Y103' OR 'Y010' OR 'Y070' OR 'Y071' OR
    'Y072' OR 'Y073' OR 'Y074' OR 'Y075' OR 'Y076'
    OR 'Y077' OR 'Y078' OR 'Y079' OR 'Y156' OR OR 'Y148'
    OR 'Y102' OR 'Y205' OR 'Y206' OR 'Y207' OR 'Y208' OR
    'Y209' OR 'Y213' OR 'Y210' OR 'Y211' OR 'Y212' OR 'Z%DS'
    OR 'Z%DO' OR 'Y113' OR 'Y151' OR 'Y152' OR 'Y153' OR
    'Y154' OR 'Y155' OR 'Y147' OR'Z%PB' OR 'Y142' OR 'Y131'
    OR 'Y141' OR 'Y149' OR 'ZDEO' OR 'Z%DR' OR 'Y115' OR
    'Y116' OR 'Y095' OR 'Y084' OR 'ZSA$' OR 'ZSA%' OR
    'ZPA$' OR 'ZPA%'.
    the second set of these condition types have just values that has to be converted into %.
               if wac-kbetr = ' ' AND wac-kwert = ' '.
                clear w_accitab-zrate.
                continue.
              else.
                p = wac-kbetr.
                p = p / 10.
                if p < 1.
                  rate+0(1) = '-'.
                endif.
                if i = 0.
                  clear w_accitab-zrate.
                 else.
                i = p.
                c = i.
                shift c right deleting trailing '-'.
                concatenate rate c '%' into rate.
                condense rate no-gaps.
                     MOVE wac-kbetr to w_accitab-zrate.
                MOVE rate to w_accitab-zrate.
                clear rate.
                MOVE wac-kwert to w_accitab-zsubtotal.
              endif.
            endif.
    Thanks alot in advance.
    Santhosh

    Maybe this will help you,  otherwise I'm missing something.
    [code]
    data: begin of wac,
          kschl type t685t-kschl,
          vtext type t685t-vtext,
          end of wac.
    case wac-kschl.
    when 'ZRAT' or 'ZAGR' or 'ZRCR' or 'Y098' or 'Y007' or 'ZREW' or 'Y106'
    or 'ZTSR' or 'Y127' or 'Y125' or 'Y126' or 'Y124' or 'Y157' or 'Y092' or
      'Y085' or 'Y090' or 'ZMZD' or 'Y215' or 'Y214' or 'Y111' or 'ZC$D' or
         'ZAUD' or 'ZTHX' or 'ZCOL' or 'ZCFE' or 'ZSPA' or 'ZBOX' or 'ZCOR'
    or 'Y130' or 'ZBOR' or 'Y108' or 'ZFPP' or 'Y204' or 'Y200' or 'Y202' or
      'Y201' or 'Y203' or 'Y002' or 'ZSCR' or 'Y128' or 'Y100' or 'ZABS' or
         'ZSMG' or 'ZFRE' or 'ZREC' or 'ZCOM' or 'ZPMG' or 'BEMG' or 'ZDTI'
            or'ZBET'.
    Some code
      when 'ZSED' or 'ZRFQ' or 'ZIMP' or 'ZERR'
    or 'ZECD' or 'ZAC1' or 'ZAC%' or 'ZAC2' or 'ZSED' or 'ZRFQ' or 'ZIMP' or
      'ZERR' or 'ZECD' or 'ZQUD' or 'ZEMP' or 'Y101' or 'Y012' or 'ZCHU' or
      'Y054' or 'Y065' or 'Y066' or 'Y067' or 'Y068' or 'Y069' or 'Y096'
      or 'Y103' or 'Y010' or 'Y070' or 'Y071' or
      'Y072' or 'Y073' or 'Y074' or 'Y075' or 'Y076'
      or 'Y077' or 'Y078' or 'Y079' or 'Y156' or 'Y148'
      or 'Y102' or 'Y205' or 'Y206' or 'Y207' or 'Y208' or
      'Y209' or 'Y213' or 'Y210' or 'Y211' or 'Y212' or 'Z%DS'
      or 'Z%DO' or 'Y113' or 'Y151' or 'Y152' or 'Y153' or
      'Y154' or 'Y155' or 'Y147' or'Z%PB' or 'Y142' or 'Y131'
      or 'Y141' or 'Y149' or 'ZDEO' or 'Z%DR' or 'Y115' or
      'Y116' or 'Y095' or 'Y084' or 'ZSA$' or 'ZSA%' or
      'ZPA$' or 'ZPA%'.
    Some code
    endcase.
    select single vtext into wac-vtext from t685t
                  where spras = sy-langu
                    and kschl = wac-kschl.
    write:/ wac-kschl, wac-vtext.
    [/code]
    Regards,
    Rich Heilman

  • ABAP QUERY - Urgent

    Hello Friends,
    I have used SQVI for ABAP query but look slike it is only for inner join.
    Is there a way that I could do left outer join, or any other way.
    Please suggest.
    Ster

    hi Ster,
    in SQVI there is this graphical tool to link the tables. Just right click the thin line between the two fileds and choose 'left outer join'
    hope this helps
    ec

  • How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

    Hello
    We use SRM Server 5.5 with classic scenario.
    We want to call RFC in R/3 from webdynpro ABAP.
    How can we do that?
    We are developing the web report using webdynpro abap.
    So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
    When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro.  So we call the R/3 RFC to display the PR, PO data.
    But I tired to call the RFC in R/3, We could not call it.
    How to call the RFC from R/3 to SRM, when we use webdynpro abap?
    Thank you,
    Best Regards,
    SH.

    Hi
    <b>Please look at the following threads as well -></b>
    WebDynpro in SRM
    BAPI's /RFC's in SRM
    BAPI to Change Shopping Cart by RFC
    SRM60 and webdynpro
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    SRM60 and webdynpro...
    <b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
    <u>For getting Purchase requistion data, use the function modules -></u>
    META_REQUISITION_CHANGE        Change purchase requisition              
    META_REQUISITION_CREATE        Create Requisition                       
    META_REQUISITION_DELETE        Delete/close purchase requisition        
    META_REQUISITION_GETDETAIL     Display requisition details              
    META_REQUISITION_GETITEMS      Display requisition items                
    META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions
    <u>For getting Purchase order data, use the function modules -></u>
    META_PO_CREATE                 Create purchase order                    
    META_PO_DELETE                 Delete reservation                       
    META_PO_GETDETAIL              Display purchase order details           
    META_PO_GETITEMS               Display purchase order items             
    META_PO_GETRELINFO             Display purchase order release information
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

  • Basic ABAP information  urgent

    hi gurus
    i need some information about basic abap programming like archieving,periodical job,batch job , user exist,varients
    any info about batch job management?? (abap)
    help ful answers reward points
    [email protected]
    kishore

    Hi
    Follow this detail PDF File
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Regards
    Rehman
    Reward Points If Useful

  • ALV tree without using abap objects---------urgent

    hi
    can anybody send  me code for making alv tree without using ABAP objects.
    thanks in advance
    Aditya

    HI
    goto this link
    you will get all ALV TREE programs
    follow that code you can understand very easily
    http://www.sapdev.co.uk/reporting/alv/alvtree.htm
    <b>Reward if usefull</b>

  • Web dynpro Abap Iview Urgent ****

    Hi,
    I am having a web dynpro abap application with some two application parameters passed to it. By default end user  will be calling the application using url and pass the application parameter
    http://XXX/XXX/XX/Application?parmeter1=value1&parmeter1=value1sap-system-login-basic_auth=X&sap-client=000&sap-language=EN
    It works correctly. Now we want to create an iview in portal for this application and my need is to
    get the url of the ivew so that the end user can call the url of the iview and pass application parameter to the url directly as of a web dynpro application.
    How to get the url for the iview developed and pass application parameter to Web dynpro
    RK

    Hi Ameya,
    I think you have misunderstood my issue. Let me explain the issue from first. I have a Web dynpro abap application with 2 application parameter.I used to pass value to this application parameter throgh the url of web dynpro abap. Its going to be a dynamic value not a static value passed to application parameter.
    Now we are creating a Portal Webdynpro Iview. here i can specify a static one time value to application parameter of my web dynpro abap application. But my need is the application parameter should have a different values. So what i am asking "Is it possible to call the Portal iview directly and pass parameter to the application parameter of web dynpro abap".
    With regards,
    Arjun Sekar

  • How to integrate Adobe Live cycle designer to ABAP workbench --urgent

    Hi All ,
    I am using SFP transaction to creation of Adobe forms .I am doing it for the first time . I just got front end installed with adobe livecycle . should i do anything more to get the designer in the layout tab of SFP transaction .
    I am currently getting a error sapofficeintegration trace 141 .. I have not configured ADS is this because of this .
    Regards
    Abhi

    Hi Abhilash,
    "Server: SAP Web AS 6.40 Java (for all scenarios), SAP Web AS 6.40 ABAP (if you are looking at high-volume print scenarios), Adobe document services (run-time component), Adobe Credential (for creating interactive PDF forms)
    Frontend: SAP NetWeaver Developer Studio with Adobe LiveCycle Designer (for Web Dynpro for Java development) and/or SAP GUI 6.40 with Adobe LiveCycle Designer (or 6.20 - for developing in SAP Web AS 6.40 ABAP), Active Component Framework (for filling interactive forms in a Web Dynpro application), Adobe Reader 6.0.2 or higher (on the frontend PC)" - from <b><a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0#q-4">INteractive Forms FAQ</a></b>
    I will suggest you to have Adobe Reader >7
    SAP GUI with patchlevel >18.
    ADLCD >= 7.
    Even you dont have ADS you must be able to see ADLCD in SFP. but you wont be able to activate ya get the output.
    if you have properly copied the ADLCD seperatley into the Adobe Folder. while clicking the layout tab. open the ADLCD  seperately. see if it gets opened.
    or design it in ADLCD and import and export the xdp through fb_xdp_down and fb_xdp_up transactions.
    Hope these helps. do update and alos search in the Interactive Forms home page as well as the Forum to get the details. there are already many posts related to it.
    Thanks and Regards,
    Anto.

  • BW Consultant need ABAP knowledge (urgent)

    hi Experts,
    This is rakesh m a biw consultnat wokring since 1yr , now time hae come to learn abap within short period of time so i neeed ur help and guidance.
    What i want to learn is How to write routines n all for this waht are the  basic funda's i should know in abap, <b>so help me experts those who r woking on bw n abap side.</b>
    In my projec there are lot enhancements(adding of fields) are going on and i should i write a code in se38 so help me out .
    Awaiting for ur earliest response.
    Urs,
    Raki.

    hi Raki,
    THere is lot of online help where you can learn ABAP..
    Check out these threads for that..
    ABAP
    Where do i download SAP to learn ABAP
    REgards,
    Santosh
    Message was edited by: Santosh Kumar P

  • PDF on ABAP Proxies(urgent)

    ABAP Proxies:
    1)Created the Data type,Message Type and Message Interface for proxies in Integration Repository.
    When using the transaction SPROXY I am not getting the namespace that I have craeted for the proxy in IR.
    2)Can any one provide some good PDF document on some simple proxy creation.
    3)Want more information from the ABAP side on proxy creation.
    Please help me in this issue.
    Good PDF on thABAP proxy is required.
    Points will be rewarded.

    Hi arjya,
    <b>1)Created the Data type,Message Type and Message Interface for proxies in Integration Repository.
    When using the transaction SPROXY I am not getting the namespace that I have craeted for the proxy in IR.>>></b>
    In R/3 when u use transaction Sproxy u should get a replica of IR i.e.. u can see the SWCv...namespace...every objects of IR.....but only if.....there exists a proper connection between XI and R/3.
    for that check here...
    Connection between XI and R/3
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    <b>2)Can any one provide some good PDF document on some simple proxy creation</b>.
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    <b>3)Want more information from the ABAP side on proxy creation>></b>
    ABAP Proxy to file
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    Regards
    Biplab

  • Displaying image in ABAP report "Urgent"

    Hi Everyone
    My requirement is as follows...
    On Material Master there is an image stored in document management system.
    In a report we need to display the material details plus the image from DMS system.
    I heard that there is some function module in this area.
    Can anyone pls help how can i achieve this....
    Kindly help as soon as possible.
    Thanks
    Regards
    Naveen

    Hi Naveen,
    Hope the report is ALV..
    Re: How do I insert a logo in ALV using Function Modules?
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm
    Steps for uploading Logo :-:
    1. Goto the transaction OAER
    2. Enter the class name as 'PICTURES'
    3. Enter the class type as 'OT'
    4. Enter the object key as the name of the logo you wish to give
    5. Execute
    6. Then in the new screen select Standard doc. types in bottom window
    Click on the Screen icon
    Now, it will ask for the file path where you have to upload the logo
    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    Here you go !!
    *& Form TOP_OF_PAGE
    text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    I_END_OF_LIST_GRID =.
    ENDFORM. "TOP_OF_PAGE
    <b>Reward points if this helps.
    Manish</b>

Maybe you are looking for