Entries in the PREQ_ACTOR table gets modified

Hi all,
I am facing a typical issue with the table PTREQ_ACTOR, the entries of the table PTREQ_ACTOR gets modified sometimes resulting in the  inconsistency in the entries between the PTREQ_ACTOR and PTREQ_HEADER table, This inconsistency leads to the error in the leave application and the team calendar.
Can anyone please suggest what might be modifying the entries in the table PTREQ_ACTOR and for what reason..
Thanks in advance,

are you using any custom program to modify these entries?
are you using your own logic in
FIND_RESP_AND_DEFAULT_NEXT_PRC in the PT_GEN_REQ  BADI
This is determined during the approver determination

Similar Messages

  • Number of entries in the internal table for perticular field value

    hi All,
    Is this possible to get the count of records from the internal table for a perticular field value.
    currently my requirement is to get the entries from the internal table which does not have two records for perticular field value (say a = 123) whose status is active (say b = 'X').
    also suggets should use LOOP or DELETE or DESCRIBE for a internal table to ful fill this requirement.
    Thanks in advance.
    Pradeep

    Try like this..
    Create another table itab2 with same structure as itab1 & move the contents of itab1 to itab2
    ITAB2[] = ITAB1[].
    Then delete entries from itab2
    Delete itab2 whete a = '123' and b = 'X'
    Then use Describe statement to get the no of entries
    Describe table itab2 lines v_lines.
    Hope this helps...

  • How does the MDKP table gets updates

    Dear PP Guru's,
    I am new to SAP PP,
    We have a query that how does the MDKP table gets updates,
    Some time If we create new material by coping the material which is showing in table MDKP,
    But new material is not showing in table MDKP,
    Based on table MDKP we are fetching some data, due to above problem we are not able to fetch the data for some materials,
    Please suggest what could be the reason,
    Any help will be highly appreciated,
    Thanks in advance,
    Sachin.

    Thanks Thaila,
    I have checked the same by doing MRP through MD02 & the entry is getting update in MDKP,
    But for some of our materials MRP (MD02) is done earlier, but these materials are not showing in MDKP,
    Please suggest, when the entries in MDKP are removed, are there any conditions for removing the entries from MDKP.
    please pour some light on the issue,
    Thanks once again,
    Sachin.

  • " No entry in the conversion table for the syntax group" error

    Hi,
    Iu2019m getting an error in the port setup when I try to run an Access Test on the logical directory.
    Definition of path
    TFTS02\INTF\RD1\OUTB\MM\RFC WINDOWS NT missing
    Message no. SG024
    Diagnosis
    There is no entry in the conversion table for the syntax group WINDOWS NT and the logical path
    TFTS02\INTF\RD1\OUTB\MM\RFC.
    System Response
    The system cannot generate a platform-specific path.
    Procedure
    Make an entry for the syntax group WINDOWS NT and the logical Pfad
    TFTS02\INTF\RD1\OUTB\MM\RFC in the conversion table using the FILE transaction.
    Regards,
    Rajiv

    Hi
    the error is simple. The path
    TFTS02\INTF\RD1\OUTB\MM\RFC you are trying to access is not there so create the path in the FILE transaction.
    In file tcode goto NEW ENTRIES and give the path and also make sure that in AL11 the path and the filename you are trying to open exists.
    Thanks & Regards
    Jyo

  • Making entries in the thost table.

    Hi,
    Can you please let me know what is the exact purpose of making an entry in the thost table.
    - is it just to get a symbolic computer name, in case the computer name is too long and use this symbolic name in certain cases (eg: TXCOM)?
    - most importantly I want to know if making an entry in the thost table will <b>improve the response time</b> of an SAP system in any sense.
    Best Regards,
    Samuel

    Hi Ruchit,
    Thanks for the response.
    I had referred this note earlier but it does not provide the answer I am looking for.
    I want to know, will making entries in the <b>thost</b> table help improve response time by any means.
    I am not able to find any info at help.sap.com also.
    Please let me know if any of you have updates on this.
    Best Regards,
    Samuel

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

  • Summarizing entries of the Internal table

    Hi All Experts!!
    I have problem regarding summarizing of the entries of the internal table.I want the amount field of the entries be summed based on 3  fields of table rkst skst rkstar.It means that summation be carried out if the set of these 3  fields are same.If there is different set new entry will be created.
    Here I want to summarize itab gt_yrepost2.
      LOOP AT gt_yrepost2 INTO gwa_yrepost2.
        sum_amount = sum_amount + gwa_yrepost2-amount
    be summed for repeating sets of 3 fields*****
          lwa_sum_yrepost2-amount = sum_amount.
          lwa_sum_yrepost2-kokrs = gwa_yrepost2-kokrs.
          lwa_sum_yrepost2-belnr = gwa_yrepost2-belnr.
          lwa_sum_yrepost2-buzei = gwa_yrepost2-buzei.
          lwa_sum_yrepost2-kstar = gwa_yrepost2-kstar.
          lwa_sum_yrepost2-bukrs = gwa_yrepost2-bukrs.
          lwa_sum_yrepost2-pbukrs = gwa_yrepost2-pbukrs.
          lwa_sum_yrepost2-tcurr = gwa_yrepost2-tcurr.
          lwa_sum_yrepost2-skst = gwa_yrepost2-skst."field1
          lwa_sum_yrepost2-rkst = gwa_yrepost2-rkst."field2
          lwa_sum_yrepost2-rkstar = gwa_yrepost2-rkstar."field3
          lwa_sum_yrepost2-txt = gwa_yrepost2-txt.
          APPEND lwa_sum_yrepost2 TO gt_sum_yrepost2.
    It means that if there is change in set of key fields new entry will be created. Else the entries will be summed to a single entry.In this example gt_sum_yrepost2 contained the summed(summarized) entries.
    The positive thing here is that if for one set of these fields the other values will be same.Hence other fields will take value of any of the repeating entries(with repeated set).
    Please help in this regards..
    Thanks in Advance....
    Prabhas.
    Edited by: PRABHAS jha on Jan 25, 2008 4:34 PM

    Hi Prabhas ,
    You could use Collect statement instead of Append.
    Thanks
    Rekha

  • Loading data : Creation of entries in the Qualified Table

    Hi,
    I was wondering if anyone has succesfully achieved the following...
    I'm looking at the standard materials repository.
    - Main Table : Product
    - Qualified Table: Location Data. This qualified table single non-qualifier field is a look-up to a flat look-up table, called Plants
    The flat table is populated with the valid list of plants, using the check table synchronisation. The Main Table is empty, so is the Location Table.
    In order to load products into this repository using the import manager it seems that it is required to "create" entries in the qualified table (Location), one for each plant-code.
    Is this true ? I actually would expect the SAP MDM Import Manager client to be able to create the records in both the main table and if needed, the qualified table.  As long as my plant code exists in the "Plants" look-up table, that should be sufficient. It seems not the case..
    Thx,
    Dirk

    The sequence of Import
    - Load the Flat Lookup tables. ( in your case Plants)
    - Load the Qualified Tables ( in your case load the non qualifiers of the Location Data)
    - Load the Main table (in your case Products)
    Though MDM allows you to create Lookup values on the fly, I would rather go with this approach.
    If you are using Import Manager, you can add the Qualified Table Records in the fly.
    But if you are using Import Server, you will NOT be able to add Qualified table records in the fly. I tested this, and I see the files in the ImportX error directory.

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

  • Weird entry in the exception table for monitorenter/monitorexit

    I've created a simple test class with one method:
    public class TestClass {
         int a = 0;
         public void test() {
              synchronized(TestClass.class) {
                   a = 1;
    }After opening the generated class file with Eclipse I got the next
    result (I've removed the parts that are irrelevant)
    public void test();
    0 ldc <Class TestClass> [1]
    2 dup
    3 astore_1
    4 monitorenter
    5 aload_0 [this]
    6 iconst_1
    7 putfield TestClass.a : int [12]
    10 aload_1
    11 monitorexit
    12 goto 18
    15 aload_1
    16 monitorexit
    17 athrow
    18 return
    Exception Table:
    [pc: 5, pc: 12] -> 15 when : any
    [pc: 15, pc: 17] -> 15 when : any
    I do understand that after the monitor is entered it is very important that it leaves it again with the instruction monitorexit. In normal case where no exceptions occur it will call monitorexit at the address 11. But if an exception occurs it has to make sure monitorexit is called and therefore the exception table defines in the first entry that on any exception the VM jumps to address 15. Until here everything is understandable, but what is the second entry in the exception table telling me? if an exception occurs betweern 15 and 17 then jump to 15 ... doesn't this cause an endless loop?

    Just saw this topic, have you investigated this further? I agree it's weird, and maybe would've gotten more attention in the compiler forum, because it's not really a VM issue...
    The bytecode in your OP also differs from the example given in JVMS chapter "Compiling for the Java Virtual Machine", section 7.14 Synchronization: http://java.sun.com/docs/books/jvms/second_edition/html/Compiling.doc.html#6530
    In particular, the first monitorexit instruction is not covered by the "finally" handler there. In your example (and some produced with javac 1.6.0_01), it is. Now when one of the monitorexit instructions throws, the bytecode emitted by javac will keep retrying monitorexit until it finally succeeds (assumed that this is possible), only to immediately throw an exception that indicates that the monitorexit instruction failed?! I hesitate to call it a paradox for some other reason, but definitely very strange. It's also interesting to note that in all the test classes I looked at (and your example, too) a simple decrement of "end_pc" by 1 in the respective exception table entries would be sufficient to achieve a somewhat sane behaviour...

  • HANDLING MULTIPLE ENTRIES IN THE INTERNAL TABLE

    Hi guys,
              I got some problem with handling multiple entries from database table. I am retriving four fields and an amount field from the database table and creatinf a file to upload in the application server.But the file has to be taken like below.
          If the four fields which i am retrieving are repeated then we have to take the net amount and make all the entries as one record. else if any of the four fields vary then i have to take it as a seperate record in the internal table. So how can we do this !! I have tried AT NEW and some other logics too but could get the exact one.
      Pls help me out ASAP....

    I think I may have misunderstood your problem.  If you have an exactly match(all four fields), only then you need to collect,  right?
    Try this example.
    report zrich_0002.
    data: begin of itab occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of itab.
    data: begin of icheck occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of icheck.
    data: begin of itab2 occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of itab2.
    start-of-selection.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '678.90'.
      append itab.
      loop at itab.
        read table icheck with key field1 = itab-field1
                                   field2 = itab-field2
                                   field3 = itab-field3
                                   field4 = itab-field4.
        if sy-subrc = 0.
          move-corresponding itab to itab2.
          collect itab2.
        else.
          move-corresponding itab to icheck.
          append icheck.
          move-corresponding itab to itab2.
          append itab2.
        endif.
      endloop.
      check sy-subrc  = 0.
    Regards,
    Rich Heilman

  • Unable to create Entries in the Z Table -- Make entry in the form 9,999.999

    I have created/Copied a standard table to a z Table with 5 fields.
    One of the Field should be capbale to hold AAAAA.DDDDDDDDDDDDDD. (ie 5 Place before point and 14 decimal places).
    So I have created Domain DEC with 14 decimal places and 19 No Characters.
    When I tried creating an Table Entry(REcord), System rejects the value present in this  field wth the following
    message "Entry 12345.000000 is to long. (Make entry in the form 9,999.99999 or /9,999.99999.)".
    One more thing: I have maintained the DEcimal Notation as 1,234,567.89 in the User Defaults(TCode SU01).
    Please help !
    RJ

    Hi,
    So as you said the notaion comma is also included in the count of places.
    so try giving as1,234.00000 - shouldn't give error.
    if no error then increas the total no. of character in domain to 20 and check giving value 12,345.000000...
    Regards
    Salini.

  • I create a group and there is no entry in the WLCS_ENTITY_ID table

    Hello all,
    I have a problem. I create a top-level group in WLPS using the
    UserManager's createGroup method, passing the group's name as the first
    parameter and null for the second parameter. This creates a row in the
    WLCS_GROUP table, but it does not add one in the WLCS_ENTITY_ID table. I
    noticed that a row does get inserted later, when I restart WLPS.
    If I want to get the ID of the group using RealmLink.getGroupId()
    method, I always get back -1. I suspect it is because that the group is
    not in the entity table, but am not sure.
    I need the group ID because I want to add the group to a portal using
    PortalManager.addGroupToPortal, and currently this method is throwing a
    finder exception.
    Am I missing any steps?
    Thanks,
    JP

    I have the same problem. I have two iphone4 on my account. I turned off reminders under iCloud on one phone so both phones wouldn't get each others Reminders. On the phone with Reminders turned off, there is no + sign. On the phone with Reminders turned on everything is fine.

  • Change an entry in the CDHDR Table

    Hello Everyone,
    How can I change an Entry which is present in the CDHDR Table.
    I know of the FM ENTRYSHEET_WRITE_DOCUMENT which allows me to
    create entries in CDHDR programitically but I am not sure this will help me change the entries.
    Thanks for your Help
    Ashwin

    Thanks for your reply Arun.
    I am trying out the FM BAPI_DOCUMENT_CHANGE.
    Can you suggest some way of determining the Input parameters for the same. This seems to be a DMS related FM.
    My intention of changing the CDHDR Entry is to change the value in the "USERNAME" field of this table.
    Thanks and Regards
    Ashwin

Maybe you are looking for

  • Problem with subrpt links in crystal reports 8.5 (cr 9 and 2008 installed)

    I am trying to add a subreport to an existing CR 8.5 report.  I currently have Cr 8.5, cr 9 and cr 2008 on my pc (xp).  The subrpt is pointing to a sql 2005 stored procedure that has a parameter (@vvcrCono).  When I try to set up the link, the parame

  • Sql expression fields - odbc drivers

    We are using Crystal 2008 with SAP ECC 6.0, and the database is sql server 2005. We had Integration kit installed. We have developed few reports with this one from ECC 6.0. My problem is, I am not able to see the SQL EXPRESSION FIELDS in the FIELD EX

  • LSMW Errors for Excel file upload

    Hi all, We've loaded an Excel file with 20,000+ records into SAP using LSMW and a background run. However, the LSMW returned errors for about 2,000 of those records and seems to have processed the other 18,000. Questions as follows: 1. Is there a way

  • Extracting a passage with Nekohtml

    Hi, I am trying to to DOM parser in NekoHtml to extract a passage which contains a string from a HTML document. From the documentation provided I could get the DOM tree printed. Does anybody have any idea as to how I can extract a passage from a DOM

  • Help! Unable to start server...

    Hi I m facing problem in starting the server even in single user.. is there any solutions to sort it out? ok boot -s Resetting ... screen not found. keyboard not found. Keyboard not present. Using ttya for input and output. Netra t1 (UltraSPARC-IIi 4