(DBT_E001 Translation of Purchase Value) How system determines this value?

Hi gurus,
I am selling an security after the same i am doing TPM18 afterwards system posts gain or loss on sale of security.
now to determine the gain or loss system derives a purchase value by using DBT_E001 update type. difference between this and sale price is treated as gain or loss based up on the situation.
in our case we are having this mutual fund from year 2007 and we are buying and selling this frequently then how system calculates the purchse price which is shown in DBT_E001.
what is the correct procedure of selling the security?
Pl. Help!
Thanks & Regards,
Sayujya

Hi,
Once you have posted the sale flow, then if you reverse the purchase flow, then the earlier profit/loss will be automatically reversed and a new profit/loss will be calculated.
But in your case, you cannot reverse the purchase because the sale units will become more than the purchased units if you reverse that purchase.  Check the no of units is sale transaction, whether it is correct.
Hence system will not allow you to reverse the purchase.  So you have to reverse the sale and then reverse the purchase and after that reenter the sale with correct number of units.
Regards,
Ravi

Similar Messages

  • How to determine the value of  -D__SUNPRO_CC?

    Could any body tell me how to determine the value of -D__SUNPRO_CC? Iam now using Sun Studio 9.
    Thanks in advance.

    The C++ Users Guide describes all the predefined macros set by the compiler.
    The __SUNPRO_CC macro is a 3-digit hex number. The first digit is the C++ compiler major version number, which is 5 for all releases from WorkShop 5 in 1998 through the current release, Sun Studio 10. The second digit is the minor version number, increasing by 1 for each release in the major release series. The 3rd digit is a place holder for the very rare (none since 1994) cases when we have a micro version number. It is zero in current releases.
    The current compiler release is C++ 5.7, so __SUNPRO_CC is set to 0x570.
    You can see the macro setting by running
    CC -dryrun -c foo.cc
    and look for the -D__SUNPRO_CC =0xNNN on the ccfe command line.

  • How system determine target cost ?

    Dear experts,
    we use moving average price control for in-house production parts, when we finish one production order, I can not see any target cost from cost analysis.
    Can you tell me how system determine target cost ? for moving average price control , is that mandatory for variance calculation ?
    BR , Shubin

    Hi
    Target cost is calculated based on released Standard cost estimate
    What you are doing is wrong.. Follow S for In House Made items and release standard cost estimate before GR
    Maintain Target Cost Version 0 in IMG for variance Calculation
    br, Ajay M

  • How to search this value in oracle database to find out the table

    Hi expert,
    I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
    Many Thanks,

    918440 wrote:
    Hi friends,
    this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
    Handle:     918440
    Status Level:     Newbie
    Registered:     Mar 2, 2012
    Total Posts:     20
    Total Questions:     10 (10 unresolved)
    why do you waste time here when you NEVER get any answer to any question you post?

  • How to determine the value of a Standard Value in a routing operation

    Dear Experts,
    Kindly guide me on how to detemine the value of my Standard Value in the  operation of my routing, or in the phase of my Master Recipe.
    I mean what determines the value that I enter for the Standard Values: Machine  and Labor in the phase of my Master Recipe?

    Hi,
    In the Routing / Master Recipe, the standard values are based on the lot size.
    For Example, if you have the lot of 100 KG, then in recipe the machine time will be 2 hr and labor time will be 2 hours, it means to make 100 KG we require 2 hrs of machine and 2 hrs of labor.
    Normaaly all production manager / supervisor will have the date for the hours. The system will calculate will respect to batch / lot size.
    If you have order for 1000 KG, then the system will assign 20 hrs for Machine and 20 hrs for labor.
    This will be used for Capacity planning and Costing.
    Capacity plan here your requirement is 20 hrs for machine and labor. If you have a reacto which wil run for 24 hrs a day, then the order will be completed in a day.
    Costing is concerned, all std. valur key will be assigned with an activity type in work center / Resources and the prices for activity type / cost center will be maintained in KP26.
    Based on the cost and hours, the system will allocate cost for the order (it will be planned cost). When you are confirming the order you will enter the actual time for the operation, then that will be your actual cost.
    Pl do a sample test scenario in your sand box, and surely you will understand more.
    The data for Routing / Recipe will be provided by the production manager of the plant and activity price will be provided by the finance team.
    Thanks,
    JK

  • How system determine delivery date in sales order

    Hi, sap gurus
    I am new to sdn forum please help me regarding my question
    1) how the system will determine delivery date in sales order
    2) what are factors effects to conform sales order stock
    3) what is different between static check and damanic check in credit mgt
    Thanks and regards
    nishad

    hi,
    Reg question:1 - System determines the Requested Delivery Date based on the Scheduline assigned to the item category of the item in sales order.the schedule line in the order transfers the requirements trhu MRP (can be individual or collective) . If its ruch order , you configure the order type "Deliver Immediately".
    In Detail:
    The TOR depends on the Requirement Type (MMR), Requirement Class(MMR), Checking group(MMR) and the Sc line category (Line Item). For the TOR to happen u need Plant at line item, scheduline category markd for TOR, Requirement Class marked for TOR and Checking group in MMR (Availability check)
    What all stocks need to be checked during Availability check is controlled by using the checking rule.. for example for AV -02 Ind Requirements a checking rule will be assigned and this checking rule- and then what all stocks need to be considered to determine the delivery can be maintained here.
    Rgds
    Sai

  • How to determine the values for Model Parameters in Forecasting

    Hello Gurus,
          On basis we will determine the values  for the Model Parameter values (Alpha, Beta, Gamma, Sigma).
    Thanks,
    Siva.

    Dear Siva,
    the values are dependent from the forecast stratey and forecast model.
    The forecast strategy determines the method or the techniques that are used to create the forecast. You set the forecast strategy in the forecast profile.
    There are some settings that you must make for certain forecast strategies. The table below shows you which settings these are. You make these settings either in the univariate forecast profile or under the Model and Parameters tabs of the Forecast view on the demand planning desktop.
    Model initialization is the process by which the system determines the necessary model parameters for the chosen forecast model. These parameters are in following link:
    http://help.sap.com/saphelp_scm50/helpdata/en/ac/216b74337b11d398290000e8a49608/frameset.htm
    I hope this helps you further.
    Regards,
    Tibor

  • How to determine the value of max-beans-in-cache

              As we have CacheFullException problem, but I dont know what is the side effect
              if I set an extremely large value for this parament. Is there any proper way
              to determine the proper value?
              

              "Jenny Wong" <[email protected]> wrote:
              >
              >As we have CacheFullException problem, but I dont know what is the side
              >effect
              >if I set an extremely large value for this parament. Is there any proper
              >way
              >to determine the proper value?
              Hi Jenny,
              The WebLogic Server allows you to configure the number of active beans (with an
              identity) which are present in the EJB cache.
              This cache is the in-memory space where beans exist.
              When a bean is brought into the cache, ejbActivate() is called, when it is removed,
              ejbPassivate() is called. It is basically
              equivalent to virtual memory being kept in memory or on disk. Tuning it too high
              will use up memory unnecessarily.
              Activation and passivation of EJBs is analogous to virtual memory on a computer.
              You want to minimize the number of times that
              your beans are activated and passivated. The cache size can help minimize this
              activity. To set determine if you cache size
              should be bigger, take a number of execution snapshots. Look at these snapshots
              of your execution and see if there is a lot of
              passivation and activation going on. If so, increase the size of your cache and
              see if performance improves. Otherwise, leave this
              value alone.
              regards,
              Ashok.
              

  • How to store this value in date variable?

    Hi sir,
    i am having one query which is
    select to_char(date '1900-01-01' + 1439/(24*60),'DD/MM/YYYY HH24:MI:ss')from dual;
    when i am running this query i am getting this value: 01/01/1900 23:59:00
    and this value i am inserting in one variable which has date datatype.
    here i am storing like this:
    v_nshiftmax := to_char(date '1900-01-01' + 1439/(24*60),'DD/MM/YYYY HH24:MI:SS');
    while storing getting error: not a valid month
    how to store it in this variable?
    thanks

    964430 wrote:
    why using TO_DATE (), to improve performance avoid function calling if you can do without it, just use v_nshiftmax := date '1900-01-01' + 1439/(24*60); remove TO_CHAR() function only, as you already converted it to date.Please prove to us that TO_DATE(...) is slower that using DATE '...'
    Both are internal functions that take a string and turn it into a date.

  • How to load this value into the master data display attribute

    Hi ,
    Please share me the knowldege how to load this kind of data into master data display attribtes ..
    Raj + Ravi Ltd (PCG: 13592)
    While loading this data ,i got the error message stating that '+' should not be part of the attributes and () should not be part of the attribute ..but i need all the information as it is available in the example data .
    Do i need to maintain RSKC Settings else some other things required ..
    Please guide me ..
    Regards,
    Raj

    HI,
    Maintain these symbols in RSKC and try to reload the data....

  • How system determines Valuation strategy in PP order confirmation.

    Hello Experts,
    i have maintained in valuation variant for valuation variant 006 and 007 strategies are 1st  standard price  2nd moving price and 3rd plan price.
    We have maintained two prices in material master one according to price indicator That is V in our case for eg 1000 per ton and other price which is standard price For eg 1200 
    Now while creation of production order my planned price according to valuation variant 006 is picking 1200 for a ton which is perfect  but while doing confirmation and saving my production order system is not picking the strategy defined in 007 which same as 006 and its should pick same 1200 instead of 1000 but not happeninng
    kindly reply as soon as possible
    Regads
    Naveen Chawla

    HI
    The System will take either Standard Price or Variable price but it will not take the values at time even though u maintain both the prices in material master . if its is taking the standard Price than your material may be Semifinshed  or Finished good s
    For Semifinished & Finished Goods --- Standard price is taken into consideration
    For Raw Material - Variable price is taken into consideration ,,,,
    Varable price is not consideration of HALB&Fert as in the the priceses are updated by the variable price inthe raq material when we perform Costing Run ...
    Hope this may help u
    Regards
    Ramanujam

  • JDO: How to determine NULL-values

    Hi all,
    I'm using JDO to access a database-table. One of its attributes is of Oracle-type NUMBER and mapped to Java-type int. The attribute can contain the values 0, 1, 2, 3, 4 and NULL. How can I distinguish between numeric 0 and DB-value NULL? When I read the attribute via JDO the member-variable gets the int-value 0 in each case, of course!
    Thanks for each hint,
    Christoph

    Hi,
    this is a Dynamics CRM forum, for NAV post your questions on Dynamics NAV forum: https://community.dynamics.com/nav/f/34.aspx
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • How to determine time value of a .wav file in real time as it plays?

    Hi all.
    I need to build a vi in which a .wav sound file is represented in a Waveform graph, and at the same time, I want to play that file, and have a vertical cursor line running along the Waveform graph, in order to have a visual representation of where the sound track is, in terms of time.
    Making the .wav file to appear graphicaly on a Waveform graph was an easy task to do, but then, I was´nt able to extract the time information of that .wav file, at the same time that this file is being played.
    This is a very common situation in music players, video players etc, where some kind of graphical artifact, represents in real time where the track is while it plays.

    Hi, this is the first ActiveX control I have played with but its really cool.
    I read this first: -
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/iwmpcontrolsinterface.asp
    Which covers "The IWMPControls interface provides a way to manipulate the playback of a media item."
    Then built the attached sample.
    It should now be straight forward to attach the position information shown to a graph control cursor postion.
    You will need to set a file of your own choosing in the VI first.
    Let us all know if this is what you wanted.
    Attachments:
    mediaplayer current play position demo.vi ‏39 KB

  • How to get this value?

    Hi all,
              Can anyone please tell me how to get the RELEASE DATE of a DataBase Table.
    Kindly reply immediately as this is bit urgent.
    Regards,
    Vijay

    Hi ,
         Thanks for your reply.
    Actually the requirement is a part of Upgrade Assessment where I need to compare tables in Version 'N-1' and version 'N'.
    I need to check whether that table has undergone any changes between the two version.
    For comparing I need to get the Release Number of Version
    ''N-1'  and Version 'N'.
    KIndly tell me how I can get the release NUmber of an ABAP Object(Database Table / Function Module etc).
    Kindly reply immediately as this is bit urgent.
    REgards,
    Vijay

  • HT5731 Apple tv taking too long to download movie purchase. How to solve this?

    Need help to speed up apple tv movies purchased on downloads

    Hello Tammyek,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes Store: Download times will vary
    http://support.apple.com/kb/ht1577
    When you buy an item from the iTunes Store, the amount of time it takes to download your purchase will vary according to the file's size and your Internet connection speed.
    Best of luck,
    Mario

Maybe you are looking for