Query to know wich item are to a specific price list
Hello Experts,
In order to be able to delete a price list, I need to find out wich items are linked to this price list. Which query I need to run ?
I tried in the OSPP table but no data are recorded in.
Thanks in advance for your answer.
Best regards
Sébastien TABORE
Hi Sebastien,
Try this
SELECT ItemCode,ListName,Price FROM ITM1 INNER JOIN OPLN ON ITM1.PriceList=OPLN.ListNum
Best Regards,
Hendry Wijaya
Similar Messages
-
After Trex Query the "areaAttributes" of items are NULL
Hi, I wrote a simple code to search items by Trex functions.
This is the code:
IQueryStatement queryStmt = theCatalog.getCatalog().createQueryStatement();
IFilter filter = cff.createAttrFuzzyValue("MY_CUSTOM_ATTR", myCustomAttr);
queryStmt.setStatement(filter, null, null);
IQuery query = theCatalog.getCatalog().createQuery(queryStmt);
WebCatItemList itemList = new WebCatItemList(theCatalog, query, true, true);
The items are found, but the relative areaAttributes is empty.
If I try this code:
ArrayList listItemsToTry = itemList.getItems();
Iterator myListIterator = listItemsToTry .iterator();
while (myListIterator .hasNext())
WebCatItem item = (WebCatItem) myListIterator .next();
The call item.getAreaAttributes() is NULL.
The attributes are correctly replicated, and the "catalog" object contains name, description and value of all attributes.
Anyone have some solutions about this issue? I need Trex query, but I need also the areaAttributes of item!
Thanks a lot in advance
EnnioHi,
i wrote the new code:
String prdName = "12345";
WebCatItemList itemList = null;
// create the query to search for products
CatalogFilterFactory fact = CatalogFilterFactory.getInstance();
IFilter productFilter = fact.createAttrEqualValue("OBJECT_ID", prdName);
IFilter filter = productFilter;
IQuery query = null;
try {
IQueryStatement queryStmt = catalog.getCatalog().createQueryStatement();
queryStmt.setStatement(filter, null, null);
// attributes, sort order?
query = catalog.getCatalog().createQuery(queryStmt);
itemList = new WebCatItemList(catalog, query, true);
ArrayList listItemsToTry = itemList.getItems();
Iterator myListIterator = listItemsToTry.iterator();
while (myListIterator.hasNext())
WebCatItem item = (WebCatItem) myListIterator.next();
if (item.getCatalogItem() != null && item.getCatalogItem().getParent() != null)
WebCatAreaAttributes areaAttrib = new WebCatAreaAttributes(item.getCatalogItem().getParent());
Iterator iteratorC = item.getCatalogItemAttributes();
while (iteratorC.hasNext())
CatalogAttributeValue aCatValue = (CatalogAttributeValue) iteratorC.next();
out.println("GUID: " + aCatValue.getAttributeGuid() + " DESCRIPTION: " + areaAttrib.getDescription(aCatValue.getAttributeGuid(), aCatValue.getAsString()) + "<br>");
} catch (CatalogException e) {
out.println("CATALOG ERROR");
This is the result:
GUID: OBJECT_DESCRIPTION DESCRIPTION: null
GUID: TEXT_0001 DESCRIPTION: null
GUID: TEXT_Z001 DESCRIPTION: null
GUID: MYCUSTOMATTR DESCRIPTION: null
The solution proposed don't works!
Where i wrong?
Thanks,
Ennio -
SQL query to know which users are working on which forms in APPS R12
Dear gurus
We need the SQL query to know which users are working on which forms in APPS R12, and how to get the user.name of those records.
thanks in advance
best regardsHi,
Please see this thread.
USERS CONNECTED
Re: USERS CONNECTED
Regards,
Hussein -
Item and uom not on price list and unable to book the order
Hi,
Actually while trying to create a sales order using 'Order Import', facing the below issue and the List Price in the Line Item is NULL.
This is preventing the order from being booked.
ITEM<902986> and UOM<PT> not on US CONSOLIDATED PRICE LIST<Price List>.
The Item is present in the Price list and also the dates are well in past.
Not sure if this a setup issue or issue with the interface program.
Please help me in resolving this issue.
Thanks in Advance.
Regards,
VamseeCheck UOM for this part in pricelist.
-
How may i know wich data are deleted from my sql database.
Im using sql server 2005 someone deleted some transaction from my database.In my database audit is not enable.
How may i know wich data is deleted? plz help me.Hi,
If there has been little or no activity since the deletion, then the out-of-the-box trace may be of help. Try running:
DECLARE @path varchar(256)
SELECT @path = path
FROM sys.traces
where id = 1
SELECT *
FROM fn_trace_gettable(@path, 1)
[In addition to the out-of-the-box trace, there is also the less well-known 'black box' trace, which is useful for diagnosing intermittent server crashes.
According to your description, there is a way that you can recover most of the missing data with the aid of Transaction Logs and LSNs (Log Sequence Numbers). Usually, if you know when your data was deleted then the challenge to recover the deleted data is
not as difficult. But, if you do not know the date and time when the data was deleted, then we will have to find a different way of identifying the data. For more information, there are steps about recovering deleted data in SQL Server, you can review them.
http://sqlbak.com/blog/recover-deleted-data-in-sql-server/
In addition, there are steps about know who and when deleted the data.
http://raresql.com/2012/10/24/sql-server-how-to-find-who-deleted-what-records-at-what-time/
Regards,
Girish Prajwal -
I have several songs I deleted on an unknown date that I want to redownload. As I stated in the title, the songs I am looking for are not in my "Purchases" list, and when I search for the album the song is in the song has a greyed-out "Purchased" button. I get the same result on my iPhone, which was bought long after I deleted these songs (I assume).
It is possible that you may have deleted the tunes.
MJ -
How do I know what Roles are assigned to specific position number?
All,
We are on the Position based security right now.
I would like to know what roles have been assigned to Position number?
Is there a table that I can check for the list of Roles that are assigned to position?
Please advise.
From
PranavYou can view it in a different way as well...
The other way is to run PFCG on one role, click Org Management , then it lists all position that have the role assigned.
or
You run program RHSTRU00 or transaction S_AHR_61016538u2026
Enter the evaluation path B007 , object type = S (Position ). Current planu2026
sapsecHB
Edited by: Henry Binning on Jul 6, 2009 8:32 PM
Edited by: Henry Binning on Jul 6, 2009 8:33 PM -
When I right-click on the main toolbar to customize it, the set of icons that are shown to me are numerous. I know this is due to the add-ons that I use. What I want to know is what icons go to which extensions? There are a lot of similar ones (like left and right arrows) that do quite different functions. Then there are others which aren't easily identifiable. Right now I do a trial-and-error process of adding an icon to the toolbar, testing it, deciding first, whether it did anything, and second whether I need it. But this is cumbersome. I didn't know if there was something on the back end or even another addon that would make this easier.
Your help is much appreciated.
MickDeleting on one device does not affect another device.
You can delete the App's on the iPhone and nothing will happen to the ones on the iPad.
1. You don't need to.
2. Settings->Cellular->"Use Cellular Data For" will show the data usage for each App since the last statistics reset
3. Settings->General->Background App Refresh Will show which Apps are allowed to get data in the background
4. It restricts it to Wifi. If the App requires internet access and Data is turned off, it will have to wait until the device is connected to a wifi network.
5. Nope, You just use up battery since the BT radio will continuously look for nearby BT devices.
6. The Personal Hotspot uses your cellular internet connection from your phone or other cellular device; whether you consider that secure or not I cannot say. It also depends on what you are doing while connected to the Hotel's wifi. I would not do online banking while on vacation though. -
Need help in query to have all items in sap with PO data on order, date
Hello Everyone,
I need some help in writing a query to show all items in sap db to have itemcode, itemname, onhand, sellable(onhand-committed), on order, and the delivery date when that time should be received. I need to know what items are regular items, which ones are master and components. For the master I need to have the deliver date of the PO for the component.
I have written this.
SELECT DISTINCT TOP (100) PERCENT T1.ItemCode, SUM(T1.Sellable) AS Sellable, T1.OnOrder, MAX(T1.Docduedate) AS DeliveryDate, T1.WhsCode
FROM (SELECT ItemCode, Sellable, OnOrder, '1/1/1900' AS Docduedate, WhsCode
FROM dbo.V_RAZ_StoreInv
UNION ALL
SELECT TOP (100) PERCENT ItemCode, '0' AS Sellable, Quantity AS Onorder, DocDueDate, WhsCode
FROM dbo.V_RAZ_OPENPOSDATA
ORDER BY ItemCode) AS T1 LEFT OUTER JOIN
dbo.V_RAZ_ItemInfo ON T1.ItemCode = dbo.V_RAZ_ItemInfo.ItemCode
GROUP BY T1.ItemCode, T1.OnOrder, T1.WhsCode, dbo.V_RAZ_ItemInfo.OnHold
HAVING (dbo.V_RAZ_ItemInfo.OnHold = 'n')
ORDER BY T1.ItemCode, T1.WhsCode
and for the v_raz_openposdata I have the following query
SELECT dbo.OPOR.DocNum, dbo.OPOR.DocStatus, dbo.POR1.WhsCode, dbo.POR1.ItemCode, dbo.POR1.Dscription, dbo.POR1.Quantity, dbo.POR1.OpenQty,
dbo.POR1.LineStatus, dbo.OPOR.DocDueDate
FROM dbo.OPOR LEFT OUTER JOIN
dbo.POR1 ON dbo.OPOR.DocEntry = dbo.POR1.DocEntry
WHERE (dbo.OPOR.DocStatus = 'O')
Any help is greatly appreciated.
Right now I do get the delivery date for regular items and components but the master sku for the component all of them have 1/1/1900.
Thank youThank you for replying Gordon. I did not remember I had asked this before. I no longer have access to the other account.
What I need on the query is that I want a list of items with the on order quantity and when we are expecting this order to be received. The receiving date is based on the PO delivery date. The trick here is that I need to Master sku to show the delivery date of the component sku. In my scenario all components have the same delivery date for the Master sku. If there are mulitple delivery dates because each warehouse is getting them on a different date then I want to get the delivery date for that warehouse.
Let me know if this is possible and if yes please guide towards a query for it.
Thank you. -
I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
Is there any workaround to this error? so that drillthrough can be done even with multiple selection.Hi Vikas,
The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted.
For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
1. Select a single Item.
2. Select all items.
Hope this helps!
Please mark as Answer if this helps! Thanks, Rajasekhar. -
How can I report which Ressource Related Billing items are not billed yet?
Hi SDN's
On my WBS's I have a number of costs - time registrations, travel costs and other finance postings. Some of them are billed, some of them are still not billed. When I go into DP91, this transaction clearly knows which items are already billed, since only the outstanding items are shown here. However, looking into tables COEP and AD01DLI* I do not find any clear references that can give me the basis showing non-billed items in a report.
Does any of you know how DP91 keeps track of which items on my WBS are billed and which are not?
Kind regards
Steen Koefoedsteve626 said:
"... There you will be able to see if a more recent version of Safari, etc. was replaced with an older version."
Not exactly. That screen shows my most recent Safari update was 5.1.2 on 12/16/11 -- then it shows the Mac OS X Update Combined was installed on 1/2/12. That's when my Safari got downgraded to 5.0.5, but that detail is missing from the Installed Updates preference pane.
It looks like once an update gets installed, Software Update remembers that -- but does not take the newer update off the list if an older version replaces it???
So, even though I see Security Update 2011-006 was installed on 10/21/11, I'm not sure if the OS Combo Update replaced any security items with older bits. Is there anything specific to security updates that I might be able to check?
-gw -
How to create price list in all item..?
Hi all,
I want to modify the price list in all items because changing the price. If I have more 100 items, I have got difficult change on SBO one by one, there is not an efficient and need a long time. I used SBO 2005A PL 43.
How to create it fast on SBO? How to create add on module to modify the price list in all items so I modify the price list is faster? I don't know relationship the tables to change the price list on SBO. Please let me know...
Thanks in advance for your help....
AgungDear Mr Adrianto,
In the stock module under price list there are different options. It could be possible to change the prices of Parent items according to thier children's prices.
Also, you can use the option: Special prices for BP, if you need to change the prices for on BP.
There is also the discount group if you want to reduce the price of items for the whole group. Please note that you can also increase prices when you use a percentage > 100%.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team -
I would like to make a report that shows the price list by BP by item, that looks at the price list the BP is pointed to in BP master, and take into account if any special prices by BP exists for that item, and any Period or Volume discounts.
I also need the report to show if there is any additional expense for freight that item may have also based on the A/E type setup in BP Master.
Does such a query exist?Art:
Here's a starter, see if you can get it going from here...
SELECT
T0.ItemCode,
T0.ItemName,
'Default Price List' = TPL.ListName,
'Special Price per BP' = ROUND(T1P.Price * (- T1.Discount / 100 + 1), 2)
'Default Price' = T0P.Price,
FROM
OCRD TBP
FULL OUTER JOIN OITM T0 ON 1=1
LEFT JOIN OSPP T1 ON T0.ItemCode = T1.ItemCode AND T1.CardCode = TBP.CardCode
LEFT JOIN ITM1 T1P ON T0.ItemCode = T1P.ItemCode AND T1.ListNum = T1P.PriceList
LEFT JOIN ITM1 T0P ON T0.ItemCode = T0P.ItemCode AND T0P.PriceList = TBP.ListNum
LEFT JOIN OPLN TPL ON TBP.ListNum = TPL.ListNum
WHERE
TBP.CardCode = '[%0]'
AND T0.SellItem = 'Y'
ORDER BY
T0.ItemCode
Joerg. -
Get Item price based on Price List
Hi all,
anyone has some sample of how to get the price for an item based on a specified price list, selected by the user, following the SAP's rules for assigning item price?
I've used the GetItemPrice method, but it doesn't need a price list reference and i think it gives back the basic price of the item.
I'm able to get the price list and the item code. How can i get the correspondig price (unit price) for that item?
Thanks in advance.
NickThanks Rasmus,
i've done. I get the PriceList currently selected by the combo box and update the price list used by the BP, and after that i use the getitemprice.
So it should work now, i get the correct prices related to the pricelist selected and i think that using the getitemprice the price that i obtain follows the sap B1 logic in assigning prices.
After that i'm considering to set back the pricelist on the BP to the one that is originally stored in the BP.
Thanks for your help -
Price list type at item in CRMD_ORDER
Hi,
I need to change the price list at item level in CRMD_ORDER. Can you please help me in finding out the right BADI.
I have used BADI "crm_cond_badi" which is at item level but the header price list ( coming from customer master data) is overwritting this item price list. Any suggestions.
Thanks
AshuAny suggestions.
Thanks
Ashu
Maybe you are looking for
-
I signed into my Apple ID on a new phone and I already had it on my iPod. When I signed into the new phone it won't let me buy anything unless I know my old security questions but I don't know the answers to them. How can I get past those or change t
-
Hello Experts, I am facing this major issue in BI Query. I am able to open the BI Query from BEx Analyzer. When i go on to attach a document in the query, it takes me to SAP NetWeaver Logon Page. After i login using authorized User ID and Password, i
-
Problem in printing Address Type 3
Hi Experts, This post is in context of Address type 3 (Contact Person). Please see the below mentioned code which has been coded in the script : /: IF &VBDKA-ZZADRND& EQ &SPACE& /: IF &VBDKA-ADRNP_2& EQ &SPACE& /: ADDRE
-
How to make the jtable celles intouchable !!
HI! i am using jtable in my application and i am aiming at some specefities: - i don't wana to allow the uset to drag and drop any cells or to change the order of one cell by another . - i don't want him to edit a text in any cell of the jtable actua
-
Security Realms, upgrad right in group!
Thank's for your help! Question about my Realm, in the Group operators and Group Adminstrator settings. I am trying to make my group Operator to access some particular pages of my admin console where only group administrator can execute some action.