Problem to fetch aquisition value
hi,
i am facing the problem to fetch aquisition value.
my smart form working fine if equipment is not goes for AUC settlement but when it goes for settlement then i m not getting the aquisition value for deptt.
since after settlement equipment assign with a new asset number. so i m not getting the exect field to get the aquistion value.
b4 that i m using aqistion value for deptt is kansw from anlc table but it fails under settlement.
i got one field AIBN1 in ANLA for new asset number under settlement but not sure about the amount that where it will b.
since in our dev system data is not there so i m not sure that where i will get the aquision value, i hav track one field in ANLA (URWRT) or field will be same KANSW for new asset number in ANLC..
please help me if u can?
thanks in advance and marks will be sure for each helpfull answer*
regards
vijay
Hi Vijay,
Yes the field is right. It will store the original asset number.
Regards,
Atish
Similar Messages
-
Aquisition value of equip deptt wise( related to fi)
Hi,
I am facing the problem to fetch aquisition value.
my smart form working fine if equipment is not goes for AUC settlement but when it goes for settlement then i m not getting the aquisition value for deptt.
since after settlement equipment assign with a new asset number. so i m not getting the exect field to get the aquistion value.
b4 that i m using aquisition value for deptt is kansw from anlc table but it fails under settlement.
i got one field AIBN1 in ANLA that i m using for new asset no after settlement but where i will get the related amount means where i will get the aquisition value of the changed asset no.
please help me if u can?. since in my developmentment server data is not there so i m really helpless so plz give me exact relation
thanks in advance and marks will be sure for each helpfull answer*
regards
vijayHi
Check the field EQUI-ANSWT (equipment related) or
IFLOT-ANSWT (func Location related)
for the acquisition value of the equipment
<b>Reward points for useful Answers</b>
Regards
Anji -
Problem fetching multiple values in a TIMESTAMP column
Hi all,
I'm having a problem trying to fetch multiple values in a TIMESTAMP column. I can successfully fetch the TIMESTAMP column if I do the following:
OCIDateTime tstmpltz = (OCIDateTime )NULL;
rc = OCIDescriptorAlloc(p_env,(dvoid **)&tstmpltz, OCI_DTYPE_TIMESTAMP,
0, (dvoid **)0);
rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, &tstmpltz, sizeof(tstmpltz),
SQLT_TIMESTAMP, 0, 0, 0, OCI_DEFAULT);
This works fine. I can then do what I want with the OCIDateTime variable tstmpltz, like convert it to a text string, etc.
But what I am trying to do is fetch many rows of data that could include a TIMESTAMP column. For character columns this is no problem. I simply allocate a buffer of the correct width and length and then do my OCIDefineByPos to point to the start and the character data gets filled in. Same for numeric columns as well.
I can do this with a TIMESTAMP column if I do the OCIDefineByPos with a column type of SQLT_CHR. But the problem I'm running into when I do things this way is if I fetch a Timestamp value that is before 1950 I believe it is, I get back the wrong century. So for instance 1900 comes back as 2000. I think this is because the default date format when fetching is a 2 digit year. So I've tried to the do following:
long fetchrows = 50;
unsigned char *descpp1;
descpp1 = (unsigned char *)calloc(fetchrows, sizeof (OCIDateTime *));
int i;
for (i = 0; i != fetchrows; i++)
/* Allocate descriptors */
rc = OCIDescriptorAlloc((void *)p_env,(void **)&descpp1[i * sizeof (OCIDateTime *)], OCI_DTYPE_TIMESTAMP,
0,(void **)0);
// Bind the column
rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, descpp1, sizeof(descpp1),
SQLT_TIMESTAMP, 0, 0, 0, OCI_DEFAULT);
rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 50, (ub4) 0,
(CONST OCISnapshot *) NULL, (OCISnapshot *) NULL,
OCI_DEFAULT);
And I get an "ORA-01403: no data found" error. I'm missing something here but I can't figure out what it is. Is this proper way to fetch multiple Timestamp columns ?
Thanks,
NickHi Nick,
I think the "trick" here is that when you call OCIDescriptorAlloc normally you would pass a pointer to an OCIDateTime pointer (i.e. OCIDateTime**). However, you're being sneaky here and using unsigned char * with malloc/calloc for the reasons you have already mentioned. So, that changes things a bit because in this scenario the "destination address" where OCI is going to put the address for the OCIDateTime descriptor is in the memory you have dynamically allocated rather than in the target pointer of an OCIDateTime** declaration. So far so good, but the problem, as you've discovered, comes about when you need to get the OCIDateTime* to pass into the OCIDateTimeToText function. In your call you have this:
(OCIDateTime *)descpp1[0 * sizeof (OCIDateTime *)]However, that isn't the address of the descriptor it's a pointer to the address so, depending on your actual calls, etc. you'll either get a memory violation or an invalid OCI handle error. What you can do is get the address from that memory location and stuff it into a proper OCIDateTime* and then it can be used in the OCIDateTimeToText function.
I'm probably doing a terrible job explaining it, but I have cobbled together a sample which does what you want (at least as far as I can tell). Of course, being OCI, there's a fair bit of code, but here's the main parts.
I created a table called "ts_test" that has the following structure and sample data:
SQL> desc ts_test
Name Null? Type
TS_ID NUMBER
TS_VALUE TIMESTAMP(3)
SQL> select * from ts_test order by ts_id;
TS_ID TS_VALUE
1 01-JAN-09 08.00.00.123 AM
2 01-JAN-09 12.34.56.789 PM
3 01-JAN-09 04.46.00.046 PM
4 01-JAN-09 10.00.00.314 PM
4 rows selected.I use the same query as above in the OCI sample code to get the values back out of the table.
** will hold pointers to TimeStamp Descriptor memory
unsigned char *pTSD = (unsigned char *) NULL;
** temp pointer used with descriptors
OCIDateTime *pTemp = NULL;
** allocate memory for the ts_id column
if ((pID_val = (ub4 *) malloc(sizeof(ub4) * arrsize)) == NULL)
printf("Failed to allocate memory for pID_val!\n");
return;
** allocate memory for the ts descriptors
if ((pTSD = (unsigned char *) malloc(sizeof(unsigned char *) * arrsize)) == NULL)
printf("Failed to allocate memory for pTSD!\n");
return;
** allocate date time descriptors
for (i = 0; i < arrsize; i++)
rc = OCIDescriptorAlloc(pDBCtx->envhp,
(void **) &pTSD[i * sizeof(OCIDateTime *)],
(ub4) OCI_DTYPE_TIMESTAMP,
(size_t) 0,
(void **) 0);
** define the first column in the results
rc = OCIDefineByPos(stmtp,
&defnp,
pDBCtx->errhp,
(ub4) 1,
(void *) pID_val,
(sword) sizeof(ub4),
(ub2) SQLT_INT,
(void *) pID_ind,
(ub2 *) 0,
(ub2 *) 0,
(ub4) OCI_DEFAULT);
** define the second column in the results
rc = OCIDefineByPos(stmtp,
&defnp,
pDBCtx->errhp,
(ub4) 2,
(void *) &pTSD[0],
(sword) sizeof(OCIDateTime *),
(ub2) SQLT_TIMESTAMP,
(void *) pTS_ind,
(ub2 *) 0,
(ub2 *) 0,
(ub4) OCI_DEFAULT);
** execute the statement
rc = OCIStmtExecute(pDBCtx->svchp,
stmtp,
pDBCtx->errhp,
(ub4) arrsize,
(ub4) 0,
(CONST OCISnapshot *) NULL,
(OCISnapshot *) NULL,
(ub4) OCI_DEFAULT);
** get the text value of the timestamp
** null-terminate it, and display the value.
** the address of the allocated descriptor
** is copied from the dynamically allocated
** memory to the temp variable and that
** is passed to OCIDateTimeToText
for (i = 0; i < arrsize; i++)
memcpy((void *) &pTemp, &pTSD[i * sizeof(OCIDateTime *)], sizeof(OCIDateTime *));
rc = OCIDateTimeToText((void *) pDBCtx->usrhp,
pDBCtx->errhp,
pTemp,
(oratext *) 0,
(ub1) 0,
(ub1) 3,
(oratext *) 0,
(size_t) 0,
&buflen,
buf);
buf[buflen] = '\0';
printf("Timestamp value[%d]: %s\n", *pID_val++, buf);
...Obviously there's lots left out, but hopefully that can be of some help. I've not really thoroughly reviewed the code so there may be a few things to fix. Anyway, using the above table and data the full sample outputs this on my system:
Timestamp value[1]: 01-JAN-09 08.00.00.123 AM
Timestamp value[2]: 01-JAN-09 12.34.56.789 PM
Timestamp value[3]: 01-JAN-09 04.46.00.046 PM
Timestamp value[4]: 01-JAN-09 10.00.00.314 PM
ENTER to continue...Thanks,
Mark -
Problem shile fetching values from navigateAbsolute
hi,
i need to pass a value which has "+" in end...
for example:
String Name = "aditya+" ;
WDPortalNavigation.navigateAbsolute(iviewpath,WDPortalNavigationMode.SHOW_INPLACE,
null,null,WDPortalNavigationHistoryMode.NO_HISTORY,null,null,
"Name=" +Name );
but when i fetch the value..
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String Name = request.getParameter("Name");
i get name = aditya
it doesnt give me "+"...
i believe it is taking + as an operator rather than string
can anyone help in finding out solution..
Thanks and Regards,
Aditya DeshpandeHi, Aditya
This looks like a bug
My suggestion is to escape "+" character in some way (for example, with "\u002b") when making parameters string, and unescape when retrieving parameter values. I guess not only plus character can produse such effect. -
Hi to all ,
I' ve problem while fetching bsad for a report , in t-code se30 i've seen that it takes %89,1 performance of overall.
SELECT belnr buzei dmbtr blart budat augdt augbl sgtxt
into table odemelerg
FROM bsad
WHERE bukrs EQ bukrs
AND kunnr EQ kunnr
AND ( umsks EQ space OR umsks IS NULL )
AND ( umskz EQ space OR umskz IS NULL )
AND augbl EQ i_augbl
AND augdt GE i_budat
AND gjahr EQ gjahr
AND belnr NE i_belnr
AND bsadbelnr NE bsadaugbl
AND ( blart EQ blart_bt OR blart EQ blart_hf
OR blart EQ blart_mi ).
here : blart_bt is declared as a constant type and its value is 'BT'. such as blart_hf, blart_mi
How can I make this Select query working in a better performance
Kind regards,
CaglarHi
If you know the bill number:
-1) Search FI document:
Get header data
select * from bkpf where AWTYP = 'VBRK'
and AWKEY = BILL NUMBER.
EXIT.
ENDSELECT.
Get items data
SELECT * FROM BSEG INTO TABLE T_BSEG
WHERE BUKRS = BKPF-BUKRS
AND BELNR = BKPF-BELNR
AND GJAHR = BKPF-GJAHR
AND KOART = 'D'.
Payment:
LOOP AT T_BSEG WHERE AUGDT <> '00000000'.
IF T_BSEG-AUGBL <> _BKPF-BELNR
T_BSEG-AUGDT <> _BKPF-BUDAT.
SELECT * FROM BKPF INTO _BKPF
WHERE BUKRS = T_BSEG-BUKRS
AND BELNR = T_BSEG-AUGBL
AND BUDAT = T_BSEG-AUGDT.
EXIT.
ENDSELECT.
SELECT * FROM BSEG APPENDING TABLE T_PAYMENT
WHERE BUKRS = _BKPF-BUKRS
AND BELNR = _BKPF-BELNR
AND GJAHR = _BKPF-GJAHR
AND KOART = 'D'.
ENDIF.
ENDLOOP.
Partial payment
SELECT * FROM BSAD INTO TABLE WHERE BUKRS = BKPF-BUKRS
AND KUNNR = T_BSEG-KUNNR
AND REBZG = BKPF-BELNR
AND REBZJ = BKPF-GJAHR.
Max -
Fetches more values into one variable
Hi, inside a cursor loop I'd like to assign, each fetch, a value to a variable, in order, at the end to have a collection of all the values fetched into the same variable.
The code is the following:
CREATE OR REPLACE procedure APPS.AAA as
v_pino varchar2(64);
CURSOR tks_opened_range IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_RANGE FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 1 AND 11111111111
AND incident_attribute_2 IN ('ΓΕΝΙΚΗ ΔΙΕΥΘΥΝΣΗ ΤΕΧΝΟΛΟΓΙΑΣ')
ORDER BY incident_number;
rec_tks_opened_range tks_opened_range%ROWTYPE;
begin
FOR rec_tks_opened_range IN tks_opened_range
LOOP
v_pino := rec_tks_opened_range.YP_TKS_OPENED_WITHIN_RANGE;
DBMS_OUTPUT.PUT_LINE('v_pino: ' || v_pino);
end loop;
end AAA;
This works with the variable v_pino!....but at the end, the value of the variable v_pino is ONLY the last fetched by the cursor.
Is there a way to declare a variable (or better a collection) or a new type in order to have all the data fetched into this variable and the end of the fetching ?
I need to know this trick because, after, I have to assign this variable to a pipelined table function.
Thanks in advance
Alex
/Great Devang !! Thanks a lot ! It works ! Now I am able to retrieve all the values I need and store them into my variable gino
I searched on the note you mentioned in your mail in order to pass an array as a variable to a table function (PIPE ROW call), but I didn't find nothing about it.
Now I explain to you my situation.
I already implemented a table function that works perfectly. I have 2 cursors declared and 2 PIPE ROW calls.
FUNCTION statistic_report_2_1 (p_resolv_time_ll varchar2, p_resolv_time_ul varchar2, p_ypiresia varchar2)
RETURN xxi_statistic_rep_2_1_tab PIPELINED
IS
-- CURSORS FOR THE FIRST SHEET - Tickets opened per group and per duration
-- Cursor for tickets opened within 1 hour --
CURSOR tks_opened_1_h IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_1_HOUR
FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) < 60
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_h tks_opened_1_h%ROWTYPE;
-- Cursor for tickets opened between 1 hour and 3 hours --
CURSOR tks_opened_1_3_h IS
SELECT incident_number AS YP_TKS_OPENED_BE_1_3_HOURS FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 60 AND 179
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_3_h tks_opened_1_3_h%ROWTYPE;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
-- FIRST SHEET OPEN CURSORS --
TICKETS NUMBER OPENED WITHIN 1 HOUR
FOR rec_tks_opened_1_h IN tks_opened_1_h
LOOP
PIPE ROW(stat_rep_2_1_type(
rec_tks_opened_1_h.YP_TKS_OPENED_WITHIN_1_HOUR
END LOOP;
-- TICKETS NUMBER OPENED BETWEEN 1 HOUR AND 3 HOURS --
FOR rec_tks_opened_1_3_h IN tks_opened_1_3_h
LOOP
PIPE ROW(stat_rep_2_1_type(
,rec_tks_opened_1_3_h.YP_TKS_OPENED_BE_1_3_HOURS));
END LOOP;
RETURN;
END statistic_report_2_1;
But, in this way and with this syntax, I obtain for each PIPE ROW call only one field filled each time, because I can’t call 2 cursors in a nested loop together (data duplication);
For example:
1st PIPE ROW call : only the first field is filled and into the second I have to put ‘’
2nd PIPE ROW call : only the second field is filled and into the first I have to put ‘’
….and I cant’ call with a single PIPE ROW call two cursor variables…..
Into a Discoverer report this data layout is really bad (you can imagine with thousand
of records).
For this reason I thought to use an array variable (gino) to pass to a single PIPE ROW call outside the cursor loop……but it doesn’t work !!!
Can you suggest me how to resolve this problem….if it possible ?
Did I have to declare other TYPE or collection ?
Thanks you so much
Alex -
ORA-01405: fetched column value is NULL
Hi All,
I am using OWB 10gR2 and DB 10gR2. I am getting the following error while executing the mapping,
ORA-01405: fetched column value is NULL.
I have used NVL function for the measure columns, but the problem is not solved.
Can anybody please tell me solution,
Thanks in advance,
SivaHi Siva
It may be that you've taken care of null value in just one place and now, the error is coming
from somewhere further down the line.
Regards
Arif -
How to fetch the value of tabular form item in javascript
Hello all
I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
I am using normal tabular form, not using apex_item tabular form.
I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
Thanks
TauceefHi Alistair
jQuery is still not working, but I got it done through some other means, this is the code:
function total(pThis){
var l_Row = html_CascadeUpTill(pThis,'TR');
var l_Table = l_Row.parentNode;
var l_Row_next = l_Row;
var n_rows = l_Table.rows;
var lInputs;
var v1;
var sum = 0.0;
var temp;
var i = 0;
var j = 0;
//alert(n_rows.length);
while(j < (n_rows.length - 1))
temp = 0;
if(l_Row_next != null){
lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
v1 = lInputs[0].value;
//alert(v1);
sum = parseFloat(sum) + parseFloat(v1);
l_Row_next = l_Row_next.nextSibling;
temp = 1;
if(temp == 0){
l_Row_next = l_Table.getElementsByTagName('TR')[1];
lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
v1 = lInputs[0].value;
sum = parseFloat(sum) + parseFloat(v1);
l_Row_next = l_Row_next.nextSibling;
j= j+1;
$x('P78_TOTAL').value= parseFloat(sum);
I am calling this function onblur event of the textfield.
Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
Thanks
Tauceef
Edited by: Tauceef on Jul 8, 2010 4:57 AM -
Help Needed: Facing the error ORA-01406: fetched column value was truncated
Hi Everyone,
When I run a particular PL/SQL query using Oracle 9i ODBC driver, it is working fine and fetching me the desired results.
However, when I run the same query using the Oracle 10g ODBC driver, I am getting the error: ORA-01406: fetched column value was truncated.
I have checked all the fields of the table and they are well within the allowable limit.
Can you please let us know what needs to be done to resolve this issue?
Thanks and Regards,
SudhindraWell it's obviously a problem with the client software. Doesn't Datastage have some way of configuring these things?
rgds, APC -
Problem in fetching the latest updated record.
Hello ,
I have a program in which i am creating a BDC session and submit the same in program rsbdcsub, now the problem is that i need to capture the Field Qstate from the table APQI, its not updated instantaneously, so i am not able to get the latest value of QSTATE from updated APQI table,
I have used commit work, commit work and wait , SET UPDATE TASK LOCAL, nothing is working, only if i put wait up to '1.5' seconds before fetching the value from table APQI i get the updated Qstate, but this will create a performance issue so please suggest.
Can any one please help me resolve this problem.
Regards,
Abhinavit's quite normal that status is updated after the job is modified
and you cannot know beforehand how much time it will take to do it (even the start time is not sure because it could be delayed !)
you could select the value until it is one of a list that you expect (for example, finished or cancelled) -
Aquisition value negative in 01
Hi guys,
User getting the following error
Aquisition value negative in 01
when trying to post asset purchase in f-90
tried going to tcode-as02
change of asset master data -go to depriciation cdubblclick on book dep and click on negetive value allowed
But not working
Problem is there only with one business area.rest are working fine.
Thnxhi
in the 'time dependant' tab of AS02, you find the Business area and Cost center for the asset.
thanks -
I have an application made in devlopment which is working fine and i jsut migrated it to production but when i am running one of the page in the app in production it si throwing this error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small"... this report is ment for generating report.
Now what i have done, i compared both dev and prod environment but i have not found and changes except this one. In the page of both the application in dev and prod under shared component under under template the region of breadcrum and report region is showing in different position. i dont think it a problem because of that i am facing problem.
If anybody have idea how could i recitfy the prbs i will be highly thankful to you
Regards
Adifriends i have seen where the error is coming but i am unable to trace out how to increase the size of lov which i have made.
when i am taking display as select list(named lov) it is throwing me the error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small" but if i am taking display as "popup lov(named lov)" under tablular form element under one of the column in the report, it is working properly. but not shwoing the report the way we want it to show. For that reason i want to increase the size of the love which i have made. -
Hi,
I am facing a problem when fetching a VO. Actually i am having a field which is of type MessageTextInput. This field has a initial value set to 1 which is taken from the database. In the page i change the value to that field to 5(say). But when i am fetching the vo which this field is resided, I am getting value 1 only not 5 which i changed. I know it will take the value from database itself, but i want to fetch 5. How is this possible. Please any one help me out in this issue.
Thanks in Advance.are you taking the instance of the OAMesaageTextInputBean in ur CO.
You need to take the instance and then get the entered value. Only then you will be able to see the updated value (5)
Let me know for any other help and if it doesn't resolve ur problem, Please provide some more information on it.
Thanks
Anoop -
BRF -fetch formula value set in the expression
Hi expert.
My question is how to fetch formula value set in expression of BRF.
Here is my scenario.
For SC object BUS212 is have maintained the 2 levels approval process as below .
object type u2013 BUS2121
Process schema - 3C_SC_700_002
100-approval-u2018 ' u2013 u2018 ' u2013 RR_EMPLOYEE- Specify Employee for Approval- 365-40007953- ' ' -dec entire doc.
200-approval- AMT_LIMITu2013 limit ck u2013 RR_EMPLOYEE- Specify Employee for Approval- 250- 40007953- ' '-decision for entire doc.
For second level approval system checks for SC cart total amount .
In the BRF the expression type 0FB001u2019 (CL_FORMULA_BRF) is created for event (AMT_LIMIT ) is EX_AMT_LIMIT_2
here
Expression is of type u20180FB001u2019 (CL_FORMULA_BRF ), formula editor
Has condition 0V_SC_TOTALVALUE ( Overall value) > 10000 (number)
The process levels are maintained in table u2018 /SAPSRM/C_WF_Lu2019 here I got the EVENT> AMT_LIMIT.
800 BUS2121 3C_SC_700_002 100 A RR_EMPLOYEE 365 40007953
800 BUS2121 3C_SC_700_002 200 A RR_EMPLOYEE 304 AMT_LIMIT 40007954
In table TBRF210 I got event and Expression relation
800 A SRM_WF AMT_LIMIT A EX_AMT_LIMIT_2
In table TBRF200 I got the BRF expression EX_AMT_LIMIT_2 and object OV_SC_TOTALVALUE relation
800 A SRM_WF F EX_AMT_LIMIT_2 F A 0V_SC_TOTALVALUE
Now here is my problem how to fetch condition 0V_SC_TOTALVALUE ( Overall value) > 10000 (number)
Suggest the Class-method , tables or FM to fetch this 10000 value against 0V_SC_TOTALVALUE ( Overall value).
Warm Regards.
Indranil PanzadeHi ,
first thanks for taking the interest in this thread .
I need this data matinated in BRF expression for my custome (report and pplication)purpose.
here i maintained the value 10000 for SC total amount against some EXPRession .
that i want to show in my report's column like this
Object- process levels-EVENT-EXPRESSION-valid amount(EXP.formula amt) -reposible person(AHUJA)plant-(1000).
wants more explaination ,
please reply.
Indranil -
From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?
Hi,
Use NVL or COALESCE:
NVL (col_a, col_b)
Returns col_a if col_a is not NULL; otherwise, it returns col_b.
Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002
Maybe you are looking for
-
CRM 7.0 EHP1 and FINBASIS
Gurus, I hope this question is posted in the correct forum...if not, let me know where it ought to go. We are currently running CRM7.0 with NW7.01 dual stack with these components: SAP_ABA 701 0007 SAPKA70107 SAP_BASIS 701 0007
-
Photo management, once and for all...help!
This will be an eye-roller for some of you, but my thousands of photos have become a jungle and I don't understand how to manage them. -iPhoto -photo stream -camera uploads Where is "ground zero" for all of my photos - is there one? - and how can I
-
HELP! mounting laptop as external drive
I just bought my Macbook Pro (used) and I want to mount it as an external drive from my old G4 running on OSX 10.3.9 I have a firewire cable to link them but I don't know how to launch either one on the other desktop. HELP!!
-
Pass more than one argument for action in the URL
Hi, i've created a DesktopURL object with which i refere back to the Front Page. With the same URL i want to minimize two channels at the same time. I know that i can minimize one channel with the "action=minimize&provider=myProvider" attribute. Is t
-
Does my billing cycle start on the day of my purchase and end on the same day of the next month? If I don't use some of the minutes on my plan, do I lose them or do they roll over? If I have a plan that starts, for example on the 15th and I use all m