Negative spent budget in table HRPADPM, question ???

Hi HR Experts,
We have LTI process happening but somehow we get negative spent budget which is not possible.  I checked and found that in the table HRPADPM SAP stored negative amount. What could be the reason for this?
Thanks,
Duy

Hi Duy,
Were you able to figure out what the root cause was for this issue? If yes, could you please share the solution?
We are dealing with the same issue for a few org units, were not able to figure out the root cause yet. we have been manually fixing those errors.
Thanks a lot in advance,
Jaya

Similar Messages

  • ECM spent budget was clean up when approval manager reject an org unit?

    Hi HR Experts,
    When an approval manager rejects an org unit, the spent budget of this org unit is clean up but the budget still distributed to each employee in that org in the infotype 0759 therefore leads to inconsistency of budget in ECM.
    Is there any body experience this issue?
    Thanks,
    Duy

    i lived through this painful process very much, we made a quick SM30 tcode transaction to be able to do data maintenace on HRPADPM - this is where the budget spent amount is actually saved. 
    the key for this table is stored on the budget unit to org unit relationship in HRP1001.
    if anyone has a better process to fix out sync spent budgets please let us know...

  • What is SAP standard program to delete values in the table HRPADPM for ECM?

    Hi Experts,
    I have problem of inconsistency between HRPADPM and infotype 0759. I want to make this consistent, how do I do that? if not, how do I clean up the data of these tables?
    Thanks,
    Anthony

    Hi,
    I'm afraid in standard SAP do not have such report.
    As a workaround you could try the following: The correction would consist of the following steps:
    1) remove the link between the budget and the IT0759 in the IMG step "Assign Compensation Review Item Attributes"
    Here you will need to remove the "Budget Type"
    2) Then you should delete the IT0759 records for which the budget was not updated (revert the process completely, this means that if the status of IT0759 is "active" you will need to check IT0008 also)
    3) next step will be to reset the link removed in step 1) betweenthe budget and the IT0759
    4) create new IT0759 records as initially intended
    Please note that you should try this in a test or development system first and check if everything worked well before using it in the production system.
    Hope this help
    Sarah

  • Hash Table efficiency question

    Hi experts,
    In my program, I want to read in a lot of string and store the occurance of each string. I found that hash table is the best and most efficient option, but the problem is that, hash table only store one item.
    So, I either have to:
    1) store an array object into each hash table entries. ie String[String][Occurance]
    2) create two hash table based on the hash code of the string.
    For 2) I am planning to store all distinct String into one hashtable using the string as the hashcode, then create another hashtable to store the occurance using the String as the hashcode.
    My question is that:
    1)which implementation is more efficient? Constantly creating String array for each entry or create two hashtables?
    2) Is the second implementation possible? Would the hashcode be mapped to different cell in the hashtable even the two hashtable are using the same hashcode and the same size?
    Thank you very much for your help.
    Kevin

    I am wondering what it is you are trying to do, but I am assuming you are trying to find the number of occurrences for a particular word, and then determining which word has the highest value or the lowest value? You can retrieve the initial String value by using the keys() method of the hashtable. You can use it to traverse the entire table and compare the counts there.
    If you really wanna store another reference for that string, create a simple object
    public final class WordCount {
       * The Word being counted.
       * @since 1.1
      private String _word;
       * Count for the Number of Words.
       * @since 1.1
      private int _count;
       * Creates a new instance of the Word Count Object.
       * @param word The Word being counted.
       * @since 1.1
      public WordCount(final String word) {
        super();
        _word = word;
        _count = 0;
       * Call this method to increment the Count for the Word.
       * @since 1.1
      public void increment() {
        _count++;
       * Retrieves the word being counted.
       * @return Word being counted.
       * @since 1.1
      public String getWord() {
        return _word;
       * Return the Count for the Word.
       * @return Non-negative count for the Word.
       * @since 1.1
      public int getCount() {
        return _count;
    }Then your method can be as follows
    * Counts the Number of Occurrences of Words within the String
    * @param someString The String to be counted for
    * @param pattern Pattern to be used to split the String
    * @since 1.1
    public static final WordCount[] countWords(final String someString, final String pattern) {
      StringTokenizer st = new StringTokenizer(someString, pattern);
      HashMap wordCountMap = new HashMap();
      while (st.hasMoreTokens()) {
        String token = st.nextToken();
        if (wordCountMap.containsKey(token)) {
          ((WordCount) wordCountMap.get(token)).increment();
        } else {
          WordCount count = new WordCount(token);
          count.increment();
          wordCountMap.put(token, count);
      Collection values = wordCountMap.values();
      return (WordCount[]) values.toArray(new WordCount[values.size()]);
    }Now you can create your own comparator classes to sort the entire array of Word Count Objects. I hope that helps
    Regards
    Jega

  • Runtime error while putting negative value in to table control field

    Hi Guys,
                  I am working on a Table Control which has Currency
    and quantity fields.In PBO when the program is trying put a
    negative value then It is going into a runtime error.
    The Error description is,
    Runtime errors         DYNPRO_FIELD_CONVERSION
                                                                                    Error analysis                                                                               
    The program flow was interrupted and could not be resumed.                                 
    Program "SAPMZDBPRJCTEDFIG" tried to display fields on screen 0100. However, an            
    error occurred while this data was being converted.                                                                               
    How to correct the error                                                                               
    A conversion error occurred while the program was trying to   display data on the screen.                                                                               
    The ABAP output field and the screen field may not have the   same format.                                                                               
    Some field types require more characters on the screen than                                
    in the ABAP program. For example, a date field on a screen needs                           
    two characters more than it would in the program. When attempting to                       
    display the date on the screen, an error will occur that triggers the                      
    error message.                                                                               
    Screen name.............. "SAPMZDBPRJCTEDFIG"                                
                  Screen number............ 0100                                               
                  Screen field............. "ZDB_PROJCTD_FIG-ZWORKDONE"                        
                  Error text............... "FX015: Sign lost."                                 Further data:                                                                               
    I have tried increase the screen field length to more than the ABAP program field length and the scrren field name is of data type which supports signed value.
    But still I am getting the error.the error is 'Sign is lost'.
    I would appreaciate if you can help me with this.
    Correct answer will be rewarded.
    Thank you in advance,
    Sanujit Acharya

    Check The Forum
    Re: PA-BN : "FX015: Sign lost." dump
    Kanagaraja L

  • The data from my web page insert in SQL table as question marks

    I use Farsi language in my web page for inserting customer data. The data that is inserted in webpage and submitted, showed as ???? in SQL table. A lot of developers say that I should use N' before the Unicode character, but I don't know how I can use it
    in my code. I attached the code. Can someone say me where I should insert the N in my code?
    protected void cmdInsert_Click(object sender, EventArgs e)
    //Checking the validation of required fields
    if (cboCustomerType.Text == "" || cboTitle.Text == "" || SearchableName.Text == "" ||
    FinalName.Text == "" || NationalID.Text == "" || BusinessID.Text == "" || MobilePhone.Text == "")
    lblStatus.Text = "لطفا فیلدهای اجباری را حتما پر کنید";
    return;
    //define ADO.NET objects.
    string insertSQL;
    insertSQL = "INSERT INTO Customers(";
    insertSQL += "CustomerType,CustomerTitle,CustomerFirstName,CustomerLastName,CompanyType,";
    insertSQL += "CompanyName,SearchableName,FinalName,NationalCode,BusinessID,City,Address,PostalCode,";
    insertSQL += "Zone,MobileNumber,WorkPhone1,WorkPhone2,HomePhone,FaxNumber,Email,Website,Note)";
    insertSQL += "VALUES('";
    insertSQL += cboCustomerType.Text + "','";
    insertSQL += cboTitle.Text + "','";
    insertSQL += CustomerFirstName.Text + "','";
    insertSQL += CustomerLastName.Text + "','";
    insertSQL += cboCompanyType.Text + "','";
    insertSQL += CompanyName.Text + "','";
    insertSQL += SearchableName.Text + "','";
    insertSQL += FinalName.Text + "','";
    insertSQL += NationalID.Text + "','";
    insertSQL += BusinessID.Text + "','";
    insertSQL += City.Text + "','";
    insertSQL += Address.Text + "','";
    insertSQL += PostalCode.Text + "','";
    insertSQL += Zone.Text + "','";
    insertSQL += MobilePhone.Text + "','";
    insertSQL += Phone1.Text + "','";
    insertSQL += Phone2.Text + "','";
    insertSQL += HomePhone.Text + "','";
    insertSQL += FaxNumber.Text + "','";
    insertSQL += Email.Text + "','";
    insertSQL += Website.Text + "','";
    insertSQL += Note.Text + "')";
    SqlConnection con = new SqlConnection(connectionString);
    SqlCommand cmd = new SqlCommand(insertSQL, con);
    //try to open the database and execute the insert
    int added = 0;
    try
    con.Open();
    added = cmd.ExecuteNonQuery();
    lblStatus.Text = added.ToString() + "اضافه شد";
    catch (Exception err)
    lblStatus.Text = "Error inserting record.";
    lblStatus.Text += err.Message;
    finally
    con.Close();
    //If the insert succeed, refresh the customer list.
    if (added > 0)
    FillCustomerList();
    Regards,

    Because you're composing the SQL statement with string concatenation, you would put the "N" before the single quote,
    VALUES(N'";
                insertSQL += cboCustomerType.Text + "',N'";
                insertSQL += cboTitle.Text + "',N'"; // ...etc
    However, composing SQL statements with string concatenation is not a suggested practice because it's open to SQL injection (see:
    https://technet.microsoft.com/en-us/library/ms161953(v=sql.105).aspx). A safer way to do this is to use command parameters to represent the values (see SqlCommand.Parameters
    property). If you use parameters, you can specify parameter data type as SqlDbType.NVarchar, which will ensure your text values are passed in as Unicode. Also ensure that the columns in question are defined in the database table definition as Unicode (NVARCHAR
    rather than VARCHAR).
    Hope this helps, Bob

  • Negative postings to MVER table

    Dear SAP guru's,
    I am trying to simulatie the MVER table trough the MSEG material movements. I've accomplished 95% accuracy through the use of T156-KZVBU en MSEG-KZVBR fields. I'm still missing the posting of some material movement.
    For example the following line:
    MSEG-MENGE=500
    MSEG-BWART=602
    MSEG-SHKZG=S
    MSEG-KZVBR=V
    T156-SHKZG=S
    T156-KZVBU=G
    This has been posted as negative consumption (-500) in MVER. Although it is adding stock (S) this usually gets posted as positive consumption (like a 101 movement with KZVBR=V).
    What am I missing? Which fields are used to further determine the consumption posting to MVER?
    With kind regards,
    Nanne Sluis

    If it helps somebody, I wrote a little tutorial, documenting my research (no guarantees on completeness; and feedback welcome):
    How does MSEG-INSMK work, or better: How are the different stock types being updated in MARD/MARDH/MCHB/MCHBH/u2026
    According to SAP note 368259, MSEG-INSMK cannot be used to determine which stock type fields in history tables are getting updated by the MSEG row. Hence, we investigated the approach on how stock type quantities are getting updated:
    Required SAP tables:
    -     MSEG
    -     MKPF
    -     T156M
    -     T156F
    Maybe required:
    -     T156SC
    -     T156SY
    -     T156W
    -     T156X
    The following tables need to be considered and joined accordingly:
    Example:
    The following tables/fields need to be joined together to retrieve the information which history table fields of stock types are getting updated based on which material movement. Beware that multiple fields can get updated within one transaction; hence the joins can multiply rows. It makes sense to first create a table of T156M / T156F values and pivot it. Afterwards it can be used within the material movements flow:
    1.     Table MSEG (Document Segment: Material): Starting point
    MSEG-BWART = 555          (GI scrapping blocked)
    MSEG-SHKZG = H          (Credit posting)
    MSEG-SOBKZ = u2018u2019          (no special stock)
    MSEG-BUSTM= u2019MS01u2019           (Posting string for quantities)
    MSEG-ZUSTD_T156M= u2018u2019      (Stock Type Modification (Read from Table T156M))
    2.     Table T156M (Posting String: Quantity): Result after Join
    T156M-BUSTM=u2019MS01u2019          (Posting string for quantities)
    T156M-ZUSTD=u2019u2019           (Stock type modification)
    T156M-CNT02=u201801u2018           (Consecutive counter in ATAB tables for inventory management)
    T156M-SMARD=u2018LS1u2018           (Segment string) Updating table MARD
    T156M-SMCHB=u2018CD1u2018          (Segment string)  Updating table MCHB if batches are used
    3.     Table T156F (Fields in Quantity String): Result after Join
    T156F-SEGST=u2018LS1u2018           (Segment string)
    T156F-CNT02=u201801u2018           (Consecutive counter in ATAB tables for inventory management)
         T156F-FELDV=u2019MARD-SPEMEu2018  shows the updated history table field
    The following fields need to be joined, basically:
    MSEG inner join T156M ON
         MSEG.BUSTM=T156M.BUSTM
           and     MSEG.ZUSTD_T156M=T156M.ZUSTD
    T156M inner join T156F ON
         T156M.SMARD=T156F.SEGST
         T156M.CNT02=T156F.CNT02
    Additional Information:
    MSEG-BUSTM (Posting string for quantities)
    Key for the automatic determination of the stock fields that:
    u2022     Have to be checked when a goods movement is entered (availability check)
    u2022     Are updated following a goods movement.
    T156M-ZUSTD (Stock type modification)
    Serves to differentiate between quantity updates carried out for the various stock types.

  • Partitioning on a Table - Few Questions, Confusions

    Hello All,
       I've a table with around 300 Million Records. This Table has one Key Column (Auto Incremented by 1 ) and a Unique ID Field.
    Primary Key (Clustered Primary Key) was created on Key Column of this Table.
    Now If I want to partition this table based on UniqueID Field, SQL Server is not allowing me to do it! It throws the error something like "Partitioned Column should present in Primary Key (Clustered Index)"
    Is it mandatory that the partitioned column should definitely be present in the clustered index or primary key of the table if exists.
    Could someone tell me what are the prerequisites to partition a table that already have a primary key on FieldA and Unique Non Clustered Index on FieldB and I'd like to partition the table based on FieldC?
    Thanks in Advance...
    Unknown

    Hi Roger,
    I am a little confused, why do you want to partition a table based on a UniqueID? Partioning is more of a logical thing to do like dividing a table yearly, for ex the table can be divided on a year by year basis which would make more sense as the older data
    can be moved over to slow storage if it's used as often as the new one based on the environment.
    A UniqueID would just be a random number, I am not sure how are you planning to create a partition scheme on this and would that be effective.
    Just to answer your question, it's not mandatory to have a PK column included in the partitioning.
    For Ex, one of the scripts that I wrote
    --CREATE PARTITION FUNCTION PF_test (datetime)
    AS RANGE LEFT FOR VALUES
     ('2010-12-31 23:59:59.999',
     '2011-12-31 23:59:59.999',
     '2012-12-31 23:59:59.999',
     '2013-12-31 23:59:59.999',
     '2014-12-31 23:59:59.999',
     '2015-12-31 23:59:59.999')
    GO
    I would suggest that you watch the below video to have a better understanding:-
    http://technet.microsoft.com/en-US/sqlserver/gg545008.aspx
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • SRM table CFF_CONT question : huge table, what is that table for ?

    Hello
    We are looking to have more details about table CFF_CONT on a SRM system
    The tolat size of DB is 344 GB
    and only for table CFF_CONT we do have 284 GB, compared to total size this is really huge
    the rest of the DB is only about 60 GB
    What is that table for ?
    Would it be normal to see that table on SRM growing much more than the others ?
    Is that table something that can be clean up ?
    Those questions are poping up becasue we are doing a system copy with sapisnt and R3load
    and we see that this table only is requiring a so huge amount of thime to be exported
    Regards

    By the way ...
    That CFF_CONT table belongs to cFolder components

  • Table design question

    Hello,
    I have a quick question on a table design. I currently have a table that will store approval information on a report. The individual report will need to go through 3 levels of approval before it's considered final. I have considered a few different scenarios on how to design the table but I'm not sure on what is the best choice. Currently I'm using 3 columns that will store each approval. For example,
    Table 1:
    file_id,
    subject,
    summary,
    division_approve,
    program_approve,
    group_approve
    I thought about using one column and simply stepping through a higher numeric value for each approval but found that doesn't work if I want to view items that were approved only at the division_approve level. Does anyone else have any suggestions? Hopefully I provided enough information.....
    Thanks in advance!
    Randy

    yes, better going for higher level of normalisation and desiging more tables:
    tab_aproval ( id,File_id,Approval_authority,rank )
    id      File_id Approval_level rank
    1     1 first_level 1
    2     1 second_level 2
    3     1 third_level 3
    4     2 first_level 1
    5     2 second_level 2
    tab_file_approval
    file_id, subject, summary, id
    1 'doc 1' 'first level done' 1
    1 'doc 1' 'second level done' 2
    1 'doc 1' 'third level done' 3

  • Size of dimention table  fact table ratio  question..

    Hey Guys !!!
    I have  very basic question regarding the ratio of size of dimention table and fact table..
    its mentioned that the ratio of dim table / fact table  sizes should not be greater than 1:20 for performance reasons .. thats OK..
    now lets say if i have fact table with customer dim_id ,some other dimention ids , and revenue (KF) .. with 1 million records ..
    so ideally my customer dimention table should not have more than  200,000 recods (.ie 200,000 different customers ).
    doesnt this put limitation on number of customers in a cube ?
    if so, how do we handle this ?
    please correct me if i am wrong  in interpreting the concept of dimension table.
    thanks in advance
    swapnil

    Hi ASRao ,
    thanks  for replying ...
    you said exactlly what i know  ..
    sorry i didnt put my question in correct prespective ...
    whay i meant was...
    lets say  , i need to have more than specified (1:20 ) number records in dimension table ,it will definately hamper my reporting performance ...
    so, is there any solution to handle this kind of problem ?
    like how would i maintain my efficiency of reporting in this case ?
    thanks in advance

  • Dynamic Table Creation Question

    Can you dynamically add a column to a data table at run time using JSC and JSF? I have a case where I want to add a column to a table based on a selection by the user.

    Hi
    I have been trying to this when I saw your question first time two days back. I tried changing the rowset's query but nothing seems to work. I will try again and I am sure that I can give you something on this if there is any straight solution to this.
    Thanks
    Srinivas

  • Table validation question

    Hi
    I have created 2 tables zposition, zwork.
    The fields in zposition is department and position.
    The fields in zwork is empid, department, position, firstname and lastname.
    I wanted to create a validation that when i insert the data into the zwork, the system will automatically check against the zposition tables for the department and position that was store inside it. How do i do it?

    in ur zwork table where u find the fields department and position..
    in the table fields of zwork just put the cursor on this field say department and click the key button(on the top) it will propose for a check table and in there give the zposition table relavant field department.
    the answer is there in ur question itself ...
    // check against the zposition tables for the department and position--> u need to propose the check table on that field .
    so all in ur are validating the zwork department entry with zposition department field..

  • Margin and Table Cell Question

    Hi,
    The main banner at the top of each page changes it's position
    when I view it in the browser. For example, on this page it is okay
    http://www.foryourbackyard.com.au/products.htm
    Though this page the banner slips down a touch.
    http://www.foryourbackyard.com.au/sheds.htm
    Any ideas welcome.
    Also on this site the table cells seem to have a gap at the
    bottom of the roll over image.
    http://www.d-force.com.au/
    I'm not sure why.
    Thank in advance.
    Ray

    For anybody who might stumble on this in the future looking for an answer to the same or a similar question, I figured this out with the help of Andreas Kiel and Philip Buckley on the Applescript Studio mailing list. Below is the answer.
    Given a data source named "D" and table columns named "bc1" and "bc2" (both of which contain a checkbox style button cell), this is the syntax:
    tell data source "D" --to check the checkboxes
    set content of data cell "bc1" of every data row to true
    set content of data cell "bc2" of every data row to true
    end tell
    tell data source "D" --to uncheck the checkboxes
    set content of data cell "bc1" of every data row to false
    set content of data cell "bc2" of every data row to false
    end tell
    The problem I was having is that I used the name of the button cell itself in the data cell reference rather than the name of the table column.
    Hope someone finds this useful
    St!ff

  • About session abnormal termination, table locked question.

    Hi all,
    i test some table lock,after i run this statement:
    select * from testt for update nowait;
    i abnormal terminate session, then the table testt will be locking until after 20 minutes,
    i checked some document, the parameter of SQLNET.EXPIRE_TIME = 5 in sqlnet.ora file can release that lock, i set with 5,and then test again, but still wait 20 minutes the lock can release, why?

    I've changed this now to use the URL variable. I am used to using that to go from a results page to a details page where the recordset on the details page is used. I hadn't realised that you could just set a link to:
    <a href="addNomination.php?LodgeID=<?php echo($_GET['LodgeID']); ?>">Add Nomination</a>
    where there is no recordset on a page, just for the purposes of passing the variable. (Yeah, I know - this is probably really basic!)
    I do have one last question on this though - my form action is:
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
    And then the link to a NominationAdded page is in the php code at the top of the AddNomination page:
    $ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "NominationAdded.php");
    What would be useful would be to pass the URL variable through again, so that on the NominationAdded page I can have a link back to the same Lodge to add another Nomination without finding the Lodge again.
    But I'm not sure what the syntax would be, as it included some PHP within existing PHP, so not just:
    $ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "nominationAdded.php?LodgeID=echo($_GET['LodgeID'])");
    I assume this must be possible, but not sure of the exact syntax?

Maybe you are looking for

  • How do I get iTunes to keep playing (radio) when I am not using the compute

    How do I get iTunes to keep playing - radio or CD - when the computer is otherwise idle? It cuts off after about 5 minutes and goes into sleep mode. thanks, Vlasta

  • My Safari keeps hanging and it won't let me close one of the tabs.

    Hi, Everytime I try to close one of my tabs, think it's deviour.com it keeps crashing my Safari. And with Lion, it's there again the minute I reopen Safari. I have no idea how to fix this problem, the tab won't even let me read it, the min I close al

  • Java AWT/Swing coexisting with native Qt application

    Hi, I'm trying to figure out how to get a GUI application written in Java to work in a native Qt application by embedding the Java application in the Qt application. Any suggestions on how to do this...

  • Can't sync iPhone with iTunes on Mac book pro.

    I have a iPhone 4 that I just now updated to version 5.1.  I have a Macbook Pro running Mac OS X version 10.6.8. When I connect my phone to the computer w the USB cable, nothing happens.  iTunes does not "see" the phone. I also have wifi and when I t

  • Failed in WD JNDI lookup in QA  Portal

    Hello Experts, I am facing the issue in custom WD application in QA portal system, in dev portal the application is working fine and after transporting the objects into QA portal ,while on preview the iview its giving me error : "Failed in WD JNDI lo