Total sales values by material and plant

Hi,
I was trying to extract the following information:
material number, plant, total sales qty(2006), and total sales amount(2006) from sap table. So, can any one help me with the table or a report where in I can find all this information.
Thanks
Putta

Hi,
Good evening and greetings,
You can get the info from the Table BSEG as below
BSEG-BUKRS = Company Code and a Sales Org is attached to a Company Code
BSEG-GJAHR = Fiscal Year
BSEG-DMBTR = Amount in Local Currency
BSEG-PSWBT =  GL Account Amount
BSEG-HKONT = GL Account Number
BSEG-MATNR = Material Code
BSEG-WERKS = Plant
BSEG-MENGE = Quantity
BSEG-MEINS = Base Unit of Measure
You have to execute the report with the following input parameters in SQVI
Company Code
GL Account Number = Revenue Account
Fiscal Year
You will get all the info from the system in the single table.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan

Similar Messages

  • Characteristics values for material and plant

    Hi Experts,
    I need to fetch characterstic values from a class Y-xx . I belive badi BAPI_CLASS_GET_characteristics
    will give the result but my problem is in selection screen I am passing material no and plant
    for this material and plant i need to fetch the characteristics values from the Y_xx class
    Could any one suggest the BADI or FM or tables to fetch the results
    Thanks in advance

    Hi,
    Go to MEK2, here enter the freight condition type, go to the output screen as pr the access maintained and select the line item and click on "Scales" button to see the from and to value.
    Also you can check the same in "Conditions" button in Purchase Info record.

  • User Exit to check whether chapter id for Material and Plant combination is maintained while creating sales order

    Hello all,
    my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.
    please suggest the user exit.

    Hi
    CASE 1 : All Plants are excisable.
    In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)
    CASE 2 : Few Plants are excisable
    In the Case 2 you need to go for Enhancement
    Program Name : MV45AFZB 
    User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )
    By using above user exit you write a logic with the help of ABAPer
    Plant and Chapter ID combination table : J_1IMTCHID

  • Characteristic values for the material and plant combination...

    Hi Friends,
    I would like to know how can we maintain the characteristic values for the combination of Material and Plant though the material is not batch managed?
    Thanks in advance,
    Ram

    Hi Rajendra,
    Thanks for quick reply. I am maintaining under classification view but it does not ask plant any where. So the value will be same across all the plants but i want to maintain characteristic values separately under each plant for same material.
    Regards,
    Ram

  • How to get material and plant by providing control key as input ?

    How to get the material and plant info based on control key values using a function module?
    kindly help..

    Hi,
    Check the FM
    K_VALID_PLANTS_OF_MATERIAL.
    Sandeep Kaushik

  • Plannning Material and Plant for MRP Run

    Hi,
    If I have a material (01) extended on 2 plants, on one plant (A) we have production and planning/MRP + stock and on the other one (B), just stocking and transfer. B's requirements are to be entered and planned at A. I also want stock at B to be considered with stock at A when MRP runs at A. In the material master, I have some settings. I want to know if these would be any good:
    Material 01 on Plant A:
    MRP PD
    Strategy 40
    Lot size EX
    Coverage profile applied
    Material 01 on Plant B:
    MRP ND/PD tried both
    Strategy 40
    Lot size EX
    Coverage profile applied (same)
    Planning material: Material 01 itself
    Planning plant: Plant A
    I particularly want to know about points 5 and 6. Will they make any difference if I run MRP on scope of planning(all plants) or just plant A? Will stock at B be considered? What difference does that setting make in my case? Please help!
    Thanks!

    No sales on Plant A. Only transfers and STO's. Stock is STO'd to Plant B (and other Plants, as well)
    Plant B sells the stock.
    Yes, I want to load the forecast in Plant A (COPA to SOP to DM to MRP). What do I do in this case?
    I tried another case, as well. In that I put a special procurement on the material in Plant B view and marked it as external procurement. (the planning material and plant were there, didn't remove)
    Then I entered the forecast in both plants separately (PIRs for both Plants) The requirements from Plant B made STPO Planned orders in Plant B and STCK Planned orders in Plant A. I am using coverage profiles (period is month, standard length 25 days, target 10 days for 1st period for 2 months, target 10 days for 2nd period  for 1 month, target 10 days for the rest of the horizon) Not using any consumption modes.
    The results I am getting don't make sense to me. I have attached screen shots for both plants MD04 and the MRP + work scheduling views

  • How to all customer who are having total sales value more than 10000 usd??

    Dear all,
    How can we see all customers that are having total sales value is more than a specific amount (Ex: more than 10000 USD)
    How to list all customers who's total sales value is more than 10, 000 USD.
    Please help me to find the right solution for this problem.
    Your help will be highly appreciated.
    Best wishes,
    Raghu ram

    Dear Raghu ram
    Go to VF05N, give just Sales Organization, distribution channel and execute.  You will get the entire sales details including currency.  Sort in descending order by selecting the value column.
    thanks
    G. Lakshmipathi

  • Outbound delivery allows only the unrestricted stock for particular material and plant

    Hi,
    In STO I have an problem the outbound delivery creations allows all stocks under unrestricted, Quality inspection, Block stock.
    I want the outbound delivery creation of a particular material and  plant it allows only the stock under the unrestricted only. It doesn't allows the stocks under the Quality inspection and Block stocks.
    I need to know how to configure this or how to solve my requirements.
    Regards,
    Ramesh N

    Dear Mohammed ,
    as per your scenario , there is two movement type has to trigger in the Delivery level according to the plant and material combination .
    as per my knowledge it will not configurable in standard process . this will possible with user exit logic only .
    follow the below logic to achieve your issue .
    you have to create two item categories and two schedule lines with (655 &653) , that means your movement type has to trigger at sales order level only . write a logic in the user exit - MV45AFZZ -USEREXIT_MOVE_FIELD_TO_VBAP , if this combination matches then automatically item category has to over write other wise it will copy the existing item category .at delivery level you can see two movement types in item level.
    wait for other experts solution , if any standard is possible or not  .
    Regards,
    C.B Reddy.

  • Need help on enhancement of 0CO_OM_OPA_1 with Material and Plant

    Hi,
    I have a requirement that need to build a BW report which shows Actual costs and Planned Costs of Service Orders. We are getting Actual costs from 0CO_OM_OPA_6 and now i am getting planned costs from 0CO_OM_OPA_1. For actual costs we are getting Service Orders, Material and plant from Satandard DS 0CO_OM_OPA_6. Where as For Planned Costs standard data source 0CO_OM_OPA_1 is not having Material and Plant information. For this we decided to enhance 0CO_OM_OPA_1 with Material and Plant.
    But we are not sure the source tables for material and plant and the logic to extract these data from the tables. Can anybody please help me out.
    Thanks for your supprt in advance.

    It's possible you may need to use a CO-PA (profitability analysis) datasource instead of 0CO_OM_OPA_6.  0CO_OM_OPA_6 extracts data from CO tables. 
    Based on the path you provided "...Profit. segment...", the requested data might exist with CO-PA.
    If you determine the required data resides in CO-PA, you'll have to create a datasource based on the operating concern.  You can perform a search within the online docs for steps to create this datasource.
    Hope this helps.
    Rod

  • Transaction code to display exception messages by material and plant

    Hi,
    Is there a transaction code or standard report in SAP  to display exception messages by material and plant? I see the exception messages by individual material and plant in MD04 but I need to see a collective view. I tried Collective access in MD04 and MD46 but they are not giving me exception groups but I need exceptions listed out by material and plant.
    Thanks.

    Visu,
    I have never seen such a report.
    MD06 does support fine tuning the output display, once the list has been generated.  If you use this feature, the resulting display is the entire list as created by selecting the initial parameters (such as exception group), but with the specific items that contain your selected message highlighted.  If you are addressing the messages interactively, you can select the review (glasses)  screens, and scroll through just the ones which contain your  selected exception message(s).
    To try this, execute MD06.  Select the groups as necessary.  Execute.  Wait for the list.  Now, immediately, select 'search' (binoculars).  Experiment with the output.
    As mentioned in the previous post, if MD06 does not meet your needs, you will need to have a custom report written.
    Rgds,
    DB49

  • FM / BAPI to update STEUC field in marc Table basing on material and plant

    Hi,
    I need to to update STEUC field in marc Table basing on material and plant. please suggest FM / BAPI.
    Thanks.
    raviraj.

    Hi
    Try this BAPI function module:
    " BAPI_MATERIAL_MAINTAINDATA_RT "
    Data: LS_HEADDATA TYPE BAPIE1MATHEAD,
             LS_RETURN TYPE BAPIRETURN1,
              LT_PLANT TYPE TABLE OF BAPIE1MARCRT,          LS_PLANT TYPE BAPIE1MARCRT,
              LS_PLANTX TYPE BAPIE1MARCRTX,          LT_PLANTX TYPE TABLE OF BAPIE1MARCRTX.
            CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
                   EXPORTING
                       HEADDATA   = LS_HEADDATA
                   IMPORTING
                       RETURN     = LS_RETURN
                   TABLES
                       PLANTDATA  = LT_PLANT
                       PLANTDATAX = LT_PLANTX.
    Check the PLANTDATA in the above fm in which pass your ''STEUC'' to BAPIE1MARCRT-CTRL_CODE......
    Hope this works.....

  • Any ideas why placing Material and Plant in same DIMENSION is a bad idea?

    Hi,
    I place Material and Plant in the same dimension and a colleague argued that it is a bad combination in the same dimension although he did not explain.
    Can you provide some examples to explain to me why  this is a good or bad combination?
    What are the rules in making decisions on which characteristics go into the same dimension?
    Thanks

    1.
    m:n relation
    If I place a Material and Plant in a dimension, let's say 5 plants and 1000 materials, then there will be 5 x 1000 = 5000 material-plant combinations.
    1. Is this 5000 material-plant combination taking place in the Dimension or in the cube?
    In the dimension table.
    Remember we are trying to see that the size of the dimension table is lot smaller than the size of the fact table.
    m:1 relation
    Similarly, if I place a Material and in a dimension, let's say 5 Material Groups and 1000 Materials, then there will be 5 x 1000 = 5000 Material-Material-Group combinations.
    2. What is the difference between the
    5000 Material-Material-Group combinations &
    5000 Material-Plant combinations ?
    Here the example is wrong. Imagine if 200 materials each fall under one material group, then there are not 5000 combinations but only 5 material groups with 200 each.
    3. And why does one improves performance over the other
    i.e. why is the
    5000 Material-Material-Group combinations better than that of 5000 Material-Plant combinations
    In the second case the dimension table is lot smaller and improves performance.

  • /SAPAPO/SDRQCR21 program is not working correctly if we run the program for range of material and plant wise

    Hi APO Experts,
    In our project, we have received more sales order inconsistencies which is not clearing by CCR program and it is clearing by  program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, So We have decided to schedule the background job on daily basis for program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, performing the testing in our quality system and observed the below strange behavior. 
    When I am running the program /SAPAPO/SDRQCR21 with Range of products and some location range with option as Build Reqmts from Doc. Flow, in Background job. In output it is suggesting to delete one sales order. If I checked that Sales order in ECC, it is for an different location, that is not part of my selection and the order is open. In MD04 the Qty is showing 1 ( as per sales order) but in APO RRP3 view the order qty is showing Zero. I have run the CCR, it is coming in different in content and if I push, the different is not going to APO.
    I have tried running the program /SAPAPO/SDRQCR21 with plant which is mentioned in that sales order with option as Build Reqmts from Doc. Flow, in Background job , it is suggesting this sales order under update option correctly.   
    Can you please help me understand why it is behaving differently like the location is not part of my selection and why it is suggesting the wrong action. And also whether is it advisable to run the /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow at plant range and material range in background job.
    Thanks & Regards,
    Sundaram Radhakrishnan

    Sundaram,
    It sounds to me like the sales document records in the OLTP and in APO were created at different times.  This is common in Dev and Qual environments when the systems are commonly created at two different times, and each was a copy of an existing system that contained sales data.  The order number you see in //rrp3 is somewhat irrelevant; system generally uses the guid for many activities.
    FYI during Dev and Qual refreshes, if you are copying from a production environment that contains data, it is always best to create the OLTP and SCM images at the same time, and to copy them both to the Dev and Qual systems at the same time.  If you don't do this, you are faced with the additional tasks associated with getting the copied systems back into synch.
    If this is Dev or Qual, I suggest that you just completely wipe out all sales orders in APO and rebuild them using the CIF.
    If this is a mature production environment, the only time I have ever seen this issue is due to improperly created CIF enhancements.  Speak to your developers to find the root cause, and correct this problem.  Then, wipe out all sales orders and rebuild with CIF.
    Best Regards,
    DB49

  • Dispaly  range of material and plant

    hi,
    firends i want the code for the display of ranges between two number of material, date and plant on that base i have to get data for plant, date of posting, customer
    like that
    ie if i give material 400000004 to 400000007
                  plant      dp01 to dp02
    date 13.04.2006 to 30.1.2007
    on this information i have to get values for material docu number date of posting , customer
    i am geting for single value now i want for multiply values
    thanks and regards
    shafeeq ahmed

    select material docu number date of posting , customer from XXXX into table itab where material in s_material and plat in s_plant and date in s_date.
    loop at itab.
    write: / itab-material docu number date of posting , customer.
    endloop.
    Cheers

  • How can i find the Goods Receipt (GR) date with a given material and plant?

    Hi experts,
    How can find the GR date with a material # and a plant? I have other info such as batch and Sales Order. In which table is the GR date stored?
    Thanks in advance.

    table EKBE, field BUDAT

Maybe you are looking for