Show 2 pricelist per item

In the Item Master Data, the customer wants to see 2 pricelists, but only one is shown.
I thought by creating an UDF with a FMS I could show this, but can't set this correctly.
1. The price does not show automatically (prices can change, so I need to show this value what is de current price)
2. I cannot get the query to work, in the UDF, only in fields in the item master record.
I used the following query:
SELECT T0.Price FROM ITM1 T0 WHERE T0.ItemCode = $[$5.0.0] AND T0.Pricelist = 1
Any suggestions?
Regards,
Petronella

Petronella,
Check the following SQL and also try to set the Auto Refresh on this FMS to Refresh Regularly on Item Description field.
SELECT T0.Price FROM [dbo\].[ITM1\] T0 WHERE T0.ItemCode = $\[OITM.ItemCode] AND T0.Pricelist = 1
Best wishes
Suda

Similar Messages

  • Storing and calculating sales per item

    The case: We have a item, on that item we have a fee. If the item has sold more than 1000 copies, the fee will drop. Therefor i need to have a place that calculates/stores total sales per item. This can then be used to set the fee when i run my stored procedure
    for sales etc. 
    Database explained shortly: 
    The sales database looks like this: 
    ItemID, SalesDate, Quantity, Name.
    Example: 
    1399, 2014-01-01, 2, Fompa.
    1081, 2014-01-01, 13, Asddd. 
    1399, 2014-01-03, 1, Fompa. 
    Etc. 
    The item database looks like this: 
    ItemID, Name, Author, etc
    Now my boss asked me if i maybe should add total sales to the item database, but how is that possible? 
    I have also tried to gather all items and show the total sales, but something goes wrong, the itemID are not grouping together..
    here is the query: select ItemID, QUANTITY from BOOK_SALES group by ItemID, QUANTITY order by MAX(quantity) DESC
    If i get this query right, is it possible to store the query within a database table? 

    Hey, thanks for a fast answer. 
    I modified your query a little, 
    select
    itemid, sum(quantity) from book_sales group by
    itemid order by MAX(quantity) DESC
    but still, all of the itemIDs are not being grouped together. 
    Results show something like this: 
    1399, 981
    1081, 344
    1399, 199
    etc..

  • GR amount/line item still showing in Open Item after run F.13

    Dear Exparts,
    We run the F.13 after MIGO and MIRO. The GR/IR line item should clear after run the F.13. But the scenario is that in FBL3N in GRIR G/L Balance, MIRO Line item showing clear but the GRN line item is still showing in Open item. How can it possible and what to do for it. As per my knowledge Both line item should clear after run f.13.
    And how can I get the credit amount in which respect the IR(MIRO) amount cleared.
    Thanks,
    Sourav

    Hello Sourav,
    In the Automatic clearing Program for the items to get cleared they
    should meet the fixed criterian and the user defined criteria (OB74).
    When we execute SAP124(F.13) with the flag "only documents which can
    be cleared" it will display in detailed list only those documents that
    can be cleared. If dont check this field it will generate a list even
    of documents that cannot be cleared.
    For example:
    in the OB74: ASSIGNMENT,FUND & BUSINESS AREA as the criteria.
    And the ASSIGNMENT is not matching and thus the system does not find
    the item suitable or rather eligible for clearing.
    The system groups items according to
    fixed system criteria:
    Company code
    Account type
    Account number
    Reconciliation account number
    Currency key
    BSID-WAERS for customers
    BSIK-WAERS for vendors
    BSIS-PSWSL for G/L accounts
    Special G/L indicator
    The program also groups items according to a maximum of five user
    criteria. Note that the trading partner number and the business area are
    no longer fixed system criteria (in comparison to the former clearing
    programs SAPF123 and SAPF123W). Therefore, if you want to group by
    business area or trading partner number, you have to enter these as user
    criteria.
    Thus initially items are grouped according to fixed criteria one of
    which is company code.
    I would like you to review note 10757 FAQ: MR11, clear GR/IR clearing
    account
    Please also review the documentation of the program SAPF124
    Please also review the help.sap.com documentation on GR/IR Account
    Maintenance.
    http://help.sap.com/saphelp_47x200/helpdata/en/30/1060387db94003e1000000
    9b38f8cf/frameset.htm
    hope this helps
    regards
    Ray
    Edited by: Raymond Moynihan on Oct 19, 2011 5:14 PM

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Multiple Discount Per Item Row

    Is it possible to compute for 4 discounts per item row in all Marketing Documents?
    Thanks,

    Joel,
    I beleive you are talking baout different discounts for one item in one row. Maybe this van help...
    1. Go to Hierachies and expansions in the Pricelists of the Inventory module. go to validity period and you can give different discounts for different valiodity periods
    2. You can also give Quantity based discounts ...diferent Quantities different discoiunts by double clicking the Validity period row in the previous window
    3. Also if you give both validity period and quanity based disciount the system calculateds both discoounts and computes the price in the document.
    The same can be achived thru special discounts for BP;s below
    hierarchies ande expansions.
    Nagesh

  • Ending Inventory Per Item

    I am preparing the Inventory Turnover Report.  I need data on the beginning and ending inventory values per item per month.  I looked at the Inventory Audit Report and it does show the data I need which are cumulative Qty and cumulative Value columns.   These data however appears to be transient computed data and not table fields. 
    Does anyone know the table and fields(s) I should use to access the beginning and ending inventory values per item per month?  I already looked at these tables: OITM, INV1,OINV,OINM,MRV1,MRV2,OMRV.  I could find the what I am looking for.
    The fields I am referring to is the same one being used by the system to calculate the COGS and/or Gross Profit per line item in the invoice. 
    Tips or suggestion is greatly appreciated
    Thanks.
    Edited by: raymon on Feb 17, 2012 8:27 PM

    Hi Raymon,
    Check this link...
    http://forums.sdn.sap.com/thread.jspa?threadID=1997923&messageID=10459565#10459565
    Thanks,
    Srujal Patel

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Sales per item report

    hello experts
    i have made the following query but i dont want to display double and triple times values per itemcode
    i actually want to display the sum the quantity and the sum of the linetotal per item
    SELECT
    --T0.CardName
    -- T0.ShipToCode
    -- T0.DocDate
    T1.ItemCode
    , T1.Dscription
    , sum(T1.Quantity)
    , T1.LineTotal AS 'u0391u03BEu03AFu03B1 u03C0u03CEu03BBu03B7u03C3u03B7u03C2'
    --, T2.CardCode
    FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OSLP T3 ON T0.SLPCODE=T3.SLPCODE
    WHERE
    --(T0.CardName >= [%0] or [%0] = ' ')
    --and (T0.CardName<= [%1] or [%1] = ' ')
    --and (T0.ShipToCode >= [%2] or [%2] = ' ')
    --and (T0.ShipToCode <= [%3] or [%3] = ' ')
    (T2.CardCode = '80503')
    --and (T2.CardCode = [%4] or [%4] = ' ')
    AND (T0.DOCDATE BETWEEN '2011-10-01' AND '2011-10-25')
    --AND (T0.DOCDATE BETWEEN '[%5]' AND '[%6]')
    --and (T0.CANCELED= 'N')
    --and ((T3.SLPNAME BETWEEN '[%7]'AND '[%8]') OR ('[%7]'=' ' AND  '[%8]'=' '))
    group by T0.CardName,  T0.DocDate, T1.ItemCode, T1.Dscription, T1.Quantity, T1.LineTotal, T2.CardCode
    order by T1.ItemCode
    60344     test item1      1.000000     0.880000
    60360     test item2      1.000000     1.500000
    60360     test item2      1.000000     1.500000
    60360     test item2             2.000000     3.010000
    60361     test item3             2.000000     3.010000
    do you have any idea?
    thanks in advance for your time!

    HI
    try this:
    SELECT
    --T0.CardName
    -- T0.ShipToCode
    -- T0.DocDate
    T1.ItemCode
    , T1.Dscription
    , sum(T1.Quantity)
    , T1.LineTotal AS 'u0391u03BEu03AFu03B1 u03C0u03CEu03BBu03B7u03C3u03B7u03C2'
    --, T2.CardCode
    FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OSLP T3 ON T0.SLPCODE=T3.SLPCODE
    WHERE
    --(T0.CardName >= [%0] or [%0] = ' ')
    --and (T0.CardName<= [%1] or [%1] = ' ')
    --and (T0.ShipToCode >= [%2] or [%2] = ' ')
    --and (T0.ShipToCode <= [%3] or [%3] = ' ')
    (T2.CardCode = '80503')
    --and (T2.CardCode = [%4] or [%4] = ' ')
    AND (T0.DOCDATE BETWEEN '2011-10-01' AND '2011-10-25')
    --AND (T0.DOCDATE BETWEEN '[%5]' AND '[%6]')
    --and (T0.CANCELED= 'N')
    --and ((T3.SLPNAME BETWEEN '[%7]'AND '[%8]') OR ('[%7]'=' ' AND  '[%8]'=' '))
    group by T0.CardName,  T0.DocDate, T1.ItemCode, T1.Dscription, T1.LineTotal, T2.CardCode
    order by T1.ItemCode

  • Reg: Certain Open Items are not showing in open item clearing F-44

    HI all,
    I want clear open items using with f-44 but cetain open items are not showing in opeing item clearing.   i checked in FBL1N all open items are shwoing i want see all open items inf-44 how to see plz help me
    with regards
    JK Rao

    Hi,
    Check whether you r giving some additional selection take it as none and are the items in the account have any special indicator  you might not be giving here.
    reward pts if useful
    regds

  • Cumulative customer balance per item

    Hello everybody,
    I am looking for displaying a cumulative balance per item in a open item report.
    In the report, my customer want to see in a new column the cumulative balance per item.
    I searched in the standard report but I did not see how to calculate the cumulative balance per item.
    Does someone know if it is possible in a standard report or if I must create a specific report to do this.
    I thank in advance all the one who will answer me.
    Céline

    Hello,
    I could not find any Standard cumulative item report for customer. FBL5N or any other line item report is just a plain line items report, but the won't total each line item.
    If this is the requirement, you need to take help of the ABAPer to develop this report.
    Regards,
    Ravi

  • Cleared items still shows as open items in transaction FBL3N

    Dear All,
    We have an issue with respect to cleared items still shows as open items in transaction FBL3N.
    Few documents has been posted and cleared, but still those line items still shows as open items.  We had this problem only for few line items. 
    For other line items this clearing process is working properly without any issue.
    Issue:
    1. Documnet has been posted on 15.08.2209 and the same document has been cleared on 12.03.2010, but this document still shows as open item only....
    Looking forward your  response / suggestions to resolve this issue.
    Thanks in advance
    Regards,
    Prasad

    Hi Prasad,
    You have the following ways to find out the reason:-
    1. Check your selection criteria in FBL3N, if you are selecting open items as on 15.08.2009, then they will still show open items..
    2. Check in table BSIS and BSAS and check where the documents are appearing.If they are cleared, they all should be appearing in BSAS.
    This is standard SAP and most probably it has got to do with dates...
    Regards,
    SAPFICO

  • Partial delivery per items always copy sold to settings

    Hello SAP Consultants,
    Currently in my clients' business process, there are scenarios where customers (sold to) can have different ship-to parties. Thus, they maintained partial delivery per item specific for ship to party under sales area shipping tab of customer master (XD01).
    However, when creating sales orders where sold to party is not equivalent to ship-to party, the partial delivery per item of the material ordered corresponds or is referenced from the sold to party settings and not the ship-to.
    How can we make it possible to reflect the ship-to settings of the partial delivery per item to be defaulted when sales order is created?  Is there configurations needed?
    Please advise.

    Standard SAP copies the Partial Del Per Item field values from Sales order - Sold to Party. If you have to change that and read the ship to instead, then you will have to go for enhancement.
    Please work with your ABAPER to get it done. Try to work on user exits MOVE_FIELD_TO_ABAP in the program MV45AFZZ.
    Regards
    Sai

  • Partial Delivery Per Item Setting Not Effective

    Hi,
    Any help greatly appreciated.
    We have a business requirement whereby sales orders may be partially shipped but the sales order lines themselves MUST be shipped complete.
    Therefore we have set the customer master record accordingly ie Partial Delivery Per Item = C ( Only complete delivery allowed)
    This setting is indeed copied into the sales order but the availability check seems to ignore it.  Instead it proposes a delivery schedule ie 100 qty del tomorrow, balance in 2 weeks.
    I would expect that the availability WOULD NOT split the qty like this instead propose the complete qty in 2 weeks.
    I could probably get round this by making the message an error during delivery creation, but I would really like the sales order to behave as expected and make an intelligent 'promise'
    Am I missing something somewhere?
    Please help.
    Regards
    Guy

    Hi,
    You can try the following setting;
    In SPRO -> SD -> Basic functions -> availability check and TOR -> Availabity check -> Availability check with ATP logic or against planning -> Define default settings. The t.code is OVZJ.
    Here for your sales area, under Availabitlity check rule column, you can assign value B and try.
    Regards,

  • I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this?

    I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this? I allways found that handy. Now I have to click on an icon on the top, This is a backward step if that is now the only way to see the number of items. Am I missing something obvious?

    Parrotcat wrote:
    I have just updated to Lion and now my folders no longer show number of items on the bottom...    
    In the good old days of Snow Leopard, an open Finder folder had a border along the bottom of the window which could show the number of items in that window and the total available space on the hard disk or partition that folder resides on. That bottom border is gone in Lion and those two bits of information are gone with it. Is that what you're talking about? If so, I'd like to learn how to get it back too and "Show Item Info" is not the way.

  • SECess is nod showing in MIGO Item Level(Excise Item)

    Dear MM Guru,
           In MIGO Screen for Excise Invoice I am not able to view the SECess Field.I header Level Its showing but in Item Level its not showing.
    This is the ABAP issue or an Configuration Issue.
    Please Guide me and Give me the exact SAP Note Number.
    Thanks & Regards,
      Dhanush.S.T

    Hi,
    Please check whether u have note no 1032265 or not?
    If yes, then take help of ABAPer.-Progm-SAPLJ1IEXGM screen no 0220.
    Regards,
    Piyush
    Edited by: Piyush Mishra on Apr 25, 2008 1:01 PM

Maybe you are looking for