How to delete Class
I have created class for some new charecteristics, which for some reasons I have to delete now. when i delete those class in CL02 the message shows : objects allocated ;
Can you please help me too delete that,
thanks
Arif
Thanks for the reply,
But I have to delete class from CL02 transaction.Is there any procedure to delete from there?
regards
Arif
Similar Messages
-
Hi All,
I used se19 to create Enhancement Spot : ARC_FI_DOCUMNT to ZARC_FI_DOCUMNT, and I created a BAdI ZFI_DOCUMNT_CHECK from FI_DOCUMNT_CHECK in ZARC_FI_DOCUMNT, then I implemented a Implementing Class ZCL_EXM_IM_FI_DOCUMNT_CHECK for method IF_EX_FI_DOCUMNT_CHECK~CHECK_FOR_ARCHIVING.
Finally, I deleted ZARC_FI_DOCUMNT and recreate ZARC_FI_DOCUMNT by T-Code SE19 for testing, i found Implementing Class ZCL_EXM_IM_FI_DOCUMNT_CHECK program still in the SAP, but I can't delete this Implementing Class & Program.
How can I delete program & customize Implementing class ZCL_EXM_IM_FI_DOCUMNT_CHECK In SAP?
Best regards,
EricHi Eric,
Proceed as follows.
1. Goto T-Code SE24
2. enter your class name
3. click delete button
Or you can also delete classes from SE80.
You can find class under your Package Name->Class Library->Classes
Regards
Ahsan
Edited by: Ahsan Majeed on Feb 3, 2010 12:05 PM -
How to delete the queries in BW Production which are no longer existing.
Hi,
How to delete the queries in BW production which are no longer existing in DEV.
1. I tried Using RSZDELETE in Production it is not getting deleted and the below message given.
Query object 4A7V83T3RB4ABIOKSDJT2HWDL is blocked. Deletion has been cancelled.
2. I tried creating another query in dev with the same technical name and send a transport with deletion
it is not working.
Please advise me on this for any function module or any other method.
Thanks
SuryaHi,
If you transported the query from DEV and now you want to delete it, you should open a BEx request (Dev Class under which it was originally transported -- or-- Standard - type) in DEV delete the query and move the transport to Production.
As far as your error is concerned, usually when you can delete a query using the delete option in query designer itself,
Business Explorer> query-> delete objects , when you press execute the system offers you a list of dependent objects on the query(workbook,views), in case the sysytem is unable to delete them i.e.they being used as a input query for a characteristic variable (replacement path),then system throws this error.You can delete these all depndents under there prescribed roles , fav s & then proceed.
Hope this will be expedite.
Thax & regards.
Vaibhave Sharma -
How to delete all objects in a package?
Hello,
I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?
Best Regards
VolkerThese are really 3 questions??
1. To delete objects in a request there are a number of ways, here is one:
Position cursor on modifiable request.
Double click on request and choose 'Objects' tab
Choose object line you want to delete and click 'Delete'
Save your changes.
2. To delete objects in a Dev Class:
Go to work bench --> edit object, Class and give your class name, you will see delete option at the bottom of the screen.
3. How to delete all objects in a package:
here is a link with the steps you need for this: http://benxbrain.com/en/index.do?onInputProcessing(brai_object_thread)&001_threadid=0000161442&sysid=WP5&pgmid=R3TR&object=DOMA&obj_name=DEVCLASS&child_param= -
How to delete the specified line in file?
How to delete the specified line in file? In case of deleting a specified line in a file, how to do?
Line 1
Line 2
Line 3
Line 4
Line 5
The case is a file including the above content. Now I wanna to delete the "Line 3" and how to realize the action in Java?An alternative solution can be :
import java.io.LineNumberReader;
import java.io.IOException;
import java.io.File;
import java.io.FileReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
public class LineDeleter {
public static void main(String args[]){
try {
//suppose you want to delete line 3
int lineToBeDeleted = 3;
File f = new File("line.txt");
long fileSize = f.length();
//Wrap the FileReader with a LineNumberReader. It will help you
//identify the lines.
LineNumberReader lnr = new LineNumberReader( new FileReader(f));
//Wrap the FileWriter object with BufferedWriter object. Create it with the buffersize
//equal to the file size.
BufferedWriter bw = new BufferedWriter(new FileWriter(new File("line1.txt")),(int)fileSize);
//Wrap BufferedWriter object with PrintWriter so that it allows you
//to print line by line
PrintWriter pw = new PrintWriter(bw);
String s=null;
while ( (s=lnr.readLine())!=null ){
System.out.println(s);
int lineNumber = lnr.getLineNumber();
//match the line number
if(! (lineNumber==lineToBeDeleted)){
pw.println(s);
pw.flush();
lnr.close();
pw.close();
catch(Exception e){System.out.println(e);}
If you want you can rename the line1.txt to the original file name.
I hope this helps.Good luck!!!!!! -
How to delete a UI element in a "safe" way?
When I delete/cut/copy a UI element from a project.
I cannot rebuild/archive the project due a "classpath" problem.
The project's structure is damaged and a lot of errors are generated.
1) How to delete UI elements from the layout without damage the project's structure?
2) If the project's structure is damaged. Is there an easy way to fix it?
(I tried the "repair" option from project name's context menu - didn't help).
Also, I tried to "organize imports" - didn't help either.
http://img67.imageshack.us/img67/4927/errors0ph.jpg
Thanks, OmriWell, failing everything else, there is a way to do this if you have deleted an element and the project has become damaged.
In your Windows file explorer, browse to the project directory, search for and delete all the ".class" and ".java" files. Now browse through all the project subdirectories, open every file in Notepad, and search for references to the object which you deleted, and delete those references.
You need to be really careful when you do this, because you can totally ruin the Web Dynpro project. But if done correctly, it can revive a project which has run into the problem which you describe.
Walter -
How to delete parent child relation in Toplink
Hi All,
I have 3 tables A,B,C.
In Table A ,I am saving record.
Table B & C has parent child relation.
B-->Parent
C-->Child
So I want to save records in Table A.
And delete from child(C) 1st then from parent(B).
I m writing my code as,
em.getTransaction().begin();
em.persist(Table A);//save in Table A
em.remove(em.merge(Table B));//Remove from Parent
But how to delete records from child table then from parent table.
Thanks
SandipIf you have a @OneToOne relationship between two entities, the join column information is used to order the SQL when you remove two entities. For example, if I have:
@Entity
public class Employee implements Serializable {
@OneToOne
@JoinColumn(name="ADDR_ID")
private Address address;
...Then the following code runs regardless of the order of the remove calls.
em.getTransaction().begin();
Employee parent = new Employee();
Address child = new Address();
parent.setAddress(child);
em.persist(parent);
em.persist(child);
em.getTransaction().commit();
em.getTransaction().begin();
parent = em.merge(parent);
child = em.merge(child);
// order of next two statements unimportant
em.remove(parent);
em.remove(child);
em.getTransaction().commit();If I don't remove the parent and just the child I get the same error you do because of the FK from Employee to Address.
--Shaun -
Can someone tell me how to delete EditRegion4.
Can someone tell me how to delete an "exra" EditRegion4" i have in Dreamweaver CS4? I have 5 total edit regions on each page, but somehow I have 2 of the EditRegion4 on one of the poem pages. The one region4 is total empty so since I can't seem to delete it, I wondered if I could change the name to EditRegion6 on the Main Tempklate page or if I did would that get rid of every page on the site? It is correct on the main template and all the other pages on the site. I thought of starting all over again, but I have about 30 individual poems with various other things so it would be a lot of hours of work which I don't have.
This one page is the only one it shows up on.This is what the code looks like. It is light in color so not allowing me to go in and delete the code.
name="EditRegion4" --><!-- InstanceEndEditable --></h3><!-- InstanceBeginEditable
name="EditRegion4" --><table width="100%" border="1" cellpadding="0" cellspacing="0">
Can you also tell me how to get the Target and Title in the Properties menu to show up in full again? I can see the Class and Link portion, but the Title and Target rectangles are missing or faded. I am self taught so please help if you can. I have a non-profit ministry so I cannot afford to pay someone to help me. Thanks for any help.This is screenshot in Dreamweaver of both issues. As you can see above the page properties, the Title and Target are blanked out. It is this way on every page I try to work with.
You were right about the EditRegion 4. It is back again as you can see both of them! Here is a portion of the the code on that template page. It is not on any of the other pages and only this one. As you can see I have a lot of poems on this page so I am only emailing a portion of the code. I highlighted it below, but on the actual page it is faded and unable to be edited.
</h3><!-- InstanceEndEditable --></td>
<td width="834" align="center" bgcolor="#FFF6C8"><h3><!-- InstanceBeginEditable name="EditRegion4" --><!-- InstanceEndEditable --></h3><!-- InstanceBeginEditable name="EditRegion4" --><table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<th colspan="5" align="center" bgcolor="#FFF6C8"><h5>INSPIRATIONAL POEMS OF HOPE <br />
<span class="specifictext">(Click on each picture to enlarge for reading.) </span></h5></th>
</tr>
<tr class="title">
<td width="20%" align="center" bgcolor="#E9C879"><h5>An Uphill Climb</h5></td>
<td align="center" bgcolor="#E9C879"><h5>Bigger Plans</h5></td>
<td align="center" bgcolor="#E9C879"><h5>Darkness Surrounds You</h5></td>
<td align="center" bgcolor="#E9C879"><h5>Do Not Feel Lonely</h5></td>
<td align="center" bgcolor="#E9C879"><h5>Don't Give Up On Jesus</h5></td>
</tr>
<tr>
<td align="center"><h5><a href="../Sue's Root/Images/Poems/Hope Poems/An Uphill Climb L.jpg"><img src="../Sue's Root/Images/Poems/Hope Poems/An Uphill Climb S .jpg" width="142" height="176" alt="An Uphillm Climb" /></a></h5></td>
<td align="center"><h5><a href="../Sue's Root/Images/Poems/Hope Poems/Bigger Plans L.jpg"><img src="../Sue's Root/Images/Poems/Hope Poems/Bigger Plans S.jpg" width="142" height="176" alt="Bigger Plans" /></a></h5></td>
<td align="center"><h5><a href="../Sue's Root/Images/Poems/Hope Poems/Darkness Surrounds You L.jpg"><img src="../Sue's Root/Images/Poems/Hope Poems/Darkness Surrounds You S.jpg" width
Thanks for any help. -
How to implement classes with alv's
hi
how to implement classes with alv'sHi Jyotsna,
check this example codes.
*"Table declarations...................................................
TABLES:
EKKO, " Purchasing Document Header
CDHDR, " Change document header
SSCRFIELDS. " Fields on selection screens
*"Selection screen elements............................................
SELECT-OPTIONS:
S_EBELN FOR EKKO-EBELN, " Purchasing Document Number
S_LIFNR FOR EKKO-LIFNR, " Vendor's account number
S_EKGRP FOR EKKO-EKGRP, " Purchasing group
S_BEDAT FOR EKKO-BEDAT, " Purchasing Document Date
S_UDATE FOR CDHDR-UDATE. " Creation date of the change
" document
*" Data declarations...................................................
Field String to hold Purchase Document Number *
DATA:
BEGIN OF FS_EBELN,
EBELN(90) TYPE C, " Purchase Document Number
ERNAM TYPE EKKO-ERNAM, " Name of Person who Created
" the Object
LIFNR TYPE EKKO-LIFNR, " Vendor's account number
EKGRP TYPE EKKO-EKGRP, " Purchasing group
BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
END OF FS_EBELN,
Field String to hold Purchase Document Header *
BEGIN OF FS_EKKO,
EBELN TYPE EKKO-EBELN, " Purchasing Document Number
ERNAM TYPE EKKO-ERNAM, " Name of Person who Created the
" Object
LIFNR TYPE EKKO-LIFNR, " Vendor's account number
EKGRP TYPE EKKO-EKGRP, " Purchasing group
BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
END OF FS_EKKO,
Field String to hold Account Number and name of the Vendor *
BEGIN OF FS_LFA1,
LIFNR TYPE LFA1-LIFNR, " Account Number of Vendor
NAME1 TYPE LFA1-NAME1, " Name1
END OF FS_LFA1,
Field String to hold Change date and the name of the user *
BEGIN OF FS_CDHDR,
OBJECTCLAS TYPE CDHDR-OBJECTCLAS, " Object Class
OBJECTID TYPE CDHDR-OBJECTID, " Object value
CHANGENR TYPE CDHDR-CHANGENR, " Document change number
USERNAME TYPE CDHDR-USERNAME, " User name
UDATE TYPE CDHDR-UDATE, " Creation date of the change
" document
END OF FS_CDHDR,
Field String to hold Change document items *
BEGIN OF FS_CDPOS,
OBJECTCLAS TYPE CDPOS-OBJECTCLAS," Object class
OBJECTID(10) TYPE C, " Object Value
CHANGENR TYPE CDPOS-CHANGENR, " Document change number
TABNAME TYPE CDPOS-TABNAME, " Table Name
FNAME TYPE CDPOS-FNAME, " Field Name
VALUE_NEW TYPE CDPOS-VALUE_NEW, " New contents of changed field
VALUE_OLD TYPE CDPOS-VALUE_OLD, " Old contents of changed field
END OF FS_CDPOS,
Field String to hold Date Element Name *
BEGIN OF FS_DATAELE,
TABNAME TYPE DD03L-TABNAME, " Table Name
FIELDNAME TYPE DD03L-FIELDNAME, " Field Name
ROLLNAME TYPE DD03L-ROLLNAME, " Data element (semantic domain)
END OF FS_DATAELE,
Field String to hold Short Text of the Date Element *
BEGIN OF FS_TEXT,
ROLLNAME TYPE DD04T-ROLLNAME, " Data element (semantic domain)
DDTEXT TYPE DD04T-DDTEXT, " Short Text Describing R/3
" Repository Objects
END OF FS_TEXT,
Field String to hold data to be displayed on the ALV grid *
BEGIN OF FS_OUTTAB,
EBELN TYPE EKKO-EBELN, " Purchasing Document Number
ERNAM TYPE EKKO-ERNAM, " Name of Person who Created the
" Object
LIFNR TYPE EKKO-LIFNR, " Vendor's account number
EKGRP TYPE EKKO-EKGRP, " Purchasing group
BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
WERKS TYPE LFA1-WERKS, " Plant
NAME1 TYPE LFA1-NAME1, " Name1
USERNAME TYPE CDHDR-USERNAME, " User name
UDATE TYPE CDHDR-UDATE, " Creation date of the change
" document
DDTEXT TYPE DD04T-DDTEXT, " Short Text Describing R/3
" Repository Objects
VALUE_NEW TYPE CDPOS-VALUE_NEW, " New contents of changed field
VALUE_OLD TYPE CDPOS-VALUE_OLD, " Old contents of changed field
END OF FS_OUTTAB,
Internal table to hold Purchase Document Number *
T_EBELN LIKE STANDARD TABLE
OF FS_EBELN,
Internal table to hold Purchase Document Header *
T_EKKO LIKE STANDARD TABLE
OF FS_EKKO,
Temp Internal table to hold Purchase Document Header *
T_EKKO_TEMP LIKE STANDARD TABLE
OF FS_EKKO,
Internal table to hold Account number and Name of the Vendor *
T_LFA1 LIKE STANDARD TABLE
OF FS_LFA1,
Internal Table to hold Change date and the name of the user *
T_CDHDR LIKE STANDARD TABLE
OF FS_CDHDR,
Internal Table to hold Change document items *
T_CDPOS LIKE STANDARD TABLE
OF FS_CDPOS,
Temp. Internal Table to hold Change document items *
T_CDPOS_TEMP LIKE STANDARD TABLE
OF FS_CDPOS,
Internal Table to hold Data Element Name *
T_DATAELE LIKE STANDARD TABLE
OF FS_DATAELE,
Temp. Internal Table to hold Data Element Name *
T_DATAELE_TEMP LIKE STANDARD TABLE
OF FS_DATAELE,
Internal Table to hold Short Text of the Date Element *
T_TEXT LIKE STANDARD TABLE
OF FS_TEXT,
Internal Table to hold data to be displayed on the ALV grid *
T_OUTTAB LIKE STANDARD TABLE
OF FS_OUTTAB.
C L A S S D E F I N I T I O N *
CLASS LCL_EVENT_HANDLER DEFINITION DEFERRED.
*" Data declarations...................................................
Work variables *
DATA:
W_EBELN TYPE EKKO-EBELN, " Purchasing Document Number
W_LIFNR TYPE EKKO-LIFNR, " Vendor's account number
W_EKGRP TYPE EKKO-EKGRP, " Purchasing group
W_VALUE TYPE EKKO-EBELN, " Reflected Value
W_SPACE VALUE ' ', " Space
W_FLAG TYPE I, " Flag Variable
W_VARIANT TYPE DISVARIANT, " Variant
ALV Grid
W_GRID TYPE REF TO CL_GUI_ALV_GRID,
Event Handler
W_EVENT_CLICK TYPE REF TO LCL_EVENT_HANDLER,
Field catalog table
T_FIELDCAT TYPE LVC_T_FCAT.
AT SELECTION-SCREEN EVENT *
AT SELECTION-SCREEN ON S_EBELN.
Subroutine to validate Purchase Document Number.
PERFORM VALIDATE_PD_NUM.
AT SELECTION-SCREEN ON S_LIFNR.
Subroutine to validate Vendor Number.
PERFORM VALIDATE_VEN_NUM.
AT SELECTION-SCREEN ON S_EKGRP.
Subroutine to validate Purchase Group.
PERFORM VALIDATE_PUR_GRP.
START-OF-SELECTION EVENT *
START-OF-SELECTION.
Subroutine to select all Purchase orders.
PERFORM SELECT_PO.
CHECK W_FLAG EQ 0.
Subroutine to select Object values.
PERFORM SELECT_OBJ_ID.
CHECK W_FLAG EQ 0.
Subroutine to select Changed values.
PERFORM SELECT_CHANGED_VALUE.
CHECK W_FLAG EQ 0.
Subroutine to Select Purchase Orders.
PERFORM SELECT_PUR_DOC.
Subroutine to select Vendor Details.
PERFORM SELECT_VENDOR.
Subroutine to select Text for the Changed values.
PERFORM DESCRIPTION.
END-OF-SELECTION EVENT *
END-OF-SELECTION.
IF NOT T_EKKO IS INITIAL.
Subroutine to populate the Output Table.
PERFORM FILL_OUTTAB.
Subroutine to build Field Catalog.
PERFORM PREPARE_FIELD_CATALOG CHANGING T_FIELDCAT.
CALL SCREEN 100.
ENDIF. " IF NOT T_EKKO...
CLASS LCL_EVENT_HANDLER DEFINITION
Defining Class which handles events
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION .
METHODS:
HANDLE_HOTSPOT_CLICK
FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW_ID E_COLUMN_ID.
ENDCLASS. " LCL_EVENT_HANDLER DEFINITION
CLASS LCL_EVENT_HANDLER IMPLEMENTATION
Implementing the Class which can handle events
CLASS LCL_EVENT_HANDLER IMPLEMENTATION .
*---Handle Double Click
METHOD HANDLE_HOTSPOT_CLICK .
Subroutine to get the HotSpot Cell information.
PERFORM GET_CELL_INFO.
SET PARAMETER ID 'BES' FIELD W_VALUE.
CALL TRANSACTION 'ME23N'.
ENDMETHOD. " HANDLE_HOTSPOT_CLICK
ENDCLASS. " LCL_EVENT_HANDLER
*& Module STATUS_0100 OUTPUT
PBO Event
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'OOPS'.
SET TITLEBAR 'TIT'.
Subroutine to fill the Variant Structure
PERFORM FILL_VARIANT.
IF W_GRID IS INITIAL.
CREATE OBJECT W_GRID
EXPORTING
I_SHELLSTYLE = 0
I_LIFETIME =
I_PARENT = CL_GUI_CONTAINER=>SCREEN0
I_APPL_EVENTS =
I_PARENTDBG =
I_APPLOGPARENT =
I_GRAPHICSPARENT =
I_NAME =
I_FCAT_COMPLETE = SPACE
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
OTHERS = 5.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC 0
CALL METHOD W_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT = W_VARIANT
I_SAVE = 'A'
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
IR_SALV_ADAPTER =
CHANGING
IT_OUTTAB = T_OUTTAB
IT_FIELDCATALOG = T_FIELDCAT
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC 0.
ENDIF. " IF W_GRID IS INITIAL
CREATE OBJECT W_EVENT_CLICK.
SET HANDLER W_EVENT_CLICK->HANDLE_HOTSPOT_CLICK FOR W_GRID.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
PAI Event
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form PREPARE_FIELD_CATALOG
Subroutine to build the Field catalog
<--P_T_FIELDCAT Field Catalog Table
FORM PREPARE_FIELD_CATALOG CHANGING PT_FIELDCAT TYPE LVC_T_FCAT .
DATA LS_FCAT TYPE LVC_S_FCAT.
Purchasing group...
LS_FCAT-FIELDNAME = 'EKGRP'.
LS_FCAT-REF_TABLE = 'EKKO'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Purchasing Document Number...
LS_FCAT-FIELDNAME = 'EBELN'.
LS_FCAT-REF_TABLE = 'EKKO' .
LS_FCAT-EMPHASIZE = 'C411'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
LS_FCAT-HOTSPOT = 'X'.
APPEND LS_FCAT TO PT_FIELDCAT .
CLEAR LS_FCAT .
Name of Person who Created the Object...
LS_FCAT-FIELDNAME = 'ERNAM'.
LS_FCAT-REF_TABLE = 'EKKO'.
LS_FCAT-OUTPUTLEN = '15' .
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Purchasing Document Date...
LS_FCAT-FIELDNAME = 'BEDAT'.
LS_FCAT-REF_TABLE = 'EKKO'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Vendor's account number...
LS_FCAT-FIELDNAME = 'LIFNR'.
LS_FCAT-REF_TABLE = 'EKKO'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Account Number of Vendor or Creditor...
LS_FCAT-FIELDNAME = 'NAME1'.
LS_FCAT-REF_TABLE = 'LFA1'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
LS_FCAT-COLTEXT = 'Vendor Name'(001).
LS_FCAT-SELTEXT = 'Vendor Name'(001).
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Creation date of the change document...
LS_FCAT-FIELDNAME = 'UDATE'.
LS_FCAT-REF_TABLE = 'CDHDR'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
LS_FCAT-COLTEXT = 'Change Date'(002).
LS_FCAT-SELTEXT = 'Change Date'(002).
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
User name of the person responsible in change document...
LS_FCAT-FIELDNAME = 'USERNAME'.
LS_FCAT-REF_TABLE = 'CDHDR'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '10'.
LS_FCAT-COLTEXT = 'Modified by'(003).
LS_FCAT-SELTEXT = 'Modified by'(003).
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Short Text Describing R/3 Repository Objects...
LS_FCAT-FIELDNAME = 'DDTEXT'.
LS_FCAT-REF_TABLE = 'DD04T'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '15'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
Old contents of changed field...
LS_FCAT-FIELDNAME = 'VALUE_OLD'.
LS_FCAT-REF_TABLE = 'CDPOS'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '12'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
New contents of changed field...
LS_FCAT-FIELDNAME = 'VALUE_NEW'.
LS_FCAT-REF_TABLE = 'CDPOS'.
LS_FCAT-INTTYPE = 'C'.
LS_FCAT-OUTPUTLEN = '12'.
APPEND LS_FCAT TO PT_FIELDCAT.
CLEAR LS_FCAT.
ENDFORM. " PREPARE_FIELD_CATALOG
*& Form SELECT_PO
Subroutine to select all the Purchase Orders
There are no interface parameters to be passed to this subroutine.
FORM SELECT_PO .
SELECT EBELN " Purchasing Document Number
ERNAM " Name of Person who Created
" the Object
LIFNR " Vendor's account number
EKGRP " Purchasing group
BEDAT " Purchasing Document Date
FROM EKKO
PACKAGE SIZE 10000
APPENDING TABLE T_EBELN
WHERE EBELN IN S_EBELN
AND BEDAT IN S_BEDAT.
ENDSELECT.
IF SY-SUBRC NE 0.
W_FLAG = 1.
MESSAGE S401(M8).
ENDIF. " IF SY-SUBRC NE 0
ENDFORM. " SELECT_PO
*& Form SELECT_OBJ_ID
Subroutine to select Object ID
There are no interface parameters to be passed to this subroutine.
FORM SELECT_OBJ_ID .
IF NOT T_EBELN IS INITIAL.
SELECT OBJECTCLAS " Object Class
OBJECTID " Object value
CHANGENR " Document change number
USERNAME " User name
UDATE " Creation date
FROM CDHDR
INTO TABLE T_CDHDR
FOR ALL ENTRIES IN T_EBELN
WHERE OBJECTID EQ T_EBELN-EBELN
AND UDATE IN S_UDATE
AND TCODE IN ('ME21N','ME22N','ME23N').
ENDSELECT.
IF SY-SUBRC NE 0.
W_FLAG = 1.
MESSAGE S833(M8) WITH 'Header Not Found'(031).
ENDIF. " IF SY-SUBRC NE 0.
ENDIF. " IF NOT T_EBELN IS INITIAL
ENDFORM. " SELECT_OBJ_ID
*& Form SELECT_CHANGED_VALUE
Subroutine to select Changed Values
There are no interface parameters to be passed to this subroutine.
FORM SELECT_CHANGED_VALUE .
IF NOT T_CDHDR IS INITIAL.
SELECT OBJECTCLAS " Object class
OBJECTID " Object value
CHANGENR " Document change number
TABNAME " Table Name
FNAME " Field Name
VALUE_NEW " New contents of changed field
VALUE_OLD " Old contents of changed field
FROM CDPOS
PACKAGE SIZE 10000
APPENDING TABLE T_CDPOS
FOR ALL ENTRIES IN T_CDHDR
WHERE OBJECTCLAS EQ T_CDHDR-OBJECTCLAS
AND OBJECTID EQ T_CDHDR-OBJECTID
AND CHANGENR EQ T_CDHDR-CHANGENR.
ENDSELECT.
IF SY-SUBRC NE 0.
W_FLAG = 1.
MESSAGE S833(M8) WITH 'Item Not Found'(032).
ENDIF. " IF SY-SUBRC NE 0.
ENDIF. " IF NOT T_CDHDR IS INITIAL
T_CDPOS_TEMP] = T_CDPOS[.
ENDFORM. " SELECT_CHANGED_VALUE
*& Form SELECT_PUR_DOC
Subroutine to select Purchase Order Details
There are no interface parameters to be passed to this subroutine.
FORM SELECT_PUR_DOC .
IF NOT T_CDPOS IS INITIAL.
SORT T_EBELN BY EBELN.
LOOP AT T_CDPOS INTO FS_CDPOS.
READ TABLE T_EBELN INTO FS_EBELN WITH KEY EBELN =
FS_CDPOS-OBJECTID BINARY SEARCH.
IF SY-SUBRC NE 0.
DELETE TABLE T_EBELN FROM FS_EBELN.
ENDIF. " IF SY-SUBRC NE 0.
ENDLOOP. " LOOP AT T_CDPOS...
LOOP AT T_EBELN INTO FS_EBELN.
MOVE FS_EBELN-EBELN TO FS_EKKO-EBELN.
MOVE FS_EBELN-ERNAM TO FS_EKKO-ERNAM.
MOVE FS_EBELN-LIFNR TO FS_EKKO-LIFNR.
MOVE FS_EBELN-EKGRP TO FS_EKKO-EKGRP.
MOVE FS_EBELN-BEDAT TO FS_EKKO-BEDAT.
APPEND FS_EKKO TO T_EKKO.
ENDLOOP. " LOOP AT T_EBELN...
T_EKKO_TEMP] = T_EKKO[.
ENDIF. " IF NOT T_CDPOS IS INITIAL
ENDFORM. " SELECT_PUR_DOC
*& Form SELECT_VENDOR
Subroutine to select Vendor details
There are no interface parameters to be passed to this subroutine.
FORM SELECT_VENDOR .
IF NOT T_EKKO IS INITIAL.
SORT T_EKKO_TEMP BY LIFNR.
DELETE ADJACENT DUPLICATES FROM T_EKKO_TEMP COMPARING LIFNR.
SELECT LIFNR " Account Number of Vendor or
" Creditor
NAME1 " Name 1
FROM LFA1
INTO TABLE T_LFA1
FOR ALL ENTRIES IN T_EKKO_TEMP
WHERE LIFNR EQ T_EKKO_TEMP-LIFNR.
IF SY-SUBRC NE 0.
MESSAGE S002(M8) WITH 'Master Details'(033).
ENDIF. " IF SY-SUBRC NE 0.
ENDIF. " IF NOT T_EKKO IS INITIAL
ENDFORM. " SELECT_VENDOR
*& Form DESCRIPTION
Subroutine to get the description
There are no interface parameters to be passed to this subroutine.
FORM DESCRIPTION .
IF NOT T_CDPOS IS INITIAL.
SORT T_CDPOS_TEMP BY TABNAME FNAME.
DELETE ADJACENT DUPLICATES FROM T_CDPOS_TEMP COMPARING TABNAME FNAME
SELECT TABNAME " Table Name
FIELDNAME " Field Name
ROLLNAME " Data element
FROM DD03L
INTO TABLE T_DATAELE
FOR ALL ENTRIES IN T_CDPOS_TEMP
WHERE TABNAME EQ T_CDPOS_TEMP-TABNAME
AND FIELDNAME EQ T_CDPOS_TEMP-FNAME.
IF NOT T_DATAELE IS INITIAL.
T_DATAELE_TEMP] = T_DATAELE[.
SORT T_DATAELE_TEMP BY ROLLNAME.
DELETE ADJACENT DUPLICATES FROM T_DATAELE_TEMP COMPARING ROLLNAME.
SELECT ROLLNAME " Data element
DDTEXT " Short Text Describing R/3
" Repository Objects
FROM DD04T
INTO TABLE T_TEXT
FOR ALL ENTRIES IN T_DATAELE_TEMP
WHERE ROLLNAME EQ T_DATAELE_TEMP-ROLLNAME
AND DDLANGUAGE EQ SY-LANGU.
IF SY-SUBRC NE 0.
EXIT.
ENDIF. " IF SY-SUBRC NE 0.
ENDIF. " IF NOT T_DATAELE IS INITIAL.
ENDIF. " IF NOT T_CDPOS IS INITIAL.
ENDFORM. " DESCRIPTION
*& Form FILL_OUTTAB
Subroutine to populate the Outtab
There are no interface parameters to be passed to this subroutine.
FORM FILL_OUTTAB .
SORT T_CDHDR BY OBJECTCLAS OBJECTID CHANGENR.
SORT T_EKKO BY EBELN.
SORT T_LFA1 BY LIFNR.
SORT T_DATAELE BY TABNAME FIELDNAME.
SORT T_TEXT BY ROLLNAME.
LOOP AT T_CDPOS INTO FS_CDPOS.
READ TABLE T_CDHDR INTO FS_CDHDR WITH KEY
OBJECTCLAS = FS_CDPOS-OBJECTCLAS
OBJECTID = FS_CDPOS-OBJECTID
CHANGENR = FS_CDPOS-CHANGENR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE FS_CDHDR-USERNAME TO FS_OUTTAB-USERNAME.
MOVE FS_CDHDR-UDATE TO FS_OUTTAB-UDATE.
READ TABLE T_EKKO INTO FS_EKKO WITH KEY
EBELN = FS_CDHDR-OBJECTID
BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE FS_EKKO-EBELN TO FS_OUTTAB-EBELN.
MOVE FS_EKKO-ERNAM TO FS_OUTTAB-ERNAM.
MOVE FS_EKKO-LIFNR TO FS_OUTTAB-LIFNR.
MOVE FS_EKKO-EKGRP TO FS_OUTTAB-EKGRP.
MOVE FS_EKKO-BEDAT TO FS_OUTTAB-BEDAT.
READ TABLE T_LFA1 INTO FS_LFA1 WITH KEY
LIFNR = FS_EKKO-LIFNR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE FS_LFA1-NAME1 TO FS_OUTTAB-NAME1.
ENDIF. " IF SY-SUBRC EQ 0.
ENDIF. " IF SY-SUBRC EQ 0.
ENDIF. " IF SY-SUBRC EQ 0.
MOVE FS_CDPOS-VALUE_NEW TO FS_OUTTAB-VALUE_NEW.
MOVE FS_CDPOS-VALUE_OLD TO FS_OUTTAB-VALUE_OLD.
READ TABLE T_DATAELE INTO FS_DATAELE WITH KEY
TABNAME = FS_CDPOS-TABNAME
FIELDNAME = FS_CDPOS-FNAME
BINARY SEARCH.
IF SY-SUBRC EQ 0.
READ TABLE T_TEXT INTO FS_TEXT WITH KEY
ROLLNAME = FS_DATAELE-ROLLNAME
BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE FS_TEXT-DDTEXT TO FS_OUTTAB-DDTEXT.
ENDIF. " IF SY-SUBRC EQ 0.
ENDIF. " IF SY-SUBRC EQ 0.
APPEND FS_OUTTAB TO T_OUTTAB.
CLEAR FS_OUTTAB.
ENDLOOP.
ENDFORM. " FILL_OUTTAB
*& Form GET_CELL_INFO
Subroutine to get the Cell Information
--> W_VALUE Holds the value of Hotspot clicked
FORM GET_CELL_INFO .
CALL METHOD W_GRID->GET_CURRENT_CELL
IMPORTING
E_ROW =
E_VALUE = W_VALUE
E_COL =
ES_ROW_ID =
ES_COL_ID =
ES_ROW_NO =
ENDFORM. " GET_CELL_INFO
*& Form VALIDATE_PD_NUM
Subroutine to validate Purchase Document Number
There are no interface parameters to be passed to this subroutine.
FORM VALIDATE_PD_NUM .
IF NOT S_EBELN[] IS INITIAL.
SELECT EBELN " Purchase Document Number
FROM EKKO
INTO W_EBELN
UP TO 1 ROWS
WHERE EBELN IN S_EBELN.
ENDSELECT.
IF SY-SUBRC NE 0.
CLEAR SSCRFIELDS-UCOMM.
MESSAGE E717(M8).
ENDIF. " IF SY-SUBRC NE 0
ENDIF. " IF NOT S_EBELN[]...
ENDFORM. " VALIDATE_PD_NUM
*& Form VALIDATE_VEN_NUM
Subroutine to validate Vendor Number
There are no interface parameters to be passed to this subroutine.
FORM VALIDATE_VEN_NUM .
IF NOT S_LIFNR[] IS INITIAL.
SELECT LIFNR " Vendor Number
FROM LFA1
INTO W_LIFNR
UP TO 1 ROWS
WHERE LIFNR IN S_LIFNR.
ENDSELECT.
IF SY-SUBRC NE 0.
CLEAR SSCRFIELDS-UCOMM.
MESSAGE E002(M8) WITH W_SPACE.
ENDIF. " IF SY-SUBRC NE 0
ENDIF. " IF NOT S_LIFNR[]...
ENDFORM. " VALIDATE_VEN_NUM
*& Form VALIDATE_PUR_GRP
Subroutine to validate the Purchase Group
There are no interface parameters to be passed to this subroutine.
FORM VALIDATE_PUR_GRP .
IF NOT S_EKGRP[] IS INITIAL.
SELECT EKGRP " Purchase Group
FROM T024
INTO W_EKGRP
UP TO 1 ROWS
WHERE EKGRP IN S_EKGRP.
ENDSELECT.
IF SY-SUBRC NE 0.
CLEAR SSCRFIELDS-UCOMM.
MESSAGE E622(M8) WITH W_SPACE.
ENDIF. " IF SY-SUBRC NE 0
ENDIF. " IF NOT S_EKFRP[]...
ENDFORM. " VALIDATE_PUR_GRP
*& Form FILL_VARIANT
Subroutine to fill the Variant Structure
There are no interface parameters to be passed to this subroutine
FORM FILL_VARIANT .
Filling the Variant structure
W_VARIANT-REPORT = SY-REPID.
W_VARIANT-USERNAME = SY-UNAME.
ENDFORM. " FILL_VARIANT
REPORT YMS_HIERSEQLISTDISPLAY .
Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY *
Author : Michel PIOUD *
Email : mpioudyahoo.fr HomePage : http://www.geocities.com/mpioud *
TYPE-POOLS: slis. " ALV Global types
CONSTANTS :
c_x VALUE 'X',
c_gt_vbap TYPE SLIS_TABNAME VALUE 'GT_VBAP',
c_gt_vbak TYPE SLIS_TABNAME VALUE 'GT_VBAK'.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
SELECTION-SCREEN END OF LINE.
TYPES :
1st Table
BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln, " Sales document
kunnr TYPE vbak-kunnr, " Sold-to party
netwr TYPE vbak-netwr, " Net Value of the Sales Order
erdat TYPE vbak-erdat, " Creation date
waerk TYPE vbak-waerk, " SD document currency
expand TYPE xfeld,
END OF ty_vbak,
2nd Table
BEGIN OF ty_vbap,
vbeln TYPE vbap-vbeln, " Sales document
posnr TYPE vbap-posnr, " Sales document
matnr TYPE vbap-matnr, " Material number
netwr TYPE vbap-netwr, " Net Value of the Sales Order
waerk TYPE vbap-waerk, " SD document currency
END OF ty_vbap.
DATA :
1st Table
gt_vbak TYPE TABLE OF ty_vbak,
2nd Table
gt_vbap TYPE TABLE OF ty_vbap.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
v_2 = 'With ''EXPAND'' field'.
START-OF-SELECTION.
Read Sales Document: Header Data
SELECT vbeln kunnr netwr waerk erdat
FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
IF NOT gt_vbak[] IS INITIAL.
Read Sales Document: Item Data
SELECT vbeln posnr matnr netwr waerk
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE gt_vbap
FOR ALL ENTRIES IN gt_vbak
WHERE vbeln = gt_vbak-vbeln.
ENDIF.
PERFORM f_display.
Form F_DISPLAY
FORM f_display.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-tabname = &1.
ls_fieldcat-fieldname = &2.
ls_fieldcat-ref_tabname = &3.
ls_fieldcat-cfieldname = &4. " Field with currency unit
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-tabname = &1.
ls_sort-fieldname = &2.
ls_sort-up = c_x.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_layout TYPE slis_layout_alv,
ls_keyinfo TYPE slis_keyinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv," Sort table
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
ls_layout-group_change_edit = c_x.
ls_layout-colwidth_optimize = c_x.
ls_layout-zebra = c_x.
ls_layout-detail_popup = c_x.
ls_layout-get_selinfos = c_x.
IF p_expand = c_x.
ls_layout-expand_fieldname = 'EXPAND'.
ENDIF.
Build field catalog and sort table
m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
m_sort c_gt_vbak 'KUNNR'.
m_sort c_gt_vbap 'NETWR'.
ls_keyinfo-header01 = 'VBELN'.
ls_keyinfo-item01 = 'VBELN'.
ls_keyinfo-item02 = 'POSNR'.
Dipslay Hierarchical list
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
i_tabname_header = c_gt_vbak
i_tabname_item = c_gt_vbap
is_keyinfo = ls_keyinfo
TABLES
t_outtab_header = gt_vbak
t_outtab_item = gt_vbap
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_LIST_DISPLAY
Form USER_COMMAND *
FORM user_command USING i_ucomm TYPE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
DATA ls_vbak TYPE ty_vbak.
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN c_gt_vbap.
WHEN c_gt_vbak.
READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
Kindly Reward Points If You Found The Reply Helpful,
Cheers,
Chaitanya. -
hi,
i am new in pcui.
can i one tell me how to delete ( label and input field ) a field in pcui.
thnx in advanceHi Amit,
You can delete or hide the fields u want in PCUI application refer below steps:
1) Tcode CRMC_PCUITOOLS in Analysis Tools enter u r application and Ziview and execute (make sure u r changing the zivew, which will not affect standard ivews)
2) in Window u'll see the all technical details i.e.Structure, field group, Access class, Toolbar Group etc.
3) Tcode CRMC_BLUEPRINT_C in Application Element u can Customize Toolbar, Tab Page Group, Field Group etc u r Zivew.
Note : You can get the PCUI cookbook from the service market place which will help you in making changes specific to PCUI applications.
Hope it'll help u.
Thanks,
Dipesh.
Edited by: DD's on Nov 10, 2008 6:30 AM -
How to delete all objects for one user from SE80
Hi all,
If i want to delete the customer objects defined in the customer space Y or Z from SE80. Object of one user is defined in one package, if i want to delete the pakcage it says, it contain the subobject. So can anybody help me how to delete the customer objects from SE80.
Your response will be highly rewared.
Tahnks,
Salahuddin.hi
good
i think here you want to delege the development class, if you want to delete the particular development class you have to go for se09 where after selecting the particular development class you can select the delete button.
thanks
mrutyun -
How to delete a DBUM connector cloned - OIM 11g R1 ?
Hi,
I have a DBUM connector cloned, sometimes the cloning process wasn't successfully and now i have to delete the wrong cloned connectors .
Looking for information i found how to delete a connector, but this is for the big connector and i need when is a cloned connector.
any idea?
thank you.!25 Jan 2013 15:41:42 DEBUG Logger Initialized
25 Jan 2013 15:41:42 DEBUG Exiting Method: validateAndInitiazeLogger of Class: ConnectorUninstall
25 Jan 2013 15:41:42 DEBUG Exiting Method: loadPropertyFileAndLogger of Class: ConnectorUninstall
25 Jan 2013 15:41:42 DEBUG Start of ConnectorUninstall Utility.
25 Jan 2013 15:41:42 DEBUG Entering Method: getDBPassword of Class: ConnectorUninstall
25 Jan 2013 15:41:48 DEBUG Exiting Method: getDBPassword of Class: ConnectorUninstall
25 Jan 2013 15:41:48 DEBUG Entering Method: getOIMAdminUserName of Class: ConnectorUninstall
25 Jan 2013 15:41:51 DEBUG Exiting Method: getOIMAdminUserName of Class: ConnectorUninstall
25 Jan 2013 15:41:51 DEBUG Entering Method: getOIMAdminPassword of Class: ConnectorUninstall
25 Jan 2013 15:41:55 DEBUG Exiting Method: getOIMAdminPassword of Class: ConnectorUninstall
25 Jan 2013 15:41:55 DEBUG Entering Method: getOIMServerT3URL of Class: ConnectorUninstall
25 Jan 2013 15:42:02 DEBUG Exiting Method: getOIMServerT3URL of Class: ConnectorUninstall
25 Jan 2013 15:42:02 DEBUG Entering Constructor of Class: UninstallUtility.
25 Jan 2013 15:42:02 DEBUG Validating Properties File..
25 Jan 2013 15:42:02 DEBUG Entering Method: validateAndPopulateDBAndConnectorParameters of Class: UninstallUtility
25 Jan 2013 15:42:02 DEBUG Exiting Method: validateAndPopulateDBAndConnectorParameters of Class: UninstallUtility
25 Jan 2013 15:42:02 DEBUG Valdiation Succeeded.. All the properties have been loaded.
25 Jan 2013 15:42:02 DEBUG Getting the Database Connection
25 Jan 2013 15:42:02 DEBUG Entering Method: getDatabaseConnection of Class: UninstallUtility
25 Jan 2013 15:42:02 DEBUG jdbc:oracle:thin:@192.168.12.57:1521:ban26
25 Jan 2013 15:42:16 DEBUG Connection established
25 Jan 2013 15:42:16 DEBUG Exiting Method: getDatabaseConnection of Class: UninstallUtility
25 Jan 2013 15:42:16 DEBUG Setting the OIMClient
25 Jan 2013 15:42:16 DEBUG Entering Method: setOIMClient of Class: UninstallUtility
25 Jan 2013 15:42:25 DEBUG Exiting Method: setOIMClient of Class: UninstallUtility
25 Jan 2013 15:42:25 DEBUG Successful in setting the OIMClient
25 Jan 2013 15:42:25 DEBUG Exiting Constructor of Class: UninstallUtility.
25 Jan 2013 15:42:25 DEBUG Entering Method: doObjectDeletion of Class: ConnectorUninstall
25 Jan 2013 15:42:32 DEBUG Entering Method: validateObjectDeletion of Class: UninstallUtility
25 Jan 2013 15:42:32 DEBUG Exiting Method: validateObjectDeletion of Class: UninstallUtility
25 Jan 2013 15:42:32 DEBUG Entering Method: getTokens of Class: ConnectorUninstall
25 Jan 2013 15:42:32 DEBUG Exiting Method: getTokens of Class: ConnectorUninstall
25 Jan 2013 15:42:32 DEBUG Entering the getROList method of UninstallUtility
25 Jan 2013 15:42:33 DEBUG List of Resource object fetched from database: [Oracle DB User, Oracle DB Trusted, AD Group, AD Organizational Unit, AD User, AD User Trusted, UNIX User Trusted, UNIX User, TB_BAN23_SIC_GTC, iPlanet Organisation Unit, iPlanet User, iPlanet Group, iPlanet Role, RSA Auth Manager Token, RSA Auth Manager User, Xellerate User, Xellerate Organization, Installation, Oracle DB User 1, Oracle DB Trusted 1, TB_BAN24_SUB_GTC, TB_BAN24_AUR_GTC, TB_BANE_AURO_GTC, TB_BAN24_CUD2_GTC, TB_PRUBAN24_GTC, OracleBAN26, Oracle DB Trusted ban26, OracleBAN23, Oracle DB23 Trusted, OracleSICBan23, OracleBAN25jano, Oracle DB Trusted mfnsys DCV, Oracle DB Trusted Usu Esp Bane, TB_BAN23_JAN_GTC, TB_BAN23_MAS_GTC, TB_BAN23_SEC_EXT_GTC, TB_BAN23_SECE_GTC, TB_BAN24_CUD_GTC, TB_BANE_AUR2_GTC, TB_SIPEC_GTC, TBBAN24_CUD_ESP_GTC, TBBAN25_AUR_ESP_GTC, TBBAN23_AUR_ESP_GTC, TBBANE_SISEC_ESP_GTC, TB_MFNSYS_DCV_4_GTC, TB_MFNSYS_DCV_5_GTC, OracleBANE, OracleBAN23Sic, Oracle DB Trusted Ban23 SIC, OracleBAN24cud, Oracle DB Trusted ban25 JANO, OracleBANEsisec, Oracle DB Trusted bane SISEC, Usu Esp OracleBAN25, Oracle DB Trusted Usu Esp Ban25, Oracle DB Trusted Usu Esp Ban26, SPRU1A Trusted, SPRU1A User, TB_BAN23_AURA_GTC, TB_BAN25_AUR_GTC, TB_BAN25_SIM_GTC, TB_BANE_AUR_GTC, TB_BANE_SIS_GTC, TB_BAN26_MAS_GTC, TB_BANE_SISEC_GTC, TB_BANE_SIS_2_GTC, TB_MFNSYS_DCV_2_GTC, TB_MFNSYS_DCV_3_GTC, TBBAN24_AUR_ESP_GTC, TBBANE_AUR_ESP_GTC, TBBAN25_JANO_ESP_GTC, TBBAN26_MAS_ESP_GTC, TBBAN23_SIC_ESP_GTC, TBBAN24_CUD_ESP_2_GTC, Oracle_Ban27, Oracle_Ban27_Trusted, OracleBAN24, Oracle DB24 Trusted, OracleBAN25, Oracle DB25 Trusted, OracleBAN27, Oracle DB27 Trusted, Oracle DBBANE Trusted, Oracle DBMFNSYS Trusted, Oracle DB Trusted SIC Ban23, OracleBAN23praxis, Oracle DB Trusted Ban23 PRAXIS, Oracle DB Trusted ban24 CUD, OracleBAN26master, Oracle DB Trusted ban26 MASTER, OracleMFNSYSdcv, Usu Esp OracleBAN23, Usu Esp OracleBAN24, Oracle DB Trusted Usu Esp Ban24, Usu Esp OracleBAN26, Usu Esp OracleBANE, TB_BAN23_AUR_GTC, TB_BAN25_SMV_GTC, TB_BAN25_JAN_GTC, TB_BAN26_AUR_GTC, TB_BANE_UPLO_GTC, TB_BANE_UPDU_GTC, TB_BAN26_MAS_2_GTC, TB_PRUEBA_C_GTC_GTC, TB_MFNSYS_DCV_GTC, TB_BAN25_SMV_2_GTC, TB_BAN27_IDMUSER_GTC, TB_ACH_CENIT_GTC, TBBAN26_AUR_ESP_GTC, TBBAN24_CUD_ESP_3_GTC, TB_MFNSYS_DCV_6_GTC, Oracle DB User ban24, Oracle DB Trusted ban24, Usuario BD ban23, Oracle DB Trusted ban23, OracleMFNSYS, Oracle UsuEspDB23 Trusted, SUCED USUARIOS_GTC, SUCED USUAUTORIZADOS_GTC]
25 Jan 2013 15:42:33 DEBUG Exiting the getROList method of UninstallUtility
25 Jan 2013 15:42:33 DEBUG Entering Method: doResourceObjectDeletion of Class: ConnectorUninstall
25 Jan 2013 15:42:33 DEBUG Entering Method: checkAccessPolicies of Class: UninstallUtility
25 Jan 2013 15:42:33 DEBUG Checking the access policy related to the resource object(s): [OracleBAN25jano]
25 Jan 2013 15:42:33 DEBUG Exiting Method: checkAccessPolicies of Class: UninstallUtility
25 Jan 2013 15:42:33 DEBUG There are no Access Policies Associated with the Resource
25 Jan 2013 15:42:33 DEBUG Closing all the Requests Associated with the Resource
25 Jan 2013 15:42:33 DEBUG Entering Method: closeRequest of Class: UninstallUtility
25 Jan 2013 15:42:33 DEBUG Getting the RequestService Handler
25 Jan 2013 15:42:33 DEBUG Entering Method: getRequestService of Class: UninstallUtility
25 Jan 2013 15:42:33 DEBUG Exiting Method: getRequestService of Class: UninstallUtility
25 Jan 2013 15:42:33 DEBUG Successful in getting the RequestService Handler
25 Jan 2013 15:42:33 DEBUG Prepared Statement that would be executed : select distinct(request_beneficiary_entities.rbe_request_key) from request_beneficiary_entities request_beneficiary_entities, obj obj, request request, request_beneficiary request_beneficiary where request_beneficiary_entities.rbe_entity_type='Resource' and request_beneficiary_entities.RBE_ENTITY_KEY = obj.obj_key and obj.obj_name=? and request.REQUEST_KEY = request_beneficiary.REQUEST_KEY and request_beneficiary.REQUEST_KEY = request_beneficiary_entities.rbe_request_key and request_beneficiary.BENEFICIARY_KEY = request_beneficiary_entities.RBE_BENEFICIARY_KEY and request.REQUEST_STATUS not in ('Operation Initiated', 'Template Approval Rejected', 'Request Approval Rejected', 'Operation Approval Rejected', 'Request Closed', 'Request Withdrawn', 'Request Completed', 'Request Failed', 'Request Partially Failed', 'Operation Completed', 'Post Operation Processing Initiated', 'Request Completed with Errors')
25 Jan 2013 15:42:33 DEBUG Executing the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Successfully executed the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Exiting Method: closeRequest of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Entering Method: checkAndPrintRequestTemplate of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Prepared Statement that would be executed : select distinct(request.REQUEST_TEMPLATE_NAME) from request_beneficiary_entities request_beneficiary_entities, obj obj, request request, request_beneficiary request_beneficiary where request_beneficiary_entities.rbe_entity_type='Resource' and request_beneficiary_entities.RBE_ENTITY_KEY = obj.obj_key and obj.obj_name=? and request.REQUEST_KEY = request_beneficiary.REQUEST_KEY and request_beneficiary.BENEFICIARY_KEY = request_beneficiary_entities.RBE_BENEFICIARY_KEY
25 Jan 2013 15:42:35 DEBUG Executing the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Successfully executed the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Exiting Method: checkAndPrintRequestTemplate of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Proceeding for the Deletion...
25 Jan 2013 15:42:35 DEBUG =====================================================================
25 Jan 2013 15:42:35 DEBUG Invoking Object Deletion:
25 Jan 2013 15:42:35 DEBUG =====================================================================
25 Jan 2013 15:42:35 DEBUG Entering the deleteResource method of UninstallUtility
25 Jan 2013 15:42:35 DEBUG Entering the removeDeletedResourceObject method of UninstallUtility
25 Jan 2013 15:42:35 DEBUG Exiting the removeDeletedResourceObject method of UninstallUtility
25 Jan 2013 15:42:35 DEBUG List of resource object selected for deletion: [OracleBAN25jano]
25 Jan 2013 15:42:35 DEBUG Entering Method: checkAndPrintAttestationTask of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Prepared Statement that would be executed : SELECT DISTINCT apd.apd_name FROM apd,atr,apt,atd,oiu,obi,obj WHERE apd.apd_key = atr.apd_key AND atr.atr_key = apt.atr_key AND apt.apt_key = atd.apt_key AND atd.oiu_key = oiu.oiu_key AND oiu.obi_key = obi.obi_key AND obi.obj_key = obj.obj_key AND obj.obj_name = ?
25 Jan 2013 15:42:35 DEBUG Executing the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Successfully executed the Prepared Statement for the ResourceObject: OracleBAN25jano
25 Jan 2013 15:42:35 DEBUG Exiting Method: checkAndPrintAttestationTask of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Entering Method: deleteReconciliationData of Class: UninstallUtility
25 Jan 2013 15:42:35 DEBUG Getting ReconConfigService instance.
25 Jan 2013 15:42:35 DEBUG Successful in getting ReconConfigService instance.
25 Jan 2013 15:42:35 DEBUG Deleting the reconciliation profile for the resource object: OracleBAN25jano
25 Jan 2013 15:43:09 DEBUG Deleted the reconciliation profile for the resource object: OracleBAN25jano
25 Jan 2013 15:43:09 DEBUG Exiting Method: deleteReconciliationData of Class: UninstallUtility
25 Jan 2013 15:43:09 DEBUG Stored Procedure Call= {call XL_PKG_RemoveObject.XL_SP_RemoveRO(?,?)}
25 Jan 2013 15:43:11 DEBUG Exiting the deleteResource method of UninstallUtility
25 Jan 2013 15:43:11 DEBUG Messsage Returned by the SP: null -
How to delete particular child element
hi
i have one xml document like this;how to delete particular element ;i want to delete say playerid = 9;
and also i want to update the particular element, IndianPlayer(child nodes(name,age)) say playerid = 5 with name=agarkar and age=27;
<India>
<IndianPlayer PlayerId="1">
<Name>Sachin</Name>
<Age>31</Age>
</IndianPlayer>
<IndianPlayer PlayerId="2">
<Name>Saurav</Name>
<Age>32</Age>
</IndianPlayer>
<IndianPlayer PlayerId="3">
<Name>Yuvraj</Name>
<Age>22</Age>
</IndianPlayer>
<IndianPlayer PlayerId="4">
<Name>Dravid</Name>
<Age>32</Age>
</IndianPlayer>
<IndianPlayer PlayerId="5">
<Name>Kumble</Name>
<Age>34</Age>
</IndianPlayer>
<IndianPlayer PlayerId="6">
<Name>Sehwag</Name>
<Age>24</Age>
</IndianPlayer>
<IndianPlayer PlayerId="7">
<Name>Laxman</Name>
<Age>32</Age>
</IndianPlayer>
<IndianPlayer PlayerId="8">
<Name>parthiv</Name>
<Age>18</Age>
</IndianPlayer>
<IndianPlayer PlayerId="9">
<Name>Zaheerkhan</Name>
<Age>26</Age>
</IndianPlayer>
</India>
bye
chaitanyaHi
you can use the following code to delete a particular child based upon the given criteria
Name the xml file as cricPlayer.xml(since i have used that name in the program)
i hope this solves ur problem
// Developed by ottran on 18/06/2004
import java.io.*;
import java.util.*;
import org.w3c.dom.*;
import org.xml.sax.*;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.*;
import javax.xml.parsers.*;
import javax.xml.*;
import javax.xml.transform.stream.StreamSource;
public class CricDom
public static void saveXML(Document doc, String str)
try{
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
transformer.setOutputProperty(OutputKeys.INDENT,"yes");
transformer.transform(new DOMSource(doc),new StreamResult(str));
catch(TransformerException e)
System.out.println("Transformer Exception: "+e);
public static void main(String args[]){
try
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse("cricPlayer.xml");
document.getDocumentElement().normalize();
Node ParentNode = document.getDocumentElement();
NodeList list = document.getElementsByTagName("IndianPlayer");
for(Node child= ParentNode.getFirstChild(); child != null; child = child.getNextSibling())
try{
if(child.getNodeType()==Node.ELEMENT_NODE)
NamedNodeMap tw = child.getAttributes();
if(child.getAttributes().getNamedItem("PlayerId").getNodeValue().matches("9"))
ParentNode.removeChild(child);
saveXML(document,"cricPlayer.xml");
catch (NullPointerException nex)
System.out.println("Null Exception : "+nex);
catch (Exception ex)
System.out.println("Exception : "+ex);
Bye
ottran -
How to delete a view from a enhanced component?
I wish to know the possibility of deleting a view from a enhanced component.
I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
Regards,
PrabaharHi Raju,
If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
I would suggest following approch :
1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
This is just deleting the entries...this does not delete any objects from the system.
4)Now click on Back arrow, and delete the entry for IUICMRD...save.
5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
6) We did not touch to the entries for IUICMD in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
All the best !!
Thanks & Regards,
Suchita
If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion... -
Delete Class Objects and methods
Hi, i have created a class file for a game. Now i have 3 to 4
games in one Main File. So after playing one game user can choose
another. Now can anybody tell me how to delete the first class
Object or methods, which was used in First game. So that i can
remove the garbage collections from Flash to make it with fast
process?A short simple (overly simple) explanation is that objects are like little machines, which operate independantly from other objects (other little machines). You design an application as a collection of these little machine/objects, interacting with each other. Then you drill down another layer of detail, and design the machines themselves. You do this by defining the classes, which are like blueprints to make a little machine/object.
In java, this is largely expressed by the interface definition at the higher level, and the class definition at the lower level. The interfaces say how various objects may talk to each other, and the class definitions say how any individual object may talk at all.
This is a very basic description, and in fact isn't entirely accurate; if they want to lots of people on this forum could pick it apart. But hopefully it gets the idea across. (As my language design prof said, quoting somebody else, "teaching is just a series of lies.")
There are resources on the web about object-oriented programming, object-oriented design, etc. mutmansky's right, a college course is best, but you can still learn a lot from docs on the web.
Maybe you are looking for
-
Question on merging office 2003 PPTs in Acrobat 9
I follow these steps to Merge office 2003 PPT files and combine the files in Acrobat 9.5.2 to create a combined PDF file with bookmarks. But only slides get printed please help me out. Setting the PPT file printing options When you use Adobe Professi
-
How do connect my iLife on DVD with my Apple accunt
I have iLife on DVD. I cannot upgrade iMovie as App store tells me that my present iMovie installtion is not connected to my Apple account. How is it possible to register my iLife (DVD) with my account?
-
I need to hook up to a charger AND a vga adapter, at the same time... is there a way to do this? I need to have power on for long presentations. Can anyone think of a way to do this?
-
GL Account Master Data for all the inventory Accounts
Hi, What is common & unique feature in the GL Master data of all the Inventory related accounts? Is it "POST AUTOMATICALLY" or some thing else Thanks, Lavanya
-
Help with setting aspect ratio
Could someone please help me with an aspect ratio problem. I have just updated to iMovie 6 and want to work with an existing movie project created from iMovie (version before the ilife 5 version). On opening the project in the new version it is in wi