How to check whether any table(s) required to shrink on database
Hi,
How to check whether any table(s) required to shrink on database
Regards,
Venkat
Venkat wrote:
Hi,
Thi is Oracle 10g. How to use this?. I am not using toad etc...
I am on SQL prompt.
Regards,
Venkat.
for starter
Generate Script to Shrink Segment Advisor Recommendations [ID 1171054.1]
Automatic Segment Advisor in Oracle 10g Release 2 (10.2) [ID 314112.1]
10g and above SEGMENT ADVISOR [ID 242736.1]
Cheers
Similar Messages
-
How to check whether stock cover MRP requirements
Hi Everybody,
Could you please tell me how to check whether stock cover MRP requirements?
My user hope to block GR for PO. Because before GR, customer decrease their order qty. However, it is difficult if buyer decrease the PO qty manually. So, they hope SAP can calculate and block GR.
I know we can add the control in user exit of MIGO. However, I dont know how to check the stock whether cover MRP requirements. anybody can tell me what is the standard function? of course, it is okay if you have other solution such as via standard configurations.
Thank you in advanced.
Regards
HenryHello Ravi,
Thank you for your reminder.
We have double confirmed with our client. It is very difficult to using Scheduling Agreements instead of PO. because lots of job have to be changed such as
1. Share our Scheduling Agreements with suppliers on a new system such as Internet.
2. PO release strategy will be put into Scheduling Agreements. I dont know how to to reach this.
Customer may random decrease their order Qty even if they have sent formal order to us. So, we have to block GR for our supplier even if sent PO already. In OEM industry, it is truth already.
Hello BK,
I know in MD04, we can manually list. But, please tell me which function (SE37) can identify. We hope can call the function in user exit of MIGO.
Regards
Henry -
How to check whether a table exists in database
test9997 is table already made in database with 3 columns :1st-varchar,2nd-number,3rd-number
declare
var1 varchar2(20);
var2 number(20);
var3 number(20);
begin
plvar1 :='this is again pl/sql';
plvar2 := 12;
plvar3 := 13;
IF (???? condition for existence of table say test1111??????) then
create table test1111(
var1 varchar2(20);
var2 number(20);
var3 number(20);
insert into test1111(plvar1,plvar2,plvar3);
else
insert into test1111(plvar1,plvar2,plvar3);;
end if;
end;
in the above code i want to check existence of a table and insertion or updation will be based on it after creation if it doesnt exist.
how to do it
please help asapYou're in the wrong forum (this one is for issues with the SQL Developer tool). You'll get more answers in the SQL And PL/SQL forum.
Have fun,
K. -
How to Check whether a table is indexed or not?
Hi all,
I am writing a c++ program where i have to create an Index if Index not exists.
Oracle 10.2 is the oracle version and i am using oracle text for indexing.
table -- create table xmltable (versionnumber number,instance xmltype);
index -- create index configindex on xmltable (instance) indextype is ctxsys.context;
drop -- drop index configindex force;
My algorithm should something like,
if(configindex is exists)---------->What i have to write here to check if index is present.
{ drop index configindex force; }
create index configindex on xmltable (instance) indextype is ctxsys.context;
Thanks......Hi,
You could check the system view ALL_INDEXES .
HTH,
Chris -
How to check whether follow on document is created for sc or po,is there any table or fm available?
Hello Venu
Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
Check this: SRM Shopping cart and PO tables link
Regards -
How to check whether calendar is being used in any of the sap application
Hello All,
We are having few factory calendars. However some of the calendar having valid to year 2010. Can you please let me know how to check whether these calendar is being used in any of the sap application/module
kindly reply as early as possible
Regards
GirishHi RKS
yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
/people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
Good work Summer wang !!
Muthu -
How to identify whether any data source is created for a table?
hi all,
How to identify whether any extractions is been carried out for a particular table, view or function module(generic extraction)? from r/3.
bcos i need to create an extraction for a table, view and function module. But iam not sure whether any extractions is already been created for those tables, view, function modules??
thanxs
harithaHi,
By passing the following values as selection to table ROOSOURCE we can find whether any data source has been created or not .
EXMETHOD = V
EXTRACTOR = Table name
hope it helps..
regards,
raju -
How to check document flow table of a document
Hi,
There is existing report and additional data needs to be added to existing report.
Its SD.
It is required that i display a field only when FI document is created.
i.e :
of Claims Paid : If FI document is created for a claim.
So, for this i need to know how to check whether a FI document has been created or not. As i don't even know the order number.
Is there any way to find this??
Please help me on this!!
thanksHi,
Rashi here is the Link for VBFA to BSEG
VBFA-VBELN here VBELN is primary key
BSEG-VBELn here VBELN is foreign key.
So proceed.
Hope my answer helps you.
Cheers!! -
How to check Whether the File is in Progress or used by some other resource
Hi All,
I am retrieving a file from the FTP server using Apache commons FTP.
I need to check whether the file is fully retrieved or in progress.
for now i can able to use the file which is partially retrieved. it is not throwing any file sharing exception or i am unable to find whether it is in progress.
How to check whether the file is in progress ? or The file is accessed by some other resource ?
Pls Help me.
Thanks,
J.KathirHi Vamsi,
Explicitly such kind of requirement has not been catered and i dont think you would face a problem because any application that is writing to a file will open the file in the read only mode to any other simultaneous applications so i think your concerns although valid are already taken care off .
In the remote case you still face a problem then as a work around. Tell the FTP administrator to set the property to maximum connections that can be made to ftp as one. I wonder if you have heard of the concept of FTP handle , basically the above workaround is based on that concept itself. This way only one application will be able to write.
The file adapter will wait for its turn and then write the files.
Regards
joel
Edited by: joel trinidade on Jun 26, 2009 11:06 AM -
How to check whether the Application Server directory exits or not
Hi,
I have a selection screen in which I give the Application server file name(UNIX file) as input. Here, I would like to check whether the Server directory exists or not.
Let us say, the path I gave in the selection screen is /usr/sap/tmp/testfile.txt . Here, the file name is testfile.txt and the server directory is /usr/sap/tmp . I would like to check whether this directory /usr/sap/tmp exists in the server or not. I am not bothered about the file name as I am going to write data into the file. I am mainly concerned about whether the directory exists in the server or not. and one more thing... this is the Application Server path not the Local path.
Can anyone help me on the same how to check whether the server directory exists or not.
Thanks in advance.
Best Regards,
Pradeep.Also you can use the FM EPS_GET_DIRECTORY_LISTING for this purpose.
Store the directory name
l_dpath = p_file+0(l_no).
Validate the directory of the application server
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
dir_name = l_dpath
TABLES
dir_list = l_i_dlist
EXCEPTIONS
invalid_eps_subdir = 1
sapgparam_failed = 2
build_directory_failed = 3
no_authorization = 4
read_directory_failed = 5
too_many_read_errors = 6
empty_directory_list = 7
OTHERS = 8.
If any problem occurs with the directory then display proper
error message
IF sy-subrc <> 0.
Display error message
MESSAGE e018 WITH 'Problem with directory entered'(008).
ENDIF. " sy-subrc <> 0
Regards,
Joy. -
How to check whether system privilege are granted
How to check whether system privileges like 'create session' and other ones are granted for user.
Is there any sys table where this information is available?
Regards - NeuronKeep in mind select * from dba_sys_privs where grantee = 'some-user' will give you a list of privileges granted to some-user directly. To get complete list of system privs granted to a user both directly an via roles use:
ACCEPT USER PROMPT 'Please enter user name: '
COLUMN PATH FORMAT A90
SET LINESIZE 132
SELECT PATH,
PRIVILEGE
FROM DBA_SYS_PRIVS,
SELECT 'DIRECT GRANT' PATH,
'&USER' GRANTED_ROLE
FROM DUAL
UNION ALL
SELECT LTRIM(SYS_CONNECT_BY_PATH(GRANTED_ROLE,'->'),'->') PATH,
GRANTED_ROLE
FROM DBA_ROLE_PRIVS
START WITH GRANTEE = UPPER('&USER')
CONNECT BY PRIOR GRANTED_ROLE = GRANTEE
WHERE GRANTEE = GRANTED_ROLE
/Now on top of privileges granted to a user, user also has privileges granted to PUBLIC. To get privileges user receives via PUBLIC run the above script specifying PUBLIC at the prompt.
SY. -
How to check whether ESBAgentListener listener is started or not for ESBSys
Hi,
I am working on Oracle ESB 10g, I want to know how to check whether the ESBAgentListener listener is started or not for particular ESB system. I know we can verify the logs but I want to know is it possible from database or any other sources.
Thanks in advance.
RameshHi Jogdand ,
You can get the PO total value change form the PO business Object BUS2201 attribute POTotalValueIncreased .
Below code sample decribes how to get the BO attribute values
1. INCLUDE <swfcntn01>.
2. Create an instance of the BO by calling the macro and passing the three parameter.
swf_create_object <po bor object> <BUS2201> <po_guid>
3. Get the PO attribute by calling macro
swf_get_property <po BOR object> < 'POTotalValueIncreased' > < lv_pototalvalueincreased>
OR
You can query the table BBP_PDHGP and get the original Value of the PO and call the FM BBP_PD_PO_GETDETAIL to get the new Value of the PO. Check the difference and if there is any difference then the PO value is changed.
I hope this will be very useful.
Regards,
Surender -
R12.1.1 staging complete! How to check whether the stage is Good
Hi Gurusl,
I have completed staging R12.1.1 for Hp unix B.11.31. I want to know how to check whether the stage is good for installation or whether it is corrupted. Is there any metalink note or script from where we can check it. Ur help will be highly appreciated. Thanks in advance
regards,Hi,
Please refer to (Note: 802195.1 - MD5 Checksums for R12.1.1 Rapid Install Media).
Regards,
Hussein -
How to check whether there r new txt files in a folder n file creation date
How to check whether there r new text files in a specified folder and what is the date of creation of the text file.........?
Hi
I have been searching for a solution to find the date of creation of a file for over 6 months now but haven't found it. So I presume that it is not possible though I havent found any authentication of my assumption in any document.
Cheers!
Shailesh -
How to get type any table in function module... or something
Moderator message: Please use a more informative subject in future, and NOT IN ALL CAPITALS.
Hi experts,
how to get type any table option.
in source code.
*" CHANGING
*" REFERENCE(S_EKORG) TYPE ANY TABLE OPTIONAL
Thank you.
Edited by: Matt on Feb 17, 2009 2:27 PM - subject editedIn Function module...... Under changing tab, give the parameter name and type enter associated type any.... You would get that same in the source code and also choose Optional check box.....
You will see exact code in the FM source code
Maybe you are looking for
-
For those of you using godaddy and forwarding to .mac, how long did it take for the domain forwarding to take effect?
-
Evaluation path to get personnel number all the org unit and subordinates
Dear all, I have OM issue to ask.This is the scenario: Staff A belong to org 1. Under Org 1, I have org unit 1-A, 1-B and org unit 1-C. Issue 1 : I want to run report(RHSTRU00) to to generate all the staff number in org 1 (Include 1-A, 1-B, and
-
How to calculate age in SQL?
I have a table with DATE as one of the column. How do I calculate age? Thanks in advance -Shilpa
-
Retrieving content information from mulitpart message
I am trying to retrive the contents of the mulitpart message using the below code snippet ByteArrayOutputStream os = new ByteArrayOutputStream(); Multipart multi = (Multipart)p.getContent(); BodyPart bp = multi.getBodyPart(1); bp.
-
Folks, We're having a problem with enabling quotas on our client accounts. I've set everyone's account limit in workgroup manager, then under server admin i've ticked the box to enable quotas, but it won't save. At first, this didn't seem to be a pro