Delta on Amount Field

Hi All,
I need to create a delta on the Amount field, cannot add Date stamp field or the date in Data source. Pl let me know the process or the steps i need to be aware of.
thanks

I cannot modify the datasource in R3 and there is no Timestamp/Date field in the Datasource to create a Delta. Can we create a delta on Amount field?
These are the fields in the DS. MATNR, BWKEY, BWTAR, BUKRS, ZPLPR, WAERS, VJBWH, ZPLP1. (Its a view with tables MBEW, T001)
So i need to create a delta on MBEW-ZPLP1(Future Planned price). Is it possible?

Similar Messages

  • User defined function to check the NULL and 0.00 value in a Amount field

    Hi Experts,
    I have one scenario in which i have amount field in Data type.
    I have to create one UDF which will do the following thing.
    1. If the amount field is Null it should throw an exception in mapping.
    2.If the amount field is 0.00 it should throw an exception in mapping.
    3. For all other cases it should pass the amount value to the target.
    Can anyone provide me the code For this UDF.
    Thanks in advance.

    Hi,
      You can add this logic to the UDF. Here var1 is the input string.
    java.math.BigDecimal b=new java.math.BigDecimal(var1);
              if(b.compareTo(new java.math.BigDecimal("0.00"))<=0)
                   //write your logic for values less equal to zero
    One small request, if you think your question has been answered, properly and correctly, could you please kindly if possible close down this thread. It helps people who look for solutions to similar problem.
    regards
    Anupam

  • DIsplaying WRBTR (AMOUNT FIELD)WITHOUT  DECIMAL PLACES

    Dear all,
    I am facing a problem in displaying amount field  in alv report. I have two currency keys (US dollar and Japan yen). if it is japan yen I should not have to show decimal places and if it is US dollar I should show decimal places.
    How can I do it in a alv report if I have only one output amount field?
    thanks
    Ranjan.

    Hi chittaramjan,
    1. use this kind of funda (just copy paste in new program)
    Important things
    a) one extra field in internal table
      declared in the same exact fashion
    waers LIKE tcurc-waers,
    b) Populate this field
    c) REST THE System will take care
       (based upon country settings)
    2.
    REPORT abc.
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA  : BEGIN OF itab OCCURS 0,
            f1  LIKE P0008-BET01,
            waers LIKE tcurc-waers,
            END OF itab.
    START-OF-SELECTION.
      itab-f1 = '-4.15'.
      itab-waers = 'KRW'.
      APPEND itab.
      itab-f1 = '4.68'.
      itab-waers = 'GBP'.
      APPEND itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name     = sy-repid
          i_internal_tabname = 'ITAB'
          i_inclname         = sy-repid
        CHANGING
          ct_fieldcat        = alvfc.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-repid
          it_fieldcat             = alvfc
        TABLES
          t_outtab                = itab
        EXCEPTIONS
          OTHERS                  = 2.
    regards,
    amit m

  • Error in Report: Next to amount field i could see 'ERROR' word in report

    Guys,
    Problem in Report: Next to amount field i could see 'ERROR' word in report
    Eg: Invoice Amount  : "1200ERROR"  it should be like "$1200".
    Pls help where do i need to check.
    Thanks

    Ajeet wrote :
    Hi,
    It can heppens if all the records getting aggregated in the report are of different currencies and not belonging to one currency.
    Do a currency conversion for the key figures and make them all with same currency.
    See if the records in the cube for the selection which you have given in the report gives you records with different currency and if it is true then as above said.
    Thanks
    AJeet
    Are you sure ???
    The mixed unit values will be displayed as * (by default unless its changed).
    ERR comes if unit is not maintained.

  • Length of amount field in New GL at the document entry

    Hi,
    1) At present I am working on ECC 6, EhP 4 with New GL Activated & Old GL "Not deactivated" (i.e deactivate update of Classic General Ledger GLT0 not done).
    2) The total table (FAGLFLEXT) & Line item table (FAGLFLEXA) field in new GL has amount field length as 23 digit.
    3) When I am trying to enter any FI Document in SAP, using transaction code F-02 or FB60 etc, the length of amount field is coming as 13 digit. I am not able to enter higher value
    Question:-
    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    Thanking you in advance
    Santosh Agarwal

    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    No, it is not.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    No, there isn't.  The field length that is appearing during document entry is really dictated by the data type of fields such as DMBTR, WRBTR in table BSEG; which is CURR (13,2).  Although the GL view (FAGLFLEX* tables) have longer length, the limitation in entry view (BSEG, etc.) stays as 13,2.

  • How to maintain the amount field format after GUI_DOWNLOAD

    Hi everyone.
    I have this problem on my object.
    The format of field ERFMG in table AUFM is 3.921,569.
    After I SELECT it INTO an internal table it becomes like this 3921.569
    I would display this internal table in ALV and its ok. Its format is 3.921,569 The format is also not changed when I download it into an excel file using LIST -> EXPORT -> LOCAL FILE -> SPREADSHEET.
    However my program should automatically download to local if the user tick a checkbox in the selection-screen. It will use function module GUI_DOWNLOAD. When this is used, the format of ERFMG changes to 3921.569 again, since it is using my declared internal table.
    How will I use GUI_DOWNLOAD without changing the format of amount fields like ERFMG? What are my other options to do this?
    The Decimal Notation in my User Profile is already set to 1.234.567,89
    Thank you in advance.

    Hi Cris,
    To get the output in the user format for the decimals, try the following code.
    data: wg_dec(7) type p decimals 2.
    data: wg_dcp type usr01-dcpfm.
    data: wg_dec_str(10) type c.
    wg_dec = '111135.67'.
    select single dcpfm from usr01
            into wg_dcp
           where bname = sy-uname.
    move wg_dec to wg_dec_str.
    if wg_dcp ne 'X'.
      replace all occurrences of '.' in wg_dec_str with ',' .
    endif .
    write:/ wg_dec, wg_dec_str.
    I dont feel there is any other option where you can change the decimals format as per the user profile.
    While giving the output of decimal values in a list, the system automatically displays it in the profile set by the user.
    This code will help you to set the decimal value as '.' or ',' as per the user profile.
    Note: It wont add the unit separator for hundreds and thousands. Again you have to do that manually.
    Hope this proves of some help to you.
    Regards,
    Pulkit

  • How to roll up Amount field upto Input Criteria Posting period

    Hi All,
              I have a requirement to create a FI Budget report where the User will give the Posting Period as the input criteria, and based on the entered Posting period, 2 amount fields, "Original Budget" & "Current Month" need to get derived by looking at another amount field called “actual”, by rolling up the Amounts up to the entered Posting period.
    For example, the user gives input as Posting period = 06, which is December because Fiscal year starts from July here. And my Cube has an amount field "Actual" which displays amount for each posting period. Therefore when posting period = 06, then the "Actual" amount value for months July (PP = 01) through December (PP = 06) should be rolled up i.e added and displayed in the "Original Budget field". The “Current month” should only display the amount for the input criteria month.
    How can I do that, any suggestions please?
    Thanks!!

    Hi Sam,
             Is there any way i could do it without the SAP Exit? If yes, how? If no, can u specify in the document you sent, which code i could use as reference for my requirement?
    Thanks

  • Error when displaying amount field in HTMLB Tableview

    Hi all,
       I am displaying some 'X' table in HTMLB Tableview and it has one amount field.But reference(currency) field of that amount field is in other table . I know it gives the error.
    Please tell me there is any other way to resolve this problem with out adding reference(currency)field in the same table?
    Thanks and Regards ,
    Harikrishna .

    Hi Hari,
    But reference(currency) field of that amount field is in other table . I know it gives the error.
    It will not give any error , you can use the currency key field of other table or structure .
    Alternatively you can use  predifined type DEC instaed of CURR  .
    Regards,
    Anubhav

  • Amount field is not populating properly

    Expert's,
    Here is an issue where one of the amount field not populating properly.For some opportunities the amount field will be just displyed as'0' but for some opprtunities the amount field is displaying as'$0'.The data we are pulling is from CRM.
    Thanks in advance.
    vasu.

    Hi,
    looks like extenstion of your last thread
    did you already have a look in data in cube?just to make sure,try to display cube's data using List cube transaction .Take this amount field,corresponding Currency Key,and you rmost impotant characteristics...and check whether all records are having entry in 'currency' column?

  • DOWN PAYMENT AMOUNT FIELD NEEDS TO BE NOT MODIFIABLE IN PAYMENT REQUEST

    Hi
    In SAP, when Down Payment is called through Payment Request, the "amount" field will be changeable mode.
    My client requirement is that, the amount field should be in "not modifiable" status.
    Is there anyway that we can do this...using EXIT or something....
    Thanks in advance...
    Srikanth M

    Hi,
    system will not allow to change the Vendor line item.
    F-47 Down pyamnet request 10000
    f-48  you need to select the above request
           and enter the 10000 in bank gl line.
    you cannot change the vendor line while f-48.
    i hope will clearify your issue.
    reg
    Mmadhu M

  • Payment check amount field

    Hi;
    I've already made a Z for payment check and works fine, but we have notice something when preview the checks in the spool, some checks in the amount (in numbers) field "*****999,999.99" sometimes it´s moves like this:
    1) example                                    "......******999,999.99"
    2) example                              ".............******99,999.99"
    3) example                                   "....******999.99"
    and so....
    in DEV we made a lot of test printing in paper the payment check an worked fine, but the problem is in QAS.
    How can i get that the amount doesn´t move in the sapscript...?
    Thanks on advance,
    David Fúnez
    Tegucigalpa, Honduras
    Edited by: David Funez on Feb 23, 2012 9:27 PM
    Edited by: David Funez on Feb 23, 2012 9:27 PM

    Hi David,
        create a SIGN aligned tab for that amount field. The tab is nothing but the position in the form from where the printing of that particular field should start.
    This should solve your problem.
    Please revert if you still face any problems.
    Regards,
    Praveenkumar T.

  • How to deactivate withholding tax base amount field

    Dear Experts,
    My in client is using the extended withholding tax with setting Define Formulas for calculating withholding tax, my client feel that the tax base amount field is open and user may accidentally input the wrong amount there thus can anyone tell me how to deactivate this tax base amount field?
    thank you

    Dear,
    Go into Withholding tax type under SPRO>Financial Accounting Global Settings>Withholding Tax>Extended Withholding Tax>Calculation>Withholding Tax Type.
    While maintaining the Withholding Tax type you have selected "W/tax base manual" under the control data. Just don't select that option then your requirement will be met.
    There are other options also like Manual W/tax amt. which you might want to go for.
    Regards,
    Chintan Joshi.

  • Tax Code and Tax Amount Fields are not appearing

    Hi to all,
    While making Downpayment Request (F-47) Tax Code and Tax Amount Fields are not appearing in the screen.
    for more clarity...
    suppose PO is 1150 include all taxes ( Amount 1000+ Tax Amount 150)
    as per agreement with vendor we need to raise DR for 1150 and based on DR we will make downpayment to vendor (F-48)
    But in F-47 screen Tax Code and Tax Amount fields are not appearing.
    Could any body help me on this??
    Thanks in Advance
    Regards,
    Schilukuri

    why you are looking for tax code field, pay gross amount as per PO, same amount will update in PO history as well as Vendor account.
    Even if you find the tax code field and check the tax code check box, system will not calculate tax  at the time of down payment or down payment request.
    Please remember that by default standard SAP provides the tax code field in f-47 or F-48.

  • Validate/compare 2 amount fields

    Hi All,
    I am using oracle Forms 10G on windows.
    I need help on how to validate 2 amounts fields.
    I am comparing 2 amounts fields, if the amounts are equal then all is good. However, if the amounts are within 5 dollars that is fine but I would like to display a warning message to the user. And if the amounts are more than 5 dollars, then display another message and do not allow any further processing.
    Thanks for your help in advance,

    Hi,
    Assume you have a datablock named YOUR_BLOCK, and items named S1 and S2.
    You must to create an alert, it is easy, go to objet navigator palette, look for Alerts and then click Create button, give to alert a name, we named our alert CFG_ASK.
    Try this in a trigger or a button, I suggest you use when validate item trigger ...
    IF :YOUR_BLOCK.S1 IS NOT NULL AND :YOUR_BLOCK.S2 IS NOT NULL THEN
    IF :YOUR_BLOCK.S1 <> :YOUR_BLOCK.S2 THEN
         IF ABS(:YOUR_BLOCK.S1 - :YOUR_BLOCK.S2) <= 5 THEN
          ALERT_CALL('CFG_ASK','ALERT','THERE IS A LITTLE DIFFERENCE');
         ELSE           
              ALERT_CALL('CFG_ASK','ERROR','TOO MUCH DIFFERENCE!');
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
    END IF;
    END IF;Alert_call code (in Program Unit):
    PROCEDURE alert_call(alert_name varchar2, title_name varchar2, msg_name varchar2) IS
    AL_ID ALERT;
    AL_BUTTON NUMBER;
    BEGIN          
      AL_ID := FIND_ALERT(alert_name);
      IF ID_NULL(AL_ID) THEN
           MESSAGE('There is no alert window '||alert_name); -- you must to create an alert              
           RAISE FORM_TRIGGER_FAILURE;
      ELSE              
           Set_Alert_Property(AL_ID, TITLE, title_name);
           Set_Alert_Property(AL_ID, ALERT_MESSAGE_TEXT, msg_name);
        AL_BUTTON := SHOW_ALERT(AL_ID);          
        IF AL_BUTTON = ALERT_BUTTON1 THEN        
             NULL; 
        END IF;
      END IF;
    END;Hope it helps.
    Remember the points.

  • Custom module pool + Amount field decimals display same as standard screen display

    Hi All,
    Requirement: A custom module program screen field has to be designed which displays decimal values of amount fields same as amount fields in standard screen.
    Standard screen behavior: If the standard screen fields are observed, they refer to data elements WRBTR or AZSOL_F05A (transactions FB50/FB03/FB01). However, number of decimal places that are visible on screen are dependent on the currency that is provided.
    Both the data elements have 2 decimal places.
    For currency USD two decimal places are displayed - in TCURX - decimal places are two.
    For currency JPY or CLP - zero decimal places are displayed  - in TCURX - decimal places are zero.
    i.e., even though the screen field refers to data element or domain that has the characteristic to show 2 decimal places, based on currency, decimal places are adjusted.
    I would like to know how this is happening on standard screen fields.
    Solution Required for: How to make the custom screen amounts to display same number of decimal places as standard screen amount fields.
    P.S: Before posting the query here, research has been done in SDN and other places. It has been identified that quantity fields adjustments are discussed. However for amount field even though discussed earlier, did not reach a conclusion.
    I would like to get a solution for this one.
    Thanks in advance.
    Goutham.

    Thank you all for taking time to take a look at this query.
    This issue has been resolved.
    Resolution: If the standard transactions (FI transactions in specific) are observed, whenever there is a field that displays amount value, there will be a corresponding field (may not be beside the amount field, somewhere on the screen or in the same sequence of screens) where the currency key value would be entered.
    For instance, if you look at FB50 - there is field on top for the user to input currency key value (like USD or CLP or INR).
    When any amount field is declared - this currency key field is provided as the reference field in the screen attributes of the amount field.
    In short, in the custom module pool program, provide a field that holds currency key value and use this field as reference field for the amount fields.
    Do repond to this thread if the resolution is not clear.
    Thank you all once again.
    Goutham.

Maybe you are looking for

  • Corrupted iPod Classic data recovery? In need of a guru.

    So, I have an iPod classic, and it seems to work almost entirely fine - it occasionally doesn't respond, but it has 11,000+ songs on it, and is a couple years old. My issue here is that there is plenty (read: more than $10,000 worth) of store-bought

  • How can I change my mac theme? for Mavericks

    I want my macbook to look better and I want to change the theme, any help?

  • My iphone 5 is not turning on

    hi i am using iphone 5 an year old.sday i have 50%of chrage b4 i slept.when i woke up in the morn my phone is switch of.i have put my phone in charge for an hr still no sign in the phone...anyhelp..?pls

  • How can we Customise the standard tool bar ??

    Can any body tell em how can we customise the standard tool baar in the forms. ie is there any way by which we can enable or disable few of its button. do reply thanx in advance amyt

  • Dynamic Sql Select Query : getting no response

    Hi I am working on a synchronous interface that has jdbc at the receiver side.. I need to be doing a select dynamically based on a filed from the request like select locationId from dbTablename  where empId = 'xxx' AND delFlag =0 the xxx will be popu