SAP Query error for VBAK and KONV tables
Dear Experts,
Want to create SAP Query for below requirement but faced some error
Step1) Extract the data from VBAK table w.r.t. order type , Sale org and date range
and collected the Sales order numbers and doc. condition record (KNUMV)
Step 2)In table KONV (Transactional condition record data) in this table provided input as doc. condition record (KNUMV) with respect to condition type ABCD
Manually i extracted data, there is no problem .
But customer want to generate SAP Query for above requirement
I tried to create but in t.code SQ02 when i tried to join the table VBAK and KONV i faced the below error
Table KONV cannot be used in a join.
How can I create SAP query for above requirement ???
if its not possible then create Z report is the only solution ??????
Thanks in advance
Hello
You can not create Query report with joining KONV. But there is one solution for your problem. You can create Query report by using Database VAV. In this logical database you will find all SD tables and also KONV. Use only those tables and fields which you want in your query report. I have checked this and its working
Please try this and update the forum accordingly.
Edited by: moazzamjii on Jun 30, 2011 12:13 PM
Similar Messages
-
SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string. 'Received Alerts' (OAIB)
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO AS T0 LEFT OUTER JOIN
VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 AS T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'Hi,
Try this:
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO T0 LEFT OUTER JOIN
VPM2 T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
LEFT OUTER JOIN
OVPM T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
group by T0.DocStatus,T0.DocDate ,
T0.DocNum ,
T0.NumAtCard,
T0.TransId ,
T0.Comments ,
T0.CardCode,
T0.CardName ,
T0.WTSum ,
T3.DueDate ,
T3.CheckSum
Thanks & Regards,
Nagarajan -
How to identify whether a TCode is for SAP query or for a customized TCode
Hi,
We have a list of TCodes starting with Y_*
Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
Thanks in advance.
MickThanks Anil.
In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
Mick -
SAP QUERY report for vendor line items
Hi
I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
Please advise.i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.
-
Problem in Selecting the data from EKPO and KONV tables
Hi Experts,
Presently I am working on Report with Comparision-Sheet Between the vendor's Quotations. I have to display the Discount, Freight, Packing and Forwarding, Vat in Item level data based on the conditions made in PO.
As per my Knowledge, Condition Types are stored in KONV Table. But there is no relation between KONV and EKPO tables. So, I am unable to print the data for Discount, Freight, Packing and Forwarding, Vat... How can I get the values from EKPO and KONV tables?
Thanks in Advance.
Thanks n Regards,
Muralikrishna.Don't recall if this is correct, but you may need the condition number from the header (EKKO) combined with EKPO-EBELP or other field as you key to access KONV (KNUMH and KPOSN). My site doesn't run PP, so can't verify if the data is actually stored that, so just a possibility.
-
Checksum error for Hidden and Protected item
I have a region with 3 items - a Text field, a Text area and a Hidden and Protected item. When clicking on the save button the record should be written to the table. However I get the following error:
++Checksum error for Hidden and Protected item ID (7676217916943303), value (), posted checksum (1060941776BCEA7DDAE813A442DF01E3), expected checksum (********************************), index_i (8), index_j (1), index_m (3);++
When I change the hidden and protected field to a regular text field I am able to successfully process the page.
Do I have to do anything different when I have a hidden and protected field? Would appreciate any suggestions/comments to help resolve this issue.
Regards,
GhaziIf you have client-side code that changes the value of a "Hidden and Protected" item after the item/value has been emitted to the page by Application Express, you need to change the item type to Hidden, instead.
Scott -
SAP calculates % incorrect for PO and SO Conditions
When creating a PO or SO the Conditions at item level (both discounts and extra charges) related to % are calculated incorrect.
If the user enters a discount of 10% the system calculates a discount of 1% and if the user enters 100% the discount calculated becomes 10%. (10% of $100 becomes $1 not $10)
This error appears for all Conditions related to % so I assume the configuration of the Conditions are of a more global nature.
Both our Development and Test systems are working fine.
Any ideas?Stephen,
Thanks for your swift reply.
OSS has been consulted however they defined this as a configuration issue.
I do not agree in their judgment however this is where it stands now and hence I have posted this tread.
The Production System is not open for configuration so this is a real mystery to me.
I believe that if someone by accident did a bad config in Test and Development this error should also be found in these systems and not only in the Production System.
We are using a standard SAP Price Calculation Schema - RM0000 and all Conditions are standard SAP conditions both for PO and SO.
Kind regards,
Are -
ERROR -- Checksum error for Hidden and Protected item ID
Hello all,
I usually get the error:
Checksum error for Hidden and Protected item ID (10785219011206310), value (on), posted checksum (C1DEF33B4C8D57845151B7D18363B3D7), expected checksum (********************************), index_i (3), index_j (2), index_m (1);
I have already found one thread with this question - Checksum error for Hidden and Protected item ID
but there are no answers to this problem.
Any thoughts how to solve this and what is causing it??
Regards Pedro.Pedro,
Read under the improved security section in the below article.
http://www.oracle.com/technology/products/database/application_express/html/3.1_new_features.html
I used to receive the same error because I was trying to update the value of the hidden and protected item on the same page repeatedly.
I changed the item type to hidden to avoid the error.
Hope this helps,
Dippy -
Checksum error for Hidden and Protected item ID
Hi,
I created an icon which is called 'Find an employee'. When a clicked on that icon, it shows employee id and employee name. And near these names there is a select button. But, it gives the following error:
Checksum error for Hidden and Protected item ID (1558647128276141385), value (KING ), posted checksum (3F6EC88428199012945F76490A29168B), expected checksum (********************************), index_i (4), index_j (3), index_m (3);
Is there anyone who knows the reason of this error?
Regards,
Edited by: user13385266 on 23-Jul-2010 06:00Erro Checksum error for Hidden and Protected item ID (1118508917223363)
Edited by: taylor gao on 2011-1-13 下午6:26 -
Error : Transaction header and line tables cannot be empty
please can some one help me.
when i want to create an invoice without anuy line, i have the error : Transaction header and line tables cannot be empty .
can some one tell me how can i solve this
regards.Hi,
I really don't know if it is possible to create an invoice in AR with no transaction lines. When I interface invoices from another system to AR (and there is no need to detail inventory items), I use a single line with a dummy inventory item or with no inventory item (inventory_item_id and warehouse_id set to null) in transaction lines, and I use the description field to describe the link to the other software in a user-friendly way.
Regards,
Ketter Ohnes
Message was edited by:
Ketter Ohnes -
No sound in Browsers and low memory errors for Snood and Ultimate Solitaire
No sound in Browsers and low memory errors for Snood and Ultimate Solitaire. Those are what I'm experiancing. The no sound happens in Safari, Firefox and Opera. Both Snood and Ultimate Solitaire won't load because of 'Not Enough Memory' yet I have 2gigs. Other applications work fine with sound. ie iTunes, GarageBand, etc are ok. I've deleted Snood Prefs with no effect. Any ideas?
thanksNo sound in Browsers and low memory errors for Snood and Ultimate Solitaire. Those are what I'm experiancing. The no sound happens in Safari, Firefox and Opera. Both Snood and Ultimate Solitaire won't load because of 'Not Enough Memory' yet I have 2gigs. Other applications work fine with sound. ie iTunes, GarageBand, etc are ok. I've deleted Snood Prefs with no effect. Any ideas?
thanks -
OBJNR is blank at VBAK and VBAP tables
Dear collegues,
There´s a strange situation on customer´s system. When end-user create a new quotation, the OBJNR field at VBAK and VBAP tables doesn´t fill itself, it remains blank. I believed that the field was filled when the document was saved. What´s wrong?
Regards, Otávio.Hi,
This might be due to many reasons.Please check if there any dumps related to it in ST22/SM21.
Also check if there any enough dialog/bckg work process to process the job.
filling up takes more time depending on the no of records in the application tables.
regards
Nagaraju -
SAP BPC RDS FOR SALES AND OPERATION
Hi
i just need a link to download sap RDS BPC for sales and operation planningHi Elhoussiny,
Refer below link may be helpful.
SAP Service Marketplace - Analytics - EPM
Shrikant -
Solved: checksum error for hidden and protected item ID
hi all,
I have 3 tabs namely search,create and reports.
when i move from
search to create ----> works fine
search to reports----> works fine
create to reports ---> works fine
create to search ---> works fine
but after comming to reports tab when i click to any of the tabs
error occurrs as follows
Checksum error for Hidden and Protected item ID (5322228830115090), value (R4897903101326173), posted checksum (A2328AA561179133CD115ABB81EB0333), expected checksum (********************************), index_i (2), index_j (1), index_m (1);
Please could any guide me to rectify this error?
Note: This error happened after i copied a report from the create page to the report page. and that report page is having an hidden item.
Thanks in advance
bye SrikaviHi all,
i changed the hidden and protected item as hidden.
Works fine.
but, a question if it is hidden and protected item what should be the solution?
why this kind of error occured?
bye
Srikavi -
Erro Checksum error for Hidden and Protected item ID (1118508917223363)
i am generating one report with delete option.For delete Link i am using one HIdden item P1_SELECT
when i select it with text field then no error.but when i select it hidden then it show me
Checksum error for Hidden and Protected item ID (1118508917223363), value (2), posted checksum (C4733DF9C658202B914CF661E2349FFC), expected checksum (********************************), index_i (6), index_j (4), index_m (4);How can i remove this error.
ThanksHi,
The problem is when you are creating an item "Hidden and protected" so apex will associate a checksum value for that item's value and as you are changing the value, the checksum will not changed.
If there is no security issue use "Hidden" instead of "Hidden and protected" for that item.
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1
Maybe you are looking for
-
My itunes was working perfectly and then i upgraded and now it doesn't open and all i get is an error message. Ive tried so many times removing and re-installing and it won't work. Someone please help me! I am a windows 8 user!
-
/SAPAPO/VERSION_COPY job getting cancelled
Hi, Whenever we schedule the /SAPAPO/VERSION_COPY job for copying versions, it terminate swith the below dump: TSV_TNEW_BLOCKS_NO_ROLL_MEMORY. ztta/roll_area is currently set to 6.5 GB, standard recommendation for AIX. If we increase this, would ther
-
Exception thrown when trying to create MimeMessage
Hello, I was working on the tutorial for sending SMTP messages using the JavaMail API. I set up the Session using Properties fine, but I begin throwing exceptions when trying to construct a new MimeMessage. Properties props = System.getProperties();
-
Hello all, I am currently using JCO 2.1.6 oN HP UX 11i to connect to a SAP WAS 6.40. I see that my application is leaking in memory. After quite some troubleshooting, I managed to build a testbed showing that it seems that it is leaking in the memory
-
Prompts in Reports similar to Pre-built reports??
Hi All, There is a pre-built report called 'Top 10 opportunities' in 'Pipeline Analysis'. When we execute the report, it shows the prompts at the top (Fiscal Quarter, Fiscal year, Region). And depending upon the value user selects in these prompts th