How to change a value of the field Selection Conditions in Manage- Request
Hi,
How to change manualy a value of the field Selection Conditions in Manage infocube -> Requests ?
Hi,
Here is the reason i need to do this:
The data is loaded by DTP in process chain. Overlaping requests are deleted. But, iIn some cases requests with the same selection options need not to be deleted. My idea was to change selection options in Manage(infocube) with Abap program without changing selection options in DTP filter, so that the system would not recognize requests as "overlaping requests".
So, where is the information about shown in the field Selection Options is stored? In which tables?
Thanks
Tigr_Z
Similar Messages
-
How can i get value when the field name is user's defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyYou should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
Example
SQL:
Select ename as employeename from emp;
You should say :
ResultSet.getString("employeename"); to get the value.
Alternatively you can retrieve it using column number:
ResultSet.getString(1);
Chandar -
How to remove numeric value in the fields of a table
Environment: SQL Server 2008R2
Tools: MSMS
Code:
a. Table Definition
USE [DLPT_CMS1_RESTORE]
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
b. data
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293595,293595,293737,293737,293737,293737,293737,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841,'293841 I feel that the product should be more holistic'
,'293841 I would like for the customer support to give more immediate feedback'
,'293841 Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss',
293841,293841,293841,293841,293841,293841)
Challenge:
1. Delete / Remove login_ids from a string found in one or more of the fields in Mocha table
Example: the following string contains login_id '293841 I would like for the customer support to give more immediate feedback' , remove the login_id in the narrative field which could be PE4, PE22. or PE28
2. Count the response or narrative field for each column after the deletion is completed
My script and still working progress
SELECT * FROM MOCHA
WHERE ISNUMERIC(PE4) = 1 and [PE4] like '%[0-9]%'
Thanks for the supportI added a new data which shows inaccurate results using your last updated code. The mistake appears in the 3rd row culomn name PE25 is null but counts it as 1
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293737,293737,293737,293737,NULL,293737,NULL,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],
[PE15],[PE17]
,[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841
,'293841 I feel that the product should be more holistic'
,'%%293841%% I would like for the customer support to give more immediate feedback'
,'%%293841%% Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss'
,293841,NULL,NULL,293841,293841)
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293735,'293735 my name',NULL,NULL,NULL,NULL,NULL,NULL,'%%293735%%I dont think',293735,293735,'this helps to fight free radicals and ward off disease')
select
Replace(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE4
,Replace(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE9
,Replace(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE11
,Replace(Replace([PE15],RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE15
,Replace(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','')PE17
,Replace(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE20
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE22
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE25
,Replace(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE28
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE29
,(case when len(PE4)-Len(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe4] is null or Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP4
,(case when len(PE9)-Len(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe9] is null or Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP9
,(case when len(PE9)-Len(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe11] is null or Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP11
,(case when len(PE15)-Len(Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe15] is null or Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP15
,(case when len(PE17)-Len(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe17] is null or Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP17
,(case when len(PE20)-Len(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe20] is null or Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP20
,(case when len(PE22)-Len(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe22] is null or Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP22
,(case when len(PE25)-Len(Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe25] is null or Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP25
,(case when len(PE28)-Len(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe28] is null or Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP28
,(case when len(PE29)-Len(Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe29] is null or Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP29
from mocha -
How to enter values in the fields of standard SAP Infotype e.g. IT0024
Hi,
How to enter values in the fields of standard SAP Infotype?
e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
1-Level 1
2-Level 2
3-Level 3
4-Level 4
5-Level 5
Thanks,
AmeetHi Divya,
I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
Please help me out. I think I am almost there.
Thanks,
Ameet -
How to put the SQL-statement returned value into the field (as a default)
Hi,
I am using Developer/2000 (Forms Designer) under windows 98.
Please tell me how to put the SQL-statement value (as a default value) into the field before enter-query mode. Noted that I have tried the following ways but still some problems:-
1) Place the SQL-statement into PRE_QUERY trigger in the form/block level.
There is a message box which ask 'Do you want to save the changes?'.
2) Place the SQL-statement before execute enter_query. There is still a
message box which ask 'Do you want to save the changes?'.
Any hints? Thanks. Urgent.solved it!
1) Suppress DEFAULT save message
if form_failure then
raise form_trigger_failure;
end if;
2) Place the default value before enter-query.
Ref: Title='Default value in query field in ENTER_QUERY mode' in designer forum by CVZ
form level trigger
============
WHEN-NEW-ITEM-INSTANCE
=======================
if :system.mode = 'ENTER-QUERY' then
:block.item := 'default waarde';
end if;
3) Suppress the changes whenever leaving the default field.
if :block.item is null then
-- assign statement
end if; -
How can we read the screen field values from the report selection screen wi
Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed .
Regards
Razzuse this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ' -
How to get the value of the field 'KOMP-NETWR' in Pur.
Hello everyone,
how do i get the value of the field 'KOMP-NETWR' in the purchase order.
thanks
ArnaudHi,
Try this code similarly for komp
REFRESH i_komv.
CLEAR i_komv.
CALL FUNCTION 'PRICING_REFRESH_TX'.
CALL FUNCTION 'REFRESH_TAX_TABLES'
EXPORTING
LIVERY =
LOOP AT i_ekpo INTO wa_ekpo.
wa_taxcom-bukrs = wa_ekko-bukrs.
wa_taxcom-budat = wa_ekko-bedat.
wa_taxcom-bldat = wa_ekko-bedat.
wa_taxcom-waers = wa_ekko-waers.
wa_taxcom-hwaer = wa_ekko-waers.
wa_taxcom-kposn = wa_ekpo-ebelp.
wa_taxcom-mwskz = wa_ekpo-mwskz.
wa_taxcom-wrbtr = wa_ekpo-netwr.
wa_taxcom-xmwst = 'X'.
wa_taxcom-lifnr = wa_ekko-lifnr.
wa_taxcom-ekorg = wa_ekko-ekorg.
wa_taxcom-matnr = wa_ekpo-matnr.
wa_taxcom-werks = wa_ekpo-werks.
wa_taxcom-matkl = wa_ekpo-matkl.
wa_taxcom-meins = wa_ekpo-meins.
wa_taxcom-mglme = wa_ekpo-menge.
wa_taxcom-mtart = wa_ekpo-mtart.
wa_taxcom-land1 = wa_ekko-lands.
wa_taxcom-ebeln = wa_ekpo-ebeln.
wa_taxcom-ebelp = wa_ekpo-ebelp.
CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
i_taxcom = wa_taxcom
IMPORTING
e_taxcom = wa_taxcom
TABLES
t_xkomv = i_komv
EXCEPTIONS
mwskz_not_defined = 1
mwskz_not_found = 2
mwskz_not_valid = 3
steuerbetrag_falsch = 4
country_not_found = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
clear wa_taxcom.
ENDLOOP.
LOOP AT i_komv INTO wa_komv.
CASE wa_komv-kschl.
*EXCISE DUTY
WHEN 'JMOP'.
v_jmop = v_jmop + wa_komv-kwert.
endcase.
endloop.
Hope this might be of some use.
Regards,
sirisha -
How to set the default values of the field of the context.
Hi Experts ,
I want to set the default value of the field of the context.
Where and how this declaration should be done.
Thanks in Advance.In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
Regards
Naresh -
Change a value of a field in the work flow notification
Hi All,
I have a requirement,where in i need to change a value of a field in the work flow notification that i receive.
is it posiible
if so please provide some inputs.ThanksHi;
Please check below which could be helpful for your issue:
http://docs.oracle.com/cd/B14117_01/workflow.101/b10283/instal10.htm
http://docs.oracle.com/cd/B19306_01/workflow.102/b15853/T361836T361983.htm
http://docs.oracle.com/cd/E14571_01/integration.1111/e10226/hwf_config.htm#BHCJDGFJ
Regard
Helios -
How do I make a text box solid if the value in the field is greater than 0 and do this for all recor
Hello,
I have several text boxes on a document, and wish to make the boxes either solid or visible if the value in the field is greater than 0.
I am using an excel file for the data, each cell with either 1 or 0 (true or false).
Any help would be appreciated.
Thanks,
BJYes, I also sent an email regarding this problem.
I am using XNET to write a custom device for PXI-8516 LIN card.
I've attached a couple snippets showing where I've tracked the problem.
The only error that I've seen comes from the XNET Wait vi in the timeout snippet. I believe that error occurs because frame queued in the write snippet is never transmitted by the LIN card.
Attachments:
Timeout_Error_Snippet.png 22 KB
XNET_Write_Snippet.png 24 KB -
How to give values to the field in free selection via call transaction?
Hi,
I'm using call transaction for transaction "FAGLB03". And i'm passing the values for the fields company code, account number and year using the respective parameter id. But i need to pass the value for Profit center also, which is in the free selction button (near to variant button). I have tried by passing the value thorugh the parameter id. but it is not taking up. The code is as follows:
SET PARAMETER ID 'ACC' FIELD lv_saknr.
SET PARAMETER ID 'BUK' FIELD lv_rbukrs.
SET PARAMETER ID 'GJR' FIELD lv_ryear.
SET PARAMETER ID 'PRC' FIELD lv_prctr.
CALL TRANSACTION 'FAGLB03' AND SKIP FIRST SCREEN.
Here the value of profit center is not filling up in the screen.
If anybody have any clue please replay back.
Thanks in Advance.Hello Pothiraja
If the free selection parameter cannot be filled this way you may try to call the corresponding report using the SUBMIT statement. <b>SUBMIT </b>has the option
... WITH FREE SELECTIONS texpr
For details refer to the ABAP keyword documentation for SUBMIT -> selscreen_parameters.
Regards
Uwe -
How to change default value in a table using ALTER TABLE
Hi,
How to change default value in a table
I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
Any help will be needful for me
Thanks and Regardsuser598986 wrote:
Hi,
How to change default value in a table
I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
ALTER TABLE test
MODIFY (indicator DEFAULT 'I');
Incidentally, INDICATOR is a keyword in Oracle, so you may have problems using it as a column name. If so, you'll have to enclose the column name in double-quotes, and be careful to use capital letters inside the quotes.
Edited by: Frank Kulash on Aug 26, 2009 11:42 AM -
How to handle warning message for the fields in tab merging , PERSONAS 2.0
Hi all,
Please advice me on the below issue.
In a transaction VA32 , I have merged the fields from one tab to another tab using tab caching.
when i try to change the value of a merged fields , it throws the warnings message. So it is continuously looping from one tab to another tab.
So i tried to use the additional editor concepts in tab caching as below.
Looping is stopped and throws warning message in the same tab.
All the changes are saved successfully only when the enter button is clicked once in the main screen, else the changes are not saved and my previous value remains.
Anybody have an idea on how we can use Additional actions in Tab caching concepts.
Thank you,
ArunHi Kranthi,
When i try to save the fields which i merged from different tab is not saving.
Please find the below details.
Green highlighted fields are custom fields which is merged from different screen like header or item overview screen. This is handled in script button.
Red highlighted fields are merged from different tab like shipping or sales using tab caching concept.
While changing the value of the fields which is merged from different tab , and press ENTER then it throws the Warning message if occurs.
After warning message, if i try to save using the script button for copying all the custom fields which is merged from different screen , pasted it to their respective screens and also saved.
Its working fine.
When i try to save it before pressing ENTER button then the respective changes had made in the merged fields from different tab are not reflected.
How we can handle this issue?
Thank you,
Arun -
How to change margin value in mode booklet printing Adobe Reader X ?
How to change margin value in mode booklet printing Adobe Reader X ?
Is this a form you created in Acrobat or is it a form that you're using with Reader? If the latter, there's nothing you can do if the field has been set up to format the field with a £ for the currency symbol.
-
How to get maximal value from the data/class for show in Map legend
I make WAD report that using Map Web Item.
I devide to four (4) classes for legend (Generate_Breaks).
I want to change default value for the class by javascript and for this,
I need to get maximal value from the class.
How to get maximal value from the data/class.
please give me solution for my problem.
Many Thx
Eddy Utomouse this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01
Maybe you are looking for
-
Network time machine backup not showing on Yosemite
Hi, One of the people within the office is having a problem with their Time machine backups. The password had been changed on the computer where the hard drive is shared but they where not concerned with their backups as they are using a Macbook so t
-
Compare and validate values between fields on different objetcs
The main problem we are having right now is that we need to define a business's rule that compares two amounts between two different objects (in our case, account and custom object 3) and do a subtraction in order to check if the money amount value o
-
In GoLive, I have wonderful Site-overview toos which allow me to see the links on an entire multi-page Site as whip-lash connected Schematics. I find this tool essential for checking Links in the rather complex sites I need to work with. DW appears t
-
Is there some possibility add a so called Background Layer to the Composition? I mean: the Layer, which doesn't reacts on effects in Adjustment Layer above. I used to precompose all the animation & AdLayer, but it's annoying to switch all the time ba
-
IPhone 4s stuck in silent mode?
My IPhone 4s is stuck in silent mode. The red dot is not showing; my volume is turned up all the way. But when I get calls or texts, my phone only vibrates, and I can't hear the keyboard clicks. I know my speaker still works because I can get Siri to