Skip to Content
avatar image
Former Member

hi experts i need realtime scenario for declaration of infotype with MODE N at TM in ABAP HR

hi  experts  i need realtime scenario for declaration of infotype with MODE N at TM in ABAP HR?? can anyone provide the brief explanation?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 06, 2014 at 09:12 AM

    Hi bharathi.

       Find the bellow code .

    Tables: pernr.

    infotypes: 0001,0002, 2001 mode n, 2007 mode n, 2013.

    start-of-selection.

    get pernr.

    pr-read-all-time-ity pn-begda pn-endda.

    write: p0001-pernr, p0001-bukrs, p0001-abkrs,

            p0002-nachm, p0002-name1, p0002-vorna.

           ........

    ..............

    end-of-selection.

    ******** in the abouv code should be -ve TM.

               for +ve tm we need to use hr_time_results_get.

      

    based on this u can assume ur requirement .

    Thanks

    Venkat.

    Add comment
    10|10000 characters needed characters exceeded