Difference between Multiple single values and Selection option variables
Hi !
Can any one tell me the difference between variable types:
Multiple single values and Selection option?
I used each one of them for selecting values for a characteristic but could not notice a difference in choosing values.
Is there some difference in functionality or can they be used interchageably?
Regards,
Sri Harsha
Harsha,
When you go for slection option, in the variable input screen you will be having a button in the last where you can give your slections. There you can maintain either multiple single values and Multiple intervals or else not equal to also..
Just check out there... you will be having tabs for each..
Assign Points if it helps
Gattu
Similar Messages
-
Multiple Single Values with Select Options
hi,
I'm using the SELECT_OPTIONS to accept the multiple input values through CREATE_RANGE_TABLE and it is working well but
1) i have requirement for some input fields that should accept multiple single values means without RANGES(From .. To).. Usually we achieve this by statement SELECT-OPTIONS in ABAP, could you help me out how i can achieve same functionality in webdynpro application.
2) i'm using dictionary search helps for WD4A, here i need to select multiple rows in the F4 results.
kindly provide suggestion how to achieve above functionalities.
thanks,
gupta.Hi , make the ls_rsoptions-eq eq abap_true .. this disable the multiple value selection
data: ls_complex_restrictions type if_wd_select_options=>t_complex_restrictions,
ls_rsoptions type rsoptions.
clear ls_rsoptions.
ls_rsoptions-bt = abap_false.
ls_rsoptions-cp = abap_false.
*ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_complex_restrictions-m_exclude = ls_rsoptions.
clear ls_rsoptions .
ls_rsoptions-bt = abap_false.
ls_rsoptions-cp = abap_false.
*ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_complex_restrictions-m_include = ls_rsoptions.
wd_this->m_handler->ADD_SELECTION_FIELD(
I_ID = typename
I_DESCRIPTION = 'N length 5'
IT_RESULT = lt_range_table
I_COMPLEX_RESTRICTIONS = ls_complex_restrictions
I_USE_COMPLEX_RESTRICTION = ABAP_TRUE
I_NO_EXTENSION = ABAP_false
I_NO_INTERVALS = ABAP_TRUE ).
for result see this screen shot from the below URL , hope this is your requirement
[http://i35.tinypic.com/2u8ckno.jpg|http://i35.tinypic.com/2u8ckno.jpg]
Regards
Chinnaiya P -
How to assign list of default value for select-option variable???
Hi every one
This is Deepak,
I want to know how to assign list of default value to select-option variable ? please any body tel me solution
for example
select-option matnr for mara-matnr default ..............and here i want to give more than 1 values that will be default value and use can choose any one at the time of input .
Thank you in advance
DeepakHi.
Check the following sample code.
REPORT ztn_test.
" It is example for list populating.
TABLES:knvp.
data: BEGIN OF itab OCCURS 10,
kunnr like knvp-kunnr,
END OF itab.
data: wa_itab like itab.
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: s_kunnr(20) type c as LISTBOX VISIBLE LENGTH 40 .
AT SELECTION-SCREEN OUTPUT.
SELECT kunnr from knvp into CORRESPONDING FIELDS OF TABLE itab WHERE parvw = 'SP'. " SP for ur requirement
" I have used loop to populate some values from table
loop at itab into wa_itab.
name = 'S_KUNNR'.
value-key = sy-tabix.
value-text = wa_itab-kunnr.
append value to list.
clear wa_itab.
endloop.
" If u want individaully assign the values change the code as
name = 'S_KUNNR'." Select option name
value-key = 1." Index
value-text = 'VAL1'.
append value to list.
name = 'S_KUNNR'." Select option name
value-key = 2." Index
value-text = 'VAL2'.
append value to list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = name
values = list.
Edited by: tahir naqqash on Feb 21, 2009 4:38 PM -
Passing multiple single values in Customer Exit Variables
Hi,
I have one requirement to Pass multiple single values in Customer Exit Variable.
If the user gives 2010 i need to get value previous fisacal year(2009),if its 2009, we need to get 2009.
Just requirement is like how to pass multiple single values?
Thanks.Hi..
For this create a variable- Types of variable= Characteristics Value> Processing type as Customer Exit-->Reference Char as Fiscal year..
Try this code..
when 'xxxx'.
DATA: lv_zp0003_month(2) TYPE n,
lv_zp0003_year(4) TYPE n.
CLEAR: lv_zp0003_month, lv_zp0003_year.
lv_zp0003_month = sy-datum+4(2).
lv_zp0003_year = sy-datum(4).
If the month is January the year is set to previous year
IF lv_zp0003_month = '01'.
lv_zp0003_year = lv_zp0003_year - 1.
l_s_range-low = lv_zp0003_year.
Else the year is set to actual
ELSE.
l_s_range-low = lv_zp0003_year.
ENDIF.
IF l_s_range-low = l_s_range-high.
l_s_range-opt = 'EQ'.
ELSEIF l_s_range-high IS INITIAL.
l_s_range-opt = 'EQ'.
ELSEIF l_s_range-low LT l_s_range-high.
l_s_range-opt = 'BT'.
ENDIF.
l_s_range-sign = 'I'.
APPEND l_s_range TO e_t_range.
Hope this helps.
Regards.
AKG -
How to get option select single Values in select options
Hello All,
I have a requirement where, in select-options i should avoid the range selection and should have only select single values option. User wanted to give the list of 10000 materials by using copy and paste as we have in normal abap with pase clip board option.
Please let me know if you need any further clarification. your quick response would be highly appreciated.
Thanks
Raj.Thanks for the reply, I have already done this but when you add values to it at a time 1000 material information we can not add.
so you go to selection screen and you have only one input box with arrowe button. click on the arrow and then you will get the screen where it will ask you to add five records and that to ranges.
but if you click the same arrow in normal selection screen of SAP you get 4 tabs in which first tab will be select single values.
and there by using copy from notepad option we can add how many entries we want.
Let me know if you need any further clarification to understant the requirement.
Thanks,
RaJ. -
SAP Web-BEx: Variable "Multiple single values" and Excludes
Dear experts,
I got a "ultiple single values"variable and use excludes to avoid cetrain data to be shown. Sofar thats all workin quite well.
But.. if I want to use this variable during navigation, the variable values are not shown.. why is that?
It seems the system does not know how to handle the exclude combined with the variable value.
Does anyone have a solution for this?
Thanks
OliverHi,
In BEx Web, it makes a big difference: with multiple values you can only fill a list of different values.
WIth selection option, you can do basically what you want (as the typical GUI selection screen in the Excel BEx): enter a single and an interval including or excluding values, use the LIKE (contains pattern, *) etc....
hope this shed light
Olivier. -
Difference between Multiple Hierarchies, Dynamic and stored with an example
Hi,
I am new to Hyperion Essbase 11.1.2. Can anyone please explain Multiple Hierarchies, Dynamic and Stored hierarchies with an example?
Thanks in advanceIt is all in the documentation with examples - http://docs.oracle.com/cd/E40248_01/epm.1112/essbase_db/acrtapdb.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Multiple default values for Selection type variable
Hi all,
I am using Bex 3.5. I have a fundamental doubt while creating a User Entry, Selection Option, Optional type variable. I am trying to include multiple single variables in the default section, but it accepts only one. Is it possible to add multiple default values to the variable so that they show up in the selection screen when we run the report via Bex Analyzer ?
Thanks for the inputs !
Regards
Snehith.Hi,
In one of my bi7 reports, i remember i have given multiple default values in a single variable. For example i wanted to have multiple material types in my selection screen.
But i have to check out the type of that user entry variable.
Hope the above reply was helpful.
Kind regards,
Ashutosh singh -
Multiple single values for a BW variable
Hi
If we have more than 1 default value(multiple singe values) for a variable , the values
will be stored in which table.
If anybody is having idea let me know.
Regards
(YUGANDHAR.P)hi were you able to find this? i want to write an exit variable and i want to read all the 5 values stored in the default values of another variable in the exit variable.
please help. -
Native SQL Performance Difference Between Hard-Coded Value and Parameter
Hi,
I have a native SQL (Oracle) query (fairly long & complex with a few sub-queries) that returns in under a second in both ODSI and using an external SQL tool. This query has a hard-coded value for a particular column, namely, a date column.
When I modify the ODSI function signature so that I pass in a parameter and then replace the hard-coded value in the native SQL with the appropriate parameter binding notation (i.e. '?'), the query takes much longer (2-30 seconds). The duration of the query depends on how many records are actually returned, so it must be running a separate query for each of the results (i.e. the more results returned, the longer the query takes to return).
What can I do to keep the duration of my ODSI query low while allowing for the parameter?OSDI plan with date parameter:
<?xml version="1.0"?>
<source ns="fn-bea" name="jdbc.wcb.fineos" kind="relational" tip="jdbc.wcb.fineos">
<![CDATA[select codeid, description, FEE_CODE_DOC_TYPE, ismax, isovr
from
select distinct
sd.codeid, sd.description,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-MAX (MAXIMUM AMOUNT)'
) ISMAX,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-OVR (Overrideable)'
ISOVR,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-INT (Internet Enterable)'
ISINT
,trow.answerstr FEE_CODE_DOC_TYPE
from wcbapp.tocorganisation o, wcbapp.tolpartydetails pd, wcbapp.tolserviceagrmtforprovider safp,
wcbapp.tolserviceagreement sa, wcbapp.tolserviceagreementversion sav, wcbapp.rsrvchrgrsrvagrvrserviceagreem scg_sav,
wcbapp.tolservicechargegroup scg, wcbapp.tolservicechargegroupversion scgv, wcbapp.tolserviceprovisionagreement spa,
wcbapp.tolservicedefinition sd
,wcbapp.trow trow, wcbapp.tlookupversion tlookupversion, wcbapp.tlookup tlookup
where
trow.i_lkpver_rows = tlookupversion.i
and trow.c_lkpver_rows = tlookupversion.c
and tlookupversion.i_lookup_versions = tlookup.i
and tlookupversion.c_lookup_versions = tlookup.c
and sd.codeid = trow.minstr_1
and sd.codeid = trow.maxstr_1
and tlookup.name = 'FeeCodeToDocumentLookup' and
spa.i_service_serviceratede = sd.i and
spa.c_service_serviceratede = sd.c and
spa.i_srchrgrv_serviceratede = scgv.i and
spa.c_srchrgrv_serviceratede = scgv.c and
scgv.i_srvchrgr_servicecharge = scg.i and
scgv.c_srvchrgr_servicecharge = scg.c and
scg.i = scg_sav.i_from and
scg.c = scg_sav.c_from and
scg_sav.i_to = sav.i and
scg_sav.c_to = sav.c and
sav.i_srvcagrm_serviceagreem = sa.i and
sav.c_srvcagrm_serviceagreem = sa.c and
sa.i = safp.i_srvcagrm_provider and
sa.c = safp.c_srvcagrm_provider and
safp.i_prtdtls_serviceagreem = pd.i and
safp.c_prtdtls_serviceagreem = pd.c and
pd.i_ocprty_party = o.i and
pd.c_ocprty_party = o.c and
? between safp.effectivedate and safp.enddate and
o.customerno = ? || ?
order by sd.codeid
where ISINT = 1]]>
<variable name="__fparam0" kind="EXTERNAL">
</variable>
<variable name="__fparam1" kind="EXTERNAL">
</variable>
<variable name="__fparam2" kind="EXTERNAL">
</variable>
</source>
OSDI plan with date constant:
<?xml version="1.0"?>
<source ns="fn-bea" name="jdbc.wcb.fineos" kind="relational" tip="jdbc.wcb.fineos">
<![CDATA[select codeid, description, FEE_CODE_DOC_TYPE, ismax, isovr
from
select distinct
sd.codeid, sd.description,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-MAX (MAXIMUM AMOUNT)'
) ISMAX,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-OVR (Overrideable)'
ISOVR,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-INT (Internet Enterable)'
ISINT
,trow.answerstr FEE_CODE_DOC_TYPE
from wcbapp.tocorganisation o, wcbapp.tolpartydetails pd, wcbapp.tolserviceagrmtforprovider safp,
wcbapp.tolserviceagreement sa, wcbapp.tolserviceagreementversion sav, wcbapp.rsrvchrgrsrvagrvrserviceagreem scg_sav,
wcbapp.tolservicechargegroup scg, wcbapp.tolservicechargegroupversion scgv, wcbapp.tolserviceprovisionagreement spa,
wcbapp.tolservicedefinition sd
,wcbapp.trow trow, wcbapp.tlookupversion tlookupversion, wcbapp.tlookup tlookup
where
trow.i_lkpver_rows = tlookupversion.i
and trow.c_lkpver_rows = tlookupversion.c
and tlookupversion.i_lookup_versions = tlookup.i
and tlookupversion.c_lookup_versions = tlookup.c
and sd.codeid = trow.minstr_1
and sd.codeid = trow.maxstr_1
and tlookup.name = 'FeeCodeToDocumentLookup' and
spa.i_service_serviceratede = sd.i and
spa.c_service_serviceratede = sd.c and
spa.i_srchrgrv_serviceratede = scgv.i and
spa.c_srchrgrv_serviceratede = scgv.c and
scgv.i_srvchrgr_servicecharge = scg.i and
scgv.c_srvchrgr_servicecharge = scg.c and
scg.i = scg_sav.i_from and
scg.c = scg_sav.c_from and
scg_sav.i_to = sav.i and
scg_sav.c_to = sav.c and
sav.i_srvcagrm_serviceagreem = sa.i and
sav.c_srvcagrm_serviceagreem = sa.c and
sa.i = safp.i_srvcagrm_provider and
sa.c = safp.c_srvcagrm_provider and
safp.i_prtdtls_serviceagreem = pd.i and
safp.c_prtdtls_serviceagreem = pd.c and
pd.i_ocprty_party = o.i and
pd.c_ocprty_party = o.c and
'01-MAY-11' between safp.effectivedate and safp.enddate and
o.customerno = ? || ?
order by sd.codeid
where ISINT = 1]]>
<variable name="__fparam0" kind="EXTERNAL">
</variable>
<variable name="__fparam1" kind="EXTERNAL">
</variable>
</source>
ODSI Audit with date parameter:
[Thu May 12 13:02:23 GMT-06:00 2011] Starting...
Query compilation time: 0 ms
Query evaluation time: 16142 ms
Operation duration: 16189 ms
Audit Event:
common/application
user: weblogic
name: ClaimsDataspace
server: AdminServer
eventkind: evaluation
query/cache/queryplan
found: false
type: XQUERY_PLAN_CACHE
query/cache/queryplan
type: XQUERY_PLAN_CACHE
inserted: true
query/performance
compiletime: 0
common/session/query/invocation
time: Thu May 12 13:02:07 GMT-06:00 2011
blocksize: 65536
duration: 16001
common/session/query/invocation
time: Thu May 12 13:02:23 GMT-06:00 2011
blocksize: 65536
duration: 47
common/session/query/invocation
time: Thu May 12 13:02:23 GMT-06:00 2011
blocksize: 65536
duration: 46
common/session/query/invocation
time: Thu May 12 13:02:23 GMT-06:00 2011
blocksize: 35779
duration: 16
query/wrappers/relational
source: jdbc.wcb.fineos
sql:
select codeid, description, FEE_CODE_DOC_TYPE, ismax, isovr
from
select distinct
sd.codeid, sd.description,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-MAX (MAXIMUM AMOUNT)'
) ISMAX,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-OVR (Overrideable)'
ISOVR,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-INT (Internet Enterable)'
ISINT
,trow.answerstr FEE_CODE_DOC_TYPE
from wcbapp.tocorganisation o, wcbapp.tolpartydetails pd, wcbapp.tolserviceagrmtforprovider safp,
wcbapp.tolserviceagreement sa, wcbapp.tolserviceagreementversion sav, wcbapp.rsrvchrgrsrvagrvrserviceagreem scg_sav,
wcbapp.tolservicechargegroup scg, wcbapp.tolservicechargegroupversion scgv, wcbapp.tolserviceprovisionagreement spa,
wcbapp.tolservicedefinition sd
,wcbapp.trow trow, wcbapp.tlookupversion tlookupversion, wcbapp.tlookup tlookup
where
trow.i_lkpver_rows = tlookupversion.i
and trow.c_lkpver_rows = tlookupversion.c
and tlookupversion.i_lookup_versions = tlookup.i
and tlookupversion.c_lookup_versions = tlookup.c
and sd.codeid = trow.minstr_1
and sd.codeid = trow.maxstr_1
and tlookup.name = 'FeeCodeToDocumentLookup' and
spa.i_service_serviceratede = sd.i and
spa.c_service_serviceratede = sd.c and
spa.i_srchrgrv_serviceratede = scgv.i and
spa.c_srchrgrv_serviceratede = scgv.c and
scgv.i_srvchrgr_servicecharge = scg.i and
scgv.c_srvchrgr_servicecharge = scg.c and
scg.i = scg_sav.i_from and
scg.c = scg_sav.c_from and
scg_sav.i_to = sav.i and
scg_sav.c_to = sav.c and
sav.i_srvcagrm_serviceagreem = sa.i and
sav.c_srvcagrm_serviceagreem = sa.c and
sa.i = safp.i_srvcagrm_provider and
sa.c = safp.c_srvcagrm_provider and
safp.i_prtdtls_serviceagreem = pd.i and
safp.c_prtdtls_serviceagreem = pd.c and
pd.i_ocprty_party = o.i and
pd.c_ocprty_party = o.c and
? between safp.effectivedate and safp.enddate and
o.customerno = ? || ?
order by sd.codeid
where ISINT = 1
parameters:
2011-05-01T00:00:00
DOC
007492
time: 16048
rows: 1967
query/performance
evaltime: 16142
query/service
result:
*** removed due to length ***
query/service
function: getFeeCodeByCaregiverEffectiveDate1
arity: 3
dataservice: ld:org/wcb/claims/payment/FINEOS/physical/SQL.ds
query:
import schema namespace t1 = "http://www.test.com/claims/payment" at "ld:org/wcb/claims/payment/FINEOS/physical/schemas/SQL.xsd";
declare namespace ns0="ld:org/wcb/claims/payment/FINEOS/physical/SQL";
declare namespace ns1="http://www.w3.org/2001/XMLSchema";
declare variable $__fparam0 as ns1:dateTime external;
declare variable $__fparam1 as ns1:string external;
declare variable $__fparam2 as ns1:string external;
fn:subsequence(
for $FeeCode3 in ns0:getFeeCodeByCaregiverEffectiveDate1($__fparam0,$__fparam1,$__fparam2)
return
$FeeCode3
,1,5000)
parameters:
2011-05-01T00:00:00
DOC
007492
common/time
duration: 16189
timestamp: Thu May 12 13:02:07 GMT-06:00 2011
[Thu May 12 13:02:23 GMT-06:00 2011] End
ODSI Audit with date constant:
[Thu May 12 13:10:00 GMT-06:00 2011] Starting...
Query compilation time: 0 ms
Query evaluation time: 359 ms
Operation duration: 375 ms
Audit Event:
common/application
user: weblogic
name: ClaimsDataspace
server: AdminServer
eventkind: evaluation
query/cache/queryplan
found: true
type: XQUERY_PLAN_CACHE
query/performance
compiletime: 0
common/session/query/invocation
time: Thu May 12 13:10:00 GMT-06:00 2011
blocksize: 59256
duration: 359
query/wrappers/relational
source: jdbc.wcb.fineos
sql:
select codeid, description, FEE_CODE_DOC_TYPE, ismax, isovr
from
select distinct
sd.codeid, sd.description,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-MAX (MAXIMUM AMOUNT)'
) ISMAX,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-OVR (Overrideable)'
ISOVR,
select count(*) from wcbapp.tolserviceset ss, wcbapp.RSERVICESRVCSETSERVICESETS sss, wcbapp.tolservicedefinition sd1 where
sss.i_from = sd.i and
sss.c_from = sd.c and
sss.i_to = ss.i and
sss.c_to = ss.c and
sd1.codeid = sd.codeid and
ss.name = 'FEEGROUP-INT (Internet Enterable)'
ISINT
,trow.answerstr FEE_CODE_DOC_TYPE
from wcbapp.tocorganisation o, wcbapp.tolpartydetails pd, wcbapp.tolserviceagrmtforprovider safp,
wcbapp.tolserviceagreement sa, wcbapp.tolserviceagreementversion sav, wcbapp.rsrvchrgrsrvagrvrserviceagreem scg_sav,
wcbapp.tolservicechargegroup scg, wcbapp.tolservicechargegroupversion scgv, wcbapp.tolserviceprovisionagreement spa,
wcbapp.tolservicedefinition sd
,wcbapp.trow trow, wcbapp.tlookupversion tlookupversion, wcbapp.tlookup tlookup
where
trow.i_lkpver_rows = tlookupversion.i
and trow.c_lkpver_rows = tlookupversion.c
and tlookupversion.i_lookup_versions = tlookup.i
and tlookupversion.c_lookup_versions = tlookup.c
and sd.codeid = trow.minstr_1
and sd.codeid = trow.maxstr_1
and tlookup.name = 'FeeCodeToDocumentLookup' and
spa.i_service_serviceratede = sd.i and
spa.c_service_serviceratede = sd.c and
spa.i_srchrgrv_serviceratede = scgv.i and
spa.c_srchrgrv_serviceratede = scgv.c and
scgv.i_srvchrgr_servicecharge = scg.i and
scgv.c_srvchrgr_servicecharge = scg.c and
scg.i = scg_sav.i_from and
scg.c = scg_sav.c_from and
scg_sav.i_to = sav.i and
scg_sav.c_to = sav.c and
sav.i_srvcagrm_serviceagreem = sa.i and
sav.c_srvcagrm_serviceagreem = sa.c and
sa.i = safp.i_srvcagrm_provider and
sa.c = safp.c_srvcagrm_provider and
safp.i_prtdtls_serviceagreem = pd.i and
safp.c_prtdtls_serviceagreem = pd.c and
pd.i_ocprty_party = o.i and
pd.c_ocprty_party = o.c and
'01-MAY-11' between safp.effectivedate and safp.enddate and
o.customerno = ? || ?
order by sd.codeid
where ISINT = 1
parameters:
DOC
007492
time: 344
rows: 500
query/performance
evaltime: 359
query/service
result:
*** removed due to length ***
query/service
function: getFeeCodeByCaregiverEffectiveDate1
arity: 2
dataservice: ld:org/wcb/claims/payment/FINEOS/physical/SQL.ds
query:
import schema namespace t1 = "http://www.test.com/claims/payment" at "ld:org/wcb/claims/payment/FINEOS/physical/schemas/SQL.xsd";
declare namespace ns0="ld:org/wcb/claims/payment/FINEOS/physical/SQL";
declare namespace ns1="http://www.w3.org/2001/XMLSchema";
declare variable $__fparam0 as ns1:string external;
declare variable $__fparam1 as ns1:string external;
fn:subsequence(
for $FeeCode3 in ns0:getFeeCodeByCaregiverEffectiveDate1($__fparam0,$__fparam1)
return
$FeeCode3
,1,500)
parameters:
DOC
007492
common/time
duration: 375
timestamp: Thu May 12 13:10:00 GMT-06:00 2011
[Thu May 12 13:10:00 GMT-06:00 2011] End
------------------------------------------------------------------------ -
Copy using Variables with multiple single values in BEX
Hi,
I have a requirement wherein on executing the planning function, the system should take the FROM and TO values of 0FISCPER and copy the data accordingly.
Source variable is 'Single Value'.
Target variable is 'Multiple Single Value'.
I tried to give the Command Range as below:
$A$30:$C$31.
The button sequence is as below:
VAR_NAME_1 0 ZFISCPER
VAR_VALUE_1 0
VAR_NAME_2 1 ZFISCPER_M
VAR_VALUE_2 1
In the Analyzer, I entered the values as
In A30, VAR_NAME_1 0 =C20
In A31, VAR_NAME_2 1 =C21:C24
The values that I entered are as below:
C20 = 2007001 - Source value
C21 = 2007002 - Target values
C22 = 2007003
C23 = 2007004
C24 = 2007005.
The problem that Im facing is the system is unable to identify the multiple values that I enter for Target Fiscper and it displays as :#VALUE!
How to enter multiple single values and reference them accordingly?
Rgds,
ShyamHi,
I have tried to enter multiple single values as below:
VAR_VALUE_1 0 000 - Source
VAR_VALUE_1 1 003 - Target
VAR_VALUE_2 1 010
VAR_VALUE_3 1 080
VAR_VALUE_4 1 099
When I tried to execute the planning function, the system copies the data from version 000 to ALL versions irrespective of values entered above.ie:
1
2
3
10
80
99
100
110
Rgds
Shyam -
Two selection option-variables for the same object
Hi,
I'm using two selection-option variables for the same characteristic in my query:
One is authorization variable and the other is used for restrictions (filter) in a selection screen.
I get an error: SELOPT/Query variable .... does not allow any further selections.
If a selection option-variable is used, no additional selections can be specified for this characteristic in this element.
Is there a way to overcome this problem?
Thanks,
HagitHi,
I have solved the problem by changing the authorization object (in RSECADMIN) from range to single value and also the variable in BEx from selection single value.
To be more clear:
object in RSECADMIN was: infoobject BT var1 - var5
I have changed it to:
infoobject EQ var1
infoobject EQ var2
infoobject EQ var3
infoobject EQ var4
infoobject EQ var5
Hope this helps.
Hagit -
Interval selection and multiple single values in WAD Graphs
Hi ,
I am developing a Web Application Designer Graph by combining multiple reports. I have 0CALMONTH,Country as my variable selections. By default I am able to select only single values (January,Feb etc.) But I need to select intervals(From-To) for 0CALMONTH and Multiple Single values for 0COUNTRY .
I found the below link to use intervals by generating javascript
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/f5daaddfdb4c60e10000000a155369/frameset.htm
But the issue here is, I am not able to change 'From' value i.e. according to this document , Interval start is to be fixed in the script and I cannot change it later .But I want to change the interval start any time later. I am not sure how to achieve this using this option. Also I want to use mulitple single values variable for Country .
Kindly let me know if there is any other possible options or work-around available.
Thanks for your time.
Thanks & Regards,
Raja.Hi Janine,
Thanks for your reply.I am using 7.0 Templates.Sorry to miss that part. I think I need to explain the issue little more . I am developing a Chart using Web Application Designer. My Chart should be having the Variable in the top of the page and I can able to see that variable . Even I am able to change the values after the execution. But this is working fine only for the Single values, for ex. I can change the selection from June to July in the Chart and I am getting the correct result in my chart based on the selection .
But the issue is ,I need to select Intervals for the month .Even though I created another variable with the option 'Interval' in the Query Designer , it is not showing the interval screen (From..To) ,instead still it is showing the single values option. I am using two different variables for these purposes and everything is correct with the query designer query. I am able to see the variable in the template,but I am not able to choose the interval values (only the intervals ,single value is ok)
Thanks for your response
Thanks & Regards,
Raja -
What is the defference between select single * from and select * from Where
What is the defference between select single * from and select * from Where
which is prefferable and best one.Hai,
*Difference Between Select Single and Select * from table UpTo One Rows:*
According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.
select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.
The best way to find out is through sql trace or runtime analysis.
Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
Mainly: to read data from
The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set. -
Difference between multiple employment and concurrent employment
hi,
What is the difference between multiple employment and concurrent employment.
Regards,
ChandraHi
Multiple employment is one person working woth more than one company with different EE iD.
Person who has more than one personnel assignment with one enterprise or several affiliated enterprises in an cocurerent employee.
Please go thru the link.
http://help.sap.com/saphelp_47x200/helpdata/en/54/f535c614aa7a46800915c6f0dbc071/frameset.htm
Ravee
+91.99206.33669
Maybe you are looking for
-
Converting ASCII text (byte array ending in null) to a String
Hi all, I am trying to convert a null terminated ascii string stored in a byte array to a java String. When I pass the byte array to the String constructor it does not detect/interpret the null as a terminator for the ascii string. Is this something
-
HT1918 how do get my music from my old itunes account
how can i get my music from my old itunes account
-
Server error[1012]:Essbase error[1260052]
Dear All, We created a report in Hyperion Interactive reporting using Hyperion Essbase as database connection file . We have a substitution variables in Essbase.We want to use the Substitution variables ("CMonth","CYTD") in IR report Substitution var
-
hi all, Can u plz help me out in this? i want to know the reports which are available for employee reporting (i.e. whos reporting to whom). thanks a lot.
-
802.1x School WiFi- Certain apps don't connect at school?
Hey all. So my school's got 802.1X WiFi, and you need to login with a username and password to use it. Apps like Safari, Facebook, Tweetie and Score Mobile all connect fine and all work. But, apps like WhatsApp Messenger, Ping!, Mail.app, and IM+ jus