Transaction/Program/FM for finding out Total Expenditure of Project

Hi Gurus,
Can any one please tell me, is there any Transaction code/Program/FM to find out the
<b>Total Expenditures on any particular project </b>
Thanks in advance
Warm Regards,
Izhar Khan

Hi Khan
There are many reports which are available to check the cost of a particular project
Project System->Financials->Information Systems->
Or try TCode CJI3.
Assign points.
Regards,
Suraj

Similar Messages

  • Sar command to find out total percentage of memory utilisation for a day.

    Hi,
    I am in a process of taking last 10 days average percentage of memory, CPU and Disk utilisation in solaris8.
    Can any one help me regarding in this.
    I found sar command and I got the details of CPU by using #sar -u -f sa23 command.
    For memory If I try sar command with �r option , it gives only free memory details only.
    #sar -r -f sa23
    00:00:01 freemem freeswap
    01:00:00 173009 14301230
    Average 172860 14302592
    Is there any way to find out total percentage of memory used?
    And also
    Total percentage of disk utilisation also in solaris8?

    vvsha wrote:
    # sar -r -f sa25
    00:00:00 freemem freeswap
    01:00:00 172847 14303687
    02:00:00 172816 14301232
    22:00:00 172680 14304828
    23:00:01 172676 14304467
    Average   172674 14302768
    Average value of freemem is 172674.The average amount of free memory over the course of a day doesn't seem to be that useful. I'd want to look for the low points (see if we're close to running out during some periods).
    Is this value in Megabytes?
    # man sar
         -r    Report unused memory pages and disk blocks:
               freemem
                     average pages available to user processes.So it's in pages. You can use 'pagesize' to verify your page size. On modern SPARC systems, it will be 8KB.
    from this value can we calculate total memory utilized for this day? like totalmem - freemem = usedmem Depending on what you mean by utilized, yes. Memory can be used for a disk cache, but that use is not shown by decreasing freemem. Uses that are counted are kernel reservations, runtime pages for applications, and direct memory allocations (malloc, etc.)
    Darren

  • How to find out total of number of users accessing Hyperion Planning applications ?

    Hi All,
    Could someone help me with the details of how to find out total number of users who are accessing Hyperion Planning application in Env.?
    This is with regard to licenses so wanted accurate and unique information,
    Thanks
    Amith

    Hello Amith,
    I think you should have a look at the blog of Cameron Lackpour http://camerons-blog-for-essbase-hackers.blogspot.be/
    In the "Shared Services Stupid Trick" blogs, he shows how to find the real access to an application. The side benefit is that it is amusing to read.
    In how far this is OK for the licenses is written on another page. You likely need to use the same method as Oracle does. Ask the Salesperson how to do this. (I am curious what his/her reply is).
    Regards,
    Philip Hulsebosch.

  • How can i find out total no of sunday in the year

    Hi Experts,
    how can i find out total no of sunday's in the particular year. please can any one help how can i do that
    Regards,
    Arun

    Just for fun (and in case this wasn't done to death in the other thread), the rule posted here states:
    Most years have 365 days, but a leap year has 366 days. That adds up to 52 weeks (where each week is exactly 7 days) PLUS 1 or 2 additional days. The year 2012 has exactly 366 days.Now if the year starts on a Sunday in a non-leap year, you end up with 53 Sundays. Or if either of the first two days lands on a Sunday during a leap year, then you can also get 53 Sundays.>
    which allows a calculation like this:
    with test_data as
         ( select rownum + 1999 as test_year from dual
           connect by rownum <= 15 )
    select test_year
         , case
              when first_day = 'SUN'
              or ( first_day = 'SAT' and leap_year = 'Y' )
                 then 53
              else 52
           end as sundays
    from   ( select test_year
                  , to_char(to_date(d.test_year||'-01-01','YYYY-MM-DD'),'DY', 'NLS_DATE_LANGUAGE=ENGLISH') first_day
                  , case extract(day from last_day(to_date(d.test_year||'-02','YYYY-MM'))) when 29 then 'Y' else 'N' end as leap_year
             from   test_data d );
    TEST_YEAR    SUNDAYS
          2000         53
          2001         52
          2002         52
          2003         52
          2004         52
          2005         52
          2006         53
          2007         52
          2008         52
          2009         52
          2010         52
          2011         52
          2012         53
          2013         52
          2014         52
    15 rows selected.

  • How can I find out total ETF for my account?

    I've been with Verizon for a long time now, but my husband and I are looking at consolidating a few things.  One of the things I'm having a hard time justifying with him is paying what I do for my phone.  He wants me to switch to his carrier.  Is there a way to find out the total ETF if I were to switch now? 

        It saddens us to see you want to switch providers PBBarb. Please know we certainly do not want to lose you. Allow us to provide some clarification regarding the early termination fee. I would like to thank Tikibar1 for providing great information regarding the early termination fee. If you currently have a smartphone the ETF is $350 minus $10 for each full month of your contract term that you've completed until you reach $120. If you purchased a basic phone, it's $175 minus $5 until you reach $75.
    I understand you are wanting to switch due to the loss of your employee discount. Was the discount removed because you are no longer employed through them? Have you checked to see if you qualify for a discount through your new employer? To check click, http://vz.to/1cKdW7l Also, have you viewed our new calling plans. This may help save some money each month. To view our calling plans, click http://vz.to/W24dla
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • Material master table for finding out valuation category and valuation type

    Hi,
    I have a material XYZ for which a valuation category 'H' is assigned. Now I need to create a valuation type for that.
    Question - I want to find out for the same plant & st location which are the other materials with valuation category H, and what are the valuation types used.
    I checked in mara, mard, mbew etc but of no use.
    Which table can i get the data ?

    hi,
    As the valuation details are saved and are based on the material, you can see the details of valuation type in MBEW table...and field as BWTAR
    For valuation catagory, you can see the table MARC...field as BWTTY...
    If want the valuation type details for both plant and storage location, you shd check the GR table ie. MSEG where you will get the valuation type ....
    hope its enough to retrieve the data..
    Regards
    Priyanka.P

  • Source for finding out error codes PB 17"

    I ran hardware test and it returned an error code of:
    21 SS / 1 / 5 : 0 x 42 (5)
    and it was at the logic board test section...
    Anyone know this code, or how I can find out what it is?

    Google shows one result for this error code without the "(5)" and it seems to have indicated a sound-related problem.
    In any event, when AHT shows errors, you really are best advised to take the machine in to have it looked at.
    Good luck.

  • Java Programming Resources for starting out

    Hey guys,
    What are the best resources for starting out with Java. I did a bit of work with Java in my Uni course but it was about 2 years ago. I'd like to go over it from the start and get familar with everything again.
    Can anyone suggest some good places to get Resources, Tutorials and Exercises for Java Programming?
    Thanks in advance.

    Getting Started With Java
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Table for finding out all the G/L accounts of a financial statement version

    Hi all,
      is there any table to find out the G/L accounts which will come under the tree of financial statement version(OB58). Please help.

    With FM FI_IMPORT_BALANCE_SHEET_POS, you will get the account list in the internal table I011Z.
    You will get a list of intervals  I011Z-VONKT -  I011Z-BILKT.

  • How to find out total active employess/users in PeopleSoft system.

    Hi,
    We need to find out how many terminated employees and how many active employees we have in our Peoplesoft system.
    Thanks.

    Hi rajesh,
    You can use SU10, then click on "Authorization data" -> put * on user -> execute.. you should get a list of all users in the client with details included...
    Also you can list them using USMM and check all licensed users....
    Also SUIM -> users by complex selection criteria -> By user id -> put * on user -> execute.
    Regards
    Juan

  • Help me for finding out user-exits in sap

    hi,
    i am subhasis . i want to know how u will know where the user-exits available.
    please replay.

    Hi,
    Go through this program and another way is there go through that also.
    1) Open CMOD(Project maintenance) Transaction. Enter a project name starting with Z. Press enter.
    2) Goto Enhancement window by clicking the enhancement button in the application tool bar.
    3) Write SUSR0001 in the enhancement column and press enter.
    4) Goto Components window (It will show all the exits included in this enhancement), in our case only one Function Exit will be shown.
    5) Double click on the Function exit EXIT_SAPLSUSF_001.  
         The following function source code will be displayed in the function editor
    just run this report u get badi
    REPORT ZNEGI16 .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    Hi Crm_learner,
    gothrough this navigation.
    se93->provide for which transaction code u want to impliment the badi->display option->copy the package name.
    next
    se18->press f4 help->information system->provide the package name->enter
    It will display the all the badis.
    provode the badi name->select implimentation option in menubar->create->prvide the implimantation name->enter
    provide the implimantation shrt text->save the badi.
    Go for the interface option->double click onthe method->provide the coding in between method and endmethod. and active the badi.
    program automatically call this badi and execute u code.
    This is the badi.
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli. 
    Rewards some points.
    Rgds,
    P.Naganjana Reddy

  • Table for finding out the User details

    Hi All,
    We need to create a KPI for number of hours a user has looged into a system. Is there any specific table where all the user related information is captured.If the information is not present in a table where  can we find the above information?Please someone help me out.....
    Also is it the same in all the systems or does this information differ from system to system?If it differs then how do we find the number of hours a user has logged in for a BW system, for a CRM system and for ECC system?
    Regards,
    Shravani

    Hello,
    USR01User master record (run-time data)
    USR02 Logon data
    USR03 User address data
    USR04 User master authorizations
    USR05 User Master Parameter ID
    USR06 Additional data per user
    USR07 Object/values of last failed authorization check
    USR08 Table for user menu entries
    USR09 Entries for user menus (work areas)
    USR10 User master authorization profiles
    USR11 User Master Texts for Profiles (USR10)
    USR12 User master authorization values
    USR13 Short Texts for Authorizations
    USR14 Surchargeable language versions per user
    USR15 External User Name
    USR20 Date of last user master reorganization
    USR30 Additional Information for User Menu
    USR40 Table for illegal passwords
    USR41 User master: Additional data
    USRCOBJ Object Filters for Exploding Product Structures
    USRM0 Material Master User Settings: User Screen Reference
    USRM1 Material Master User Settings: Organizational Levels
    USRM2 Material Master User Settings: Logical Screens
    USRMM User settings: material master
    Might be these can help you.
    Thanks
    Geeta

  • Multiple clip selection- way to find out total time?

    I have a time line that has (as an example) 20 clips in it. Is there a way to select two or more clips and be able to get the total time of both the selected clips? For example if one clip is 4 seconds and thee second is 3 seconds and the third (or more) is one second, the total time of those clips is eight seconds.
    Right now, the only way I know how to get this information is to select those clips, paste them in a new timeline and then look at the total length in the time window on the timeline. I'm also aware I can get the time in each individual clip in the clip properties, but then you need a calculator to get the exact time.
    Is there another way?
    Thanks.
    Jonathan

    Hi -
    if the clips are adjacent in the timeline then just select the clips and type Shift -A, you will get an in and out marking that includes all the adjacent clips you have selected. You can read this duration in the timecode window that is in the upper left above the canvas.
    If you mean you want to randomly select clips and see what the total combined duration of those selected clips is, I am not aware of a way to do that, but would be interested to learn if it is possible.
    Hope this helps
    Message was edited by: Meg The Dog to correct typo

  • ABAP - Logic for finding out the active employee

    Hi,
    I am trying to write the program where i need to set the flag "YES" to active employee for the particular time period for the particular position.
    For example:
    Row     Employee     DateTo     DateFrom          Position     FLAG
    1     1     1.1.2009     31.1.2009          10     YES
    2     1     1.2.2009     1.3.2009          10     NO
    3     1     2.3.2009     31.3.2009          10     YES
    4     1     1.4.2009     31.12.2009                           11     YES
    5     2     1.1.2009     31.1.2009          12     YES          
    6     2     1.2.2009     1.3.2009          10     YES
    7     2     2.3.2009     31.12.2009                           13     YES
    Employee 2 gets assigned as of 1.2.2009 to the same position 10 on which employee 1 is already assigned. Therefore, as of 1.2.2009 emplyoee 1 is not anymore the primary employee of position 10. As employee 2 is leaving the position as of 2.3.09 employee 1 gets again primary employee of that position as of 2.3.2009.
    Can any1 suggest me the logic for this?
    Regards,
    Rashmi
    Edited by: Rashmi G P on Jul 13, 2009 9:13 AM

    Hi,
    I already have a customised table where i am  trying to set the flag.
    My logic is something like this:
    Declarations:
    DATA: pos_flag TYPE char5.
    select-OPTIONS : pos for /bic/qzemployee-/bic/zhrpostn.
    SELECT zemployee datefrom dateto pos_flag FROM zemployee INTO CORRESPONDING FIELDS OF TABLE
    it_QZEMPLOYEE where /bic/zhrpostn in pos.
    *Sort it_zhrpostn by postion and datefrom
    SORT it_QZEMPLOYEE BY /bic/zhrpostn datefrom.
    *Looping it_zhrpostn.
    LOOP AT it_QZEMPLOYEE.
    MOVE-CORRESPONDING : it_QZEMPLOYEE TO it_qzemployee_temp.
    *Appending it_zhrpostn_temp to collect each postion
    APPEND it_qzemployee_temp.
    *At end of position
    AT END OF pos_flag.
    *Looping it_zhrpostn_temp table
    SORT it_qzemployee_temp BY datefrom DESCENDING.
    pos_flag = 'YES'.
    LOOP AT it_qzemployee_temp into wa_qzemployees.
    IF pos_flag = 'YES' OR wa_qzemployees-/bic/zhrpostn EQ '00000000' OR wa_qzemployees-/bic/zhrpostn EQ '99999999'.
    set the flag to yes
    write:       pos_flag.
    INSERT into /BIC/AZPA_DS0600 VALUES wa_final.
    pos_flag = 'NO'.
    ELSE.
    set the flag to NO
    write:       pos_flag.
    ENDIF.
    endloop.
    refresh: it_qzemployee_temp.
    ENDAT.
    endloop.
    But here the problem is the it is taking the most recent datefrom and setting the flag as yes. How to check whether someother employee is active in the given time period and set the flag as YES? Only 1 employee can be active in the date period given.
    Thanks and Regards,
    Rashmi

Maybe you are looking for

  • How to restore a previous backup?

    I backup my iPhone 4sregularly.  I recently needed to reset it back to factory settings.  However, the only restore options I had in iTunes were two backups from just minutes before I did the reset.  How do I find other restore selections?

  • Changing persitence FileI/O to DB2e

    Hi, The persistence of my app was development withFile I/O. Now, we want use DB2e. I would like to know, if it's need just do the download of the ADD-ON for DB2e or it's necessary change something in my persistence? We are using Smart Sync. Thanks. M

  • Launch a popup window on multiple screens

    Hi, I have an image on my web page which launches a new window when clicked. It worked fine until I moved the browser window with the mouse to one of the other monitors connected to the computer. (There are three screens in parallell connected to the

  • Drag and Drop between two java applications

    Hi, I am trying to implement drag and drop between two instances of our java application. When i drop the content on the target, the data flavors are transmitted properly, but i get the exception : java.awt.dnd.InvalidDnDOperationException: No drop c

  • 3D graphs

    Hello, I would like to know whether it is possible to plot more than one plot in a 3D waveform graph. If so, kindly include a sample code. Thank you