SQL Command for deleting T-Code for roles
Hi Experts
I want to delete the transaction from the role name by using SQL Command in MS-SQL Server instead of going to /npfcg -> zwa_xyz (role name for user) and transaction code is CR01,CR01,CA01 Etc.,
I have so many transaction code which is taking time to delete one by one.
So is there any SQL Statement to delete the t-code for that rolename
Delete from tablename where t-code=xyz and rolename in ('zwa_xyz',zwa_123')
regards
Hey,
SAP does not support executing update/insert/delete SQLs on their tables,
(the only SQL they support are select, and updates that they publish in their official site, such as notes in service.sap.com/notes)
is is probably due to the fact that sap contains about 30,000 of table,
and sometimes SAP uses cluster tables (which are difficult to handle in DB)
in addition, each and every SP adds/remove table or changes existing tables.
For example, you probably don't know that changing rule, would
create a change document (cluster table - CDHDR, CDPOS and etc),
If you want, it is very easy to get the full list of the table (and the sql) that are updated
(as I mentioned before, it is not recommended to run this sql, because it is not supported!!!)
just run transaction ST05 while deleting transaction from role,
when you display the list, press shift+F8 (or summerized trace from the menu),
and they search (Ctrl+F) the words: update or insert or delete.
You can use standard API such as BAPIs (such as BAPI_USER_*)/IDOCs(such as USERCHANGE),
and execute them from the portal and any other place (even in EXCEL or OS->meaning command line).
Here more information on executing RFCs:
1. in order to execute an RFC from excel, you should install SAP gui on the client that would execute the RFCs to the SAP, and you would have to write VBA code.
2. in order to execute an RFC from command line, this is a little bit more difficult,
sap provide RFC sdk (in service.sap.com/SWDC)
3. in order to execute an RFC from .net you can use the .net connector,
more information is here:
NW RFC SDK - is there a guide somewhere?
4. You can also, execute an RFC using Web service,
by creating web-service from the RFC in SE37.
I guess It will take more time to develop this they just executing the SQL.
If you need more information in executing an RFC,
please decide which option is your favorite,
and I would add information...
Similar Messages
-
Adding/Deleting T codes to roles. Finding the correct roles to add/delete T
Hi Folks
I would like solutions to 3 questions.
1) How do you Add/Delete transaction codes to roles (ECC6)
2) How do you find the correct roles to Add/Delete these T codes
3) Has anyone any documentation and or screenshots on Versa, the Compliance Calibrator.
We are using single roles within composite roles.
Useful answers will be rewarded.
Thank you very much
Mark WHi Mark,
Typically the functional team or organisational design team will specify the roles required and the transaction assignment to those roles. By working with them, you can understand what part of the business processes the roles represent and get an idea about which transactions go in what roles. They will also be able to advise if a new role is required id a transaction is missing.
The allocation of tx to roles should only be approved by role owners or appropriate responsible resource, and they should stipulate exactly which roles those tcodes go into. If you have not been involved in the role design then it is not appropriate for them to expect you to make those kind of decisions.
All of the recent compliance calibrator docs are on the service marketplace, I'm sure that the basis team on your current project will either give you their OSS ID to let you download them, or alternatively will download the docs for you if they have concerns about sharing the ID. From memory, if you have security certification, you should be able to get an individual OSS ID from SAP.
There is some high level info available from www.sap.com/grc and a brief overview of an install of CC5.1 here: http://www.*********************/sox_sod/sox_sod.htm
Hope that helps
Cheers
Alex -
hi
when I try to connect some bluetooth devices I get asked for my pass code for the mac air .
I never had 1 is there a default code
thanks
robthe shaker wrote:
is there a default code
no. -
I'm looking for latest X-Code for Lion
I'm looking for latest X-Code for Lion. AppStore shows me only 10.8.x and up.
Go to this page: https://developer.apple.com/downloads/index.action?name=Xcode, sign in, and find Xcode 4.6.3 (it's on Page 2).
-
I have asked for the access code for the Photoshop that I have purchased.
I have applied for an access code for the Photoshop that I have purchased. I sent a payslip as well as registration as a teacher. Can I get the access code from you? I purchaed the product early last month and have not recieved any information.
Thanking you for your time and helpdo you have a serial number? have you installed photoshop? are you trying to activate and are you looking for an activation code?
-
SQL Command conversion in abap code
Hi,
I want to implement the UNION, INTERSECT and MINUS SQL commands in abap code. Please give me the appropriate solutions asap.
For Example:
select field1, field2, . field_n
from tables
<b>UNION</b>
select field1, field2, . field_n
from tables;
select field1, field2, . field_n
from tables
<b>MINUS</b>
select field1, field2, . field_n
from tables;
select field1, field2, . field_n
from tables
<b>INTERSECT</b>
select field1, field2, . field_n
from tables;
Thanks,
RaviHi Ravi
Check out this procedure...
DATA: FRANKFURT(4) TYPE X,
FRISCO(4) TYPE X,
INTERSECT(4) TYPE X,
UNION(4) TYPE X,
BIT TYPE I.
DATA: CARRID TYPE SPFLI-CARRID,
CARRIER LIKE SORTED TABLE OF CARRID
WITH UNIQUE KEY TABLE LINE.
DATA WA TYPE SPFLI.
SELECT CARRID FROM SCARR INTO TABLE CARRIER.
SELECT CARRID CITYFROM FROM SPFLI
INTO CORRESPONDING FIELDS OF WA.
WRITE: / WA-CARRID, WA-CITYFROM.
READ TABLE CARRIER FROM WA-CARRID TRANSPORTING NO FIELDS.
CASE WA-CITYFROM.
WHEN 'FRANKFURT'.
SET BIT SY-TABIX OF FRANKFURT.
WHEN 'SAN FRANCISCO'.
SET BIT SY-TABIX OF FRISCO.
ENDCASE.
ENDSELECT.
INTERSECT = FRANKFURT BIT-AND FRISCO.
UNION = FRANKFURT BIT-OR FRISCO.
SKIP.
WRITE 'Airlines flying from Frankfurt and San Francisco:'.
DO 32 TIMES.
GET BIT SY-INDEX OF INTERSECT INTO BIT.
IF BIT = 1.
READ TABLE CARRIER INDEX SY-INDEX INTO CARRID.
WRITE CARRID.
ENDIF.
ENDDO.
SKIP.
WRITE 'Airlines flying from Frankfurt or San Francisco:'.
DO 32 TIMES.
GET BIT SY-INDEX OF UNION INTO BIT.
IF BIT = 1.
READ TABLE CARRIER INDEX SY-INDEX INTO CARRID.
WRITE CARRID.
ENDIF.
ENDDO.
This produces the following output list:
The program uses four hexadecimal fields with length 4 - FRANKFURT, FRISCO, INTERSECT, and UNION. Each of these fields can represent a set of up to 32 elements. The basic set is the set of all airlines from database table SCARR. Each bit of the corresponding bit sequences representes one airline. To provide an index, the external index table CARRIER is created and filled with the airline codes from table SCARR. It is then possible to identify an airline using the internal index of table CARRIER.
In the SELECT loop for database table SPFLI, the corresponding bit for the airline is set either in the FRANKFURT field or the FRISCO field, depending on the departure city. The line number SY-TABIX is determined using a READ statement in which no fields are transported.
The intersection and union of FRANKFURT and FRISCO are constructed using the bit operations BIT-AND and BIT-OR.
The bits in INTERSECT and UNION are read one by one and evaluated in two DO loops. For each position in the fields with the value 1, a READ statement retrieves the airline code from the table CARRIER.
Comparing Bit Sequences
Use the following three operators to compare the bit sequence of the first operand with that of the second:
<operator>
Meaning
O
bits are one
Z
bits are zero
M
bits are mixed
The second operand must have type X. The comparison takes place over the length of the second operand. The first operand is not converted to type X.
The function of the operators is as follows:
O (bits are one)
The logical expression
<f> O <hex>
is true if the bit positions that are 1 in <hex>, are also 1 in <f>. In terms of set operations with bit sequences, this comparison is the same as finding out whether the set represented by <hex> is a subset of that represented by <f>.
Z (bits are zero)
The logical expression
<f> Z <hex>
is true if the bit positions that are 1 in <hex>, are 0 in <f>.
M (bits are mixed)
The logical expression
<f> M <hex>
is true if from the bit positions that are 1 in <hex>, at least one is 1 and one is 0 in <f>.
Caution: The following programs are no longer supported in Unicode systems:
REPORT demo_log_expr_bits .
DATA: text(1) TYPE c VALUE 'C',
hex(1) TYPE x,
i TYPE i.
hex = 0.
DO 256 TIMES.
i = hex.
IF text O hex.
WRITE: / hex, i.
ENDIF.
hex = hex + 1.
ENDDO.
The output is as follows:
00 0
01 1
02 2
03 3
40 64
41 65
42 66
43 67
Here, the bit structure of the character 'C' is compared to all hexadecimal numbers HEX between '00' and 'FF' (255 in the decimal system), using the operator O. The decimal value of HEX is determined by using the automatic type conversion during the assignment of HEX to I. If the comparison is true, the hexadecimal number and its decimal value are displayed on the screen. The following table shows the bit sequences of the numbers:
Thanks
Ashok -
Steps for deleting release stretagy for Purchase Order
Hi,
Could you please help in deleting / cancelling the exisiting PO release stretagy? I need to create new release stretagy which is totally different from the existing one.
What are the steps in cancelling existing release strategy.
Can the same steps be used for cancelling release stretagy for Purchase Requistion?
Thanks.
AnandHi,
you goto
spro> mm>purchasing> purchase order> release procedure
there you go to to release strategy
then follow following steps.
1.delete release strategy
2.delete release codes
3.delete release groups
then to create new release strategy and follow following steps
1 create characteristics ( use table cekko)
2 create class( class type 032)
3 . create release group and assign class to it.
4 create release codes
5 then create release strategy using release group and release code.
hope this will solve your problem
Regards,
Vijay -
BAPI for updating tax code for purchase order..
Hi friends,
I have one requirement to change tax code for multiple Purchase order but the
thing is they should not go for release.So what should I prefer BDC or BAPI.
I am thinking to implement it through BAPI, but I don't know what procedure to follow.
If somebody can provide me a small guiding steps or code then it will be very helpful for me..
Thnaks in advance..
Useful answers will be rewarded with points....
Regards,
Rajesh AkarteHi Friend,
BAPI_ACC_PURCHASE_ORDER_CHECK Accounting: Check Purchase Order
BAPI_ACC_PURCHASE_ORDER_POST Accounting: Post Purchase Order
MEWP BAPIs Purchase order
BAPI_PO_CREATE Create Purchase Order
BAPI_PO_GETDETAIL Display Purchase Order Details
BAPI_PO_GETITEMS List Purchase Order Items
BAPI_PO_GETITEMSREL List Purchase Orders for Release (Approval): New as of 4.0A
BAPI_PO_GETRELINFO Display Detailed Release (Approval) Information on Purchase Order
BAPI_PO_GET_LIST List Purchase Orders - Only up to 4.0A
BAPI_PROCOPERATION_GETCATALOGS Determine Valid Catalogs as Value Help
BAPI_PROCOPERATION_GETINFO Analysis of Objects to be Generated in Purchasing
<b>AND</b>
Use condition type NAVS with access sequence 0003 to default the taxcode in the purchase order item using conditions. Materials Management -> Purchasing -> Purchasing order processing ->define screen layout at document level. Search for the transaction ME21.Double click on ME21. Then search for TaxCode
Use condition type NAVS with access sequence 0003 to default the taxcode in the purchase order item using conditions.
A2: Go to IMG.
Materials Management -> Purchasing -> Purchasing order processing ->define screen layout at document level.
Search for the transaction ME21.Double click on ME21. Then search for TaxCode. It is advisable to configure also the info record. The tax code should be a required entry, and whatever you specify here will be the default value in the Purchase order.
Materials Management -> Purchasing -> Purchasing info record -> define screen layout.
When you get here you search for the transaction ME12 ,double click here; search for Input VAT indicator.
Regards ,
Kumar. -
Steps for creating T.code for SAP Query
Hi Friends,
I have developed and SAP Query through SQ01, i want to assign an T.code for that.
What are the steps we have to do in SE93.
Regards
Kumar MHi
Create a report pgm with the following code & create a T.Code for this pgm in se93.
data: gv_test type sy-repid.
DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
GV_RNAME TYPE AQADEF-PGNAME .
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = ''
USERGROUP = GV_USERGROUP
QUERY = GV_QUERY
IMPORTING
REPORTNAME = GV_RNAME
* For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
gv_test = GV_RNAME.
submit (gv_test) via selection-screen and return. -
NETFLIX IS ASKING FOR AN ACTIVATION CODE FOR MY APPLETV AND I CAN'T FIND ONE?
netflix wants me to enter my email and password every time on my Appletv. Is there an activation code for the appletv?
No, it doesn't. I don't understand.. No registered products on one hand and downloaded apps and fully paid annual subscription to the complete package of products Adobe...
-
Net flix is asking for an activation code for my apple tv?
net flix is asking for an activation coed for my apple tv?
There is no code, you simply select netflix under the internet tab and login to your account.
-
The PL/SQL command (select/update) was hanged for long time
We have a proc program to access a 160 rows table (F_TRDATA), however, it always hanged for a long time, then it was retarted by our defence process.
(1)Table structure:
SQL> desc F_TRDATA;
Name Null? Type
SCP_NBR NUMBER
A_INDEX NUMBER
A_BITMAP LONG
SQL> select index_name, column_name from user_ind_columns where TABLE_NAME='F_TRDATA';
INDEX_NAME
COLUMN_NAME
I_F_TRDATA
SCP_NBR
I_F_TRDATA
A_INDEX
(2)Use DBLINK between two different machines:
LONG rtc;
char f_tabname[100];
EXEC SQL BEGIN DECLARE SECTION;
char srvname[100];
char dblink_name[100];
EXEC SQL END DECLARE SECTION;
sprintf(srvname,"%s",(const char*)STRING(INOBJECT::srvname).ToUpper());
EXEC SQL SELECT DB_LINK INTO :dblink_name FROM ALL_DB_LINKS WHERE OWNER=:srvname;
db.setLastSqlCode(sqlca.sqlcode);
if (sqlca.sqlcode!=0)
TRACE("SELECT DB_LINK error "<<sqlca.sqlerrm.sqlerrmc)
return VAL_ERROR;
else
TRACE("SELECT DB_LINK OK");
sprintf(f_tabname,"F_%s@%s",(const char*)STRING(parent->getClassName()),(const char*)STRING(dblink_name));
TRACE_SHOW(f_tabname);
rtc=get_free_ri(f_tabname);
EXEC SQL COMMIT;
(3)get_free_ri ():
memset(s_ln,0,800);
sprintf(s_ln,"SELECT A_BITMAP FROM %s WHERE A_INDEX=:a AND SCP_NBR=:b \
FOR UPDATE OF A_BITMAP",tab);
EXEC SQL PREPARE S FROM :s_ln;
if (sqlca.sqlcode)
{TRACE(""<<s_ln);
TRACE(""<<sqlca.sqlerrm.sqlerrmc);
EXEC SQL DECLARE C_FREE_RI CURSOR FOR S;
if (sqlca.sqlcode) {TRACE("DECLARE C_FREE_RI : "<<sqlca.sqlerrm.sqlerrmc)};
memset(s_ln,0,800);
sprintf(s_ln,"UPDATE %s SET A_BITMAP=:a WHERE A_INDEX=:b AND SCP_NBR=:c",
tab);
EXEC SQL PREPARE S FROM :s_ln;
EXEC SQL EXECUTE S USING :bitmap,:rand_ind,:scp;
switch(sqlca.sqlcode)
{case 0: /* FOUND */
(4)Trace tools:
select SQL_TEXT from v$sql where HASH_VALUE=(select SQL_HASH_VALUE from v$session where process=10775);
select SQL_TEXT from v$sql where HASH_VALUE=(select PREV_HASH_VALUE from v$session where process=10775);
select XIDUSN,object_id,locked_mode from v$locked_object where object_id =
(select l.object_id from v$locked_object l,v$session s where s.sid=l.session_id and s.process=10775);
select s1.SEQ#,s1.P1,s1.P1TEXT,s1.P2,s1.P2TEXT,s1.P3,s1.P3TEXT,s1.EVENT,e.PARAMETER1,e.PARAMETER2,e.PARAMETER3,s1.WAIT_TIME,s1.SECONDS_IN_WAIT,s1.STATE from
v$session_wait s1,v$session s2,v$event_name e where s1.sid=s2.sid and e.name=s1.EVENT and s2.process=10775;
(5)Trace info:
SQL> start P6-3.sql1
SQL_TEXT
SELECT "A1"."A_BITMAP" FROM "F_TRDATA" "A1" WHERE "A1"."A_INDEX"=:A AND "A1"."SCP_NBR"=:B FOR UPDATE
OF A1."A_BITMAP"
SELECT "A1"."A_BITMAP" FROM "F_TRDATA" "A1" WHERE "A1"."A_INDEX"=:A AND "A1"."SCP_NBR"=:B FOR UPDATE
OF A1."A_BITMAP"
SQL_TEXT
SELECT "A1"."A_BITMAP" FROM "F_TRDATA" "A1" WHERE "A1"."A_INDEX"=:A AND "A1"."SCP_NBR"=:B FOR UPDATE
OF A1."A_BITMAP"
SELECT "A1"."A_BITMAP" FROM "F_TRDATA" "A1" WHERE "A1"."A_INDEX"=:A AND "A1"."SCP_NBR"=:B FOR UPDATE
OF A1."A_BITMAP"
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
1897 1413697536 driver id 1
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
#bytes 0
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
SQL*Net message from client
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
driver id
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
#bytes
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
0 197725
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
WAITING
SEQ# P1 P1TEXT P2
P2TEXT P3
P3TEXT
EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
SQL> spool off
SQL> start P6-4.sql1
SQL_TEXT
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
SQL_TEXT
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
UPDATE "F_TRDATA" "A1" SET "A_BITMAP" = :A WHERE "A1"."A_INDEX"=:B AND "A1"."SCP_NBR"=:C
SEQ# EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
657 SQL*Net message from client
driver id
#bytes
SEQ# EVENT
PARAMETER1
PARAMETER2
PARAMETER3 WAIT_TIME SECONDS_IN_WAIT
STATE
0 311573
WAITING
SQL> spool off
(6)We found no locked sessions, and the proecess was hanged when it executed SELECT and UPDATE command. However, the system CPU traffic and I/O traffic was not high.up?
up ... in the sky?
up ... my shirt sleeve?
up ... above the streets and houses, rainbow's flying high, everyone can see a rainbow, in the sky.... paint the whole world with a RAINBOW!
up ... yours? -
Help for Modifying the Code for display a 7 column table
Hi,
Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
Right now, All my result are in a 1 colomn table and and 1 row,
thanks,
Roseline
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;Sorry:
I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
1 DVD can contain from 5000 files
ex:
Ex:
select DVDNAME, NomFichier fromTABLE where project = 2
*85*
2635080 2636608 2637084 2637091 2637092 2637093 2637147
2637152 2637153 2637154 2637155 2637156 2637157 2637164
*86*
2639497 2639498 2639502 2639504 2639505 2639506 2639507
2639508 2639509 2639511 2639512 2639519 2639521 2639522
******* ******* ******* ******** ********* ******** ******** With this code following code,
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;I have the following result
85
2635080 2636608 2637084 2637091 2637092 2637093 2637147 2637152 2637153 2637154 2637155 2637156 2637157 2637164 2637169 2637170 2637172 2637173 2637202 2637203 2637213 2637214 2637215 2637216 2637217 2637218 2637219 2637220 2637234 2637235 2637236 2637237 2637239 2637240 2637241 2637242 2637244 2637246 2637247 2637249 2637250 2637251 2637252 2637253 2637257 2637263 2637266 2637269 2637270 2637274 2637276 2637279 2637284 2637290 2637291 2637292 2637293 2637294 2637295 2637296 2637301 2637303 2637304 2637305 2637306 2637311 2637320 2637322 2637324 2637331 2637333 2637336 2637352 2637353 2637354 2637358 2637359 2637360 2637361 2637362 2637363 2637364 2637371 2637378 2637383 2637384 2637385 2637386 2637387 2637388 2637391 2637392 2637395 2637400 2637405 2637412 2637418 2637419 2637423 2637443 2637446 2637453 2637461 2637470 2637483 2637484 2637485 2637494 2637502 2637506 2637507 2637519 2637532 2637536 2637537 2637539 2637540 2637541 2637544 2637553 2637554 2637555 2637557 2637575 2637578 2637579 2637580 2637581 2637582 2637583 2637587 2637588 2637589 2637590 2637591 2637592 2637593 2637594 2637595 2637597 2637604 2637605 2637606 2637611 2637619 2637628 2637629 2637630 2637631 2637632 2637633 2637637 2637645 2637647 2637648 2637650 2637651 2637657 2637658 2637659 2637661 2637662 2637668 2637674 2637676 2637677 2637679 2637680 2637681 2637684 2637685 2637686 2637688 2637689 2637691 2637692 2637694 2637696 2637700 2637701 2637702 2637703 2637704 2637705 2637706 2637707 2637722 2637725 2637741 2637749 2637751 2637752 2637753 2637762 2637764 2637771 2637777 2637779 2637781 2637783 2637785 2637789 2637793 2637809 2637810 2637811 2637812 2637823 2637827 2637836 2637837 2637838 2637845 2637850 2637854 2637855 2637857 2637858 2637859 2637860 2637861 2637866 2637867 2637870 2637874 2637875 2637876 2637877 2637878 2637879 2637880 2637881 2637884 2637885 2637886 2637887 2637891 2637892 2637893 2637894 2637895 2637897 2637898 2637899 2637900 2637901 2637902 2637904 2637906 2637907 2637908 2637909 2637913 2637914 2637916 2637917 2637918 2637919 2637920 2637921 2637923 2637926 2637928 2637929 2637930 2637933 2637935 2637936 2637937 2637939 2637940 2637941 2637942 2637943 2637949 2637950 2637951 2637952 2637954 2637955 2637958 2637965 2637967 2637969 2637970 2637971 2637973 2637978 2637985 2637986 2637987 2637990 2637991 2637992 2637993 2638001 2638002 2638005 2638007 2638009 2638016 2638018 2638020 2638023 2638027 2638029 2638033 2638034 2638035 2638036 2638039 2638043 2638044 2638045 2638046 2638048 2638049 2638052 2638053 2638055 2638057 2638058 2638063 2638064 2638065 2638067 2638068 2638069 2638072 2638076 2638080 2638081 2638082 2638083 2638084 2638087 2638089 2638096 2638097 2638098 2638099 2638100 2638101 2638102 2638103 2638105 2638106 2638108 2638110 2638113 2638117 2638118 2638120 2638121 2638122 2638124 2638126 2638128 2638134 2638135 2638136 2638137 2638139 2638140 2638141 2638143 2638146 2638147 2638148 2638149 2638150 2638151 2638152 2638153 2638154 2638155 2638157 2638159 2638167 2638168 2638172 2638173 2638174 2638175 2638181 2638184 2638185 2638187 2638192 2638193 2638198 2638199 2638200 2638202 2638203 2638205 2638207 2638208 2638209 2638210 2638211 2638212 2638214 2638218 2638219 2638220 2638221 2638223 2638230 2638232 2638236 2638243 2638245 2638246 2638247 2638248 2638258 2638264 2638265 2638268 2638279 2638280 2638281 2638283 2638284 2638287 2638305 2638309 2638310 2638311 2638312 2638316 2638317 2638318 2638319 2638321 2638324 2638330 2638331 2638332 2638333 2638334 2638335 2638336 2638337 2638338 2638339 2638340 2638341 2638342 2638344 2638347 2638349 2638352 2638353 2638364 2638372 2638374 2638376 2638379 2638390 2638391 2638392 2638393 2638394 2638395 2638402 2638405 2638407 2638414 2638421 2638422 2638429 2638430 2638432 2638434 2638438 2638442 2638444 2638457 2638467 2638469 2638474 2638478 2638479 2638480 2638484 2638486 2638488 2638489 2638491 2638506 2638507 2638508 2638510 2638511 2638512 2638513 2638514 2638515 2638516 2638517 2638518 2638519 2638520 2638521 2638522 2638523 2638525 2638527 2638529 2638530 2638531 2638532 2638536 2638537 2638563 2638564 2638567 2638568 2638569 2638618 2638628 2638629 2638634 2638644 2638647 2638649 2638653 2638658 2638666 2638671 2638675 2638677 2638679 2638680 2638685 2638687 2638689 2638691 2638692 2638693 2638694 2638695 2638696 2638697 2638699 2638701 2638702 2638703 2638704 2638705 2638706 2638707 2638709 2638710 2638711 2638712 2638713 2638714 2638720 2638721 2638725 2638726 2638728 2638731 2638732 2638736 2638737 2638739 2638740 2638741 2638744 2638745 2638747 2638748 2638753 2638754 2638755 2638756 2638757 2638760 2638763 2638764 2638768 2638777 2638781 2638782 2638783 2638791 2638793 2638795 2638796 2638798 2638799 2638801 2638810 2638811 2638813 2638814 2638815 2638816 2638817 2638818 2638832 2638833 2638834 2638835 2638836 2638846 2638847 2638848 2638849 2638850 2638851 2638852 2638854 2638855 2638857 2638858 2638859 2638860 2638861 2638862 2638864 2638866 2638867 2638868 2638869 2638870 2638872 2638873 2638874 2638876 2638883 2638884 2638885 2638893 2638895 2638900 2638923 2638927 2638928 2638929 2638931 2638932 2638935 2638936 2638937 2638939 2638942 2638943 2638949 2638952 2638954 2638955 2638956 2638957 2638958 2638959 2638960 2638961 2638962 2638968 2638976 2638978 2638979 2638980 2638983 2638984 2638986 2638988 2638994 2638995 2638998 2638999 2639001 2639002 2639003 2639006 2639011 2639012 2639013 2639014 2639016 2639017 2639018 2639024 2639025 2639030 2639036 2639038 2639039 2639043 2639045 2639046 2639049 2639055 2639057 2639064 2639066 2639067 2639068 2639069 2639072 2639074 2639076 2639079 2639080 2639081 2639085 2639086 2639092 2639098 2639099 2639100 2639101 2639103 2639104 2639105 2639106 2639107 2639109 2639110 2639111 2639112 2639125 2639128 2639129 2639131 2639132 2639133 2639134 2639137 2639138 2639139 2639144 2639146 2639148 2639149 2639159 2639162 2639164 2639165 2639167 2639177 2639179 2639186 2639187 2639188 2639191 2639196 2639197 2639204 2639205 2639208 2639214 2639217 2639218 2639220 2639221 2639223 2639224 2639225 2639226 2639227 2639230 2639236 2639237 2639238 2639239 2639241 2639242 2639246 2639248 2639260 2639262 2639263 2639264 2639270 2639271 2639292 2639293 2639296 2639298 2639299 2639300 2639302 2639303 2639304 2639305 2639306 2639307 2639308 2639309 2639311 2639315 2639316 2639317 2639319 2639321 2639322 2639323 2639324 2639325 2639326 2639327 2639328 2639329 2639330 2639331 2639333 2639336 2639338 2639339 2639341 2639342 2639343 2639344 2639345 2639346 2639348 2639349 2639350 2639356 2639358 2639359 2639360 2639361 2639362 2639364 2639365 2639367 2639368 2639369 2639370 2639373 2639374 2639376 2639378 2639379 2639381 2639386 2639387 2639388 2639389 2639391 2639394 2639396 2639397 2639398 2639400 2639401 2639404 2639405 2639406 2639409 2639410 2639411 2639412 2639419 2639423 2639426 2639427 2639429 2639434 2639437 2639440 2639446 2639448 2639450 2639457 2639465 2639466 2639467 2639468 2639469 2639472 2639473 2639474 2639475 2639478 2639485 2639486 2639487 2639488 2639489 2639491 2639492 2639495
86
2639497 2639498 2639502 2639504 2639505 2639506 2639507 2639508 2639509 2639511 2639512 2639519 2639521 2639522 2639523 2639525 2639527 2639530 2639542 2639543 2639552 2639553 2639554 2639555 2639559 2639560 2639561 2639563 2639564 2639565 2639567 2639574 2639575 2639578 2639579 2639581 2639582 2639584 2639585 2639586 2639587 2639588 2639589 2639591 2639595 2639596 2639597 2639598 2639599 2639605 2639618 2639621 2639623 2639624 2639627 2639628 2639637 2639638 2639639 2639644 2639647 2639648 2639649 2639650 2639654 2639658 2639662 2639665 2639669 I have some sample date here:
http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
I want to know if it's possible to achieve what I want based on the code here.
I'm working on Application Express 3.1.2.00.02
thanks!!
Roseline -
Looking for an ABAP-code for the customer-Exit Variable
Hello,
I have defined a Variable (Interval) which should be processed through Customer-Exit on characteristic Supplier-Date (date format). This Customer-Exit Variable is called ZDATE.
We have another time characteristic Fiscal year / period (0FISCPER) which has single mandatory input variable for ex. 003.2011. This input variable is called ZFISCPER.
Now I have to write an ABAP-Code where the customer exit variable ZDATE is derived (fiscal last year to last period) from input variable ZFISCPER in INCLUDE ZXRSRU01.
Means when the input variable (ZFISCPER) is 003.2011 then the customer exit variable ZDATE should be calculated in INCLUDE ZXRSRU01 as 01.01.2010 u2013 28.02.2011 (fiscal last year to last period).
Since I am quite new in ABAP, I will be grateful if you could write me sample ABAP for this.
Many thanks.Hi,
should be something like:
DATA: l_s_range TYPE rsr_s_rangesid,
input LIKE sy-datum.
When 'ZDATE'
CONCATENATE '0101' 0FISCPER+3(4)-1 into l_s_range-low. "You get 01012010
CONCATENATE '01' Fiscper+1(6) into input. "You get 01032011
l_s_range-high = input-1. "You get 28022011
APPEND l_s_range TO e_t_range.
Greetings
Roman -
Looking for sample java code for dvt:hierarchyViewer
Hi.
We currently use Jdeveloper 11g Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
Recently, we have seen some nice demos for Manager-Employees tree. Here is one @ http://jdevadf.oracle.com/dvt-faces-demo/faces/dvtTagGuide/ariaXml.jspx?_adf.ctrl-state=mmpgr9aco_4.
If I construct hierarchyViewer from master-detail view objects, I can't achieve dynamic levels. So I believe I need to create a treeModel binding to recursively generate the hierarchy.
Can someone kindly show me a working example for this implementation? Your help is highly appreciated. Now I have to reverse engineer it.
Sam
Edited by: user719281 on Sep 2, 2009 2:35 PM
Edited by: user719281 on Sep 2, 2009 2:35 PMHi Juan,
Thanks for the quick reply. I already have a similar example http://blogs.oracle.com/shay/2009/07/exploring_the_hierarchy_viewer.html and I made my code work.
However, I realize I must pre-define view objects (and their levels) to achieve this goal. What if I need to use managed bean to dynamically generate the hierarchy? In other words, the level of hierarchy is unknown at run time, the managed bean must be called recursively to generate the next level of nodes.
In the current source code,
<dvt:hierarchyViewer inlineStyle="width:100%;height:600px;" id="hv1"
value="#{bindings.EventsView1. *treeModel* }"
selectionListener="#{bindings.EventsView1. *treeModel* . *makeCurrent* }"
layout="hier_horz_left">
The hierarchyViewer seems to be built around treeModel but the closest I have found is Frank Nimphius's Re: Building a Tree Table using Recursive table
Without recursive calling, i don't think I can get similar hierarchy in http://jdevadf.oracle.com/dvt-faces-demo/faces/dvtTagGuide/ariaXml.jspx?_adf.ctrl-state=rka5d3wx6_9. I have been investigating this for last few days. Correct me if I am wrong :-) Thanks again!
sam
Edited by: user719281 on Sep 1, 2009 5:17 PM
Edited by: user719281 on Sep 1, 2009 5:18 PM
Maybe you are looking for
-
How can I send to a different URL link than what the text states in Acrobat?
Hi there I know how to create URL links in my document using Acrobat but How can I create a link that goes to a different URL desintation other than the one the text states? For example the text states www.aaaaa.com and I want it to state this, but I
-
What happened to reliable wireless in a mac mini...?
My Mac Mini is having fits with its Airport card. If it recognizes it then it will connect for about 30 seconds then drop the signal and will not reconnect. The rest of the time it won't even acknowledge that it has an Airport card. If I switch over
-
IPhone 4 does not see my home WiFi network anymore.
All of a sudden, a few days ago, my wife's iPhone 4 (initially with iOS 6.0.1, now with iOS 6.1) does not see anymore my home WiFi network (created by a Time Capsule), to which it connected automatically. This has worked flawlessly for years but now
-
Problems starting WLS 7 server ... checkLicense NullPointerException
Hi there, We have a clustered environment running WebLogic Server 7.0 Service Pack 4. In our cluster we're running two WLS instances essentially as webservers, to serve up static content. Starting and stopping the WLS instances is done using scripts
-
Embeding WebDynpro component into another webdynpro component
Hi, I am trying to embed one (embeded) WebDynPro Component in to another(inner) . I have followed the tutorials for Server side eventing at http://help.sap.com/saphelp_nw04/helpdata/en/24/243ca46e1c334f8a6f8b0792656bc7/content.htm Here are the ste