Doubt about COEP table
Hi ,
I was looking at table COEP by objnr_n1 and kstar fields and found that it is taking almost 5 to 10mins to execute.
Is it the general case with this table or is it only with my sap system.
thx
Raghu
Yes it is you are using non primary key.. try to pass fiscal year and priod too .. you may get it bit faster.
thanks
mahesh
Similar Messages
-
Doubts about Temporary Table.
Hi,
I am using Temporary Table.
But the insert command takes too much time compare to insert in Normal table.
One more doubt about Temporary Table is:
Suppose there are two different users. They connect and first insert rows of their use .Now they go for select.
Does select of one user goes to check the rows of second user also or the temporary table treats 2 users data as inserted in 2 different tables?
Help!!!Nested structure (not deep - deep means their a string or a table as a component)
TYPES: BEGIN OF tp_header_type,
BEGIN OF d,
empresa TYPE ...
num_docsap TYPE ...
END OF d,
awkey TYPE ...
END OF tp_header_type.
matt -
Doubts about result table in endeca 3.1
Hi All,
I created the result table in Endeca 2.4 by using the checkbox for Use EQL query and entered the query but I cannot see the option of entering the eql in endeca 3.1.Has something changed or I have missed something?
and In order to enable drill down in endeca 2.4 I added an action column to pick the event ID available on a particular row. Clicked on Add Action Column button under Configuration tab and added teh action but cannot see samething in endeca 3.1.
Can some one please let me know how can above things be achieved in endeca 3.1
Thanks in Advance.In 3.1 for Results Table, you do not enter EQL. Instead, you set the table type to Analytics table, then add the metrics and dimensions. For simple metrics, you just add the attribute and select the aggregation method. For more complex metrics, you would need to add the metric as a predefined metric in the view. You could then add that metric to the table.
Here's a link to the section of the Studio User's Guide that talks about configuring a Results Table:
Configuring a Results Table
And here's a link to general information about adding data to components in 3.1:
Selecting and configuring the data displayed on a component -
Small doubt(about pivot table)
while creating a report i am getting error in Table view,if i create a same report in pivot view it is working fine in pivot view.
after this i want to add this view to the compound view then i will have to delete the table view from the compound view .but while adding the pivot view to the compound view it is throwing error because by default compound view has only table view and tital view.it is not allowing me to add pivot view to the compound view.
can anyone suggest me is there any other way i can add the pivot view to compoud view i want to view the title view and pivot view only in the compond view.(here the problem is i am unable to add pivot view to the compound view because error in the table view)Actually i placed couple of column in the excluded. now its working fine. i just want to know how can i add pivot tabler to the compound view at this situation
-
hi friends,
i am selecting the sales order details and conditions from konv table but
when i am checking the va03 my condition amount is 2.000%
but in konv table it is 20.00 ,why is it so?
how can i calculate it correctly?
thanks & regards
srinivasYes it is you are using non primary key.. try to pass fiscal year and priod too .. you may get it bit faster.
thanks
mahesh -
Dear Members,
I am doing FLASHBACK TABLE as sys user. I know that FLASHBACK TABLE can not be used for user SYS ,
still I successfully execute this command with to before drop clouse and
when i execute this command with to timestamp clouse , I get error.
Can some one please tell me why this is happening ?
ORACLE : 11gR2
OS : FEDORA 14
$ sqlplus / as sysdba
SQL> insert into t11 values('k');
1 row created.
SQL> !date;
Wed May 30 15:45:13 IST 2012
SQL> insert into t11 values('z');
1 row created.
SQL> drop table t11;
Table dropped.
SQL> select * from dba_recyclebin;
OWNER OBJECT_NAME ORIGINAL_NAME OPERATION TYPE TS_NAME CREATETIME DROPTIME DROPSCN PARTITION_NAME CAN CAN RELATED BASE_OBJECT PURGE_OBJECT SPACE
SYS BIN$wT5v1Gw96zbgQGSsOaoM4g==$0 T11 DROP TABLE NISHANT 2012-05-30:14:47:37 2012-05-30:15:45:36 17728226 YES YES 85115 85115 85115 8
SQL> flashback table "BIN$wT5v1Gw96zbgQGSsOaoM4g==$0" to timestamp to_time('30/05/2012 15:45:13','dd/mm/yyyy hh24:mi:ss');
flashback table "BIN$wT5v1Gw96zbgQGSsOaoM4g==$0" to timestamp to_time('30/05/2012 15:45:13','dd/mm/yyyy hh24:mi:ss')
ERROR at line 1:
ORA-08185: Flashback not supported for user SYS
SQL> flashback table "BIN$wT5v1Gw96zbgQGSsOaoM4g==$0" to before drop;
Flashback complete.Hi,
As far as i know, recyclebin doesn't work for SYS schema. The same i have tested on my 11.2.0.3 test database -
18:12:22 SQL> select * from dba_recyclebin;
no rows selected
18:12:23 SQL> show user
USER is "SYS"
18:12:27 SQL>
18:12:28 SQL> create table a (x number);
Table created.
18:12:35 SQL> insert into a values (1);
1 row created.
18:12:36 SQL> insert into a values (2);
1 row created.
18:12:36 SQL> insert into a values (3);
1 row created.
18:12:37 SQL> select * from a;
X
1
2
3
18:12:38 SQL> commit;
Commit complete.
18:12:39 SQL> drop table a;
Table dropped.
18:12:46 SQL> select * from recyclebin;
no rows selected
18:12:48 SQL> select * from dba_recyclebin;
no rows selected
18:13:00 SQL>Can you please check back again.
Edited by: Anand.. on May 30, 2012 6:19 PM --> Update --> It was my mistake, didn;t check the ts_name column. The object is created in non-system tablespace. -
Hi guys , i have the follow.code that a friend of mine gave me , but i ´ve never seen before code like this gs_hd-d-empresa, it has two hyphens !!! , how should I declare tp_header ? is not declare in the code anywhere. Is a special type of table ?
DATA: gt_doc TYPE TABLE OF zcmest_prvconf,
gt_hd TYPE TABLE OF tp_header,
gs_hd TYPE tp_header,
lv_belnr TYPE belnr_d,
lv_gjahr TYPE gjahr,
lv_hkont TYPE hkont,
lv_bvorg TYPE bvorg.
SELECT bkpf~bukrs bkpf~belnr bkpf~gjahr
bkpf~blart bkpf~budat bkpf~cpudt
bkpf~cputm bkpf~xblnr bkpf~bktxt
bkpf~waers bkpf~hwaer bkpf~bvorg
bkpf~xreversal bkpf~stgrd bkpf~stblg
bkpf~awkey
INTO (gs_hd-d-empresa, gs_hd-d-num_docsap, gs_hd-d-exercicio,
gs_hd-d-tip_doc, gs_hd-d-dt_lanc, gs_hd-d-dt_dia,
gs_hd-d-hr_ent, gs_hd-d-ref_sap, gs_hd-d-txt_cabdoc,
gs_hd-d-moeda_doc, gs_hd-d-moeda_emp, gs_hd-d-num_intemp,
gs_hd-d-ind_est, gs_hd-d-cod_est, gs_hd-d-doc_est,
gs_hd-awkey)
FROM bsis
JOIN bkpf
ON bkpf~bukrs = bsis~bukrs
AND bkpf~belnr = bsis~belnr
AND bkpf~gjahr = bsis~gjahr
Thank you very much.Nested structure (not deep - deep means their a string or a table as a component)
TYPES: BEGIN OF tp_header_type,
BEGIN OF d,
empresa TYPE ...
num_docsap TYPE ...
END OF d,
awkey TYPE ...
END OF tp_header_type.
matt -
Doubt about Select statement.
Hi folks!!
I have a few doubts about the select statements, it may be a silly things but its useful for me.
what is difference between below statment.
1)SELECT * FROM TABLE.
2)SELECT SINGLE * FROM TABLE
3)SELECT SINGLE FROM TABLE.
Hope i will get answer,thanks in advance.
Regards
Richie..Hi,
try this and if possible use sap help.i mean place the cursor on select and press F1.
Types of select statements:
1. select * from ztxlfa1 into table it.
This is simple select statement to fetch all the data of db table into internal table it.
2. select * from ztxlfa1 into table it where lifnr between 'V2' and 'V5'.
Thisis using where condition between v2 and v5.
4. select * from ztxlfa1 where land1 = 'DE'. "row goes into default table work Area
5. select lifnr land1 from ztxlfa1
into corresponding fields of it "notice 'table' is omitted
where land1 = 'DE'.
append it.
endselect.
Now data will go into work area. and then u will add it to internal table by
append statement.
6. Table 13.2 contains a list of the various forms of select as it is used with internal tables and their relative efficiency. They are in descending order of most-to-least efficient.
Table 13.2 Various Forms of SELECT when Filling an Internal Table
Statement(s) Writes To
select into table it Body
select into corresponding fields of table it Body
select into it Header line
select into corresponding fields of it Header line
7. SELECT VBRK~VBELN
VBRK~VKORG
VBRK~FKDAT
VBRK~NETWR
VBRK~WAERK
TVKOT~VTEXT
T001~BUKRS
T001~BUTXT
INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
FROM VBRK
INNER JOIN TVKOT ON VBRKVKORG = TVKOTVKORG
INNER JOIN T001 ON VBRKBUKRS = T001BUKRS
WHERE VBELN IN DOCNUM AND VBRK~FKSTO = ''
AND VBRK~FKDAT in date.
Select statement using inner joins for vbrk and t001 and tvkot table for this case based on the conditions
8. SELECT T001W~NAME1 INTO TABLE IT1_T001W
FROM T001W INNER JOIN EKPO ON T001WWERKS = EKPOWERKS
WHERE EKPO~EBELN = PURORD.
here selecting a single field into table it1_t001winner join on ekpo.
9. SELECT BUKRS LIFNR EBELN FROM EKKO INTO CORRESPONDING FIELDS OF IT_EKKO WHERE EBELN IN P_O_NO.
ENDSELECT.
SELECT BUTXT FROM T001 INTO IT_T001 FOR ALL ENTRIES IN IT_EKKO WHERE BUKRS = IT_EKKO-BUKRS.
ENDSELECT.
APPEND IT_T001.
here I am using for all entries statement with select statement. Both joins and for all entries used to fetch the data on condition but for all entries is the best one.
10. SELECT AVBELN BVTEXT AFKDAT CBUTXT ANETWR AWAERK INTO TABLE ITAB
FROM VBRK AS A
INNER JOIN TVKOT AS B ON
AVKORG EQ BVKORG
INNER JOIN T001 AS C ON
ABUKRS EQ CBUKRS
WHERE AVBELN IN BDOCU AND AFKSTO EQ ' ' AND B~SPRAS EQ
SY-LANGU
AND AFKDAT IN BDATE AND AVBELN EQ ANY ( SELECT VBELN FROM
VBRP WHERE VBRP~MATNR EQ ITEMS ).
Here we are using sub query in inner join specified in brackets.
Thanks,
chandu. -
Doubt about Bulk Collect with LIMIT
Hi
I have a Doubt about Bulk collect , When is done Commit
I Get a example in PSOUG
http://psoug.org/reference/array_processing.html
CREATE TABLE servers2 AS
SELECT *
FROM servers
WHERE 1=2;
DECLARE
CURSOR s_cur IS
SELECT *
FROM servers;
TYPE fetch_array IS TABLE OF s_cur%ROWTYPE;
s_array fetch_array;
BEGIN
OPEN s_cur;
LOOP
FETCH s_cur BULK COLLECT INTO s_array LIMIT 1000;
FORALL i IN 1..s_array.COUNT
INSERT INTO servers2 VALUES s_array(i);
EXIT WHEN s_cur%NOTFOUND;
END LOOP;
CLOSE s_cur;
COMMIT;
END;If my table Servers have 3 000 000 records , when is done commit ? when insert all records ?
could crash redo log ?
using 9.2.08muttleychess wrote:
If my table Servers have 3 000 000 records , when is done commit ? Commit point has nothing to do with how many rows you process. It is purely business driven. Your code implements some business transaction, right? So if you commit before whole trancaction (from business standpoint) is complete other sessions will already see changes that are (from business standpoint) incomplete. Also, what if rest of trancaction (from business standpoint) fails?
SY. -
Doubts about BP number in SRM and SUS
Hello everyone,
I have some doubts about the BP number, especially for Vendors.
I am working with the implementation of SRM 5.0 with SUS in an extended classic scenario. We will use one server for SRM and other for SUS. We will use the self registration for vendor (in SUS). My questions are:
- Can I have the same BP number in SRM and SUS?? Or is it going to be different??
- When a vendor accesses at the site to make a self registration in SUS, the information is sent to SRM as prospect (by XI) and there the prospect is changed as vendor? After that, is it necessary to send something from SRM to SUS again? (to change the prospect to vendor)
- When is it necessary to replicate vendors from SRM to SUS??
Thanks
IváDear Ivan,
Here is answer to all your questions. Follow these steps for ROS configuration:
Pls note:
1. No need to have seperate clients for ROS and SUS. Create two clients for EBP and (SUS+ROS).
2. No need of XI to transfer new registered vendor from ROS to EBP
Steps to configure scenario:
1. Make entries in SPRO --> "Define backend system" on both clients.
You will ahev specify logical systems of both the clients (ROS as well as EBP)
2. Create RFCs on both clients to communicate with each other
3. In ROS client create Service User for supplier registration service with roles:
SAP_EC_BBP_CREATEUSER
SAP_EC_BBP_CREATEVENDOR
Grant u201CS_A.SCONu201D profile to the user.
4. Maintain service user in u201CLogon Datau201D tab of service : ros_self_reg in ROS client
5. Create Purchasing and vendor Organizational Structure in EBP client and maintain necessary
attributes. create vendor org structure in ROS client
6. Create your ROS registration questionnaires and assign to product categories- in ROS client
7. To transfer suppliers from registration system to EBP/Bidding system, Supplier pre-screening has to be
defined as supplier directory in SRM server - EBP client.
Maintain your prescreen catalog in IMG --> Supplier Relationship Management u2192 SRM Server u2192
Master Data u2192 Define External Web Services (Catalogs, Vendor Lists etc.)
8. Maintain this catalog Id in purchasing org structure under attribure "CAT" - in EBP client
9. Modify purchaser role in EBP client:
Open node for u201CROS_PRESCREENu201D and maintain parameter "sap-client" and ROS client number
10.Maintain organizational data in make settings for business partner
Supplier Relationship Management -> Supplier Self-Services -> Master Data -> Make Settings for the Business Partners. This information is actually getting getting stored in table BBP_MARKETP_INFO.
11. Using manage Business partner node with purchasers login (BBPMAININT), newly registsred vendors are pulled from Pre-screen catalog and BP is created in EBP client. If you you have SUS scenario, ensure to maintain "portal vendor" role here.
I hope this clarifies all your doubts.
Pls reward points for helpful answers
Regards,
Prashant -
I have some doubts about the possible uses of OBIEE. It happens that using OBIEE sometimes users demand report of an "analytical" type, that is aggregated analysis through OBIEE’s Answers, selecting data from dimension tables and measures from fact tables. That’s the ordinary purpose of business intelligence tools!!!
Some other times though, users demand to perform through Answers analyses of an "operating" type, that is simple extractions of some fields belonging to dimension tables, linked between each other through joins, (hence without querying fact tables): that happens because some of the tables brought in the datawarehouse are not directly linked to any fact table. In this way users want to use Answers to visualize data even for this kind of extractions (or operating reports).
Is this a correct use of the tool or is it just a “twisted” way of using it, always leading eventually to incorrect extractions? If that’s the case, is it possible to use instead BI Publisher, extracting the dataset through the "Sql Query" mode in a visual manner? The problem of the latter solution, in my case, relies in the fact that users are not enough skilled from the technical point of view: they would prefer to use Answers for every extraction, belonging both to the first type (aggregations) and the second one (extractions), that I just described. Can you suggest a methodology to clarify this situation?Hi,
I understand your point... But I think OBIEE doesn't allow having dimension "on their own", they must be joined to a fact table somehow. This way, when you do a query in answers using fields of two dimension tables a fact table should be always involved. When dimensions are conformed, several fact tables may be used, and OBIEE uses the "best" one in terms of performance. However, there are some tricks that you can do to make sure a particular fact table is used, like using the "implicit fact column" in the presentation layer.
So back to your point, using OBIEE for "operational" reporting as you call it is a valid option in my experience, but you have to make sure that the underlaying star schema supports the logic that your end users expect when they use just dimension fields.
Regards, -
Doubt about Tunning View Objects
Hi !. I have the following doubt about tunning View Objects:
If I have the following configuration on a VO:
All Rows
In Batches Of: 11
As Needed
Access Mode: Scrollable
Range Size: 10
Total Records On The Table: More than 100
What would happen is that while the initial render, the view cache is fetch with 11 rows from the table and the ui table shows 10. In subsequent scroll events, more queries again will be done but not when the user scrolls back. My doubt is this one: Why, while the initial render If I put a breakpoint in this overrided method executeQueryForCollection, the execution reachs there but in subsequent scroll events (forward) the execution doesn't reach there ?. I understand thast this should happen as the required rows are not yet in the cache. I would like to know a way to test this access mode and what method is executed in every roundtrip to the DB. Thankx !.I don't think ADF needs to execute the query again - it just needs to fetch the next set of records.
So if the cursor is already open, no need to issue another query.
You can use the HTTP Analyzer to watch network traffic
Monitoring ADF Pages Round-Trips with the HTTP Analyzer
And you can use the logging features of ADF to see the queries being executed.
Declarative View Objects (VOs) for better ADF performance -
Doubt about how to extend 2LIS_08TRTLP.
hello all!
i have a doubt about 2LIS_08TRTLP extractor. I checked the Estructure Maintenance for this datasource and it has
the follow BW communication structure: MCCOMVTRLK, MCCOMVTRLP, MCCOMVTSP, MCCOMVTTK e MCCOMVTTS. Searching for
field UATBG, i found it in MCCOMVTTK and MCCOMVTTS.
when i try to extend the 2LIS_08TRLP datasource with UATBG field, i just can do this with MCCOMVTTS-UATBG because i
didn´t find the UATBG-MCCOMVTTK in field list. I need MCCOMVTTK-UATBG and not the MCCOMVTTS-UATBG.
what is happening here friends?Hi,
2LIS_08TRTLP gives the Delivery Item in Shipment. Therefore it mainly deals with the deliveries and the shipment stages. Therefore most of the fields come from the VTTS and LIPS.
IF you need data from VTTK, then you need to use datasource 2LIS_08TRTK.
Also refer sap note 440166. It gives the design using an ODS. Basically, you get to know what are the keys being used for fetching the data from the tables.
Regards. -
Doubt about Master-Child relationships.
Hello,
I've a doubt about master-child relationships.
Any row in the master table need to has at least one row in the child table. What do I guarantee that?
Please, any ideas.
Thnx.If im correct you are asking that any row in master table should have a corresponding child record in detail
(transaction) table.
WELL , There is no compulsion that the child table should have a record linking to record in master table.
Master table is not depended on child table. Child table is dependent on data reference on master table.
Pls note that Master table is independent of the child table ( in terms of data reference only) .
This doesnt mean that if you want to delete the master records when child records exists. it gives an error in that case.
check the following example
SQL> create table master(n number primary key);
Table created.
SQL> insert into master values(1);
1 row created.
SQL> create table child(t number references master(n));
Table created.
Hello,
I've a doubt about master-child relationships.
Any row in the master table need to has at least one row in the child table. What do I guarantee that?
Please, any ideas.
Thnx. -
Doubtful about security of oracle's Wrap code!
Dears
I am little bit doubtful about security of oracle's own Wrap code like package "sys.utl_smtp" .
Someone can easily Unwrap it without source code?
How it possible? whats your opinion about this? please can anybody clear me.
Regards
Abdul Halim
Edited by: Abdul Halim on May 31, 2013 8:14 PMHalm, you are operating under the mistaken belief that your code deserves hiding from the customer and competitors to begin with. Why? All you are doing in the code is performing DML. It is not like your application is the only one in the world that performs its function.
If someone really wanted to they could figure out what your code is basically doing just by looking at the table and file data before and after running the code. By careful manipulation of the data and studying the results they can figure out what is being done and then develop their own specific of the how it is done. One can also look at Oracle's internals as the code is being processed both using Oracle provided views and direct peaking at Oracle's shared memory. Then there are tools like sql trace which will captute the SQL, waits, and binds for the process.
But all of this is kind of mute in that most shops do not have the talent to write their own unwrapper nor has the shop purchased an unwrapper so if you wrap the code it is going to be secured from most users and competitiors. I would just recommend that potential customers not purchase your product becuase the customer is going to need access to the code either for debugging (bugs will exist in the code) or tuning. Likely both.
IMHO -- Mark D Powell --
Maybe you are looking for
-
Re: 3rd Strike -or- How I Learned to Hate Skype
I hate them too cause this skype thing i thought i wanted it to talk to my Grandson except it never worked (offensive text removed).
-
How do queues / mappings work internally?
Hello, I have some experience in mapping tools outside XI which are "source oriented". This is quite simpy as the source message is "read" top -> down and you can define at each field which action should be done. So as you all knwo XI message mapping
-
Need procedure for the function
Hi Can any one create a procedure for the following Following is a function i need a procedure which basically Converts the values in the a Column to no of rows Example : Column Name: USA; Canada; Japan; in to 3 rows : USA Canada Japan create or repl
-
What are Hierachies and why do we use them?
Hi All, I need some insights regarding Hieracrchies,and why do hierachies are used? Thanks in Advance, Sravani
-
Any API to get handle to Outbound BPEL process endpoint activation?
Hi, we are developing both inbound and outbound BPEL processes using a custom JCA 1.5 based adapter. For the inbound BPEL process deployment/undeployment, we have the ResourceAdapter's endpointActivate() endpointDeactivate() methods called in and so