Table having info record no(infnr) and condition record number (knumh)
Hi ,
can anyone tell in which table i can find KNUMH and INFNR fields ?
i want to check a PIR record number having scale qty in it
for dat i require wat is the condition rec number ??
thanks and regards
venkat
Edited by: venkat sharma gaddala on Jun 3, 2009 2:20 PM
Hi Nicole,
yes , wat u said is right but wen u do ME11 transaction
in dat conditions tab we we get into screen where we will be filling scale qty for a condition
this might be stored in one of the condition tables with certain condition number.
now i want to check the PIR which are having [ scale qty NE 0 ]
so wer do i check
if i go to EINA or EINE table these tables dont have scale qty fields.
Similar Messages
-
Reg condition record number (knumh)
Hello All,
I want to knw from which tcode the entries of field knumh are getting entered in the table konp.
Where we define this condition record number?
Thnks,
SunitaHi
From Pricing related transactions in Both SD and MM modules the data is entered in the pricing related tables KONV,KONP etc
KONP stores the item level condition based amounts.
Not from a single tcode, all pricing related tcodes data will enter into it.
<b>Reward points for useful Answers</b>
Regards
Anji -
EXP/IMP..of table having LOB column to export and import using expdp/impdp
we have one table in that having colum LOB now this table LOB size is approx 550GB.
as per our knowldge LOB space can not be resused.so we have alrady rasied SR on that
we are come to clusion that we need to take backup of this table then truncate this table and then start import
we need help on bekow ponts.
1)we are taking backup with expdp using parellal parameter=4 this backup will complete sussessfully? any other parameter need to keep in expdp while takig backup.
2)once truncate done,does import will complete successfully..?
any SGA PGA or undo tablespace size or undo retention we need to increase.. to completer susecfully import? because its production Critical database?
current SGA 2GB
PGA 398MB
undo retention 1800
undo tbs 6GB
please any one give suggestion to perform activity without error...also suggest parameter need to keep during expdp/impdp
thanks an advance.Hi,
From my experience be prepared for a long outage to do this - expdp is pretty quick at getting lobs out but very slow at getting them back in again - a lot of the speed optimizations that may datapump so excellent for normal objects are not available for lobs. You really need to test this somewhere first - can you not expdp from live and load into some test area - you don't need the whole database just the table/lob in question. You don;t want to find out after you truncate the table that its going to take 3 days to import back in....
You might want to consider DBMS_REDEFINITION instead?
Here you precreate a temporary table (with same definitiion as the existing one), load the data into it from the existing table and then do a dictionary switch to swap them over - giving you minimal downtime. I think this should work fine with LOBS at 10g but you should do some research and see if it works fine. You'll need a lot of extra tablespace (temporarily) for this approach though.
Regards,
Harry -
Secondary Index on Table having 0 record?
Dear All,
Currently one of the SAP table, BKORM, has 0 records. When we execute statement "select * from BKORM" it fetches 0 record and took more than a minute. When we create secondary index, the same statement provides result in a second.
My question is, what actually Optimizer do when there isn't any record. What could be the reason ?
I found SAP Note 305225 which says its an Oracle bug but it is with the case when JOINs are used. Through SQL Trace (Transaction ST05) i tried to figure out but it results the same. Any suggestions or hints?
Thanks
Nayabbetter ask this question in abap or basic forum
A, -
ORA-06502 error with external table having long records
I'm getting a strange error with the oci driver that I don't get with the thin driver.
The basic situation is that we using external tables and both the oci and thin drivers have been working until we tested with a table that had longer records than the previous tables. The new table has 1800 byte records.
The thin driver still works fine with the new table. However, the oci driver generates the following error with the new table:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I suspect that with oci driver the oci DLLs are reading the external file and the DLLs can't handle the longer record length.
Particulars
- Oracle DB Server is 10.2.0.1 on SunOS 5.9
- OCI Instant Client instantclient_10_2 on Windows XP
- OCI client code from DB server installation running on DB server
- Works with thin driver from Windows XP and on DB server machine for all record lengths
- Works with both OCI drivers for records < 1800 bytes (don't know actual limit)
- Fails with both OCI drivers for records = 1800 bytes.
Does anyone out there have any thoughts.
Thanks in advance.Your access parameters are in the wrong order. External tables are a bit fussy like that. Refer to the access_parameters section in the Utilities manual and follow the order there. From memory it will go something like this:
RECORDS DELIMITED...
LOG/BAD/DISCARDFILE...
FIELDS TERMINATED...LDRTRIM
MISSING FIELD VALUES...
fields...
)Regards... -
Performance issues while query data from a table having large records
Hi all,
I have a performance issues on the queries on mtl_transaction_accounts table which has around 48,000,000 rows. One of the query is as below
SQL ID: 98pqcjwuhf0y6 Plan Hash: 3227911261
SELECT SUM (B.BASE_TRANSACTION_VALUE)
FROM
MTL_TRANSACTION_ACCOUNTS B , MTL_PARAMETERS A
WHERE A.ORGANIZATION_ID = B.ORGANIZATION_ID
AND A.ORGANIZATION_ID = :b1
AND B.REFERENCE_ACCOUNT = A.MATERIAL_ACCOUNT
AND B.TRANSACTION_DATE <= LAST_DAY (TO_DATE (:b2 , 'MON-YY' ) )
AND B.ACCOUNTING_LINE_TYPE != 15
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 3 0.02 0.05 0 0 0 0
Fetch 3 134.74 722.82 847951 1003824 0 2
total 7 134.76 722.87 847951 1003824 0 2
Misses in library cache during parse: 1
Misses in library cache during execute: 2
Optimizer mode: ALL_ROWS
Parsing user id: 193 (APPS)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
1 1 1 SORT AGGREGATE (cr=469496 pr=397503 pw=0 time=237575841 us)
788242 788242 788242 NESTED LOOPS (cr=469496 pr=397503 pw=0 time=337519154 us cost=644 size=5920 card=160)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=59 us cost=1 size=10 card=1)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=40 us cost=0 size=0 card=1)(object id 181399)
788242 788242 788242 TABLE ACCESS BY INDEX ROWID MTL_TRANSACTION_ACCOUNTS (cr=469494 pr=397503 pw=0 time=336447304 us cost=643 size=4320 card=160)
8704356 8704356 8704356 INDEX RANGE SCAN MTL_TRANSACTION_ACCOUNTS_N3 (cr=28826 pr=28826 pw=0 time=27109752 us cost=28 size=0 card=7316)(object id 181802)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
1 SORT (AGGREGATE)
788242 NESTED LOOPS
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'MTL_PARAMETERS' (TABLE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'MTL_PARAMETERS_U1' (INDEX (UNIQUE))
788242 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'MTL_TRANSACTION_ACCOUNTS' (TABLE)
8704356 INDEX MODE: ANALYZED (RANGE SCAN) OF
'MTL_TRANSACTION_ACCOUNTS_N3' (INDEX)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
row cache lock 29 0.00 0.02
SQL*Net message to client 2 0.00 0.00
db file sequential read 847951 0.40 581.90
latch: object queue header operation 3 0.00 0.00
latch: gc element 14 0.00 0.00
gc cr grant 2-way 3 0.00 0.00
latch: gcs resource hash 1 0.00 0.00
SQL*Net message from client 2 0.00 0.00
gc current block 3-way 1 0.00 0.00
********************************************************************************On a 5 node rac environment the program completes in 15 hours whereas on a single node environemnt the program completes in 2 hours.
Is there any way I can improve the performance of this query?
Regards
Edited by: mhosur on Dec 10, 2012 2:41 AM
Edited by: mhosur on Dec 10, 2012 2:59 AM
Edited by: mhosur on Dec 11, 2012 10:32 PMCREATE INDEX mtl_transaction_accounts_n0
ON mtl_transaction_accounts (
transaction_date
, organization_id
, reference_account
, accounting_line_type
/:p -
Need of Tables names that link Purchase Order and the Confirmation Number
Hi All,
Can any one help me please regarding EBP tables. I am new to EBP so not aware of data flow in the EBP data dictionary.
Please can anyone explain the tables which link the Purchase order number and the Confirmation(Goods Receipt).
Please do the needful.
Thanks in advance.Hi,
You can query the tables BBP_PDHGP and BBP_PDIGP to get teh refernce doc no for PO and then use FM BBP_PD_CONF_GETDETAIL to get the details fo a particular confirmation.ALso you can search confirmations by "Reference Document", use BBP_PD_CONF_GETLIST, with parameter I_REF_DOC_NO, and then use BBP_PD_CONF_GETDETAIL for the found confirmations.
HTH.
BR,
Disha.
PLs reward points for helpful answers -
Purchasing Info Record and Source list
Hi all,
I am using purchasing info record along with a price for the vendor and material. This would get the net price into the Purchase order. Do i really need to create source list ? What will source list do for me ? Wouldn't having info record be sufficient ?
Looking forward to hear your suggestions.
Thank you.
JoyceHi Joyce,
If you have not maintained valid conditions in your Pur info record then price is picked from last purchase order through purchase order price history if customizing settings allow so (In your case if customizing settings allow and the net price 100 in the info record is not from valid conditions, price picked will be 250).
In the price determination process in PO system always first looks for pur info records with valid conditions if not found then it looks for last PO price.
There is also a parameter for default values for buyers called EVO. If you make settings in customizing for this parameter and tick the Chkbox for picking the last purchase order price in it and you attach this parameter to your user ID in the user-own data with PI value, then last PO price is picked as default value in the net price.
You can refer the following link
http://help.sap.com/erp2005_ehp_04/helpdata/EN/75/ee130655c811d189900000e8322d00/frameset.htm
Source List -
The source list is used in the administration of sources of supply. It specifies the allowed (and disallowed) sources of a material for a certain plant within a predefined period. Each source is defined by means of a source list record.
The source list serves:
To define a source of supply as "fixed". Such sources count as preferred sources over a certain period of time.(For example, the fixed vendor for material 1 is X for the first quarter and Yfor the second quarter of the year.)
To define a source of supply as "blocked".(This means, for example, that contract 123 may not be used for a certain period of time.)
As an aid in selecting the preferred source during the source determination process.(For example, the vendor A is determined as the source for an item of a requisition dated 15th June relating to material 1.)
To block the external procurement of a material
Regards,
Rahul. -
Table for the Purchase Info Record:Text
Dear All
As the Purchase Info Record data is saved in the tables like EINA/EINE/EIPA
In which table can i find the "Info Record:Text"
Please help me guysHi,
It is important to realize that all Text records are not stored transparently in tables like other data. Text records are stored within clusters in SAP.
You can access these texts in SAP when you create a include text node in your SmartForm. Once created you begin by selecting the Text Type: Include Text.
The Text Key for an include text is made up of the following parts.
You can use the ABAP function module u201CREAD_TEXTu201D to access Text records by passing the correct header information. You can see the text in the TDLINE.
If you go to SE37 u2013 ABAP Function Modules and enter READ_TEXT you can press the Test/Execute button and enter real data into the import parameters and validate that your text can be accessed using this function module. You can then incorporate it into your ABAP program to access any SAP text that you need.
This is essentially what is done automatically for you in SmartForms when using the Text Type: Include Text.
Finding Header Information for Info Record Texts
You can find the header information for text records using the following steps.
1.Click on the Text tab for either header or item texts
2.Double-click on any header or item text in the Purchase Order
3.Go to any existing text
4.Use menu path Edit u2013> Text u2013> Long Text
5.Select menu option Goto u2013> Header
The header information will be displayed and will contain the following field values
Text Name: Info Record Number 53000128641 090
Language: EN
Text ID: BT (Purchase order text)
Text Object: EINE (Texts, pur. info. pur.org.data).
For more clarity please check the below link.
http://www.sap-advisor.com/abap-coding/sap-text-administration-and-info-records-for-purchase-orders/
I hope this will clear your issue. Thanking you. -
Comparing Two tables with 300k records and update one table
Could you let me know how to compare two tables having 300k records and update one table.below is the scenario.
Table Tabl_1 has columns A,B and Tabl_2 has columns B,new_column.
Column B has same data in both the tables.
I need to update Tabl_2 in new_column with Tabl_1 A column data by comparing B column in both tables.
I m trying to do using PLSQL Tables.
Any suggestion?
Thanks.Hi,
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
If you're asking about a DML statement, such as UPDATE, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002
ef2019c7-080c-4475-9cf4-2cf1b1057a41 wrote:
Could you let me know how to compare two tables having 300k records and update one table.below is the scenario.
Table Tabl_1 has columns A,B and Tabl_2 has columns B,new_column.
Column B has same data in both the tables.
I need to update Tabl_2 in new_column with Tabl_1 A column data by comparing B column in both tables.
I m trying to do using PLSQL Tables.
Any suggestion?
Thanks.
Why are you trying to use PL/SQL tables? If tabl_1 and tabl_2 are regular database tables, it will be much simpler and faster just to use them.
Depending on your requirements, you can do an UPDATE or MERGE, either in SQL or in PL/SQL. -
New info record with same details as archive one.
Hi Experts,
Due to some issue we want to archieve some standard info record which are created on vendor / material group / plant basis.My query is does system allows to create new info record with same vendor / material group / plant combination after archiving earlier record which is on same basis.
Thnaks & Regards
VinayHi Jurgen,
Thanks for reply.
Our issue is while creating work order(IW31) having external services upon entering info record number in some cases in same client rate is picked up from info record condition but some times from last purchase order based on info update.
We have checked following points.
1.In all the cases work order type is same.
2.Info record are of standard type with same condition.info record are for vendor & material group combination.
3.Checked after changing rate in info record and in purchase order but similar issue exists
4.Compare vendor master also.
5.Their are no contract /sch.agreement for vendors.
Our requirement is to have rate from info record in all the cases in work order.So have two options.
1.Archiving info record-But will need setting in SPRO and also need to create same record again with same combination.Also as their are recent purchase order against those info record not sure whether system will allow or not.Can you please tell what are prerequiste for archiving info record.
or
2.To remove only purchase order number updated in EINE table in those info record where this issue is occuring.We have checked in development system and after removing purchase order number in EINE table it picks up rate from info record.
So thought of checking before removing order ref.from EINE table.
Thanks
Vinay -
Hi All,
We are in the process of defining master data required for procurement.. For direct materials we always have contrcats .. so if we use only contracts without creating any info records what would be the implications??
As contract and info record both captures price , terms of delivery etc why to have 2 master data as it would be complex to manage the data maintenance ..
Just having contract without info record has any implications? are we going to loose any features and functionality by not having info records??
I would really appreciate your experiences on this.. how you are managing both contracts and info records ..
Best Regards,
V SInfo record serves as a source of information for Purchasing. The purchasing info contains information on a specific material and a vendor supplying the material.
For example, the vendor's current pricing is stored in the info record.
The info record allows buyers to quickly determine:
u2022 Which materials have been previously offered or supplied by a specific vendor
u2022 Which vendors have offered or supplied a specific material
You can store the current and future quotation conditions (discounts, fixed costs etc.) in the info record, in order to be able to copy them into Pos. You can also maintain the vendoru2019s conditions directly in the info record
*In contract we can maintain any number of materials within a Particular validity period only.
Both of them are maintained in sap to focus on the specific business requirements.
Palani -
Mass change of text in purchase info record.
Hi All,
For purchasing info record, we have maintained copying rules to adopt text from material master. In copying rule for info record, we have maintained Fixed indicator for material master text "Purchase Order Text." The texts copied to info records from material master is having status fixed.
The problem is, since text is having fixed indicator it is not copying to PO unless we make change or adopt it. Now we do not know how many info record is having the text as fixed since in most PO's text is not getting copied.
Is there any way where we can make a mass change so that fixed indicator is removed. If LSMW, how can we know how many info records are having text as fixed indicator "*". Or is there is some other way.
ThanksHi Alex
You can change/ remove the "No material text' check box either by using a
mass maintenance - transaction MASS,
object type: BUS3003
table: EINE
give the Info record number/Pur org/info-category/ plant
or using the batch input recording using LSMW.
You can find the number entries of info-records having 'No Material text' using transaction SE16/SE16N with table EINE
and select the 'NO Material text' with 'X: and hit number of entries..you will find it
Thanks
Sasi -
How do I get ALL the info records for a materials plants using an SAP FM?
I need to get all of the info records from the EINE table for a material - all of its sites (plants, we are using SAP retail).
The problem is this: I call the FM MD_INFORECORDS_READ - here is the code for my call:
CALL FUNCTION 'MD_INFORECORDS_READ'
EXPORTING
imatnr = t_output_data-article <-- the material number
iliefnr = lv_eina_key < -- see below on how I get this
importing
eeine =
TABLES
exp_eina = it_eina
exp_eine = it_eine
EXCEPTIONS
no_eina_record_found = 2
no_eine_record_found = 3.
lv_eina_key is taken from this call:
SELECT SINGLE altkn INTO lv_vendor_no
FROM lfb1
WHERE lifnr = lv_site (plant)
AND bukrs = t_output_data-company_code.
The probelm is it only returns the first record it finds for each site. There could be multiple info records, each one based a a different Valid From date for each site. I need either ALL of the EINE records for each site OR the most current one
I know I am not using ALl of the parms in the FM - but are there maybe there are other ones should I be using.
Perhaps there is there another FM I should be using - cause I do not have the info record number to pass.
Thanks.
ScottNever mind - the FM does work - this was bad data.
-
Value from info record in work order
Hi,
We have created some info record.While creating some work orders we enter info record number in peration-external tab-price field. If in some earlier order info update is tick while creating purchase order having this info record then in new work order -operations tab-external tab-price field rate is picked up from purchase order history and not from value maintained in info record (ME11/12) manually.
Is their any setting / SAP note so that all the times rate will be picked up from info record (ME11/ME12) and not from purchase order history or info update.
SAP learner.no feedback hence closing this thread
Maybe you are looking for
-
I need help setting up my daughters iPod. She has been using her iPod touch for 6 months using my ID. This caused a problem now that she is a bit more savvy and has learnt to message and FaceTime. I get her calls and she gets mine. I have set her up
-
I have a Nokia 97 mini what is the best way to connect it to my new Mack Book Pro
Hi All Mac Book Pro users, I have just purchased a new Mac Book Pro and it has Lion V10.7 I am trying to connect my Nokia N97 Mini. has anybody out there managed to achieve it and HOW DID YOU MANAGE IT. Any help will be gratefully accepted, Thanks st
-
AddresCleanse Jobs fail (DS XI 3.2) German Address Directory
Hi, after upgrading from 12.1 to 12.2, my address cleanse data flows don't work anymore. I get the error: 1764 5440 DQX-058306 24.06.2009 14:17:55 Transform <Germany_AddressCleanse>: The directory type GA_DIR_TYPE_REGION for group DEF
-
WARNING AdfFacesContext had not been properly released on earlier request.
To remove the warning WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execut I've modified my web.xml like this: <filter-mapping> <filter-name>adfFaces</filter-name> <servlet-name>Faces Servlet</servlet-na
-
BPCNW100 USGAAP SP02 INSTALLATION (failed to create Infoarea)
Dear gurus, I am trying to install BPCNW100 USGAAP SP02. In UJBR, following error message is popped up after choosing SAP_USGAAP.Zip file which is downloaded from Marketplace. 1826111, 1775713 and 1847625 notes were implemented. We would apreciate yo