Pricing table query
Hi
I created one sales order which has expected condition type with value.
I want to know which table is stores all the values of Condition types for the sales order.
Laks
Table VBRK stores the Doc condition number (KNUMV).
In KONP table this number (Condition Record No - KNUMH) will give details.
Similar Messages
-
Inserting into Table-in-Table after re-execution the Outer Table query
Hi Gurus,
I have a problem with inserting into Table-in-Table after re-execution the Outer Table query:
The problem:
I have two tables; both tables are based on VO; tables have a VL between them;
The Inner Table is hidden when page lode.
I'm executing the Outer Table, open the details to see the Inner Table, I can add rows to the Inner Table. Everything is OK.
But-
After I'm executing the Outer Table again –
Adding new rows to the Inner Table is not work anymore, despite I'm executing the Inner Table RowSet query.
Scenario is:
In processRequest():
In the processRequest() I'm calling executeQuery() of the Outer Table Only.
(So the Details executeQuery() will be done by VL and Its works fine.)
In processFormRequest():
User opens the details to see the Inner Table.
On some event, I'm executing the Outer Table query.
On some other event, programmatically I am inserting a new row to the Inner Table, and a new row is displayed in the Inner Table as I wanted.
In this way, one row after another, I can add as many rows as I wish, without any problem.
(This scenario should behave as same clicking on button of type "Add-Another-Row", just adding the row automatically)
The code for the inserting (as specified in the chapter "Classic Tables" --> "table-in-table"):
OARow newRow = (OARow) innerRowSet.createRow();
innerRowSet.insertRow(newRow);
innerRowSet.setRangeSize(innerRowSet.getRangeSize()+ 1);
innerRowSet.executeQuery();
If the user won't cause to re-execution of the outer table – no problem occurs.
* Should I add something after the Outer Table VO execution?
* Maybe to the inserting to the Inner Table code?
Please help…Hi, Thanks.
I don't know which one of the Outer Table rows is the current row,
But-
Only the Details (the Inner Tables) who where opened before the executeQuery() of the Outer table are not acts as they should.
All the Details who where closed before the executeQuery() of the Outer table are still works fine.
Please advise. -
Load data from BW 7.0 DSO into a ECC 6.0 SD standard/Custom pricing table
Gurus,
We have a scenario, where we need to load data from a BW DSO to SD standard/Custom pricing table in ECC 6.0. That data will be few thousand records.
Per my knowledge, in BPS, retractors are available to update data from BW to ECC and OpenHub also can be used to handle similar scenarios.
Any one of you came across similar scenario?
If you have any third option (not BPS rectors or OpeHub) as a solution to handle this kind scenario, and share the knowledge, it will be greatly appreciated.
Thanks in advance,
VittalHi Yogesh,
Thanks for your reply.
We have large data volumes for Billing datasource and hence moving flat files using PI is not an option and also as i mentioned a part of requirement is monitoring of the whole process as well. What i mean by this is if a 1000 billing document items were passed on to CRM7 to create a member activities and because of some reason a member activity was not created for one of the billing doc items, we should know the problematic record and reason why member activity was not created in CRM7 (reason code). And then be able to fix it. All this requires an end to end monitoring capability and also guaranteed delivery of data to CRM7.
Hence i was trying to explore the enterprise web service option.
What i am not sure of is how to expose BW DSO delta request to CRM7 using a web service ? or any other method that gives end to end monitoring capability and also guaranteed delivery of data to CRM7.
Any other suggestions ?
Thanks
CK -
Reqd. Pricing Table Name
Hi All,
I need Pricing Table name, wherein Price against a particular material will be mentioned. Can you give me the name of Pricing Table.
Thanks
Romi MalikDear Romi,
An Excerpt:
We have 4 tables in R/3 for pricing. Below is the Table list and required fields.
KONP - Condition No, Price, Currency
A916 - Material No, Condition No.
A900 - Dist.Channel, Material, Condition No.
A901 - Customer,Dist.channel, Material, Condition No.
KONP is the master table for pricing according to Condition No. Each table having different CondNo for the material so...here we have 3 pricing strategies.
1. Material - Price
2. DistChan - Material - Price
3. DistChan - Customer - Material - Price.
Hope, this information will be useful, some extent.
Best Regards,
Amit -
SQL+-MULTI TABLE QUERY PROBLEM
HAI ALL,
ANY SUGGESTION PLEASE?
SUB: SQL+-MULTI TABLE QUERY PROBLEM
SQL+ QUERY GIVEN:
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE FROM PATIENTS_MASTER1, HAEMATOLOGY1,
DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM AND PATIENT_NUM = DLC_PATIENT_NUM AND PATIENT_NUM
= &PATIENT_NUM;
RESULT GOT:
&PATIENT_NUM =1
no rows selected
&PATIENT_NUM=2
no rows selected
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
ACTUAL WILL BE:
&PATIENT_NUM=1
PATIENT_NUM 1
PATIENT_NAME BBBB
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 5
HMTLY_RBC_NORMAL 4.6-6.0
&PATIENT_NUM=2
PATIENT_NUM 2
PATIENT_NAME GGGG
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 42
DLC_POLYMORPHS_NORMAL_VALUE 40-65
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
4 TABLES FOR CLINICAL LAB FOR INPUT DATA AND GET REPORT ONLY FOR TESTS MADE FOR PARTICULAR
PATIENT.
TABLE1:PATIENTS_MASTER1
COLUMNS:PATIENT_NUM, PATIENT_NAME,
VALUES:
PATIENT_NUM
1
2
3
4
PATIENT_NAME
BBBB
GGGG
KKKK
PPPP
TABLE2:TESTS_MASTER1
COLUMNS:TEST_NUM, TEST_NAME
VALUES:
TEST_NUM
1
2
TEST_NAME
HAEMATOLOGY
DIFFERENTIAL LEUCOCYTE COUNT
TABLE3:HAEMATOLOGY1
COLUMNS:
HMTLY_NUM,HMTLY_PATIENT_NUM,HMTLY_TEST_NAME,HMTLY_RBC_VALUE,HMTLY_RBC_NORMAL_VALUE
VALUES:
HMTLY_NUM
1
2
HMTLY_PATIENT_NUM
1
3
MTLY_TEST_NAME
HAEMATOLOGY
HAEMATOLOGY
HMTLY_RBC_VALUE
5
4
HMTLY_RBC_NORMAL_VALUE
4.6-6.0
4.6-6.0
TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
COLUMNS:DLC_NUM,DLC_PATIENT_NUM,DLC_TEST_NAME,DLC_POLYMORPHS_VALUE,DLC_POLYMORPHS_
NORMAL_VALUE,
VALUES:
DLC_NUM
1
2
DLC_PATIENT_NUM
2
3
DLC_TEST_NAME
DIFFERENTIAL LEUCOCYTE COUNT
DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE
42
60
DLC_POLYMORPHS_NORMAL_VALUE
40-65
40-65
THANKS
RCS
E-MAIL:[email protected]
--------I think you want an OUTER JOIN
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE
FROM PATIENTS_MASTER1, HAEMATOLOGY1, DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM (+)
AND PATIENT_NUM = DLC_PATIENT_NUM (+)
AND PATIENT_NUM = &PATIENT_NUM;Edited by: shoblock on Nov 5, 2008 12:17 PM
outer join marks became stupid emoticons or something. attempting to fix -
Hi,
Can anyone let me know the pricing table related to SD records.
Regards,
SPHi,
the are diffenent one, depending on your access.
Take a look to A005, A006, ...and then with the field KNUMH go to the table KONP.
KONP is the same for all access.
You can find the right A-table, if you take a look to your customizing for the price-condition.
Regards
Nicole -
Hi Gurus
When I am creating new pricing table and trying to genarate system asking me to select package.
1)what is the use of it
2)which package I have to choose
3)If I choose local object what it makes differ from choosing Pacakage?
Please any help will be greately appreciated.
Thanks
PrasadHi
For any workbench request or for transports which are client independent, system will ask for a Development class to which the transport can be assigned to.
In real time scenario, development classes are created by tech people(May be basis team members) to group transports created for a module of functionalities into one development class.
So when a change is made in the system, while saving, it asks for a development class. When a development class is assigned to the transports, the objects of the transport will be included in the development class.
The jargon i use as D.class may be different from the jargon used in some other organisation, but this is the concept behind the functionality.
Pls assign reward points it this helps you. -
Regarding Pricing conditions Query
Hi,
I am planning to extract the table wise information on the exiting pricing condtions available in the production environment.
Below is the plan
obtain the latest condition record number(valid as on date) from A*** ( access sequence tables for prices) with appropriate condition types.
pass these condition record numbers to KONP table & fetch the conditional value along with the currency.
the problem i now have is that am not able to do a table join for the tables A**, Table A** cannot be used in a Join.
what are the alternates available, Note i cant have SE16N or SE16 authorization in production environment & i prefer to have a query or using SQViHi Ilango,
You can use the pricing report to list all the condition records.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90637622-7289-2c10-a3bb-f94d9fa4a5e8?quicklink=index&overridelayout=true
Please refer to the below document on the steps to configure a pricing report.
Hope this helps you in generating all the condition records.
Thanks
Arun -
Exceptions Table query help?
I ahve two exceptions tables cust_day_of_week and cust_date
Cust_day_of the week has following fields:
Key_Id,Day_week,begintime,endtime
1,1,8,20 1--is oracle number for sunday
cust_date has following fields
Key_Id, exception_date,begintime,endtime
2,08/24/2011,8,20
i am writing a function to get the key_id to use for some purpose by checking if the sysdate falls in any of the exception
say sysdate is sunday then profile ID =1 shud be returned
if date exception is to be checked then the Cust_day table shud be checked...
is there a way to get the profileid from both tables in one function by chekcing which exception is fullfilled....Hope i am clear...
say i wnat to check if the sysdate day is sunday or not..if yes then return profileid =1
else if i want check if tuday =08/24/2011 the retrun profile id =2 but this shud be done in one function if possible...is it possible...
This is the function i planning to create....
how to check the for the Cust_date table date exception in the same query...
FUNCTION key_ID
( v_date IN DATE DEFAULT SYSDATE
RETURN Number IS
ret_value number:=0
select Key_ID into ret_value from cust_day_of_week
where (to_char( v_date,'D') in (select day_week from cust_day_of_week ))
retun ret_value;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:'||SQLERRM);
RETURN 0;
END ;
Edited by: 874167 on Aug 25, 2011 1:43 PMDoes this help?
It's not a function, but I don't see a need for one.
drop table cust_date purge;
drop table cust_day_of_week purge;
create table cust_day_of_week (key_id number,Day_week number,begintime number,endtime number);
insert into cust_day_of_week values (1,1,8,20);
insert into cust_day_of_week values (2,2,8,20);
insert into cust_day_of_week values (3,3,8,20);
insert into cust_day_of_week values (4,4,8,20);
insert into cust_day_of_week values (5,5,8,20);
insert into cust_day_of_week values (6,6,8,20);
insert into cust_day_of_week values (7,7,8,20);
create table cust_date (key_id number,exception_date date,begintime number,endtime number, constraint edunique unique(exception_date));
insert into cust_date values (8,to_date('08/24/2011','MM/DD/YYYY'),8,20);
insert into cust_date values (9,to_date('08/25/2011','MM/DD/YYYY'),8,20);
commit;
select key_id from (
SELECT key_id from cust_date where exception_date = trunc(sysdate)
union all
SELECT key_id from cust_day_of_week where day_week = to_number(to_char(sysdate,'D','nls_date_language = AMERICAN')))
where rownum =1;I am not 100% sure that you are allowed to rely on union all preserving the order. I have not seen otherwise, but I am not sure whether it's guaranteed.
As documentation doesn't say it's guaranteed, it probably isn't.
to be sure, this is a safe way of doing it. Maybe someone else can say whether there is a shorter way of doing that:
select key_id from (
select key_id ,rank() over (order by sorted) rnk from (
SELECT key_id, 1 sorted from cust_date where exception_date = trunc(sysdate)
union all
SELECT key_id, 2 sorted from cust_day_of_week where day_week = to_number(to_char(sysdate,'D','nls_date_language = AMERICAN')))
) where rnk = 1; -
hi everyone
i need to create a new price table for ZS83 based on
PM_COLOUR. This new table needs to allow me to set
different special
colour pricing for Coca Cola Canada customer for the
different sizes this customer purchases: 813 (TBA), 466 (TBA), 465
(TWA)
waiting for the reply
thank you
praveen
praveenPraveen,
I don't think this is the right forum where you can get an answer on the pricing procdures.
This forum is for ESA.
Regards
Ravi -
How to find out what the underlying table/query of a form in Oracle Apps.
Hi
I am trying to find out who owns the underlying objects of a query when a user runs the Transactions > Line_Items form for Receivables .
I have selected Help > Record History but I get a message Record History not available here.
The query is running slow and I'd like to see if the objects have been analyzed lately.
Thanks
AndyHi
I should have said in the ticket that this is version 11.5.10
It was close to giving me the answer I need. It gives me the following details. Unfortunately it doesn't give me the underlying sql. I hhave tried using v$session and sys.v_$sql but the sql is over 1000 characters long so I dont get to see the table/object being referenced.
I appreciate the feedback.
Thanks
Andy
Database Server
RDBMS : 10.2.0.4.0
Oracle Applications : 11.5.10.2
Machine : alabama
User : APPS
Oracle SID : accausr1
System Date : 12-SEP-2011 13:33:58
Database Server PID : 16875
Session SID : 1065
SERIAL# : 1273
AUDSID : 201640233
Database CPU Usage (in secs) : 8.85
Forms Server
Oracle Forms Version : 6.0.8.27.0
Application Object Library : 11.5.0
Machine : AUSTIN
Forms User CPU (secs) : 3.430000
Forms System CPU (secs) : 0.840000
Forms Process ID : 6347
Forms Server Environment Variables
AU_TOP : /oracle/finapps/accausr1/accausr1appl/au/11.5.0
FDBDMCHK : [Unset]
FDFGCXDBG : [Unset]
FDSQLCHK : [Unset]
FDUDEBUG : [Unset]
FNDNAM : APPS
FND_TOP : /oracle/finapps/accausr1/accausr1appl/fnd/11.5.0
FORMS60_APPSLIBS : APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
FORMS60_CATCHTERM : 1
FORMS60_ERROR_DATETIME_FORMAT : [Unset]
FORMS60_ERROR_DATE_FORMAT : [Unset]
FORMS60_FORCE_MENU_MNEMONICS : 0
FORMS60_MAPPING : http://austin.accanet.org:8002/OA_TEMP
FORMS60_MMAP : [Unset]
FORMS60_OUTPUT : /oracle/finapps/accausr1/accausr1comn/temp
FORMS60_OUTPUT_DATETIME_FORMAT : [Unset]
FORMS60_OUTPUT_DATE_FORMAT : [Unset]
FORMS60_PATH : /oracle/finapps/accausr1/accausr1appl/au/11.5.0/resource:/oracle/finapps/accausr1/accausr1appl/au/11.5.0/resource/stub:/oracle/finapps/accausr1/accausr1appl/au/11.5.0/forms/US
FORMS60_RESOURCE : [Unset]
FORMS60_TIMEOUT : 5
FORMS60_USER_DATETIME_FORMAT : DD-MON-RRRR HH24:MI:SS
FORMS60_USER_DATE_FORMAT : DD-MON-RRRR
FORMS60_USE_CBO : [Unset]
GWYUID : APPLSYSPUB/PUB
NLS_DATE_FORMAT : DD-MON-RR
NLS_DATE_LANGUAGE : AMERICAN
NLS_LANG : AMERICAN_UNITED KINGDOM.WE8ISO8859P1
NLS_NUMERIC_CHARACTERS : .,
ORACLE_HOME : /oracle/finapps/accausr1/accausr1ora/8063
ORACLE_PATH : [Unset]
ORA_NLS_CHARSET_CONVERSION : [Unset]
TNS_ADMIN : /oracle/finapps/accausr1/accausr1ora/8063/network/admin/accausr1_austin
TWO_TASK : accausr1
Current Form
Form Application : Receivables
Form Name : ARXTWMAI
Form Path : /oracle/finapps/accausr1/accausr1appl/ar/11.5.0/forms/US/ARXTWMAI.fmx
Form Version : 11.5.200
Form Last Modified : $Date: 2005/01/07 11:50 $
Forms
APPSTAND : 11.5.33
ARXRWMAI : 11.5.21
ARXRWMAI : 11.5.21
ARXTWMAI : 11.5.200
FNDSCSGN : 11.5.122
Form Menus
FNDMENU : 11.5.51
Forms PL/SQL
APPCORE : 11.5.151
APPFLDR : 11.5.55
ARXARWIN : 11.5.65
ARXBOEIF : 11.5.2
ARXCWUTL : 11.5.8
ARXPLCOM : 11.5.68.15104.2
ARXQRCIF : 11.5.2
ARXRCTIF : 11.5.2
ARXRWBAT : 11.5.96
ARXRWMAI : 11.5.19
ARXTWBAT : 11.5.11
ARXTWMAF : 11.5.27
ARXTWMAI : 11.5.302.15104.9
ARXTWUTL : 11.5.39.15104.2
FNDSQF : 11.5.111
GHR : 11.5.174
GLOBE : 11.5.38
GMS : 11.5.230.90.7
IGILUTIL2 : 11.5.97
IGILUTIL : 11.5.29
OPM : 11.5.33.115100.2
PQH_GEN : 11.5.124
PSA : 11.5.162
PSAC : 11.5.16
PSB : 11.5.24
VERT : 11.5.6 -
XML in Oracle 9i (best method to return a xml file from a table query)
Hello.
What is the best method to query a table, or set of tables (that will return thousands of rows) using xml in oracle? (best performance)
I'm currently using DBMS_XMLGen, is there a better method ?I think, if your talking about generating XML, that you should use XMLElement, XMLForest, etc. to create your XML.
Lets assume that you base is relational data, then maybe the following great example will give you an idea how to do it : Re: Generate XML Schema from oracle tables
As michaels pointed out (did you read the link/ URL given?), the general expectancy is that the packages will be less and less important. So also maintenance wise the XMLElement, etc way will be the best, also for the future, maintainable method. -
Require help with Pivot table query in SQL Server 2008
Hi,
I have a query regarding converting columns to rows in SQL Server 2008. Please look at the table below.
I need the output to look something like this :
The columns for the children can be dynamic or fixed ( max of 6 children) based on the Family_ID. For Example: A family can have 1 child or more than 1 child.
Not sure how to go about it. Would appreciate your help :)Looks like you need dynamic pivot on multiple columns. I have two articles on this topic, start from this one
T-SQL:
Dynamic Pivot on Multiple Columns
It has reference to my other blog post.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Index was not used in join tables query
I tested the following query on my dev 10g and the explain plan did not indicated to use the index of a(t$trec, t$tdoc)
select a.somecolumns, b.othercolumns
from a, b
where (a.t$trec = 1 or a.t$trec = 4 and t$tdoc = ' ')
and a.t$ttyp = b.t$ityp and a.t$ninv = b.t$idoc
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 613 | 81529 | 578 (1)| 00:00:07 |
|* 1 | HASH JOIN | | 613 | 81529 | 578 (1)| 00:00:07 |
| 2 | TABLE ACCESS FULL| B | 2362 | 186K| 32 (0)| 00:00:01 |
|* 3 | TABLE ACCESS FULL| A | 9988 | 507K| 545 (1)| 00:00:07 |
-----------------------------------------------------------------------------------t$tdoc = ' ' is NO NULL column with a [space] value when no enter entered.
So why system did not pick up the index?Because Oracle believes, for any number of possible reasons, that the use of the index would be less efficient.
Force the index usage with a hint and see how Oracle reacts or run a 10053 trace and see why Oracle is making the decision it is making.
Perhaps it is as impressed by a column holding a single space as a placeholder for null as I am. <g> -
Partition Table Query taking Too Much Time
I have created partition table and Created local partition index on a column whose datatype is DATE.
Now when I Query table and use index column in the where clause It is scaning all the table (Full scan) . The quey is :
Select * From mytable
where to_char(transaction_date, 'DD-MON-YY') = '01-Aug-07';
I have to use to_char function not to_date due to Front end application problem.Before we go too far with this, if you manually query with TO_DATE on the variable instead of TO_CHAR on the column, does the query actually use the index?
The TO_CHAR on the column will definitely stop Oracle from using any index on the column. If the query will use the index if you TO_DATE the variable, as I see it, you have three options. First, fix the application problem that won't let you use TO_DATE from the application. Second, change the application to call a function returning a ref cursor, get the date string as a parameter to the function, and do the TO_DATE in the function.
Third, you could consider creating a function-based index on TO_CHAR(transaction_date, 'dd-Mon-yy'). This would be the least desirable option, particularly if you would also be selecting records based on a range of transaction_dates, since it loses a lot of information that the optimizer could use in devising an efficient query plan. It could also change your results for a range scan.
John
Maybe you are looking for
-
How to change plant in sales order???
I have made a sales order which created a purchase requisition. A purchase order has been made with reference to the purchase requisition. No goods reciept has been made yet. I want to change the plant and the storage location in the Purchase order,
-
Deploying more than one webapplication on single cluster
Hello Folks, Is there a way to deploy more than one webapplication on single cluster of weblogic. Presently, we are getting an error while deploying second webapplication as "Context path is already in use by the module: First Application Name". Awai
-
Hi all, i need to have report for finding best vendors which is supplying desired supply...........so what r the issues to be taken to find out the above......and also..............can any one explain what is purchsing group,material group,.
-
Jdeveloper shutting down when opening GUI...
I've just began to test the tutorials and encountered this nasty problem : making the project, everything is Ok, but after some steps (arbitrary : the problem never occurs at the same moment), when I try to open the design of my form (tutorials : Bui
-
Multiple Selections on Category Axis
Hi, I need to create a graph. On Category Axis ( X= axis) I need to show values of 5 keyfigures from a BW query. Y axis will be Values in thousand. Currently no issues with Y-axis. But I am not able to figure out how I can have multiple category axi