Issue in PE51 form with negative amount

Hi experts,
Im developing employee payslip in HRFORMS transaction by referring the existing PE51 form. Now i face one problem with the payments and deduction amount displayed in the existing PE51 form.
That is, a particular wagetype displayed under deduction column is displayed as +ve amount. But when i checked the corresponding wagetype amount in PC_PAYRESULT, the amount is in negative.
So i want to know whether any logic is written in PE51 form to chnage the negative symbol.
When i checked the rule, i see the below rule.
01  1 XRT     BETRG N NE     ' 0
Can anyone tell me where the logic for PE51 form is written?

Andrejus, I just tried this in OTN4 build and it works ok for me.
Can you try the following testcase I built?
http://www.oracle.com/technology/products/jdev/tips/muench/temp/lovdoesnotfiremandatoryattributestest.zip
Run the TestPage.jspx in adfc-config.xml
Click the button to start the "create-employee" task flow.
In the new row, I click the Deptno lov button and pick a department (say, 30) from the LOV.
No mandatory attribute errors are thrown.
NOTE: Notice that in TP4 there is no longer an "ADF Create Form" and that we're encouraging you to create a create form using a method activity that declaratively invokes the create operation, then forwards to a page with a regular ADF Form on it. This is due to the numerous confusions that have always surrounded the ADF "invokeAction" now that we have a visual, declarative mechanism to model this type of initialization activity, we will prefer users adopting that.
Also, notice that the page definition for the method activity has the new "SkipValidation" property set to true.
Can you evolve my testcase into one that still reproduces the problem so I can file a new bug for the remaining problem?

Similar Messages

  • Dealing with negative amounts in payment proposal runs in f110

    Hi Techies,
    In the payment proposal run through f110 transaction is it possible to raise an exception and show the negative amounts seperately?

    Dear Ashok,
    The scenario is that during the payment proposal run,
    if there are two amounts with different due dates, say
    10.07.2008     8900 euros to pay
    20.07.2008     -800 euros ( the total of the documents at this due date is minus than zero)
    Now the program gives one record which says 8100 euros to pay.
    But our requirement is that, insted of displaying a single record that adds up the amounts, the negative amount is to be shown seperately like this:
    Due date      10.07.2008     8900        euros to pay
    Due date     20.07.2008      -800     Exceptions
    As this is a standard SAP functiionality, i would like to know any possible ways to achieve this requirement.
    Regards,
    Madhuri

  • Production order with negative amount for settlement in to Material for MAP

    Hi All,
    When I am trying to settle some production orders, it is giving me an error "Moving average price for material is negative" and doesnot let me settle them. we have maintained our materials at MAP and settle our production order variances to material to adjust its MAP. In these orders, it is trying to settle negative value, which is greater than the total value of the stock of materials and if settled leaving some of the stock with negative value. does any body has this situation and what would be the solution for this ?
    Thanks
    MKR

    Hi,
    This is Pavan Fronm IBGroup Rajnandgaon.
    To My Knowledge,
    When U Settle the Production Order, the Diffence Between the Target cost and Actual cost(MAP) of Finished Material hits the Material Account of the finished goods.
    Say Suppose,
    Target cost (Production Cost) =   Cost of Raw material + consumable,   =  10
                                                    Activity ( Labour, Power, etc)              =    5
                                                    Overheads.                                        =    2
                                                                                    17
    Actual Cost is ur Finished Material (MAP). = 18
    CASE 1:
    Now the system calculate the difference as 17 - 18 = -1 Rs , it try to reduce from Material Cost,
    Now in case if Material has the stock say 1 unit.
    it will reduce the cost of material by 1 rs in Material Master.
    If the Material has no stock , as we know the system try to reduce the cost from zero stock tends to
    give us a message saying
    MOVING AVERAGE PRICE OF MATERIAL IS NEGATIVE.
    CASE 2:
    If Target - Actual is say +1 RS it increases the material price to 1 Rupee, if stock is Zero , then 1 Rupee
    hits the Price Difference
    CASE 3: *STANDARD PRICE INDICATOR*
    In case of Standard Price indicator Every thing beyone the Material Price , whether respect to negative
    variance  or positive variance hits the price difference.
    So I request u to settle the order if u use MAP for Finished goods befor dispatch of finished good to calculate actual production cost for ur finished material..
    We can Also use MR21 for price change if the stock has dispatched befor settlement, but it is not suggestable to my knowledge hence ur material wont carry actual production cost if that is thae case.
    Please Correct if I m Wrong.
    Regards
    J .K .PAVAN KUMAR
    SAP PP-PI Consultant
    Edited by: PAVANIDLUR on Mar 30, 2009 9:05 PM
    Edited by: PAVANIDLUR on Mar 30, 2009 9:09 PM
    Edited by: PAVANIDLUR on Mar 30, 2009 9:11 PM

  • Sales order with negative amount

    let said, i have 1 order, 2 lines.
    line 1 has shipment, price is 100.
    line 2 is no shipment, price is -50, subsidy purpose.
    the lines are uploaded from external system, we use sales order import program to upload.
    however, one case is, item code for line 1, was set to inactive.
    the sales order import program imported line 2 only, the order closed, and interfaced to receivables (ra_interface_lines_all).
    but the autoinvoice fail as the total amount of the order is -50, negative invoices and the transaction type is set to allow only positive sign.
    1) order can not be open back and add in the missing line.
    2) order can not be discard and recreate a totally new order.
    how can I solve this issue?

    1) Manually create a new order with +ve qty and interface it to AR.  Create manual invoice if necessary.
    2) Manually create a credit memo for the customer. And apply it to the above invoice.
    To avoid this in future, you should put a delay in your order header workflow.
    That way, the header won't close as soon as the lines close. You will have some time to rectify such situations.
    Hope this helps,
    Sandeep Gandhi

  • Paymont form via fpl9 for negative amount

    Hi,
    our customer wants to generate a payment form also when the account balance of the customer is negative.
    however, I'm getting an error message that:
    Creation of payment form not possible, amount is negative
    Message no. >6397
    Thanks,
    Vered

    Hi Vered,
    If I'm not mistaken (and I don't think I am ), that message comes from Function module FKK_SAMPLE_0756 - "FI-CA Correspondence - Sample Module for Payment Form Request".
    To override this bit of SAP standard logic, to the very least you'd have to program and assign in FQEVENTS own function module (without the check on negative Amount) to FI-CA Event 0756. We don't have payment forms for negative amounts in our system, but I believe it's doable - the rest of standard logic should function OK with negative payment amount.
    cheers,
    Janis

  • Cannot create AR Invoice negative amount with WithHolding Tax negative amount via DI API

    Hi All,
    I tried to create AR Invoice Document via DI API, but with negative amount and negative withholding tax amount.
    Document added successfully, but when i open the document in SAP, and i open WTax Table information, withholding tax amount become zero,
    Please see image below.
    But when i add the same document through SAP Screen, i can fill WTax Amount with negative amount.
    SAP Version 9.0 PL 5
    Please kindly help,
    Thanks
    Best Regards
    Siddharta

    Hello.
    If this is different to the behavior of the B1 application it should be considered a bug - like any such difference between DI API and app.
    HTH

  • Credit note for invoice with item with negative value

    Hi,
    is it possible to create credit note for invoice, where in one line is negative value (its non stock item).
    There exists 2 possibilities:
    negative qty and positive price (its possible create only through SDK, not SBO)
    positive price and negative qty
    for example
    itemcode 123
    qty -1
    price 1000
    How to create credit note from this invoice?
    Thanks a lot for hints.
    Petr

    Hello Petr Verner,
    It's a standard functionality of Business one, that it is impossible to enter a negative amount in an independant credit note or in a credit note based on a invoice with negative amount.
    To solve this issue:
    1.  For the rows with the positive Row Total, create an "independent" Credit Memo (not based on an Invoice).
    2.  For the rows with the negative Row Total, create another Invoice with a positive Row Total opposite to the original negative Row, and reconcile between the two rows manually via Banking => Bank Statements and Reconciliations => Reconciliation.
    Hope the above helps.
    Wilma Wang
    SAP Business One Forums Team

  • Invoices with negative rows

    One customer of us demands some changes within the Business One.
    The support in Ireland advised us to post this requirements in this Forum.
    Invoices with negative rows cannot be copied onto credit notes.
    Our customer uses this option very often, so it's very time-consuming to create this credit notes manually.
    The possibility to copy such invoices onto credit notes would be much better.

    Agreed.  This issue of not being able to draw a credit memo from an invoice with a negative row has gone on for far too long; with a system as robust as this, this should be a non-issue.  The below fix works...but it shouldn't be necessary.
    -Russell Clayton
    Sweet Leaf Tea Co
    Austin ,TX
    From a post by Wilma Wang, SAP B1 Forums Team member:
    It's a standard functionality of Business one, that it is impossible to enter a negative amount in an independant credit note or in a credit note based on a invoice with negative amount.
    To solve this issue:
    1. For the rows with the positive Row Total, create an "independent" Credit Memo (not based on an Invoice).
    2. For the rows with the negative Row Total, create another Invoice with a positive Row Total opposite to the original negative Row, and reconcile between the two rows manually via Banking => Bank Statements and Reconciliations => Reconciliation.

  • Negative amount on sales document

    Hi ,
    Based on the document type of sales document required to be created ,debit credit memo/sales order/credit memo  are the different types of business objects.
    The FM used to create sales document is SD_SALESDOCUMENT_CREATE.
    Requirement : I need to create a sales order with negative amount.
    1. when I use the above FM for BUS2096 - I am able to create a negative amounted SD in R3. Perfect
    2. when I use the same FM to create BUS2094 / BUS2032 type of SD with a negative amount, the value stored in SD is   
        changed to  a positive value.
    Is this a config issue , or do i need to search for any user exits where I could force a negative value for the SD.
    Thanks in advance.
    Edited by: Thomas Zloch on Mar 11, 2010 4:28 PM - replaced "-ve" by "negative"

    I had the same problem, and I would like to answer the solution in case somebody else has same issue.
    The problem is related with configuration. If you set up the credit note as a credit note and the item category is not marked as return; the pricing function multiply to -1 changing the amount to negative.
    Field: VBAP-SHKZG
    Set up the item category as return if the position is related with a credit note (also if it is without stock movement).
    Regards,
    Jorge Rosa.

  • Outgoing payment with Zero amount when Full adance is paid

    I am making A/P down payment request based on purchase order, then I make full payment of PO (full advance payment - no amount of payment left with) through "Outgoing payment" which creates negative amount in Business partner balance and shows a negative entry in "outgoing payment" screen. Moving further, I make Goods receipt PO and then I make A/P invoice of regular amount based on goods receipt PO / Purchase order.
    Up till now, the full payment has been made in advance through A/P down payment request and upon receiving goods the A/P invoice of regular amount is received. Now when I go to "outgoing payments" I have no amount left to pay (i.e. It displays 2 entries of same amount, one with positive amount of A/P invoice and the other one with negative amount of A/P down payment request to show the due balance = zero)  So I am trying to clear the vendor "outgoing payments" by paying with Zero amount, but the system shows the error "The confirmation amount should be greater than Zero".
    How can I clear the vendor "Outgoing payments" with zero amount ?? as it's payment has been made in advance.
    Note: Please give me the solution by keeping in mind that I have to pay full amount in advance.
    Solution to this problem would be highly appreciated.
    Thanks and regards,
    Farhan Sufi

    Hi Farhan Sufi,
                  For Cases where full Advance is paid initially, You Follow these procedure, I have tested in my DB its working fine.
    Step 1: Raise a Purchase order Say Rs 1000/-
    Step 2: Raise a GR(PO) of Rs 1000/-
    Step 3: Go To A/P Down Pmt -
    Select the Vendor -
    Say copy from GR(PO), And select te One you wanted. At the bottom in the DPM Field give 100% and Add the Document.
    Step 4: Raise Out Going Payment by linking to the A/P Down Pmt what you have posted. ie., Go To Out Going Pmt Screen---Select the Vendor, This will display all invoices, Down pmts, Credit Memos, and JE's. Select the A/P Down Pmt what you have posted and go to payment means fill in the respective field and add the document.
    Step 5: Go To A/P Invoice Screen, select the vendor. And  click on Copy from GR(PO), Select the respective GR(PO) document.
    And At the Bottom double click on Total Down Payment Button, This will display the list of all Down Payments for which Out going payments are also posted. Here Select the respective Down payment and add the document.
    When you add this A/P Invoice document gets added and the status of the document will be closed. As you have made full payment in the A/P Down Payment Screen.
    And This Invoice will not appear in the Out Going Screen as the document is closed.
    Cheers,
    Sree.

  • Date Validation problem in form with report

    Hi,
    I am stuck on this date validation issue in a form with report that I am working on-
    I have an Active_date_start and an Active_date_end field. I want to validate the form in such a way that if the user enters the Active_date_end < active_date_start then it should error out appropriately asking to change the active_end_date . Also another problem is that the changes are made to the active_date_end they should reflect in the table. How do I accomplish this.
    Appreciate all the help offered.
    Thanks.

    Hi,
    Thanks for the code.Now the APPLY CHANGES works fine except that it throws an error when I change the end date to a date which is less than the start date . So it does show me my error and does not go further but also shows me the error -
    Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306: wrong number
    or types of arguments in call to 'NVL' ORA-06550: line 1, column 7: PL/SQL: Statement
    ignored Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306:
    wrong number or types of arguments in call to 'NVL' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I looked up the error number and it says its a generic error type where the error can be found on the line number specified. But in this case how and where do I look for the error line?. This is the code I am using-
    DECLARE
    vACTIVE_DATE_START DATE;
    vACTIVE_DATE_END DATE;
    BEGIN
    vACTIVE_DATE_START := TO_DATE(:P4_ACTIVE_DATE_START, 'DD/MM/YYYY');
    vACTIVE_DATE_END := TO_DATE(:P4_ACTIVE_DATE_END, 'DD/MM/YYYY');
    IF vACTIVE_DATE_END < vACTIVE_DATE_START THEN
    RETURN 'End date is before start date';
    ELSE
    RETURN NULL;
    END IF;
    END;
    My base table has the active_date_start as NOT NULL. Now I have the exact same code for APPLY CHANGES
    in other form and it works fine not giving the above error. I am at a loss to know how I can get rid of the error.
    Any suggestions!.
    Thanks in advance,
    A

  • Project Closed with a negative amount

    Hi Experts,
    I need your help, I have a project in which I have a negative amount showed in T.Code CN41 as Ttl Commitment, but I have checked in CJ74/CJ76 and nothing appears. I also run KOB2
    Could you help me to fin that negative value.
    Regards,
    Marcos

    Your issue explanation is not quite clear. I think technically system cannot record negative commitment it can be only zero at max.
    however it is still possible to Project objects have negative cost get reported in acutal line item report. This normally happens when you are settling in excess of actual.
    Information required from your side is
    Are you referring commitment or  Cost ?
    The same is reported on which cost object i.e. WBS, Internal Order etc..
    With Regards
    Nitin P.

  • Issue with Negative Value for Total valuated stock 0VALSTCKQTY.

    Hi Experts,
    we loaded the Cube with datasources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    We mapped the quanity field from 2LIS_03_BF in transformation either into Key figures "Quantity issued from valuated stock" (0ISSVALSTCK) or "Quantity received into valuated stock" (0RECVALSTCK ) of the cube.
    For obtaining the Total Valuated stock, we used the Key figure 0VALSTCKQTY. This key figure is having the Inflow and Out flow values as 0RECVALSTCK and 0ISSVALSTCK. When i tried to check the content of 0VALSTCKQTY, the key figure  0VALSTCKQTY is not present in the infoCube content. I understood that the value for this key figure would be calculated at the time of query execution with the formula
    { Last obtained Valuated stock + (Received Valuated Stock u2013 Issued Valuated Stock ) }.
    The issue is the first records in the query is obtained with negative value for the total valuated stock 0VALSTCKQTY even though the values of Received Valuated Stock  and  Issued Valuated Stock are with Zero.  Could any one please help me on how the first record in the query is with a negative value eventhough the inflow and out flow fields of it are with Zero.
    Many Thanks in advance.
    Jeswanth

    Hi Srini,
    I observed an interresting reason for the stock being with negative in the first record.
    Issue : While executing the BEx report, we have the first record with a negative value.
    Let me explain with an example
    Material  : XYZ
    Plant      : A
    Date of Stock Initialization for data source 2LIS_03_BX -
    >  12th April 2009.
    So on 12 Th April 2009 consider that we have a stock in store with a value of 2640.
    Then we have loaded wih Data source 2LIS_03_BF for all Historic Movement types.
    At the time of query execution we will have the first record with a negative of available stock present on the day of initialization .
    So, as we have initilized the data source 2LIS_03_BX on 12 th April 2009, we have at that time a stock of 2640 in availability.
    Exactly with the same value of 2640, we are having a negative value i.e. -2640.
    and also one more point to be noted is ...as we have initialized the data source 2LIS_03_BX on 12 th APril 2009...it has created a
    opening balance of 2640 on the day of initiailization i.e on 12 th April 2009 in infocube....(which is an extra record...)...so if the previous record of 12,04,2009 is having some value in it..then it will get added to 2640 EA..which will give incorrect stock
    So in the query the records will appear in the below following manner
    Calendar Day     Total stock                                                                Received stock                                          Issued Stock         
    28.12.2005 --->  - 2640 EA
    29.12.2005 --->    2000 EA                                                                       640 EA                                                        0
    10.04.2009 --->      0                                                                                0                                                               2000 EA      
    11.04.2009 -
    >    0                                                                                0                                                                0          
                                 (For making
                                  the earlier record of  initilization to 0  a negative value -2640 EA is created in the first record )
    12.04.2009 (Initializtion day) --->  2640 EA                                                 0                                                                0
    13.04.2009 
    the day before initialization the total stock will be 0 due to the negative effect introduced by the first record and from the day of initialization the records will be the accurate values...  On 12 th april 2009 we can see that a stock of 2640 is brought into the total stock. In fact if there is no negative value i.e. -2640 in the first record then ...the value on 11.04.2009 will be 2640 Ea and this will get summed up with the Opening balance of 2640 EA created by 2LIS_03_BX on the day of intitialization. So on 12 .04. 2009 the total stock will be shown as 5280 EA...so in order to prevent the double value only we observed that the first record is created with the negative of available stock present on the initialization ...to make the record before the day of initialization i.e. 11.04.2009...to be 0...so that from 12 th April 2009 ..will start to see the actual total stock in the query result...
    This is happening only if we use  both the data sources 2LIS_03_BX and 2LIS_03_BF  for loading into BW.....
    If we load alone by 2LIS_03_BF ...then as 2LIS_03_BX is ruled out in the loading...then no negative of available stock will be created ...because there will be bno opening balance created on the day of initialization.....and the opeing balance available will be flowing into consecutive records due to the movement types and 12 th April 2009 will be shown with avaialable total stock of 2640 EA.
    Kindly let us know your opinions on this...
    Thanks.
    regards,
    Jeswanth

  • Check info "Amount paid is showning with negative sign"

    Hi ppl,
    After the RFFOUS_C program is run and after the check generated, If i go and check the "check inforamtion" in PAYR table. It is showing the paid amount as 2000.00-
    The amount is shown with a 'minus' sign at the end.
    What this means???
    Please help.... Thanks!

    Hi Sri,
    The Amount with negative sign is pulled out from the Payment document against the GL account. This means that the funds are going out or its an outgoing payment.
    Rgds,
    Vinod

  • Inventory issue with negative quantity

    Hi Everybody,
    My project is in Production Support & I'm stuck at one point.
    I have an inventory cube which shows correct quantity values for issues and receipts but shows negative in the file.
    We send a file to business through infospoke.
    I have done various analysis but never got to the root cause of the issue.
    Can anybody give me suggestions or different ways of analysis???
    Parthiv.

    Thanks for your reply Engin,
    You are right with that. I have checked and it is good till the cube. The total quantity matches with database table. There is a BAdI implementation at the infospoke to export the data to a file.
    The file contains negative quantity values for more than 156,000 records.
    The code used in BAdI :
              i_data_out-material = i_data_in2-material.
              i_data_out-plant    = i_data_in2-plant.
              i_data_out-stor_loc = i_data_in2-stor_loc.
              i_data_out-totalstock =
                              i_data_in2-rectotstck - i_data_in2-isstotstck.
    But the file shows negative value of isstotstck as total quantity.

Maybe you are looking for