There is double quantity in the sales item report?

Hi all,
I have created an infoset with sales order item and delivery
The issue is
there is one sales order item with qty 10 but because it was delivered on different dates with different quantity like 5,5
the report show likes
sales order item                            quantity                  delivered quantiy   act gds issue date
10                                                 10                             5                        20/09/2010
10                                                  10                            5                        21/09/2010
result                                              20                           10
but the actual quanity should only be 10 but the result it is sumarizing as 20 because there are 2 line items for the same
how to rectify and summarise it
thanks

Hi,
Check this blog on your topic. It explaines exception aggregation in detail.
Infoset Keyfigure multiplicity Part 3
Infoset Keyfigure multiplicity Part 1
Infoset Keyfigure multiplicity Part 2

Similar Messages

  • Sales Order Material Determination Cannot Change Quantity of the Sub-item

    Hi SAP Guru's,
    Has anyone encountered this scenario?
    1. Created a standard order with an item as material substitution
    2. Created a pro-forma invoice referencing the sales order created
    3. Went into VA02 to change the item quantity of the higher level item in the material substitution
    Expectation is that once you change the quantity of the higher level item, the quantity of the sub-item should also reflect whatever is in the quantity of the higher level item.
    Actual Result is that only the higher level item quantity is changed, the sub item quantity remained the same.
    Is there any configuration or copy control that we can check regarding this?

    Hi Maurice,
    Apologies! The qty of the sub item should change when you change it in VA02 even after proforma is created.
    Could you pls check the item categories TAX and TAPS config i.e. the material entered should get item category TAX and the sub item should have TAPS or the item categories should have same configuration as TAX and TAPS.
    Please check.
    Regards,
    Raghu.

  • Query to mimic the items tab of the Sales Analysis report.

    Hi there,
    I'm currently looking to create a query that mimics the behaviour of the Sales Analysis report in B1. The items tab of the Sales Analysis report provides all the data I require - the only issue is that I would like to merge this data with some other data regarding current on hand stock quantities etc. and therefore I would like to be able to pull out the query behind the Sales Analysis report.
    I'm assuming this cannot be done and therefore I'm attempting to build a query to replicate the results. The query needs to show Item No, Item Description, Quantity Sold, Sales Amt (in system currency), Gross Profit and Gross Profit % for items within a given period.
    If this can be done relatively easily, can the query then be modified to show all items (including items that haven't sold in the date range) merely with '0' for Quantity Sold, Sales Amt etc. if the item hasn't been sold in the period, and the appropriate figures if each of these columns if the item has sold. I assume some kind of CASE statement can be used to generate this.
    So the query needs to show Item No, Item Description, Current quantity in stock, Quantity Sold, Sales Amt (in system currency), Gross Profit and Gross Profit % for all items within a given date range.
    I hope you can assist me with this problem.
    Thanks
    Grant.

    Hi,
    Thanks Gordon that was exactly what I needed.
    I've been trying to add some additional columns to the query but I'm experiencing some errors and I can't quite tell why.
    Basically, here's the code from another working query I have which I wish to merge into the query you've suggested above:
    SELECT T0.[ItemCode],
    T0.[ItemName],
    T3.[ItmsGrpNam],
    T4.[Name] AS [Sub-Category],
    T5.[Name] AS [Sub-Sub-Category],
    T0.[CardCode] AS [Pref Supplier],
    T6.[FirmName] AS [Brand],
    T0.[U_Range],
    T0.[OnHand],
    CASE WHEN T0.[StockValue] = 0 THEN 0 ELSE T0.[StockValue] END AS [StockValue],
    T1.[Price] AS [PBK GBP Price],
    CASE WHEN T0.[OnHand] = 0 THEN T0.[LastPurPrc] ELSE T0.[StockValue]/T0.[OnHand] END AS [Ave Cost],
    CASE WHEN T0.[OnHand] = 0 THEN T1.[Price]-T0.[LastPurPrc] ELSE CASE WHEN T0.[OnHand] > 0 THEN T1.[Price]-T0.[StockValue]/T0.[OnHand] END END AS [Margin],
    CASE WHEN T0.[OnHand] = 0 AND T0.[LastPurPrc] = 0 THEN 0 ELSE CASE WHEN T0.[OnHand] > 0 AND (T0.[StockValue]/T0.[OnHand]) = 0 THEN 0 ELSE CASE WHEN T0.[OnHand] = 0 THEN (T1.[Price]-T0.[LastPurPrc])/T1.[Price]*100 ELSE CASE WHEN T0.[OnHand] > 0 THEN (T1.[Price]-T0.[StockValue]/T0.[OnHand])/T1.[Price]*100 END END END END AS [Margin %],
    T0.[LastPurPrc]
    FROM [dbo].[OITM]  T0 INNER JOIN [dbo].[ITM1]  T1 ON T0.ItemCode = T1.ItemCode INNER JOIN [dbo].[OITB]  T3 ON T0.ItmsGrpCod = T3.ItmsGrpCod LEFT OUTER JOIN [dbo].[@U_SUBCATEGORY]  T4 ON T0.U_Subcategory = T4.Code LEFT OUTER JOIN [dbo].[@U_SUBSUBCATEGORY]  T5 ON T0.U_SubSubCategory = T5.Code INNER JOIN OMRC T6 ON T0.FirmCode = T6.FirmCode
    WHERE T0.[OnHand] >= 0 and T0.U_Range not in ('E','X')  
    ORDER BY T0.[ItemCode]
    Essentially I just wish to add the fields which are specified in the query above, but not in the query you've already suggested:
    SELECT T0.ItemCode,
    Max(T0.ItemName),
    Max(IsNull(T0.OnHand,0)) 'In Stock',
    SUM(IsNull(T1.Quantity,0)) 'Quantity',
    Sum(IsNull(T1.LineTotal,0)) 'Sales Amt',
    SUM(IsNull(T1.GrssProfit,0)) 'Gross Profit',
    Case WHEN Sum(Isnull(T1.LineTotal,0)) = 0 THEN 0 ELSE
    SUM(IsNUll(T1.GrssProfit,0))/Sum(Isnull(T1.LineTotal,0)) * 100 END 'Gross Profit %'
    FROM dbo.OITM T0
    LEFT JOIN dbo.INV1 T1 ON T1.ItemCode=T0.ItemCode
    LEFT JOIN dbo.OINV T2 ON T2.DocEntry=T1.DocEntry AND T2.DocDate Between [%0] AND [%1]
    GROUP BY T0.ItemCode
    I was hoping it would be fairly straight forward but so far I've had limited success.
    What am I missing here?
    Thanks in advance!

  • Quantity appears in Sales Analysis Report when the Drop Ship Warehouse is used

    Dear Experts,
    We would like your help in the following case. We are using SAP Business One 9.0 (PL10)
    When a Sales Invoice document is added to the system using the Drop Ship warehouse, then in the report 'Stock Posting List' it does not display the document, which is correct since a Drop Ship warehouse is used.
    However, the report 'Sales Analysis Report' displays the Invoice, but it also shows the quantity that is used in the document, which is not correct.
    Why is this happening? Is there any setting that excludes the display of the quantity of the document from the 'Sales Analysis Report', when the Drop Ship Warehouse is used?
    Thank you in advance
    Kind Regards,
    Vassilis Korolis

    Hi Vassilis,
    Sorry, but in my opinion it's correct.
    We also use Drop Ship and like you said in the Stock Posting List we don't have any document and it's perfect. In other way when we sell an item we want and it's true the quantity that B1 is showing.
    We want to see the for a itemcode we sold 100qty qith the value of 1000.
    There's no way to avoid this SAP B1 behaviour.
    Kind regards,
    Augusto

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • I am trying to download photoshop presets from online but can't seem to figure out how to open them in photoshop. They download sucessfuly and then goes to my download folder on my computer, from there I double click on the file and photoshop opens and th

    I am trying to download photoshop presets from online but can't seem to figure out how to open them in photoshop. They download sucessfuly and then goes to my download folder on my computer, from there I double click on the file and photoshop opens and then nothing happens, any ideas? I am using a PC

    This video is a great step by step tutorial.
    Photoshop: How to Download & Install New Brushes & other Presets - YouTube
    Gene

  • Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top?

    Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!

    Hi geezer,
    when you open your 'Downloads' folder choose 'View'  in the Menu bar and choose:
    'as List'
    'Show View Options'
    In 'View options' window you tick:
    'Always open in list view'
    'Date Modified', or
    'Date created'
    Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
    column to get items alined from oldest to newest date (or reverse)…

  • Confirmed quantity in the sales order coming as 3.5 ea

    Hi Gurus
    The confirmed quantity in the sales order coming as 3.5 ea where the order quantity was 10ea.I checked CUIN for EA the decimal places is given as 0 which is very much correct moreover I checked the material master in additional data I have not find anything abnormal.The order was created by a batch job.Please help.

    Hai,
    The system has concluded that 3.5 EA for the confirmed quantity means the remaining part of the stock are already allocated to some other sales orders.Out of 10 EA only 3.5 EA are  in the stock.
    You can view through the MD04 and then enter the plant ,material and then check the quantity that are allocated to the various orders.
    Please revert for any.
    Kalyan

  • Is there a way to obtain the text item's value when the mouse pointer at?

    Hi,
    Is there a way to obtain the text item's value when the mouse pointer at? Mouse pointer may be located somewhere out of current record and even out of current block.

    There is a when-mouse-over trigger and that works fine in client-server mode for Forms 5/6/6i, but that is less indicated when deployed using Application Server.
    In that trigger you may write whatever code is necessary, restricted package procedures.
    Still, I think, for your case, if you do not have to deal with a multi-record block, you should use the HINT property for that item and set_item_property with the HINT argument for that item in order to set the hint to the item's value - this should set_item_property should be called on the when-new-record-instance .

  • Update the material quantity in the sales order using LSMW...

    Hi Guru's,
    I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
    could you please provide the step by step process....
    if anyone of you provide the program logic similar to requirement that would be helpfull to me...
    thanks in advance
    Srinivas....

    Hi Sri,
    Hope it may help you.
    First do the recording for VA02 transaction, in that give the existing sales order number
    and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
    Regards,
    Vishvesh
    if helpful, rewards it.

  • How is the Sales Amount in the Sales Analysis Report calculated.

    Hi,
    I'm trying to develop a report similar to the sales analysis report of SAP.
    I want to know how does SAP calculate the the Sales Amount column. I was using LineTotal column of Invoices + A/R credit memos, but it's not correct. I know i'm getting all the records because my total quantity and Gross Profit is correct.

    Hi Vj Chris,
    Try This
    SELECT T0.[DocNum] as 'INV NO', T0.[DocDate] as 'INV DT', T0.[CardCode], T0.[CardName], T0.[DocTotal], T0.[GrosProfit], T1.[DocNum] as 'AR CR MEMO', T1.[DocDate] as' AR CR DT' , T1.[CardCode], T1.[CardName], T1.[DocTotal], T1.[GrosProfit], (T0.[DocTotal]-T1.[DocTotal]) as 'Final Amount', (T0.[GrosProfit]-T1.[GrosProfit]) as' Final GR Profit' FROM OINV T0 , ORIN T1 WHERE T0.[DocDate] >=[%0] and  T0.[DocDate] <=[%1]
    But this query better run when you are using in Crystal Report.
    Thanks,
    Srujal Patel

  • BAPI_SALESORDER_CHANGE Quantity in the sALES ORDER NOT GETTING UPDATED.

    Hi Experts,
    i am adding a new line item to the sales order with line item number and material number and QUANTITY.
    by using BAPI_SALESORDER_CHANGE bapi every thing is geeting updated but QUANTITY field is not getting updated.
    regards,
    Jay Sawant.

    I m using this code..
    Fill Line Item Details
      fl_order_itm-itm_number = line_item + 1000.
      fl_order_itm-material   = mpn.
      fl_order_itm-target_qty = qty.
       fl_order_itm-sales_unit = unit.
      APPEND fl_order_itm TO it_oditm.
    Fill the Header Order Details
    fl_order_itm_inx-itm_number = line_item + 1000.  "added
      fl_order_itm_inx-updateflag = 'U'.
      fl_order_itm_inx-material   = 'X'.
      fl_order_itm_inx-target_qty = 'X'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument            = vbeln
      ORDER_HEADER_IN             =
          order_header_inx         = order_header
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
        TABLES
          return                   =  it_ret2
       order_item_in               =  it_oditm
       order_item_inx              =  it_oditx
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =

  • Fix date/Quantity in the sales order schedule line

    Dear SD Gurus,
    When we select the fix date/quantity in the lsaes order item schedule line, what happen? Hhow does it imapact the MD04,V_V2 and can this item be seen in CO06 to change the item date manually?
    Thanks
    J.Black

    With fix/date and qty, you can't use rescheduling and back order processing. The setting assumes that you want to fix the date at the time of initial confirmation and therefore these functions are not relevant, and ignore anything with fix/date and qty.  If you want to use those functions then don't use fix/date and qty.
    Rgds
    Richard

  • I have a macbook pro 10.6.8. My question is, is there a way to bypass the startup items (programs) when booting the computer?

    I perform music with my Macbook pro.  so I have several music applications that startup automatically when the computer boots. they look for the audio interface that they are supposed to talk to and then everything is good.  but sometimes I boot my computer when it is not connected to the audio interface and this breaks the conncetion link between the music applications and the audio interface.  If the is a way to bypass (turn off) the startup items as I boot the computer when it is not connected to the audio interface, then I'd no longer have this problem.  is there a way to do so?
    Burr

    Burr Johnson wrote:
    ...but sometimes I boot my computer when it is not connected to the audio interface and this breaks the conncetion link between the music applications and the audio interface.
    This is a third party software problem you need to contact the developer to fix, perhaps they already have a update and you need to apply it.
    Nothing should "break" if it's not connected to hardware as with portables people are always connecting and disconnecting.
    If it's breaking the connection between two other pieces of software then it's poorly designed.
    Some hardware + software combinations are meant for pernament desktop installations as a integrated system, not for portables.
    The only case I can think of that software won't work without the hardware attached if the hardware is a form of content protection, that it won't run without the dongle etc., attached.

  • Unable to confirm quantity on the sales order --- Product allocation issue

    The following configuration steps were completed in the APO system.
    1.     Maintain Product allocation object
    2.     Maintain Product allocation group
    3.     Maintain Product allocation procedure
    4.     Create planning object structure with the necessary characteristics
    5.     Maintain characteristic combination
    6.     Create Planning area with necessary key figures
    7.     Create Planning book and data view
    8.     Maintain connection to planning area
    9.     Generate Product allocation group objects
    10.     Generate characteristic combination from planning area
    11.     Allocate the stock for the CVC combination
    12.                 Assigned the product allocation group to the APO product
    Regardless of quantity in the planning book, it is confirming all the quantity on the ECC sales order. This is due to the material availability date being pushed out to 12/31/2011 which seems to be the last date of the planning area time series. The values on the planning book were maintained online (manual step).
    Also when I run the simulation of product allocation under GATP>Reporting>Product allocation,
    For the product allocation group and the combinations that I have, I get the message "No allocations defined for the current characteristic combination"
    Any help would be greatly appreciated.
    Thanks
    Ashwin

    Dear Ashwin,
    I would recommend to use the transaction /SAPAPO/ATPQ_CHKUSG. Enter the PAL group and do the following:
    First: run the transaction with the 3rd option. Select all assignments found by the report then press the button delete with incoming order qty -> this deletes all assignments without any order number                                                                               
    Second: run the transaction again with the 1st option. Select all entries. press the button "merge PAL assignments", press button execute, choose on the first popup "yes" and on the second popup "no"  -> this should correct the shortages.                                                                               
    Check the note 676128 to get further information about the //ATPQ_CHKUSG and the options.                                             
    I hope this helps.
    Regards,
    Tibor

Maybe you are looking for