HR Time Data Management: Very Very Urgent

hi all
I have an internal table having punch card entries for various employees structure is given below:
zempno     zday                 ztime
00000001   11.05.2007       08:00
00000001   11.05.2007       18:30
00000002   11.05.2007       08:00
00000002   11.05.2007       11:00 and so on
i.e any employee can have any number of entries on a day even on the next day (in case he works in a night shift and leaves in the morning).
I need to process the entries for each employee in the following way:
Pick all the entries for each employee. consider only those entries between which the time difference is at least 10 mins i.e punch entries within 10 minutes need to be filtered out.  then out of those entries pick the first and the last entry as the punch in and punch out time and then pick the entries from 2 to 6th(listing after sorting ascending acc to date, time). This way we will have 8 entries. Now the first time entry represents punch in and the next entry represents punch out time( assuming we have even number of entries for each employee).We need to calculate the working hours depending on his punch in and punch out entries. And finally we need to enter this processed data into a ztable.
A quick reply is needed.
Points will be awarded.
Thanks

Hi abap,
1. This is one of the way, practical solution.
2.  a) the external device will provide
       some data in text file, in pre-defined
       format
    b) this file will be placed in application server,
       automatically
    c) our program will use
       BAPI/ HR_INFOTYPE_OPERATION fm
       and read the file, and put the data.
   d) The only check we have to make is that
     we do not read the same file again, and
     post data more than once.
regards,
amit m.

Similar Messages

  • Encrypting and Decrypting Data(Its Very Urgent, Please Help.)

    Hi,
    Can anyone tell me some idea in the below mentioned details.
    Iam creating a Function for Encrypting and Decrypting Data Values using
    DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
    Key Value as normal.
    But the problem, is it possible to have the key value more than 8.
    Its showing me error when i give the key value less than 8 or more than 8.
    Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
    Its Very Urgent, Please Help.
    Thanks,
    Murali.V

    Is this what you're looking for?
    Usage Notes
    If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
    If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
    If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
    C.

  • Hi Experts ,how to copy database schema without data ? very urgent...*****

    Hi experts,
    How to copying database without Data.
    Its very urgent..pls help out me......
    Thanks
    Vijay

    Use Transfer database objects task or script the objects out using generate scripts wizard from SSMS and apply them in the new server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do I reclaim the unused space after a huge data delete- very urgent

    Hello all,
    How do I reclaim the unused space after a huge data delete?
    alter table "ODB"."BLOB_TABLE" shrink space; This couldn't execute with ora 10662 error. Could you please help

    'Shrink space' has requirements:
    shrink_clause
    The shrink clause lets you manually shrink space in a table, index-organized table or its overflow segment, index, partition, subpartition, LOB segment, materialized view, or materialized view log. This clause is valid only for segments in tablespaces with automatic segment management. By default, Oracle Database compacts the segment, adjusts the high water mark, and releases the recuperated space immediately.
    Compacting the segment requires row movement. Therefore, you must enable row movement for the object you want to shrink before specifying this clause. Further, if your application has any rowid-based triggers, you should disable them before issuing this clause.
    Werner

  • Calculate stock of material on a particular date ..very urgent (have points

    Hi all,
    My requirement is to calulate stock of a material on a particular date..
    See.
    I need a function mudule that will accept..
    matnr, date, werks....n give me stock as output..
    Please help me reg. this..
    Have ur points...

    hai pradeep,
    As there is no function module as u said but u can create the function moudule as per ur requimrent in SE37. Just you need the tables from where you want the stock and from which you are giving matnr, date and werks.
    Take the import paramters as matnr, date and werks and export parameter as stock. In source code write the select qurey depending up on the input. i think u know how to write the qurey depending up on the tables from where you want the stock .
    hope this will help you.
    <b>reward if useful</b>
    regards,
    sunil kairam.

  • Date Issue very urgent

    Hi Experts, I am having SY-DATUM. Based on SY-DATUM i required next month first date and after three month end date of the month.

    This is how you can get the first day of next month as the start date and three months later date as end date.
    DATA: v_start_date LIKE sy-datum,
          v_end_date   LIKE sy-datum.
    *-- This will be the last day of the current month
    CALL FUNCTION 'BKK_GET_MONTH_LASTDAY'
      EXPORTING
        i_date = sy-datum
      IMPORTING
        e_date = v_start_date.
    *-- This will be the first day of the next month
    v_start_date = v_start_date + 1.
    CALL FUNCTION 'BKK_ADD_MONTH_TO_DATE'
      EXPORTING
        months  = 3
        olddate = v_start_date
      IMPORTING
        newdate = v_end_date.
    WRITE:/ v_start_date, v_end_date.

  • Not inserting date field-very urgent

    thanks in advance any help appreciated
    im getting all the datas in csv as an array and inserting using the insert method, the date(not datetime) field is not inserting (vb.net), and not showing any error
    im getting the datas as array string wat iv to do while inserting ive used all the conversion techniques but still not inserting

    Hi,
    You must indicate the "specified" attribute in order to inset or update any field that is not string type.
    For example, I guess that your program do something like:
    obj.date=%%date expression%%
    but you must do also:
    obj.date_specified=true
    That is for any field like number, date, boolean, etc...that is not a string.
    Hope it helps.
    Kim.

  • Data Transfer- Very Urgent.

    Hi all,
    I am writing a BDC rogram for transaction 'MM01'. For this I want to update data from an excel sheet to internal tabel.Just as we do from flat file to inetrnal table.Can any explainme how to do this.
    Regards,
    Vijay.

    HI I am sending you code. PLease check and tell me where I am going wrong.This is giving a short dump.The excel sheet is saved as Book1(txt file).
    REPORT  ZV_LOCALFILE_ITTABLE .
    DATA : BEGIN OF itab OCCURS 0 ,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    END OF itab.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'D:\Book1.txt'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      = itab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at itab.
    write :/ itab-carrid,itab-connid,itab-fldate.
    endloop.
    Regards,
    Vijay

  • Master Data Deletion (Very Urgent)

    Hi Guys,
    What might b the problem, when "not all the master data can be deleted".
    Please respond soon
    avanced tanX
    peter

    Hi,
    you cant delete the master data if its being used by any infoproviders or by a query by including or excluding a value of material. Make sure to delete the master data from all the places then only the system would allow to change the char. I know its pain. backdoor approach, create a ABAP program to delete all the data in the related master data tables S/P/X
    If you have deleted the master data and still not able to change the conversion, activate the object.
    During activation you will get a screen to repair and click that and it will be activated.
    But make sure, you delete all the data in the info provider that uses this obj
    Assign points if helpful
    Regards,
    Hareesh

  • SQL Loader Oracle 10g problem in upload date with time data -- Very urgent.

    Hi
    I am trying to upload data using SQL loader. There are three columns in the table
    defined as DATE. When I tried upload a data like this '2007-02-15 15:10:20', it is not loading time part. The date stored as 02/15/2008' only. There is not time on that. I tried with many different format nothing work. Can please help me ?
    I have also tried with to_date --> to_timestamp it did not work.
    The application is going to be in production, I cannot change DATE to TIME STAMP. This is very urgent.
    LASTWRITTEN "decode(:LASTWRITTEN,'null',Null, to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:Mi:SS'))",
    CREATEDON "decode(:CREATEDON,'null',Null, to_date(:CREATEDON,'YYYY-MM-DD HH24:Mi:SS'))",
    LASTUPDATEDON(21) "decode(:LASTUPDATEDON,'null',Null, to_date(:LASTUPDATEDON(21),'DD/MM/YYYY HH24:MI:SS'))"

    Your problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
    SQL> desc t
    Name                                      Null?    Type
    LASTWRITTEN                                        DATE
    CREATEDON                                          DATE
    LASTUPDATEDON                                      DATE
    SQL> select * from t;
    no rows selected
    SQL> !cat t.ctl
    LOAD DATA
    INFILE *
    INTO TABLE T
    TRUNCATE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    LASTWRITTEN
    "decode(:LASTWRITTEN,'null',cast(Null as date),
      to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
    CREATEDON
    "decode(:CREATEDON,'null',cast(Null as date),
      to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
    LASTUPDATEDON
    "decode(:LASTUPDATEDON,'null',cast(Null as date),
      to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
    BEGINDATA
    2007-02-15 15:10:20,null,null
    null,2007-02-15 15:10:20,null
    null,null,15/02/2007 15:10:20
    SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> select * from t;
    LASTWRITTEN         CREATEDON           LASTUPDATEDON
    15.02.2007 15:10:20
                        15.02.2007 15:10:20
                                            15.02.2007 15:10:20Best regards
    Maxim

  • Time overlapping of data record..very urgent

    Hi All,
    while loading time dependent data(texts..0HRPOSITION), i am geeting the following error....
    Processing (data packet): Errors occurred
       Data Package 1 ( 7418 Records ) : Errors occurred
              Update ( 0 new / 0 changed ) : Errors occurred
                   Data records for package 1 selected in PSA - 2 error(s)
                   Record 7415 :0HRPOSITION : Time overlapping of data record 7415 with 7416 : '['20100924'/'20070618'] " .
                   Record 7416 :0HRPOSITION : Time overlapping of data record 7415 with 7416 : '['20100924'/'20070618'] ....
    Could anyone let me know how to rectify this error and reload the IP..I am workning on production system.....its very urgent
    Thanks in advance.
    Manjula

    Hi Manjula
    !)0HRposition infobject and check what is the time previously for that record..
    2)Edit the PSA for the 7415 or 7416  and change the vlaue to the previous record time which u found in the infoobject
    3) i think ur doing a full load.  so better edit the PSA and repload the data from PSA
    Regards
    AK

  • Personnel Data Iview Error (It's very Urgent)

    Hi All,
    Personal Data   
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    failed to create or init instance of model 'com.sap.xss.hr.per.in.pdata.model.HRXSS_PER_P0002_IN' in scope APPLICATION_SCOPE with instanceId 'null'   
    Caused by: com.sap.tc.webdynpro.progmodel.model.api.WDModelException: failed to create instance of model 'com.sap.xss.hr.per.in.pdata.model.HRXSS_PER_P0002_IN'
         at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getNewModelInstance(WDModelFactory.java:392)
         at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:329)
         ... 65 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: no jcoMetadata found for RFC function 'HRXSS_PER_GET_F4_P0002_IN'! Please verify, that your model is consistent with the ABAP backend: 'EC6'.
    Hi Please help me to solve this error it's very urgent ?
    thanks and regards,
    Phanikumar.

    Hi Ashutosh Gulkhobre,
    I coppied the dump from the ST22.
    Now please tell me solution fro this error ?
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          27.06.2007 09:54:55
         Short text
              Access via 'NULL' object reference not possible.
         What happened?
              Error in the ABAP Application Program
              The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because it
               has
              come across a statement that unfortunately cannot be executed.
         What can you do?
              Note down which actions and inputs caused the error.
              To process the problem further, contact you SAP system
              administrator.
              Using Transaction ST22 for ABAP Dump Analysis, you can look
              at and manage termination messages, and you can also
              keep them for a long time.
         Error analysis
              An exception occurred that is explained in detail below.
              The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
               caught in
              procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", nor was it propagated by a RAISING
               clause.
              Since the caller of the procedure could not have anticipated that the
              exception would occur, the current program is terminated.
              The reason for the exception is:
              You attempted to use a 'NULL' object reference (points to 'nothing')
              access a component.
              An object reference must point to an object (an instance of a class)
              before it can be used to access components.
              Either the reference was never set or it was set to 'NULL' using the
              CLEAR statement.
         How to correct the error
              Probably the only way to eliminate the error is to correct the program.
              If the error occures in a non-modified SAP program, you may be able to
              find an interim solution in an SAP Note.
              If you have access to SAP Notes, carry out a search with the following
              keywords:
              "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
              "SAPLHRXSS_PER_MAC" or "LHRXSS_PER_MACU04"
              "HRXSS_PER_CLEANUP"
              If you cannot solve the problem yourself and want to send an error
              notification to SAP, include the following information:
              1. The description of the current problem (short dump)
                 To save the description, choose "System->List->Save->Local File
              (Unconverted)".
              2. Corresponding system log
                 Display the system log by calling transaction SM21.
                 Restrict the time interval to 10 minutes before and five minutes
              after the short dump. Then choose "System->List->Save->Local File
              (Unconverted)".
              3. If the problem occurs in a problem of your own or a modified SAP
              program: The source code of the program
                 In the editor, choose "Utilities->More
              Utilities->Upload/Download->Download".
              4. Details about the conditions under which the error occurred or which
              actions and input led to the error.
              The exception must either be prevented, caught within proedure
              "HRXSS_PER_CLEANUP" "(FUNCTION)", or its possible occurrence must be declared
               in the
              RAISING clause of the procedure.
              To prevent the exception, note the following:
         System environment
              SAP-Release 700
              Application server... "ptgsap10"
              Network address...... "192.168.1.18"
              Operating system..... "Windows NT"
              Release.............. "5.2"
              Hardware type........ "2x Intel 80686"
              Character length.... 16 Bits
              Pointer length....... 32 Bits
              Work process number.. 0
              Shortdump setting.... "full"
              Database server... "PTGSAP10"
              Database type..... "ORACLE"
              Database name..... "EC6"
              Database user ID.. "SAPSR3"
              Char.set.... "C"
              SAP kernel....... 700
              created (date)... "Aug 29 2006 00:18:21"
              create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
              Database version. "OCI_10201_SHARE (10.2.0.1.0) "
              Patch level. 75
              Patch text.. " "
              Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
              SAP database version. 700
              Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
              Memory consumption
              Roll.... 8176
              EM...... 2090448
              Heap.... 0
              Page.... 0
              MM Used. 1208256
              MM Free. 880672
         User and Transaction
              Client.............. 001
              User................ "ESS_USER1"
              Language Key........ "E"
              Transaction......... " "
              Program............. "SAPLHRXSS_PER_MAC"
              Screen.............. "SAPMSSY1 3004"
              Screen Line......... 2
              Information on caller of Remote Function Call (RFC):
              System.............. "########"
              Database Release.... 645
              Kernel Release...... 700
              Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
              Call Type........... "synchron and non-transactional (emode 0, imode 0)"
              Inbound TID.........." "
              Inbound Queue Name..." "
              Outbound TID........." "
              Outbound Queue Name.." "
              Client.............. "###"
              User................ "############"
              Transaction......... " "
              Call Program........." "
              Function Module..... "HRXSS_PER_CLEANUP"
              Call Destination.... "ptgsap10_EC6_10"
              Source Server....... "EPSAND1"
              Source IP Address... "192.168.1.36"
              Additional information on RFC logon:
              Trusted Relationship " "
              Logon Return Code... 0
              Trusted Return Code. 0
              Note: For releases < 4.0, information on the RFC caller are often
              only partially available.
         Information on where terminated
              Termination occurred in the ABAP program "SAPLHRXSS_PER_MAC" - in
               "HRXSS_PER_CLEANUP".
              The main program was "SAPMSSY1 ".
              In the source code you have the termination point in line 13
              of the (Include) program "LHRXSS_PER_MACU04".
              The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
              procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", but it was neither handled locally
               nor declared
              in the RAISING clause of its signature.
              The procedure is in program "SAPLHRXSS_PER_MAC "; its source code begins in
               line
              1 of the (Include program "LHRXSS_PER_MACU04 ".
         Source Code Extract
         Line     SourceCde
             1     FUNCTION hrxss_per_cleanup.
             2     *"----
             3     ""Local interface:
             4     *"  EXPORTING
             5     *"     VALUE(MESSAGES) TYPE  BAPIRETTAB
             6     *"----
             7     
             8     *  CALL METHOD mac_adapter->cleanup
             9     *    IMPORTING
            10     *      messages = messages.
            11     
            12     * TRY.
         >>>>>       CALL METHOD xss_adapter->cleanup
            14         .
            15     * CATCH CX_HRPA_VIOLATED_ASSERTION .
            16     * ENDTRY.
            17       IF NOT xss_adapter2 IS INITIAL.
            18         CALL METHOD xss_adapter2->cleanup.
            19       ENDIF.
            20     
            21     ENDFUNCTION.
         Contents of system fields
         Name     Val.
         SY-SUBRC     0
         SY-INDEX     2
         SY-TABIX     13
         SY-DBCNT     30
         SY-FDPOS     0
         SY-LSIND     0
         SY-PAGNO     0
         SY-LINNO     1
         SY-COLNO     1
         SY-PFKEY     
         SY-UCOMM     
         SY-TITLE     CPIC and RFC Control
         SY-MSGTY     
         SY-MSGID     
         SY-MSGNO     000
         SY-MSGV1     
         SY-MSGV2     
         SY-MSGV3     
         SY-MSGV4     
         SY-MODNO     0
         SY-DATUM     20070627
         SY-UZEIT     095455
         SY-XPROG     SAPLHRXSS_PER_MAC
         SY-XFORM     HRXSS_PER_CLEANUP
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
             4 FUNCTION     SAPLHRXSS_PER_MAC                   LHRXSS_PER_MACU04                      13
               HRXSS_PER_CLEANUP
             3 FORM         SAPLHRXSS_PER_MAC                   LHRXSS_PER_MACU04                       1
               HRXSS_PER_CLEANUP
             2 FORM         SAPMSSY1                            SAPMSSY1                               85
               REMOTE_FUNCTION_CALL
             1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               30
               %_RFC_START
         Chosen variables
         Name
             Val.
         No.          4     Ty.      FUNCTION
         Name      HRXSS_PER_CLEANUP
         MESSAGES
              Table[initial]
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
                 000000000000000000000000000000
                 000000000000000000000000000000
         %_DUMMY$$
                 2222
                 0000
                 0000
                 0000
         XSS_ADAPTER2
                 F0000000
                 F0000000
         No.          3     Ty.      FORM
         Name      HRXSS_PER_CLEANUP
         SYST-REPID
              SAPLHRXSS_PER_MAC
                 5454455555545544422222222222222222222222
                 310C82833F052FD1300000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         %_%_MESSAGES
              Table[initial]
         No.          2     Ty.      FORM
         Name      REMOTE_FUNCTION_CALL
         %_DUMMY$$
                 2222
                 0000
                 0000
                 0000
         SY-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         SYST-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         HEADER
                 000000000000
                 000000000000
         TYPE
              3
                 0000
                 3000
         SY-XPROG
              SAPLHRXSS_PER_MAC
                 5454455555545544422222222222222222222222
                 310C82833F052FD1300000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         %_ARCHIVE
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RC
              0
                 0000
                 0000
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
                 000000000000000000000000000000
                 000000000000000000000000000000
         %_SPACE
                 2
                 0
                 0
                 0
         No.          1     Ty.      MODULE (PBO)
         Name      %_RFC_START
         %_PRINT
                  000                                                                                0###
                 2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RFCTYPE_INTERNAL
              3
                 0000
                 3000
         Internal notes
              The termination was triggered in function "method_call_iref"
              of the SAP kernel, in line 2203 of the module
               "//bas/700_REL/src/krn/runt/abmethod.c#7".
              The internal operation just processed is "METH".
              Internal mode was started at 20070627095455.
         Active Calls in SAP Kernel
         Lines of C Stack in Kernel (Structure Differs on Each Platform)
         SAP (R) - R/3(TM) Callstack, Version 1.0
         Copyright (C) SAP AG. All rights reserved.
         Callstack without Exception:
         App       : disp+work.EXE (pid=24080)
         When      : 6/27/2007 9:54:55.565
         Threads   : 2
         Computer Name       : PTGSAP10
         User Name           : SAPServiceEC6
         Number of Processors: 2
         Processor Type: x86 Family 6 Model 11 Stepping 1
         Windows Version     : 5.2 Current Build: 3790
         State Dump for Thread Id 6cd0
         eax=000a7358 ebx=00000464 ecx=00000248 edx=00000000 esi=00000464 edi=00000000
         eip=7c82ed54 esp=0549c640 ebp=0549c6b0 iopl=0         nv up ei ng nz ac po cy
         cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00200297
         function : KiFastSystemCallRet
                 7c82ed54 c3               ret
                 7c82ed55 8da42400000000   lea     esp,[esp]              ss:0549c640=7c822124
                 7c82ed5c 8d642400         lea     esp,[esp]              ss:27f2ac53=????????
         FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
         0549c6b0 77e6ba12 00000464 0001d4c0 00000000 0549c6e8 ntdll!KiFastSystemCallRet
         0549c6c4 0101f939 00000464 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject
         0549c6e8 005641c2 005641fb 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess [ntstcdbg.c (501)]
         0549c6ec 005641fb 7c38b5c8 7c38b5c8 7c38b5c8 01d87888 disp+work!NTStack [dptstack.c (1367)]
         0549c708 0056422f 7c38b5c8 00000000 0085f2b9 7c38b5c8 disp+work!CTrcStack2 [dptstack.c (352)]
         0549c714 0085f2b9 7c38b5c8 00000000 005f0059 00300030 disp+work!CTrcStack [dptstack.c (182)]
         0549c738 008626fb 3ccf0c10 00008006 00000000 00660bd8 disp+work!rabax_CStackSave [abrabax.c (7020)
         0549cfe0 0067f9fc 01285324 012852e4 0000089b 2054de20 disp+work!ab_rabax [abrabax.c (1243)]
         0549d010 006914a8 00000003 3cda5308 00000000 0549d078 disp+work!method_call_iref [abmethod.c (2203
         0549d078 007c8d1e 00000000 3cda5308 0549d1c4 3cda67e8 disp+work!ab_extri [abextri.c (552)]
         0549d08c 008433d6 00000000 3cda6768 0059fdb0 3cda64b4 disp+work!ab_xevent [abrunt1.c (281)]
         0549d098 0059fdb0 3cda64b4 00000008 3cda6768 00000000 disp+work!ab_dstep [abdynpro.c (491)]
         0549d1c4 005a2ae2 3cda5308 3cda5308 0549fd04 005a2654 disp+work!dynpmcal [dymainstp.c (2394)]
         0549d1d4 005a2654 3cda5308 3cda5308 00000003 0549fd04 disp+work!dynppbo0 [dymainstp.c (542)]
         0549d1f0 00577116 3cda5308 00000004 00000000 0000001a disp+work!dynprctl [dymainstp.c (359)]
         0549fd04 004741c6 0000001a 00000001 00000001 0049792f disp+work!dynpen00 [dymain.c (1464)]
         0549fd14 0049792f 00000004 00000000 00000003 00000002 disp+work!Thdynpen00 [thxxhead.c (4683)]
         0549fee0 00497ead 00000001 00000000 00000000 00430000 disp+work!TskhLoop [thxxhead.c (4395)]
         0549ff00 004214f1 00000000 00000000 7ffd5000 0549ff60 disp+work!ThStart [thxxhead.c (1153)]
         0549ff14 00401080 00000003 056368d8 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1119)]
         0549ff60 011bf720 00000003 056368d8 056378c8 01c05000 disp+work!nlsui_main [thxxanf.c (82)]
         0549ffc0 77e523cd 00000000 00000000 7ffd5000 80938fd6 disp+work!wmainCRTStartup [crtexe.c (395)]
         0549fff0 00000000 011bf5dd 00000000 00905a4d 00000003 kernel32!IsProcessorFeaturePresent
         State Dump for Thread Id 6408
         eax=00000001 ebx=00000103 ecx=0770fee8 edx=7c82ed54 esi=00000000 edi=00000000
         eip=7c82ed54 esp=0770fec0 ebp=0770ff04 iopl=0         nv up ei pl zr na po nc
         cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
         function : KiFastSystemCallRet
                 7c82ed54 c3               ret
                 7c82ed55 8da42400000000   lea     esp,[esp]              ss:0770fec0=7c821514
                 7c82ed5c 8d642400         lea     esp,[esp]              ss:2a19e4d3=????????
         FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
         0770ff04 0110e0b7 000006e0 00000000 00000000 059ca9d8 ntdll!KiFastSystemCallRet
         0770ff84 7c349565 00000000 00000000 00000000 0563a508 disp+work!SigIMsgFunc [signt.c (594)]
         0770ffb8 77e66063 0563a508 00000000 00000000 0563a508 MSVCR71!endthreadex
         0770ffec 00000000 7c3494f6 0563a508 00000000 00000000 kernel32!GetModuleFileNameA
         List of ABAP programs affected
         Index     Typ     Program     Group     Date     Time     Size     Lang.
              0     Prg     SAPMSSY1          0     11.04.2005     09:27:15         21504     E
              1     Prg     SAPLHRXSS_SER_AUTHORITHY_CHECK          1     13.02.2005     19:00:30         16384     E
              2     Prg     SAPLASTAT_TRIG          2     09.09.2004     14:18:33         13312     E
              3     Typ     ASTAT_TYP2          0     10.11.1998     05:35:18          2048     
              4     Typ     ASTAT_TYP1          0     30.11.1998     15:54:16          2048     
              5     Prg     SAPLSAUTHTRACE          5     07.03.2005     08:51:05         57344     E
              6     Typ     USOBHASH          0     02.07.2003     13:15:24          3072     
              7     Prg     SAPLSECH          7     05.07.2005     13:10:18         26624     E
              8     Typ     CVERS          0     09.11.2000     14:05:49          2048     
              9     Prg     SAPLHRXSS_PER_MAC          9     10.02.2004     14:21:15         49152     E
             10     Prg     CX_SY_REF_IS_INITIAL==========CP         10     05.07.2005     13:10:16         10240     E
             11     Typ     SCX_SRCPOS          0     18.05.2004     14:07:11          2048     
             12     Prg     CX_DYNAMIC_CHECK==============CP         12     05.07.2005     13:10:16         10240     E
             13     Prg     CX_ROOT=======================CP         13     05.07.2005     13:10:16         11264     E
             14     Prg     CX_NO_CHECK===================CP         14     05.07.2005     13:10:16         10240     E
             15     Prg     CX_SY_NO_HANDLER==============CP         15     05.07.2005     13:10:16         10240     E
             16     Typ     SYST          0     09.09.2004     14:18:12         31744     
         Directory of Application Tables
         Name                                     Date       Time       Lngth
             Val.
         Program      SAPMSSY1
         SYST            .  .            :  :          00004612
              \0\0\0\0\x000D\0\x000F\0\0\0\0\0\0\0\0\0\0\0\0\0\x001E\0\0
         ABAP Control Blocks (CONT)
         Index     Name     Fl     PAR0     PAR1     PAR2     PAR3     PAR4     PAR5     PAR6     Source Code     Line
           246     FUNC     03     0020                                   LHRXSS_PER_MACU03            1
           247     PAR2     02     0000     001B     C000                         LHRXSS_PER_MACU03            1
           249     FUNC     13     0003                                   LHRXSS_PER_MACU03            1
           250     PAR2     01     0000     0011     C001                         LHRXSS_PER_MACU03            1
           252     FUNC     FF     0000                                   LHRXSS_PER_MACU03            1
           253     ENDF     00     0000                                   LHRXSS_PER_MACU03            1
           254     -
         00     0000                                   LHRXSS_PER_MACU03            1
           255     STCK     02     C001                                   LHRXSS_PER_MACU03            1
           256     CPOP     00     0000                                   LHRXSS_PER_MACU03            1
           257     -
         00     0000                                   LHRXSS_PER_MACU03            1
           258     FUNP     3E     0000     0011     8000     0000     8000     0000     0000     LHRXSS_PER_MACU04            1
           262     FUNP     80     0000     0000     0000     0000     0000     0000     0000     LHRXSS_PER_MACU04            1
         >>>>>     METH     03     0000     0000     8006     0000     0000     0000     0000     LHRXSS_PER_MACU04           13
           270     PAR2     00     0000     0001     0000                         LHRXSS_PER_MACU04           13
           272     CMPS     20     024B     001B     001B                         LHRXSS_PER_MACU04           17
           274     BRAF     05     0007                                   LHRXSS_PER_MACU04           17
           275     METH     03     0000     0001     8006     0000     0000     0000     0000     LHRXSS_PER_MACU04           18
           279     PAR2     00     0000     0001     0000                         LHRXSS_PER_MACU04           18
           281     FUNE     00     0000                                   LHRXSS_PER_MACU04           21
           282     -
         00     0000                                   LHRXSS_PER_MACU04           21
    Thanks and Regards,
    Phanikumar

  • Duplicate records found while loading master data(very urgent)

    Hi all,
    One infopackage in the process chain failed while laoding the master data(full update).Its showing the following error-->duplicate record found ..1 record used in /BI0/PTCTQUERY and the same record occured in /BI0/PTCTQUERY tables.
    can anyone give me the solution...its very urgent...
    Thanks & Regards,
    Manjula

    Hi
    You can see the check box in the Processing tab page. Make a tick mark for the check box Ignore Duplicate Data Records indicator . When multiple data records that have the same key are transferred, the last data record in the request is updated to BI. Any other data records in the request with the same key are ignored.
    Help says that:
    To maintain consistency, ignoring duplicate data records is only possible if the data is updated serially. A serial update is when data is first updated into the PSA then, after it has been successfully written to the PSA, it is updated into the master data or text tables of the InfoObject.
    If a DataSource transfers potentially duplicate data records or if you manually set the Ignore Duplicate Data Records indicator, the PSA Only update type is automatically selected in the scheduler.
    hope it clears ur doubt, otherwise let me know.
    Regards
    Kiran

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Copy Master Datas in FICo from 1 Company Code to Another   ---  Very Urgent

    Hi Peers
    I want to copy all the FI & CO master Data like G/L a/cs , Vendor Master, Customer Master, Cost Centers, Cost Elements, Commitment Items, Funds Center & Assets from one company code to another company code. Both the company codes will have same Chart of accounts. Is there any t.Code by which i can just extend these masters to my company code. Plz help. its very Urgent.
    Expecting a reply ASAP.
    Regards
    Rajaram

    Hi
    In customization,  Assign Chart of A/cs to company code there u will get the path for copying one company code to another company GL Masters.
    And also the CCtrs u already assign to the first company code.  Once u copy the data for one company to another automatically it will copy to another company code.
    Hope this is useful to u.
    Shammi

Maybe you are looking for