Can i use case in query in oracle form 6i
sir can i use case in query in oracle form 6i
such as
select empno, case when deptno=10 then dptno end from emp;
please gice me
Hello,
Does this code compile ?
If not, I'm afraid that the PL/SQL engine of Forms6i does not recognize this syntax.
Francois
Similar Messages
-
Using a Sum query in Oracle Forms
Greedings,
I have the following query which works fine in PL/SQL but i cant get it working in Oracle forms as i get an error in SUM(SELECT...) . Any quidance on how i should fix my query to work in Forms?
select
Sum((SELECT kl.amount
FROM S03_a_salfldg@oracle_to_sun kl
WHERE Trim(kl.accnt_code)=Trim(a.acnt_code)
AND kl.period between 2008001 AND 2008012 AND ROWNUM=1)) AS actual
from so_budgets_cat a,a01_acnt@oracle_to_sun b,so_budgets_com c,so_budgets d
where trim(a.acnt_code)=trim(b.acnt_code)
AND a.cat=c.cat
AND TRIM(d.acnt_code)=trim(a.acnt_code)
AND d.business_object=10000103883
AND d.business_object=c.bus_object
AND d.business_object=a.business_object
AND SubStr(d.period,1,4)=Trim(c.PERIOD_Y)
AND C.period_Y BETWEEN substr(2008001,1,4) AND substr(2008001,1,4)
GROUP BY a.cat,a.acnt_code,c.com,a.cat_desc,b.descr,d.acnt_code
order by a.cat,a.acnt_code,c.com,a.cat_desc,b.descrThanks in advanceAnd what error would that be? Also where are you using this query? In a from clause query? Also you didn't specify any version infos; as forms has it's own PL/SQL engine there is a possibility that you run in a version problem if the code runs fine in SQL*Plus but fails to compile in forms (e.g. when running Forms 6i against a 10g database). Without those informations answers to your question are based on guessings, and most likely will result in a question-answer ping-pong.
cheers -
Can we use Case in Where Clause along with Exists
Hi Everybody,
Can we use Case in the where clause with exists? As i have a requirement in which i have to check whether value exists in 6 views, now depending on some value(gns_type )of select clause i have to attach a paticular exists else the performance dies.
Please go through the query any suggestion appreciated.
Thanks
SELECT count(*)
FROM
(SELECT eah.changed_date,
decode(eua.is_deleted, 'N', decode(eah.alert_type, NULL, 'GN', 'R', 'GAR', 'G', 'GAG', 'Y', 'GAY'), 'Y', decode(eah.alert_type, 'R', 'GDR', 'G', 'GDG', 'Y', 'GDY', NULL, 'GN'), NULL, 'GN') AS
alert_type,
decode(eac.pta_line, 'N', '') ptaline,
eac.exp_type_desc,
eac.supplier_name,
eac.transaction_id,
eah.gns_type,
eac.po_amount,
eac.po_end_date,
eah.notes,
eua.is_deleted,
eac.expenditure_type,
eua.gns_alert_summary_id,
eah.changed_date alert_date,
eua.user_alert_id,
eah.reference_number,
decode(eac.cms_pta_line,'N','',eac.cms_pta_line) cms_pta_line,
cms_po_amount,
cms_po_end_date,
mgns.is_decommitted,
eac.gns_alert_id,
eah.gns_type source_name
FROM xxdl.xxdl_sc_gns_alerts_summary eah,
xxdl.xxdl_sc_gns_detail_alerts eac,
xxdl.xxdl_sc_gns_user_alerts eua,
xxdl.xxdl_sc_manage_gns_master mgns
WHERE eah.gns_alert_summary_id = eac.gns_alert_summary_id
AND eah.gns_alert_summary_id = eua.gns_alert_summary_id
AND eah.transaction_id = eac.transaction_id
AND eah.transaction_id = mgns.transaction_id)
a
WHERE(EXISTS
(SELECT 1
FROM xxdl_sc_mng_gns_pta_req_hc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
OR
EXISTS( SELECT 1
FROM xxdl_sc_mng_gns_pta_inv_hc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
OR
EXISTS(SELECT 1
FROM xxdl_sc_mng_gns_pta_req_sc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
OR
EXISTS(SELECT 1
FROM xxdl_sc_mng_gns_pta_inv_sc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
OR
EXISTS( SELECT 1
FROM xxdl_sc_mng_gns_pta_po_sc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
OR
EXISTS (SELECT 1
FROM xxdl_sc_mng_gns_pta_po_hc_v x
WHERE x.transaction_id = a.transaction_id
AND x.source_name = a.source_name
AND x.project_id = 69309
AND x.task_id = 242528
AND x.award_id = 34694)
AND TRUNC(alert_date) >= TRUNC(add_months(sysdate, -1))
AND TRUNC(alert_date) <= TRUNC(sysdate)
AND is_deleted = 'N'
ORDER BY changed_date DESCyou can do
WHERE
CASE WHEN (something) THEN
CASE WHEN EXISTS (SELECT * from ...) THEN 1 ELSE 0 END
WHEN (something else) THEN
CASE WHEN EXISTS (SELECT * from ...) THEN 1 ELSE 0 END
END = 1Looking at your current query, it looks like all those exist statements could be a lot neater, maybe like:
WHERE (69309,242528,34694) IN
(SELECT project_id,task_id,award_id FROM
(Select project_id,task_id,award_id,transaction_id,source_name
FROM
xxdl_sc_mng_gns_pta_req_hc_v
UNION ALL
Select project_id,task_id,award_id
xxdl_sc_mng_gns_pta_inv_hc_v
...) x
where a.transaction_id = x.transaction_id
and a.source_name = x.source_name
)or put the tuple in the where clause at the bottom -
can we use DB REPLAY feature in oracle 10.2.0.3 as I got in few documents that this feature is available in 10..2.0.4 onwards
The subtitle of this forum is: Do Not Post Product-Related Questions Here
Mod: locking -
Can I use case statements in triggers?
I created this trigger, it works BUT I don't like those parentheses at the begining, I would like
to change those parentheses for case statements, well that is my question, can you use case statements in triggers, how you would translate the following in case statement?
FOR EACH ROW
WHEN ( (new.sgbstdn_levl_code = 'UG')
and
( (NEW. SGBSTDN_STST_CODE NOT IN ('GR','SA','AS','IS') )
OR
( (NEW. SGBSTDN_STST_CODE = 'IS' ) AND
(NEW. SGBSTDN_STYP_CODE IN ('N' , 'T' )) AND
(OLD. SGBSTDN_STST_CODE = 'AS' ) ) ) )
==================================================================================================
CREATE OR REPLACE TRIGGER CC_STUD_WITHDRAWAL
AFTER UPDATE OR INSERT ON SATURN . SGBSTDN
FOR EACH ROW
WHEN ( (new.sgbstdn_levl_code = 'UG')
and
( (NEW. SGBSTDN_STST_CODE NOT IN ('GR','SA','AS','IS') )
OR
( (NEW. SGBSTDN_STST_CODE = 'IS' ) AND
(NEW. SGBSTDN_STYP_CODE IN ('N' , 'T' )) AND
(OLD. SGBSTDN_STST_CODE = 'AS' ) ) ) )
DECLARE
v_params gokparm.t_parameterlist;
event_code gtveqnm.gtveqnm_code%TYPE;
firstname spriden.spriden_first_name%TYPE;
lastname spriden.spriden_last_name%TYPE;
middlename spriden.spriden_mi%TYPE;
id spriden.spriden_id%TYPE;
CURSOR get_stud_name IS
SELECT
spriden_id ,
spriden_last_name ,
spriden_first_name ,
spriden_mi
FROM
saturn.spriden
WHERE spriden_pidm = :NEW.SGBSTDN_PIDM
AND spriden_change_ind IS NULL;
BEGIN
IF goksyst . f_isSystemLinkEnabled ( 'WORKFLOW' ) THEN
event_code := SUBSTR ( gokevnt.F_CheckEvent ( 'WORKFLOW' ,'CC_STUDENT_WITHDRAW' ),1,20);
OPEN get_stud_name ;
FETCH get_stud_name INTO id , lastname , firstname , middlename ;
CLOSE get_stud_name ;
----pass parameters to the event
v_params ( 1 ).param_value := 'CC_STUDENT_WITHDRAW' ;
v_params ( 2 ).param_value := '' ;
v_params ( 3 ).param_value := 'Student Withdrawal:' || lastname || ',' || firstname || ' ' ||
middlename ;
v_params ( 4 ).param_value := :NEW.sgbstdn_pidm ;
v_params ( 5 ).param_value := id ;
v_params ( 6 ).param_value := lastname ;
v_params ( 7 ).param_value := firstname ;
v_params ( 8 ).param_value := middlename ;
v_params ( 9 ).param_value := :NEW.sgbstdn_term_code_eff ;
v_params ( 10 ).param_value := :NEW.SGBSTDN_STST_CODE ;
v_params ( 11 ).param_value := :NEW.SGBSTDN_STYP_CODE ;
gokparm.Send_Param_List ( event_code , v_Params );
END IF;
END;
/You could delete a fair number of extraneous parentheses.
CREATE OR REPLACE TRIGGER cc_stud_withdrawal
AFTER UPDATE OR INSERT
ON saturn.sgbstdn
FOR EACH ROW
WHEN NEW.sgbstdn_levl_code = 'UG'
AND ( NEW.sgbstdn_stst_code NOT IN ('GR', 'SA', 'AS', 'IS')
OR ( NEW.sgbstdn_stst_code = 'IS'
AND NEW.sgbstdn_styp_code IN ('N', 'T')
AND OLD.sgbstdn_stst_code = 'AS')) -
Wether "CREATE TABLE" can be used in storage procedure of Oracle?
I am migrating MS SQL 2000 Database to Oracle 8.1.7. But I encounter a trouble, the defind sentences of temporary table in storage procedure of MS SQL can't be migrate to oracle.
I have try two kinds of syntax to defind temporary table, but both of them can't pass the compiler of pl/sql. Two syntax that I have try as follows:
1.CREATE TEMP TABLE chanp1(chanpid varchar(50))
2.CREATE GLOBAL TEMPORARY TABLE chanp1(chanpid varchar(50))
Now, I want to know whether "CREATE TABLE" sentence can be used in storage procedure of Oracle.you could use EXECUTE IMMEDIATE (Oracle8i above) or DBMS_SQL pacakge to do dynamic SQL.
since you are already on Oracle8i 8.1.7 using EXECUTE IMMEDIATE may be more easy. -
Can we use ad hoc query to get a temporary report of payroll result?
Hi,All
can we use ad hoc query to get a temporary report of payroll result?or we have to get a report of payroll result by customizing and ABAP?
and how can I customizing a report on the basis of standard SAP report for payroll?Hi
As of my Knowledge You cannot get the payroll report through Adhoc query you have to go for ABAP Devlopment
Thanks
Mahantesh -
Can i use App schema from another Oracle database.
Hi everyone,
can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
Regards,
Kashif.user10485983 wrote:
Please update your forum profile with a real handle instead of "user10485983".
can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
You can (using database links), but this will generally result in even poorer performance (unless by "another Oracle database" you mean using RAC?)
It sounds more like you either need to upgrade your systems, or refactor your applications to have a smaller performance footprint. -
Can't use ";" in sql clause with Oracle 8.X
Can't use ";" in sql clause with Oracle 8.X
I can't use ";" at the ending of sql clause in VB program. First this program can use with Oracle 7.3.4 database. But now i need to upgrade DB to Oracle 8.1.7 ,program can't operate. It show error Runtime 40002
and 37000:ODBC driver for oracle/invalid charactor
ThankyouI've seen a lot of discussion about semicolons in SQL
sent from 3rd party applications. A web search should
bring up the discussions.
Also you might get more response if you ask this question
somewhere else. This is not a VB forum, so you may
not reach relevant people.
-- CJ -
For Update Query from ORACLE Forms
Hi
We are using Oracle Forms 10g running with 10g database 10.2.0.1.0. We happend to see a query which is getting generated in AWR report like Select rowid, all_columns from TableName for Update of C1 Nowait. But no such query is really written in forms and we are aware that, Any query prefixed with rowid is definitely executing from Forms. But how the ForUpdate and Nowait clause is appended to the query.
We have checked the following properties in the database Block
*1) Locking Mode is set to Automatic*
*2) Update Changed Columns only is set to YES*
*3) Query all records is set to No (Though this particular property may not be relevant to the issue)*
What is the property or setting which might trigger such a query from ORACLE Forms with ForUpdate and Nowait clause.
Any ideas/suggestions on why such behaviour. Please have a healthy discussion on this. Thanks in advance.you can't dynamically add a query to the data model in reports.
You should look into the XML based customization of Oracle Reports. This will enable you to define a report dynamically by creating a definition in XML.
Also another option is to have the report with a query in it and use lexical parameters in reports to pass the query definition or just the where part of it.
Look at the reports online help for both of these solutions. -
Frm-40505:ORACLE error: unable to perform query in oracle forms 10g
Hi,
I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
Please let me know what do i need to do to correct this problem.
Regards,
PriyaHi everyone,
I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
Regards,
Priya -
Can we wrap the code written in Oracle Forms
Can we wrap the code written in Oracle Forms or in Reports..........
Edited by: user12889416 on 3/01/2011 21:08Usually you simply ship the compiled sources to your customers if you want to hide your code. There's no way to wrap the code within the fmb or rdf files.
Regards
Marcus -
How can i do the following in the oracle forms developer :
How can i do the following in the oracle forms developer :
1- delete or add new item to block and canvus at the RUNTIME ????
2- change the following property at the RUNTIME :
- item type
- datatype
- database item
- column nameHow can i do the following in the oracle forms
developer :
1- delete or add new item to block and canvus at the
RUNTIME ????It's not possible, you can do enabled/not enabled, or visible/not visible
2- change the following property at the RUNTIME :
- item typeno
- datatypeno
- database itemno
- column nameno
You are not lucky :-) -
How can I use a single query panel with two view criteria?
Hi all,
I have a requirement to allow users to change the "display mode" on a search results tree table for an advanced search page. What this will do is change the structure of how the data is laid out. In one case the tree table is 3 levels deep, in the other case it's only 2 with different data being at the root node.
What I've done so far:
1) I exposed the data relationship for these two ways of viewing the data in the application module's data model.
2) I created a view criteria in the two view objects that are at the root of the relationships, where (for simplicity sake) I'm only comparing a single field.
This is in one view object:
<ViewCriteria
Name="PartsVOCriteria"
ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartsVO"
Conjunction="AND">
<Properties>... </Properties>
<ViewCriteriaRow
Name="vcrow23"
UpperColumns="1">
<ViewCriteriaItem
Name="PartDiscrepantItemsWithIRVO"
ViewAttribute="PartDiscrepantItemsWithIRVO"
Operator="EXISTS"
Conjunction="AND"
IsNestedCriteria="true"
Required="Optional">
<ViewCriteria
Name="PartDiscrepantItemsWithIRVONestedCriteria"
ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartDiscrepantItemsWithIRVO"
Conjunction="AND">
<ViewCriteriaRow
Name="vcrow26"
UpperColumns="1">
<ViewCriteriaItem
Name="InspectionRecordNumber"
ViewAttribute="InspectionRecordNumber"
Operator="="
Conjunction="AND"
Value=""
Required="Optional"/>
</ViewCriteriaRow>
</ViewCriteria>
</ViewCriteriaItem>
</ViewCriteriaRow>
</ViewCriteria>
and this is in the other view object:
<ViewCriteria
Name="IRSearchCriteria"
ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.InspectionRecordVO"
Conjunction="AND">
<Properties>... </Properties>
<ViewCriteriaRow
Name="vcrow7"
UpperColumns="1">
<ViewCriteriaItem
Name="InspectionRecordNumber"
ViewAttribute="InspectionRecordNumber"
Operator="="
Conjunction="AND"
Required="Optional"/>
</ViewCriteriaRow>
</ViewCriteria>
3) I had a query panel and tree table auto-generated by dragging the data control for ONE of the view object data relationship that's exposed in the app module. Then I created a second query panel and tree table the same way but using the data control for the other. I'm hiding one of the query panels permanently and toggling the visibility of the tree tables based on the display mode the user chooses. Both tables have separate bindings and iterators.
This is a portion of the page definition:
<executables>
<variableIterator id="variables"/>
<searchRegion Criteria="IRSearchCriteria"
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
Binds="InspectionRecordVOIterator"
id="IRSearchCriteriaQuery"/>
<iterator Binds="InspectionRecordVO" RangeSize="25"
DataControl="QARS_AppModuleDataControl"
id="InspectionRecordVOIterator" ChangeEventPolicy="ppr"/>
<iterator Binds="Root.QARS_AppModule.PartsVO1"
DataControl="QarsMasterAppModuleDataControl" RangeSize="25"
id="PartsVO1Iterator"/>
<searchRegion Criteria="PartsVOCriteria"
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
Binds="PartsVO1Iterator" id="PartsVOCriteriaQuery"/>
</executables>
4) I've created a custom queryListener to delegate the query event.
This is in my advanced search jsp page:
<af:query id="qryId1" headerText="Search" disclosed="true"
value="#{bindings.IRSearchCriteriaQuery.queryDescriptor}"
model="#{bindings.IRSearchCriteriaQuery.queryModel}"
queryListener="#{pageFlowScope.SearchBean.doSearch}"
queryOperationListener="#{bindings.IRSearchCriteriaQuery.processQueryOperation}"
resultComponentId="::resId2" maxColumns="1"
displayMode="compact" type="stretch"/>
This is in my backing bean:
public void doSearch(QueryEvent queryEvent) {
String bindingName = flag
? "#{bindings.IRSearchCriteriaQuery.processQuery}"
: "#{bindings.PartsVOCriteriaQuery.processQuery}";
invokeMethodExpression(bindingName, queryEvent);
private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
FacesContext fctx = FacesContext.getCurrentInstance();
ELContext elContext = fctx.getELContext();
ExpressionFactory eFactory = fctx.getApplication().getExpressionFactory();
MethodExpression mexpr =
eFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
mexpr.invoke(elContext, new Object[] { queryEvent });
When no inspection record number (the only search field so far) is supplied in the query panel, then it behaves correctly. Namely, the tree tables shows all search results. However, when an inspection record number is supplied the tree table that was created with the query panel in use (remember there are two query panels, one of them is hidden) shows a single result (this is correct) while the other tree table (the one with the hidden query panel that isn't in use) shows all results (this is NOT correct).
Is what I'm trying to accomplish even doable? If so, what am I missing?
I'm using JDeveloper 11.1.1.7
Thanks,
BillI ended up keeping one query panel permanently visible and the other permanently hidden. When performing a search using the table that has the hidden query panel, I seed the query descriptor for the hidden query panel using the visible query panel's query descriptor and then delegate the request:
public void doSearch(QueryEvent queryEvent) {
String bindingName = null;
if(isIrTableRendered()) {
bindingName = "#{bindings.IRSearchCriteriaQuery.processQuery}";
} else {
seedPartsQueryDescriptor();
bindingName = "#{bindings.PartsVOCriteriaQuery.processQuery}";
queryEvent = new QueryEvent(partsQuery, partsQuery.getValue());
invokeMethodExpression(bindingName, queryEvent);
private void seedPartsQueryDescriptor() {
ConjunctionCriterion criterion = irQuery.getValue().getConjunctionCriterion();
for(Criterion criteria : criterion.getCriterionList()) {
AttributeCriterion attributeCriteria = (AttributeCriterion)criteria;
List values = attributeCriteria.getValues();
String qualifiedName = attributeCriteria.getAttribute().getName();
int indexOfDot = qualifiedName.lastIndexOf(".");
String name = indexOfDot < 0
? qualifiedName
: qualifiedName.substring(indexOfDot + 1);
ConjunctionCriterion partsCriterion =
partsQuery.getValue().getConjunctionCriterion();
for (Criterion partsCriteria : partsCriterion.getCriterionList()) {
AttributeCriterion partsAttributeCriteria =
(AttributeCriterion) partsCriteria;
String partsQualifiedName =
partsAttributeCriteria.getAttribute().getName();
if (partsQualifiedName.endsWith(name)) {
partsAttributeCriteria.setOperator(attributeCriteria.getOperator());
List partsValues = partsAttributeCriteria.getValues();
partsValues.clear();
for (int i = 0, count = values.size(); i < count; i++) {
partsValues.set(i, values.get(i));
private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory =
facesContext.getApplication().getExpressionFactory();
MethodExpression methodExpression =
expressionFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
methodExpression.invoke(elContext, new Object[] { queryEvent });
Then when the advanced/basic button is pressed for the visible query panel, I programmatically set the same mode for the hidden query panel:
public void handleQueryModeChange(QueryOperationEvent queryOperationEvent) {
if(queryOperationEvent.getOperation() == QueryOperationEvent.Operation.MODE_CHANGE) {
QueryMode queryMode = (QueryMode) irQuery.getValue().getUIHints().get(QueryDescriptor.UIHINT_MODE);
QueryDescriptor queryDescriptor = partsQuery.getValue();
queryDescriptor.changeMode(queryMode);
AdfFacesContext.getCurrentInstance().addPartialTarget(partsQuery); -
How to use this sql query in oracle?
Hi all,
i am using one sql query that is
SELECT @ToDate = '2012-10-03 00:00:00.000'
select @BetweenDate = DATEADD(MM,-1,@ToDate)
select @FromDate = DATEADD(m,DATEDIFF(m,0,@BetweenDate),0)
SELECT @ToDate = DATEADD(month, ((YEAR(@BetweenDate) - 1900) * 12) + MONTH(@BetweenDate), -1)
so @todate value is = '2012-10-03 00:00:00.000'
so in @betweendate value will come 1 month before like '2012-09-03 00:00:00.000'
again in @fromdate value will come like that '2012-09-01 00:00:00.000' means first date of @betweendate
and again @todate value will come like that '2012-09-30 00:00:00.000' means last date of @betweendate
it's happening in sql and i have to use same logic in oracle also.
how to use it??
thanksdeclare
todate date:= to_date('2012-10-03 00:00:00','yyyy-mm-dd hh:mi:ss');
betwendate date := add_months(todate,-1);
for datediff / additions you can direct subtract/add two different date variables
like
datediff = betweendate -todate
dateadd := todate+1;
Maybe you are looking for
-
Keep cardinality with lookup-operator?!
Hi I am using a lookup operator to get values from a source table. The match criteria often results in multiple search results. (on purpose) What I want to do is, to take only the first searchresult of the lookup and put it in my destination table...
-
Cross-systems analysis and max. rules for a risk
Hi all, Customer environnement: GRC AC RAR 5.2 linked to 3 R3 4.6C environments (FB0, FB1 and FB2) with different purposes. Users and roles can exist in the 3 systems so we need to run cross systems analysis. It turns out that the cross-systems analy
-
Regarding direct material procurement in Classic scenario.
Hello SRM Gurus , We are implementing SRM5.0 classic scenario, (SSP with CCM). As per standard , Shopping cart for a direct material (Requisition for stock) will create a follow-on document in SRM only (controlled extended classic scenario). Client's
-
Xcode 5.02 on Mavericks window size
I have Mavericks with Xcode 5.02 on a 17" 2.5 GHz intel core 2 duo. With Xcode open with a project, I clicked on the window size icons in the upper right corner of the window. I got a full screen that can't be moved, and I can't get to the corner of
-
Error at the time of Settlement
Hi GURU's I'm working on SAP ECC6.0. I'm facing problem of cost element assignment to sourse structure at the time of Settlement of Process Order but when I settle it on SAP 4.7 it get settle without any error. can anybody tell the reason behind of t