How to execute two structure type values
How to execute two structure type values for HWC app in SUP 2,2 ? Added is the screenshot, with the structure and values to be executed. Trying in the preview works fine , but how to process in the application ?
Thanks Midhun VP i came across result checker , but still checking if there is any work around without result checker. , Will a HTML view with some Success status work in this scenario .
Correct me if i am wrong, as per my understanding , Result checkers checks the error code return value from BAPI and shows the respective message.
If so, what are the Pros and Cons of using Result checker.
Is it suggested to use Result checker for read only operations applications i,e which does nt involve operations( CUD)
Similar Messages
-
How to upload two different asset values for Book & Tax Depre in FA
Hello all
kindly let me know how to resolve a situation where we have different methods of calculating Depreciation. For Example SLM for Book Depreciation and Diminishing method for Tax Depreciation.
To calculate depreciation we use straight line method for book depreciation and diminishing value method for Tax depreciation. In this case, we have 2 different asset values to calculate book and tax depreciation.
Since SAP allows to upload only one asset value (Gross book value), I get correct book depreciation value but incorrect value for tax depreciation as the tax depreciation is calculated based on gross book value instead of net book value (gross book value less accumulated depreciation value).
For Eg
FOR THE FIRST YEAR
BOOK DEPRECIATION:
Asset Value = 1000
Depreciation Method : SLM
Depreciation rate is 10%
Depreciation Amount = 100
TAX DEPRECIATION:
Asset Value = 1000
Depreciation Method : DIMINISHING METHOD
Depreciation rate is 15%
Depreciation Amount = 150
FOR THE SECOND YEAR
BOOK DEPRECIATION:
Asset Value = 1000
Depreciation Method : SLM
Depreciation rate is 10%
Depreciation Amount = 100
TAX DEPRECIATION:
Asset Value = 850
Depreciation Method : DIMINISHING METHOD
Depreciation rate is 15%
Depreciation Amount = 127.5
KINDLY LET ME KNOW HOW TO UPLOAD THE PAST DATA WITH TWO DIFFERENT ASSET VALUES (IE 1000 & 850) FOR THE ABOVE.
Regards
Sushil YadavHi K,
I'm having the same problem...did you find a solution yet?
Greets,
Martin. -
How to merge two resource bundle values ?
Hi All,
JDev ver : 11.1.1.7
I want to merge two resource bundle values.. How to do it ?
like this #{expr ? str1 : str1 + str2}
I tried like the one below and used some jstl fuctions... but no use not worked.. got some parse exception, compilation exception,etc..
<af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_WELC'] : resource['LBL_WELC'] + resource['LBL_HOME'] }"/>
Let me know how to do this ?
Regards,
GopiThe above outputtext is an example, I may use diff bundle keys like below,
<af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_TEST'] : resource['LBL_KEY1'] + resource['LBL_KEY2'] }"/>
The principle is the same
<af:outputText value="#{ row.accountName eq 'AccountName9' ? resource['LBL_TEST'] : '' }#{ row.accountName eq 'AccountName9' ? '' : resource['LBL_KEY1'] }#{ row.accountName eq 'AccountName9' ? '' : resource['LBL_KEY2'] }"/>
Dario -
How to compare two wage types?
What is the best way to compare two wage types?
For example, if I see the wage type attribute screen, I need to select M010 and M110 , one by one and
compare visually only the wt attributes. It doesn't show the processing classes etc.
Is there a report or tool to compare and list everything about two wage types?
Thanks,Thanks Arun.
RPDLGA40 is NOT doing what I was asking. But helps a lot to learn about a given wage type.
RPDLGA20 has many uer interactions and I am yet to learn how to understand them
Thanks, -
How to assign two complex type data in message payload
Hi ,
In my xsd file two complex type data is there ,
but when i am trying to add these in message type request and response payload , i can add only one payload,
is it any way to add 2 complex types in message types request and response payloads.
Regards
janardhanEach request and response has but a single payload. You can change the element of the payload to a single complex type from your XSD, but that's it. You can't assign more than one element to the request (or response) payload. Someone please correct me if I'm wrong.
-
How to substract two date&time values
Well,i just need to substract last visited date&time value from systemdate. The last visited date&time(from the filed named SONBULUNMAZAMANI, ) is selected from table (IHALE_KATILIMCILAR ) in the format DD-MM-RRRR HH24:MI and systemdate is in the same format. And i need to get value in minutes. Then i need to check if the value is greater then 20 minutes, finally i will update database and set IHALE_KATILIMCILAR.AKTIF=0. Here is the code i used;
DECLARE
MinDiff number;
DateTime1 ihale_katilimcilar.sonbulunmazamani%TYPE;
BEGIN
select t.sonbulunmazamani into DateTime1 from ihale_katilimcilar t where t.ihlkodu=141 and t.ihlaltktgkodu=132 and t.id_iliski=193;
MinDiff := ABS( TO_DATE( TO_CHAR(SYSDATE, 'DD-MM-RRRR') || TO_CHAR(SYSDATE , 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) - TO_DATE( TO_CHAR(DateTime1, 'DD-MM-RRRR') || TO_CHAR(DateTime1, 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) );
DBMS_OUTPUT.PUT_LINE('Difference is ' || MinDiff);
END;
However the result i get is always pointed values such as ,1895833333333333333333333333333333333333. How can i handle this?
And here is the scripts of table:
create table IHALE_KATILIMCILAR
KULADI VARCHAR2(20),
SONUC NUMBER(1),
AKTIF NUMBER(1) default 1,
SRKTKODU VARCHAR2(10) not null,
SONBULUNMAZAMANI DATE default sysdate,
SIRA NUMBER(1) default 0,
MESAJ VARCHAR2(200),
ID NUMBER(6) not null,
IHLKODU NUMBER not null,
IHLALTKTGKODU VARCHAR2(10) not null,
ID_ILISKI NUMBER,
IHLSIRA NUMBER(1) default 0,
CEVAP VARCHAR2(200)
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, 'süre talep 2', 76, 145,
'135', 345, 0, 'al sna süre 77');
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('asd', null, 1, '4444', to_date('20-02-2008 14:49:52', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 77, 145, '135',
345, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 78, 145, '135',
345, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 79, 145, '135',
345, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 63, 141, '134',
191, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 64, 141, '134', 192,
0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 61, 145, '135',
189, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 69, 141, '133',
197, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 65, 141, '132',
193, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 2, null, 66, 141, '132',
194, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 67, 141, '132', 195,
1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 68, 141, '133',
196, 0, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEM.ESM', null, 1, '44', to_date('12-03-2008 15:00:58', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 70, 142, '252',
198, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KE.ES', null, 1, '45', to_date('10-03-2008 10:08:17', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 71, 142, '252',
199, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEM.ESM', null, 1, '44', to_date('10-03-2008 10:08:56', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 72, 143, '253',
200, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('MLK', null, 1, '46', to_date('12-02-2008 13:34:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 73, 143, '253', 201,
1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 60, 145, '136',
188, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 74, 145, '136',
202, 1, null);
insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 75, 145, '135',
203, 0, null);
Thanks...What version of SQLServer do you have? Datediff is not an Oracle built-in function.
OP:
THe difference between two dates in Oracle is in days. The decimal portion refers to partial days, so you need to convert that to the required precision. Also, both sysdate and your column are date type, and contain a time portion, so you do not need all the to_date/to_char stuff. Something like:
SQL> SELECT end_dt, start_dt, (end_dt - start_dt) * 24*60 diff
2 FROM (SELECT sysdate end_dt, TRUNC(sysdate) start_dt
3 FROM dual);
END_DT START_DT DIFF
17-mar-08 10:39:39 17-mar-08 00:00:00 639.65John -
How to use Oracle Table Type values in Select Statement.
Hi,
I am fetching initial set of values into Oracle Table of Records Type and want to use list of values in the Select statement.
For example, try something like the following:
TYPE t_record IS RECORD (
ID TABLEA.ID%type,
NO TABLEA.NO%type,
v_record t_record;
TYPE t_table IS TABLE OF v_record%TYPE;
v_table t_table;
-- Code to populate the values in v_table here.
SELEC ID,NO, BULK COLLECT INTO <some other table variabes here> FROM TABLEA
WHERE ID IN v_table(i).ID;
I want to know how to use the values from Oracle Table Type in the Select Statement.Something like this:
create or replace type t_record as object (
id number,
no number
CREATE or replace type t_table AS TABLE OF t_record;
set serveroutput on
declare
v_table t_table := t_table();
v_t1 t_table := t_table();
begin
v_table.extend(1);
v_table(1).ID := 1;
v_table(1).No := 10;
v_table.extend(1);
v_table(2).ID := 2;
v_table(2).ID := 20;
SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
from TableA
FROM TABLEA
WHERE ID IN (select t.ID from table(v_Table) t);
for i in 1..v_t1.count loop
dbms_output.put_line(v_t1(i).ID);
dbms_output.put_line(v_t1(i).No);
end loop;
end;
/Untested!
P;
Edited by: bluefrog on Mar 5, 2010 5:08 PM -
HOW TO EXECUTE TWO "INSERT INTO" IN ONE SQL QUERY?????
i have try the following:
INSERT INTO tab VALUES('a','b');
INSERT INTO tab VALUES('c','d');
and
INSERT INTO tab VALUES('a','b');
INSERT INTO tab VALUES('c','d');
but does not work in ORACLE 10G XE
please help!!It is working fine in Oracle 10g.
SQL> desc emp_t;
Name Null? Type
EMPNO NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)And the script is --
insert into emp_t values(7799,'Ani','CLERK');
insert into emp_t values(2233,'Rupak','SW'); --File Name is a_a.sql
commit;And, now from command prompt --
SQL> set serveroutput on
SQL>
SQL>
SQL> set lin 1000
SQL>
SQL> select * from emp_t;
EMPNO ENAME JOB
7777 Avik CLERK
6666 prithwi CLERK
7639 Roni CLERK
7499 ALLEN SALESMAN
7521 WARD SALESMAN
7566 JONES MANAGER
7654 MARTIN SALESMAN
7698 BLAKE MANAGER
7782 CLARK MANAGER
7788 SCOTT ANALYST
7839 KING PRESIDENT
EMPNO ENAME JOB
7844 TURNER SALESMAN
7876 ADAMS CLERK
7900 BARRY CLERK
7902 FORD ANALYST
7934 MILLER CLERK
5639 Atul CLERK
17 rows selected.
SQL> @C:\Personal\RND\Oracle\Misc\a_a.sql;
1 row created.
1 row created.
Commit complete.
SQL>
SQL>
SQL> select * from emp_t;
EMPNO ENAME JOB
7799 Ani CLERK
2233 Rupak SW
7777 Avik CLERK
6666 prithwi CLERK
7639 Roni CLERK
7499 ALLEN SALESMAN
7521 WARD SALESMAN
7566 JONES MANAGER
7654 MARTIN SALESMAN
EMPNO ENAME JOB
7698 BLAKE MANAGER
7782 CLARK MANAGER
7788 SCOTT ANALYST
7839 KING PRESIDENT
7844 TURNER SALESMAN
7876 ADAMS CLERK
7900 BARRY CLERK
7902 FORD ANALYST
7934 MILLER CLERK
5639 Atul CLERK
19 rows selected.Regards.
Satyaki De. -
How to execute two task at a time?
Hi.
I have made one Generic connector for an Oracle database. This is a simple connector (application tables) which inserts the user row into the database when assigned as a resource to any IdM user.
I have also created an IT resource for the creation of Database User for the same database in which i am inserting user record.
Is it possible 2 merge these 2 steps..? I mean, when i assign the resource to a user the IT resource for DB User creation also gets executed.
For example: I select a user in IdM, assign the database application resource to it which will create the same record in the target database & at the same time i also want that the IT resource for DB user also get executed at the same time/event.
I hope i have clarified the requirement :)
looking forward for some help...
Hannaa.It sounds to me like you want the user provisioned in two places, in the database table with the GTC connector and as a database user. Is that correct?
If so, I am new to OIM so I can't provide that much help but I'm sure others on this forum can. I would add the user to an access policy that grants both resources.
Regards,
Ruth -
How to display two movement type for same PO no.in same row in alv grid.
Hi All
I have one PO no suppose 1812006400 which have 2 movement type(BWART) suppose 101 & 351 i want to show the both movement
type in one row.now in my case its showing two different row.i made 1 seperate column in final internal table i.e. movement type2.Plz help us.
Kindly see attachment..Hi Samadhan,
Try the following code for merging the Movement type into single row using Control Break statements(AT END OF...AT END).
"Sort the internal table based on PO Number and movement type
SORT IT_TABLE BY PO_NUMBER BWART.
"Process the LOOP.
LOOP AT IT_TABLE INTO WA_FINAL.
WA_FINAL-PO_NUMBER = WA_TABLE-PO_NUMBER.
"Merge Movement type
IF WA_FINAL-BWART IS INITIAL.
WA_FINAL-BWART = WA_TABLE-BWART.
ELSE.
CONCATENATE WA_FINAL-BWART '/' WA_TABLE-BWART INTO WA_FINAL-BWART.
ENDIF.
AT END OF PO_NUMBER
FLAT_END = 1.
ENDAT.
IF FLAG_END = 1.
APPEND WA_FINAL TO IT_FINAL.
CLEAR: WA_FINAL,
FLAG_END.
ENDIF.
ENDLOOP.
Regards
Rajkumar Narasimman -
How to create two structures in query designer?
Hi experts,
I got the requirement to create 2 structures in query designer , as far as i concern i got to know that there will be chance to create on one for char and other for key figure,
is their any chance to create 2 structures on key figures.
If possible please help me in that.
Thanks in Advance
vasHi,
in Query at a time only 2 structures can be used, even thought there are many structures created on that infoprovider.
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/content.htm] -
How to execute two stored procedures in a mapping?
Hi All,
I have a mapping with a source and a target table. In the same mapping, I have a stored procedure attached to a post mapping. during this execution of mapping the post mapping process works fine. Now I want to add one more stored procedure and attach to one more post mapping process. currently it is not allowing, is there any work around to implement this plan. pls post your suggestions.
Thanks in Advance,
KishanHello Kishan,
The only way to archieve this currently is to create a super-procedure that calls all your stored procedures in sequence, and use the super-procedure with the post mapping operator.
Regards, Hans Henrik -
How to execute two nwds in the same computer ?
Hi Guys,
My question is in the topic. I know the same topic already exist, but I can find out it with the search engine of SDN.
Thanks to give me some link or the answer.
Regards,berthe,
I run 3 NW IDE on same machine. Just select different installation locations and separate workspaces & DTR roots.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
How to execute 2 different application from same Application Server
Hi,
I would like to know that how to execute two different applications from the same Application Server with different databases?
We are using
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Oracle Application Server 10g 10.1.2.0.2
Regards,
Hassanwhat type of applications you want to run from the same application server, Hassan?
What other DB are you using to launch it beside the one you quoted? Is it the MRep DB of infra? -
Compare two structures dynamically.
Hi,
How to compare two structures dynamically.
Thanks,
Ram.Hi,
WE can compare two structures like they are eual if their elementary components are equal.
If the structures are unequal, we can find which is longer and which is shorter.
Regards,
jaya
Maybe you are looking for
-
How to create multiple Vlan in Controller 4402
Please let me know step-by-step procedure to create multiple vlan in conroller 4402, In my topology we have vlan -1 for date and vlan - 11 for voice both are in different network, please light me detail config on controller and switch
-
Using imessage between devices
My son has an ipod touch, me an iphone4. I want to be able to use imessage to 'text' between us, but since he's only 8 I'm not happy for him to have his own apple account so we share itunes etc. But I can't seem to work out how to message between the
-
Import netinfo accounts to OD?
Anyone out there import Netinfo Accounts from Mac OS X 10.4 Server (10.4.8) into OD on 10.4 Server? Feedback/ideas? Thanks, j
-
Mountain lion airplay mirroring on apple tv
has anyone notice that airplay mirroring feature on mountain lion is not plays smoothly. i have a macbook pro late 2011. and on my macbook that i have two user accounts. the first time i upgrade the OS to mountain lion right away i tried the airplay
-
I When I use "Flash CS3 Video Encoder" I get a watermark that says "created with flip4mac WMV demo". It Is not suppose to come ready to be used with the flash version? No where says that I have to buy a third part software. Can somebody please tell m