Table containing the gross profit variables for an invoice

I would be grateful if anyone knows  the name of the table that holds the gross profit figures for an invoice as my client has an invoce showing incorrect gross profit figures
Thank you
For you help
Elaine

Hi Elaine,
Gross Profit figures are based on values stored in the INV1 table (fields GrossBuyPr, GrssProfit, GrssProfSC, GrssProfFC, GrossBase). Then the Gross Profit is computed based on the method set in AdministrationSystem initializationDocument Settings General Tab.
Regards,
Vítor Vieira

Similar Messages

  • Gross Profit Calculation for Documents

    Hi,
    Can anyone tell me the SQL for calculating the Gross Profit for a document? I have a requirement to create an alert when the Gross profit % is below 20% or greater than 70%.
    Many Thanks
    Martin

    Try this:
    SELECT T0.DocNum, T0.CardCode, T0.DocDate, T0.DocTotal, T0.GrosProfit, (T0.GrosProfit/T0.DocTotal) * 100 'Profit%'
    FROM ordr T0
    WHERE (T0.GrosProfit/T0.DocTotal > 0.7) OR (T0.GrosProfit/T0.DocTotal < 0.2)
    You can replace ordr with some other table if you do not want to calculate sales order.

  • Which table contains the field CNTRC(Counter Reading)?

    Hi Guys,
    1) Can anybody tell me which table contains the field CNTRC (short description is Counter Reading) ?
    2) CNTRC is available in the structure RIMR0. In a situation like this, how do we identify the table name?
    Thanks in Advance,
    Vijay

    Dear Vijay
    The counter reading is available in IMRG table in field CNTRR. It is available in exponential form. you need to convert to decimal from using the FM FLTP_CHAR_CONVERSION_FROM_SI
    Please go through the below link for the
    same
    Link: [Re: Counter reading in IK11]
    Regards
    gajesh

  • What SAP Table contains the info that a screen fields is hidden

    What SAP table contain screen painter information. Specifically what table contain the logic that a Infotype screen field is vivisable / hidden from the online user. I have been looking in SM51 and cannot track down the table used for this purpose...

    Hi Ryan,
    Please post this question in ABAP forum.

  • Which table contains the text

    hi all,
    im working on a smartform where i need to display data of trx VA01.After the initial screen of va01 in the Sales Tab when i double click the line item (Material field), it goes to a third screen where in Additional Data A tab  , Material Groups are defined from 1 to 5.
    I need to display the data entered in material group. In table VBAP the value for the material groups  from 1 to 5 is in the form of 01,02,03 etc. whereas when the user selects value of these they appear in a drop down list in the form of text.
    e.g:
    Material group 1 : uk , germany,india.(these are the options in drop down list on screen).
    vbap contains mvgr1 as 01, 02,06.
    I need to know which table contains the text uk,germany,india.
    thnxs .
    Points will be rewarded!

    Hi,
    Check the tables..
    For MVGR1 - TVM1T
    For MVGR2 - TVM2T
    For MVGR3 - TVM3T
    For MVGR4 - TVM4T
    For MVGR5 - TVM5T
    Thanks,
    Naren

  • How do I check the Oracle enviornment variables for a connection?

    I am using Oracle JDBC 10.2.0.4 and trying to output the Oracle enviornment variables for a connection.
    I am trying to determine if the values output from sqlplus from the following two SQL select statements are different in the connection object:
    SELECT * from NLS_SESSION_PARAMETERS order by 1;
    NLS_CALENDAR GREGORIAN
    NLS_COMP BINARY
    NLS_CURRENCY $
    NLS_DATE_FORMAT MM/DD/YYYY HH24:MI:SS
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_LANGUAGE AMERICAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    NLS_SORT BINARY
    NLS_TERRITORY AMERICA
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    SELECT sys_context('userenv','language') from dual;
    AMERICAN_AMERICA.WE8ISO8859P1
    Is there a way to do this in the API or do I just need to run the SQL statements in a Class and output the values to a log?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

    So try it.
    Create a connection with no settings.
    Alter all of the (session only)
    Query again and see.
    Either the query will return the altered values or it won't.

  • SOLVED - BIOS UPDATE "SYSTEM DOES NOT CONTAIN the NECESSARY WMI SUPPORT for this VERSION of HPQflash

    If you get infamous error when updating HP Portables (laptops/notebooks/ netbooks) BIOS within Windows:
    "SYSTEM DOES NOT CONTAIN THE NECESSARY WMI SUPPORT FOR THIS VERSION OF HPQFLASH":
    I am posting a solution found for own business laptop (HP 8540W & 8760W) so WebSearch engines index/register it in a few days - future sufferers come here and get a SOLUTION, finally.  Disreagrd previous "experts" advises, they don't work 100% & pity on TechSupport folks who get HP paychecks yet don't know products their co. designs/manufactures (on deep Technical level):
    Below is a SOLUTION (WORKING) !
    Go into Services (Run "services.msc" or get there thru ControlPanel-->AdminTools-->), find following 2 services ==> make sure they're running, chances are they're NOT (as in my case I keep them disabled unless need running):
    1) "HP Software Framework"
    2) "HP Service" [no typo - a real plain name]
    If not running, set Properties-->Manual and click "Start", make sure both are running.
    Rerun BIOS updater, choose option for "Within Windows" or something to that effect (using HPQ/ROMpaq updater), rather than "create USB BootDisk on Key", this time it should work without the hassle of a BootDisk creation.
    Should work from within Windows environment.
    Notes:
    a) Likely only one (1) service is responsible - namely "HP Software Framework" for HPQ Updater to fail, but doesn't hurt to reenable/restart both services.
    I in fact am responding to other customers who elect to Update BIOS within Windows, perhaps oldfashioned but to me Boot Updater is more natural & always works regardless of WMI Support.
    b) After done, don't forget:
    *) Recheck BIOS settings - update may've added new and/or changed old, so rescan tobe sure.
    **) Go BACK into Windows-->Services.msc & redisable both aforementioned Services if were originally disabled; or you're a computer Pro, you know what you're doing & like me keep all HP services disabled.  The ones we got on EliteBook 8760W are pests consuming system resources, you just enable "Software Framework" when occasional issues emerge with HP softupdate (typically no issues) & redisable after use, rest of services are bloatware - some attempt to overrun Windows Wireless console, some seekout HP Networked printers (Ethernet, Wireless, but not USB), some do this & that - I study/know which one does what and decided to disable all. This is called a "minimalist" philosophy & turns your machine into a fast beast, I recently sold a very obsolete 4-year laptop which however handles 3DMCAD & complex designs/simulations, better new machines out fo a store, as new machines are loaded w/bloatware chocking down resources.
    BUT nobody is requiring you to disable anything though.
    The solution merely states the fact:
    These 2 (or 1) services when not running halt BIOS Update "within Windows" (you can still run "BootDisk option", however, if preferred).
    Simply restartung them solves your problem.  Usually
    Ya'll have a good day and enjoy!
    ===========
    BELOW ARE IMPORTANT WARNINGS:
    1) IF YOUR BIOS UPDATE STILL FAILS, SOME OTHER PIECE IN WMI SUPPORT IS MISSING - IN MY CASE WAS THESE 2 SERVICES, BUT THERE'S REMOTE POSSIBILITY SOMETHING ELSE MIGHT BLOCK UPDATER.  DON'T WASTE TIME & CHOOSE "USB/BootDisk" options instead
    2) Once BIOS updater does its job, will ask to auto-restart - let it go on & complete, it will self-shutdown (click "Next" to skip 60-second timer), then do NOT turn it on manually!, wait - it'll turn on by itself in 15 seconds, let it boot into Windows, you're done!
    3) WARNING: close other apps before proceeding, be 100% sure your ACpower won't be interrupted or better yet - make sure battery is in/charged (so if ACpower accidentally disconnects, you're autoswitched onto battery) b/c power loss may result in severe damage to internal hardware.  In the old days it'd result in fatal damage, these days powerloss would still result in a major repair (ROM chip corruption).
    So to summarize: those 2 services I specified, are often responsible for whether HPQ/ROMpaq will or won't run.
    Other causes possible, but I've not witnessed; and if so - choose BootDisk option.
    ===
    Stan M. Starinski, MSEE.

    Hello Ceramics.
    Your ProBook is an Enterprise model.  It would be a good idea to also post your question to the HP Business Boards as those forums deal specifically with that kind of product.  Here is a link.
    Have a great day!
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

  • Set up table contains the enhanced field information?

    Hi Experts,
    I am enhancing a field in the datasource 2lis_11_vaitm,
    Things i did :
    1.Enhanced the ext.structure with the required field.
    2.Activated the ext.structure.
    3.Witten the logic in the CMOD.
    4. Deleted the Setup table and refilled.
    Now my question is :
    1.Did the setup table contains the ENHANCED FIELD with the historical data ?if so where to see that?
    I checked in RSA3 the enhanced field is displayed with the records.
    The code i have wriiten is WHEN "DATASOURCE " then -> logic from the base table.
    Now will the data come from the base table or from the setup table?
    Can any one help me in this issue.
    Best Regards
    Jelina

    Why do we need to delete the setup table after doing enchancement with standard Datasource.
    Ans :
    You neednot refill the setup table just because you enhanced the datasource.
    You need to delete and refill if the postings happened after you filled the setup table.
    Meaning you will miss the current posting.Unless you have done a init in BI/BW side.
    Hope this helps.

  • Approval Template by Gross profit Percentage for entire Document

    I'm trying to figure out how to create an approval template that would require an approval if the entire Sales order falls below a minimum gross profit percentage. I did find a built in function that I can require approval if any single line items drop below minimum, but I haven't been able to find a way to either select the gross profit percentage or access the needed fields to calculate the GPP.
    Thanks in advanced

    Hi Nick
    You can give an approval template of the gross profit percentage at the document level in the sales order but not at the row level, it will suit if the condition one to one relationship exists. Thought on the queries and formatted searches might help.
    HTH
    Thanks & Regards
    baskar

  • Internal Error - User not authorized to use the gross profit module

    We have a client who has a limited logistics license and just recently moved to 8.8.  in the past he could deliver directly from a pick list but now he is getting an error "User not authorized to use the gross profit module".  Is this something related to an authorization setting?  Before the move this task was not an issue.  Please advise.
    Thank you.
    Rene

    Hi Gordon, one of our user just experienced the same problem in sales order.
    In Form Settings he ticked "Display BP Catalog Number", and while he entered the catalog number he got the same error message.
    I'm not sure what this has to do with the gross profit base method...maybe the fields "Gross profit" and "Gross profit base price"?   Don't know where to set them up.
    Thanks.

  • Delivery (VL02n) - What table contains the Batch Item details?

    Hi,
    I have a question in regards to Deliveries (VL01n/02n/03n).
    Right now, I have a delivery that has 1 Item (Item 10) and a batch split
    under it (Batch SPlit is item 900001).
    From which table can I get the batch item details (what material it is for and etc).
    Table LIPS only contains the Delivery Item details and does not contain the
    Batch/Batch Split item details.
    Please help.
    Thanks,
    John

    hi check these tables..
    VBFA Document flow (alg.)
    VTFA Flow shipping documents
    6.1 Sales order :
    VBAK Header data
    VBAP Item data
    VBPA Partners in sales order
    VBKD Sales district data
    VBEP Data related to line items, delivery lines
    6.2 Billing document :
    VBRK header data
    VBRP Item data
    6.3 Shipping :
    VTTK Shipment header
    VTTP Shipment item
    VTTS Stage in transport
    VTSP Stage in transport per shipment item
    VTPA Shipment partners
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    6.4 Delivery :
    LIKP Delivery header
    LIPS Delivery item
    6.5 Pricing :
    KONH Conditions header
    KONP Conditions items
    KONV Procedure ( billing doc or sales order)
    KOND
    6.6 contracts :
    VEDA Contract data
    regards,
    venkat

  • Which R3 table contains the field WRSHB (Amount in FC)?

    In InfoSource 0FI_AP_4, the InfoObject 0DEB_CRE_DC is mapped with R3 field WRSHB (Amount in FC).  We try to find which R3 table contains this field, but fail to find it.   We've tried BKPF, BSEG, and PAYR, not successful.  We tried RSO2 and find that no view/table is attached to the datasource 0FI_AP_4, instead the extraction function BWFID_GET_FIAP_ITEM is used for the extraction, but inside this function, still can't find this field WRSHB.
    Any idea?
    Thanks

    hi AHP,
    Thanks for your answer to 0FI_AP_4.  Now we've got a question for 0FI_GL_4:
    Follow the similar SAP Help link for 0FI_GL_4:
    http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    The above link shows the Origin Fields in the Extract Structure, however it doesn't contains the field called KNTTP, but it does exist in the datasource of 0FI_GL_4 of our R3 system, why?  Our R3 system version is 4.7.  SAP Help website should be updated, right?  Why SAP Help website doesn't contain the field KNTTP for datasource 0FI_GL_4?
    Thanks

  • How can I use the same Sound variable for multiple sounds?

    I need my program to play many different mp3 files at different times.  I'm reading that you can not load different mp3 files into the same Sound variable.  But there must be a way around this right?  Can I Unload mp3 files some how?  Or can I delete the Sound variable and declare it again?  I don't want to have hundreds of Sound variables so what do I do?  Thank you.

    delete doesn't work in as3.  you must remove all listeners and references including nulling the variables.  for displayobjects, they need to be removed from the display list.
    p.s.  you don't need to create a sound instance until you need to load an mp3 using one.  so, if you're waiting for user input to start loading an mp3, you should wait for that input to create that sound instance.

  • Which table contains the order status in APO

    Hi experts,
    i need to knw which table contains order status in APO system.
    like in the table /SAPAPO/POSMAPN we have open and close status ,
    Like wise we need to find a table which has the order status in APO.
    particularly i am interested in all those whose status is in PGI (post goods)
    regards
    rahul.

    Hi,
    You can check the details in PLAF-table.
    Regards,
    Shamma

  • What HFM Table contains the Hyperion Financial Reporting Modify Date

    Does anyone know the name of the HFM table that contains the Hyperion Financial Reporting Modify Date field of a Report?
    Thanks!
    Edited by: user2609991 on Sep 1, 2009 8:49 AM

    1. no "HFM Table" stores any information about Financial Reporting reports. Financial Reporting is part of the "BI+" / "Reporting and Analysis" product, so if there was any information to be found in a relational database, it would be in the BI+ schema not the HFM one.
    2. Oracle / Hyperion do not support customers trying to build their own relational database integrations directly into product repositories. To interact with the BI+ product (e.g. to extract modified by dates of FR reports) you should read up on the API and write custom code using that API. More information can be found in the Developers Guide here http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hs_developer.pdf and in the "javadoc" documentation that comes with the BI+ product.

Maybe you are looking for