How to clear only blocks which have values
Hi there,
Is there anyone knows how to clear data from blocks which only have values ? so the idea, i dont have to create any new block by using something like set a block to be #MI ?
Please advice. Thanks a lot
R'gards
Octoni
From Technical Reference
The CLEARDATA command clears a well-defined section of a database's cells and changes the values of those cells to #MISSING values. This command is useful when you need to clear existing data values before loading new values into a database. CLEARDATA can only clear a section of a database. It cannot clear the entire database.
Similar Messages
-
How can i print only pages which have been highlighted, from a multi page file?
How can i print only pages which have been highlighted, in a multi page file.
Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.
-
How to clear the node which has multiple attributes
Hello ,
how to clear the node which has multiple attributes.
I've tried this using the method SET_STATIC_ATTRIBUTES_NULL but it's not working.
Thanks,
Sandhya.Hello,
I suggest you to create an internal table or structure clear it and the bind it to the context node.
Another possibility is to try to invalidate the node (method INVALIDATE of interface IF_WD_CONTEXT_NODE).
Regards. -
How to create a table which have always only one entry inside it?
Hi Experts,
Is it possible to create a table in data dictionary which have always only one entry inside it. If we insert another entry, then it should throw an error.if you want to maintain only one data in that ... then
first time for making one data entry in the <b>Delivery & maintaince </b> tabstrip in the table have an option <b>Display /maintaince Allowed ...</b>
after that
change it to <b>Display/maintianance allowed Restrictions .</b> ... so that table will not allow to insert the entries .
reward points if it is usefull ....
Girish -
How to select only rows which column has a null value?
Hi,
I adds rows to my table with data field set to null;
"INSERT INTO administrator.subzamowienia (subzamowienia.id_zamowienia,subzamowienia.id_transakcji,subzamowienia.nazwa_o,subzamowienia.nazwa_produktu,subzamowienia.ilosc,subzamowienia.nip_d,subzamowienia.data_realizacji) VALUES (administrator.id_zamowienia.curval,'0','PRAGA','Witaminy','2','43224','0');"
Then i would like to update this field after a time with new date.
To do this i need to know which rows has still data field set to null, i try sth like this but it doesn't work
"SQL> select * from administrator.subzamowienia where subzamowienia.data_realizacji='null';
select * from administrator.subzamowienia where subzamowienia.data_realizacji='null'
BŁĄD w linii 1:
ORA-01841: (pełny) rok musi być pomiędzy -4713 i +9999 i nie może być 0
or
"SQL> select * from administrator.subzamowienia where subzamowienia.data_realizacji='0';
select * from administrator.subzamowienia where subzamowienia.data_realizacji='0'
BŁĄD w linii 1:
ORA-01840: wartość wejściowa jest za krótka dla formatu daty
how to choose this rows?Hi,
VALUES (administrator.id_zamowienia.curval,'0','PRAGA','Witaminy','2','43224','0');I don't see null value...
select * from administrator.subzamowienia where subzamowienia.data_realizacji='null'Should be :
select * from administrator.subzamowienia where subzamowienia.data_realizacji is nullNicolas. -
How to clear alert when a null value is returned for a metric column?
Hey all,
Recently, I've encountered a problem about clearing alert when a null value is returned for a metric column. From Oracle official doc, it seems that NO_CLEAR_ON_NULL could be used for this propose. However, it doesn't.
Here is the line from doc, you can see when NO_CLEAR_ON_NULL is set as FALSE, the null value will clear alert, and the default value for NO_CLEAR_ON_NULL is FALSE.
NO_CLEAR_ON_NULL: This attribute is used to control severity clearing when a null value is returned for a metric column. It defaults to FALSE with the behavior that a null value ends up clearing previous alert severities. With a TRUE value for this attribute, null values will be skipped in severity evaluations without clearing the severity.
TRUE | FALSE (default)
STATELESS_ALERTS: This attribute if set to TRUE indicates to EM that alerts on this
column will not have corresponding clears. This allows the UI to decide whether to
allow users to manually clear alerts on this column.
TRUE | FALSE (default)Here is my code for the metric,
-- meta definition
<Metric NAME="Flushing_Table_Overtime" TYPE="TABLE" HELP="NO_HELP">
<Display>
<Label NLSID="mmd_ip">Flushing Table Overtime</Label>
</Display>
<TableDescriptor>
<ColumnDescriptor NAME="State" TYPE="STRING" IS_KEY="FALSE">
<Display>
<Label NLSID="mmd_rc_State">State</Label>
</Display>
</ColumnDescriptor>
<ColumnDescriptor NAME="Time_Seconds" TYPE="NUMBER" IS_KEY="FALSE">
<Display>
<Label NLSID="mmd_fto_Time_Seconds">Flush Table consume Seconds</Label>
</Display>
</ColumnDescriptor>
</TableDescriptor>
<ExecutionDescriptor>
<GetTable NAME="MysqlProcessAggregate"/>
<GetView NAME="v_flushing_tables" FROM_TABLE="MysqlProcessAggregate">
<Column NAME="State" />
<Column NAME="Time_Seconds" />
<Filter COLUMN_NAME="State" OPERATOR="EQ">Flushing tables</Filter>
</GetView>
</ExecutionDescriptor>
</Metric>
-- coll definition
<CollectionItem NAME="Flushing_Table_Overtime">
<Schedule>
<IntervalSchedule INTERVAL="10" TIME_UNIT="Min" />
</Schedule>
<MetricColl NAME="Flushing_Table_Overtime">
<Condition COLUMN_NAME="Time_Seconds"
CRITICAL="30" OPERATOR="GT"
MESSAGE="There is a Flushing Table command has exceeded %critical_threshold% seconds."
MESSAGE_NLSID="msg_Flushing_Table_Overtime" />
</MetricColl>
</CollectionItem>If this feature can not be achieved by coding XML, then is there a way to clear alert with Oracle Package? I have confirm neither sysman.em_severity.delete_current_severity nor sysman.em_severity.clear_alerts could do it.
Would anyone give me a hint?
Thanks in advance!
Best wishes,
Satine> I am executing in this manner
var RESULT BOOLEAN;
BUT I am unable to create variable with boolean data type.
WARNING. Do not confuse SQL*Plus with PL/SQL.
There is no variable command in PL/SQL. PL/SQL does support the boolean data type.
There is a variable command in SQL*Plus. It allows one to define bind variables. It is limited in the data types it supports. It does not support boolean as a bind variable type.
SQL*Plus is a CLI (Command Line Interface) client tool. It has a very limited vocabularly, allowing you to (primarily):
a) configure its local environment (e.g. size of the terminal ito number of characters per lines)
b) configure its bevahiour (e.g. spooling data to a file)
c) defining substitution and bind variables
And that's it. It is not PL/SQL. It is not SQL. It takes the PL/SQL and SQL you enter, and submit that to the Oracle server. (it does some basic parsing of the data to substitute variables and bind variables where applicable)
Do not confuse this CLI client tool with the server side PL/SQL or SQL languages. -
Quicktime-How do I delete clips which have been downloaded
In the dock I have quicktime-lists items which haVE BEEN DOWNLOADED.HOW DO I DELETE ITEMS?
Use the Finder to delete files.
-
Collect only columns that have values
I have one Collection called Collection1 with the following columns:
First
Last
Company
I'd like to collect that information into another collection, but only the columns that have data in them. I can do it using multiple If statements for each column If(IsEmpty()), but this can create a LOT of If statements if I'm using a lot of
columns, rather than just the 3 in the example.
Is there a way to evaluate each column, and only collect it if it isn't empty without having to type out each column name in an If statement?
-BrutonHello Oliver,
Thanks for your help. In that example, I would like:
First Last Company
John Contoso
Smith Contoso2
Brad Anderson
What I'm looking for how to do is if I have:
First Last Company
John Smith <empty>
Bruton Gaster <empty>
Barry Manalo <empty>
I want to collect First and Last, but if I have:
First Last Company
Scott <empty> Acumen
Bill <empty> Microsoft
Fred <empty> Dell
I want to collect First and Company. The Column names may be based off variables, so I'd rather not have to throw a bunch of If statements at it, but if I have to, I have to.
Thanks!
-Bruton -
How can I find items which have crop marks effect?
Now, I am creating a script for Illustrator CS4, CS5, CC2014 with Japanese version in Windows.
I wish to find items which have Crop Marks Effect (which is created by Effect > Crop Marks) by Javascript or VBScript.
Is it possible?
Any help is appreciated.It looks like the crop marks are part of the "visibleBounds" of the object. So if you compare the visibleBounds to the geometricBounds you should see a stable difference of 54.5pt
Test this out on some variations. Quick testing shows that it looks viable.
#target illustrator
#targetengine "main"
var workingDoc = app.activeDocument;
if (workingDoc.pathItems[0].geometricBounds[0] - workingDoc.pathItems[0].visibleBounds[0] = 54.5)
alert("crops"); -
How to see serial numbers which have been sold
Hi,
I want to see serial numbers which has been sold.
How to see that.
Regards
Gaurav JainHi there,
There is no standrd table that will display all the serial num that are sold in a given time.
You can write an ABAP query / report for this. In the report, you can code in such a way that if you give the validity dates, it should give all the deliveries that are created within that period & serial num of serialized products in those deliveries. This is because serial num are assigned only of the item that is serialized. Non-serialized items willnot have serial num.
For this, you will have to 1st extract all the entries in LIKP for a specific sales org / plant / shipping point within that period. Then you will have to extract LIPS values of those deliveries. Then you will have to pick up only serialized items from the list.
Ask you ABAPer to check if it is possible to develop this kind of a query / report.
Regards,
Sivanand -
How to clear the message which are in scheduled Status in PI 7.3
Hi,
We want to clear/cancel the message in Message monitor which are in scheduled status in PI 7.3.
It only a JAVA Stack System , We have been trying to clear the message manually but it take more time resulting into performance issue.
Is there some other way we can clear it from Database level.
Our Database is Db2 9.7 with Fix Pack 5
Can anyone help me in clearing the message at fast speed ?
Thanks in advance
Amit ShedgeHi,
First we check the status of Message
a) db2 => select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS
110 DLVD
641623 NDLV
2 record(s) selected.
Then we update the status of Message to Failed
b) UPDATE BC_MSG SET STATUS='FAIL' WHERE STATUS IN ('DLNG', 'TBDL', 'WAIT', 'HOLD', 'NDLV') AND SENT_RECV_TIME <= '2014-22-03 00:00:00'
c)
select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS
183 DLVD
641623 FAIL
d) Then we started the Standard deletion Job in NWA
db2 => SELECT COUNT(*), STATUS FROM SAP<sid>DB.BC_MSG GROUP BY STATUS
1 STATUS
98 DLVD
And the message got deleted.
Thanks & Regards
Amit -
How to read quarterly dates which have CUMNO = Q in CRT
Dear Freinds,
i have a scenario where i have to read all the quarterly dates in a financial year . So i have collect 4 quarters into the inernal table(fp_i_dates) as below
01/01/2008 - 31/03/2008
01/04/2008 - 30/06/2008
01/07/2008 - 30/09/2008
01/10/2008 - 31/12/2008
iam looping this data against the FM HR_GET_PAYROLL_RESULTS as below
LOOP AT fp_i_dates INTO l_wa_dates.
LOOP AT fp_i_rgdir INTO l_wa_rgdir WHERE srtza = 'A' AND ( fpbeg GE l_wa_dates-begda
AND fpend LE l_wa_dates-endda ) .
PERFORM get_payroll_results
USING pernr-pernr
pnppabrj
pnppabrp
l_wa_rgdir-permo
changing i_final_output
endloop.
endloop.
FORM get_payroll_results
USING fp_v_pernr TYPE persno
fp_v_pabrj TYPE pnppabrj
fp_v_pabrp TYPE pnppabrp
fp_v_permo TYPE permo
CHANGING fp_i_final_data TYPE ty_t_output_struc
CALL FUNCTION 'HR_GET_PAYROLL_RESULTS'
EXPORTING
pernr = fp_v_pernr
permo = fp_v_permo
pabrj = fp_v_pabrj
pabrp = fp_v_pabrp
actual = 'A'
TABLES
result_tab = i_payresult
EXCEPTIONS
no_results = 1
error_in_currency_conversion = 2
t500l_entry_not_found = 3
period_mismatch_error = 4
t549q_entry_not_found = 5
internal_error = 6
wrong_structure_of_result_tab = 7
OTHERS = 8.
LOOP AT i_payresult INTO l_wa_payresult.
l_inter_wa = l_wa_payresult-inter.
LOOP AT l_inter_wa-crt
INTO crt_wa
WHERE lgart = '/5UH'
' AND crt_wa-cumty = 'Q'.
ADD crt_wa-ANZHL TO fp_wa_adp_data-reghrs .
ENDLOOP.
ENDLOOP.
endform.
the data for the january wage type (/5uh) is 40
& data for the february wage type (/5uh) is 150
& data for the march wage type (/5uh) is 250
so that means the cummulated value is 250 ......but internally the value for january is 40 february is 110 and march is 100,
Now the problem iam facing is for the period 01/01/2008 - 31/03/2008 ...........it is reading for 3 records in this dates ( i.e jan, feb & March) and it is picking up the wage type (/5uh) and summing up the value of january , feb and march , there by iam getting the total as wrong , as per the above test data iam getting is 440 ( i.e my program logic is calculating and giving as 440)
As per thefunctionality i have to take only the cummulated value of the first quarter i.e i should get only 250 .
could any one please correct my code or let me know how i can read only the last record in the first quarter ( jan, feb, march) i.e i want to retrieve only the cummulated value.
Please help me in this regard.
Thanks & Regards
madhuri.Thank you, MikeS81.
I have tried to do what you have told me, but it doesn't work either.
Let me explain what I have done.
I use the VI Get Excel Values (modified to received just one string). If I put in this point a string control I can see the number associated to this string. Then I have the variant to data function, and after that another string control.
I suppose that problem is that I don't have anything in the "type" input, but I don't know what I have to put. Watching the examples of the library, they use ActiveXclass (or something like that). So what I have to do?Create a class with the convertion (number to data string) or is something simpler (I hope so).
Thanks again,
1000a -
How to clear useless blocks?
Due to careless in the calc script, i set a formula to sparse dimension members without fixing the blocks. it created many thousands of blocks during the calculation which takes 80 minutes to finish a "Calc All" usually costs 5 minutes. and 9 data files were generated, each of which is 2G. now i cannot make the outline restructure on dense members for it'll cause the server crashes. could anyone help me on this? thanks
thanks,Essbasebird.i've cleared unwanted data using "Clearblock All" in a fix syntax, then in the application manager, i cleared Upper level blocks and recalc the DB, but it still took much time to finish. the size of ind and pag files didn't change. i am not quite sure whether blocks containing only missind data had been deleted or not.
-
How to clear a default condition / parameter value in a Discoverer Viewer ?
Hi there,
Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
If anyone has successfully done the above and share his experience, that will be much appreciated.
Thank you.Hi there,
Thanks for your feedback.
Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
I shared this same workbook to a Viewer user.
In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
Further help / comments appreciated.
Thanks again for your help.
Regards -
How to dial telephone numbers which have letters instead of digits?
I'm new to Blackberry products & just bought a 8330 curve. Unlike my other smartphones which had the option of a dial key pad, the Curve appears to have forgotten to include one. When a telephone number is spelled out with letters instead of digits, how do I dial it? For example: for my pharmacy refills I would dial 1-123-345-DRUG or when calling a company after hours and reach its automated answer system which prompts you to key-in the party that you are looking for their last 4 letters of their name. How do you do it. Help.
Hi and welcome to the forums!
You can enter the alpha chacratars using the alt shift for nummerics.
For example: 1-800-(alt-shift) -IFlYSWA
The same applys when you are asked for alpha characters as in your example
of search by person's name.
Thanks,
Please remember to resolve your thread. Put the check mark in the green box that contained your answer! Thanks
Message Edited by Bifocals on 11-24-2008 06:45 PM
Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.
Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.
Maybe you are looking for
-
Ipod doesn't work/charge when docked to my ihome HELP!!!
I recently purchased a 4th generation ipod. When I docked into ihome,would not charge or play through radio. Does anyone have a solution to this problem? Would like to be able to charge the ipod without using the computer.HELP!!!!
-
Hi , I have selectOneChoice and upon selection of any value ,the Adf table should refresh and get the udpated data based on the selected value(selectOneChoice ). not using adf bc , We exposed java class as a data control and designed the ui. plz sugg
-
Icon in the titlebar of a JDialog
Hey, I'd like to put a small .gif Icon into the titlebar of a JDialog - is this possible? Normally I use this with a JFrame - how's that with a JDialog? this.setIconImage(new ImageIcon("myPackage/a-small-happy-face.gif").getImage());
-
Finding total number of class files present inside jar
Is there any way to find the total numbef of class files present inside jar? Any link will be helpful.
-
Talent Management Specialist business package 1.40
Hello Experts, I will use Flexible Proccess with Enhancement Package 4, I have activated the Business Function HCM_OSA_CI_1. My question here is, based on this scenario, Do I need to deploy and activate the Talent Management Specialist business packa