How to validate if the baseBN using JNDI..?
Hi,
I have the directory server's admin username, admin password, system ip and port along with the BaseDN, how do i check whether the BaseDN that was entered by the user is valid one using JNDI..?
thanks,
Barani
>
gopalkrishna baliga wrote:
> The field is defined as CHAR type and I can't change this type.
Heard about string operator C ontains O nly (CO) ? SAP Help link: [http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3516358411d1829f0000e829fbfe/content.htm]
Similar Messages
-
Plz-Tel me how to connect to the DME using JNDI
This is my final sem [ M.Tech IT] project work. Problem is " I cant get connection to the DME. Though i searched a lot from Google I cant get a solution. Plz help me to get connection to the Data Mining Engine. If possible plz mail me a detailed code or any links that says how to.
Thanks
Srinivasa BabuI work in the power conversion industry and do these types of measurements all the time…
Do you want to just measure power quality or create and measure power quality problems?
What hardware are you using?
Power quality analyzer?
Programmable AC power source?
Fast Transient Generator?
Here is an example of what I do.
To create PQ problems I use a California Instruments AC source set to nominal power for the unit under test. Using Labview I program several transients consisting of fixed and random duration dropouts and surges. I also use a Schaffer Fast Transient Burst Generator to apply high frequency noise bursts directly onto power lines.
For measuring power quality I use a Voltech PM3000A power analyzer and Labview to measure everything from voltage, current, and frequency, to harmonics and %THD
Message Edited by RTSLVU on 07-23-2008 10:31 AM -
Please Help. How can you monitor a directory using jndi connection to a ldap server?
How can you monitor a directory using jndi connection to a ldap server? I
want the ldap server to monitor the content change in a file system
directory on another computer on the network. Can someone please help.
Thanks
FredHi,
Why do you want to use LDAP for Hard disk monitoring..???
U can do this by creating a MD5 checksum for all the files existing in some
perticular
directory and every hour or any configurable period u can recalculate the
checksum
to find out the change in the content.
I guess all u need is to get the code for "updatedb" utility of Linux and
instrument it for ur needs..
Hope it helps...
-aseem
mr wrote:
How can you monitor a directory using jndi connection to a ldap server? I
want the ldap server to monitor the content change in a file system
directory on another computer on the network. Can someone please help.
Thanks
Fred -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
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. " DISPLAY_DATA -
How can I find the schemas used in a database? Any system table contains?
How can I find the schemas used in a database?
Any system table contains?
I would like to know sql statement (dictionary object name) which tells the all schema s in a database like dba_users.Hello,
this SQL should help:
db2 "select schemaname from syscat.schemata" -
HT4759 How can I know the Devices using my i Cloud or Apple ID?
How can I know the Devices using my i Cloud or Apple ID?
This information is not available. If you have any misgivings, change your password at http://appleid.apple.com - it should be at least 8 characters - 12 would be better - of which one must be a capital letter and one a numeral. No punctuations signs, and no real words.
-
How can I suspend the job using IPP_CANCEL_JOB of ipp api
hi, Can anyone help how can I suspend the job using IPPCANCELJOB of ipp api,so that I can cancel my previous job.
thanksAs before, you should try http://lists.apple.com/mailman/listinfo/printing.
-
How can I Improve the Performance using Global Temo Tables ??
Hi,
Can anyone tell me , How can i make use of Global Temporary Tables to improve the Performance.
I have few sample scripts ,
Say i have the View based on some Complex query like ,
CREATE OR REPLACE VIEW Profile_values_view AS
SELECT d.Profile_option_name, d.Profile_option_id, Profile_option_value,
u.User_name, Level_id, Level_code
FROM Profile_definitions d, Profile_values v, Profile_users u
WHERE d.Profile_option_id = v.Profile_option_id
AND ((Level_code = 'USER' AND Level_id = U.User_id) OR
(Level_code = 'DEPARTMENT' AND Level_id = U.Department_id) OR
(Level_code = 'SITE'))
AND NOT EXISTS (SELECT 1 FROM PROFILE_VALUES P
WHERE P.PROFILE_OPTION_ID = V.PROFILE_OPTION_ID
AND ((Level_code = 'USER' AND
level_id = u.User_id) OR
(Level_code = 'DEPARTMENT' AND
level_id = u.Department_id) OR
(Level_code = 'SITE'))
AND INSTR('USERDEPARTMENTSITE', v.Level_code) >
INSTR('USERDEPARTMENTSITE', p.Level_code));
Now i have created the Global temp Table as ,
CREATE GLOBAL TEMPORARY TABLE Profile_values_temp
Profile_option_name VARCHAR(60) NOT NULL,
Profile_option_id NUMBER(4) NOT NULL,
Profile_option_value VARCHAR2(20) NOT NULL,
Level_code VARCHAR2(10) ,
Level_id NUMBER(4) ,
CONSTRAINT Profile_values_temp_pk
PRIMARY KEY (Profile_option_id)
) ON COMMIT PRESERVE ROWS ORGANIZATION INDEX;
Now I am Inserting the Records into Temp table as
INSERT INTO Profile_values_temp
(Profile_option_name, Profile_option_id, Profile_option_value,
Level_code, Level_id)
SELECT Profile_option_name, Profile_option_id, Profile_option_value,
Level_code, Level_id
FROM Profile_values_view;
COMMIT;
Now what my doubt is, when do i need to execute the Insert Statement.
Say , if the View returns few millions of records , then loading such a data into Global Temporary table takes lot of time.
Then what is the use of Global Temporary tables and how can i improve the Performance using the same.
RajThanks for the responce ,
There are 2 to 3 complex views in our database, and there always be more than 5000+ users will be workinf on the application and is OLTP application. Those complex views are killing the application performance.
I what i felt was, if i create the Global Temporary tables for thow views and will be able to load the one third million of records returned by the views in to cache and can improve the application performance.
I have created the Global Temporary tables for 2 views with the option On Commit Preserve , But after am inserting the records into the Temp table and when i Issue the commit statement, the Temp table is getting Cleared.
I really got surpised of this behaviour as i know that with the Option On Commit Preserve , the rows should retain in the Temp Table, Instead , it's getting cleared.
Pelase suggest , what to do ??
Raj -
How can I change the value used in a Criteria Rule in a Subscription agent
Dear mobile heroes.... How can I change the value used in a Criteria Rule in a Subscription agent in a quality environment? (CRM 70 SP04).
I have built a subscription agent in dev, which uses a static where clause to filter activity_object on VKORG. I need to filter on a different VKORG value in the quality environment, but when I change the value of the sales org, the change is not saved. I have tried this even non 'activated' subscription agents, but it still does not appear possible to change and save the changes.
This poses a big problem because the VKORG value I want to use does not even exist in the dev environment, so I could not even rebuild in dev and transport the new agent to quality. Can anyone help me?Too old to care now.
-
I had a "pdf export" plan and upgraded it to "pdf pack" plan and it was charged the full price of the new plan in my credit card. How to get back the non used part of the old plan?
Hi edilsoncf,
I've seen your question on several forums, and responded there. Did you get your subscription sorted out?
See: How do I get a refund if I have multiple Acrobat service subscriptions?
Best,
Sara -
How to display all the surveys using content query web part
Can you please tell me how to display all the surveys using content query web part in more details? I also created a subsite and multiple surveys in that site. Then, I inserted a Content Query Web Part and select the List Type to be "Survey",
however, it returned nothing. Did I miss anything?Hi,
OOTB Survey List does not contain any
Content Types and it has the following structure:
Response entry is represented by
List Item
Response entry consist of questions and answers, where Question correspond to
Field and Answer to Item value respectively.
For querying Survey List via CQWP the following properties could be used
BaseType
<Lists BaseType="4">
ServerTemplate
<Lists ServerTemplate="102">
Example
To retrieve all the responses from Survey lists, specify List Type property as shown on picture
Reference:
http://stackoverflow.com/questions/17280778/display-all-surveys-using-content-query-web-part
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How do I change the image used on an movie project icon?
iMovie seems to select an image at random from the images I imported.Not sure I understand how to use what you have posted. Here's what my init() looks like:
public void init()
setLayout(new BorderLayout());
p=new Panel();
p.setLayout(new GridLayout(1,1));
callnowButtonURL = getURL(callnowButtonFilename);
if (callnowButtonURL != null)
callIcon = new ImageIcon(callnowButtonURL,"call");
endcallButtonURL = getURL(endcallButtonFilename);
if (endcallButtonURL != null)
endIcon = new ImageIcon(endcallButtonURL);
b=new JButton(callIcon);
b.setBorder(new EmptyBorder(0,0,0,0));
b.setBorderPainted(false);
b.addActionListener(this);
p.add(b);
add(p,"Center");
Now the ActionListener is basically:
public void actionPerformed(ActionEvent e)
if (mybool == false)
<Perform actions here set mybool to true>
Change JButton b to use EndIcon
else
<Perform actions here set mybool to false>
Change JButton b to use CallIcon
Can you clarify how to perform the action I require? You can have a couple of Dukes if you can help me sort this out. -
How do I rename the table using Impdp?
Using the Impdp/Expdp utility of Oracle, I am trying to import a table. However the target database contains a table with the same name. How do I rename the table using Import?
REgards,
SakthiSAKTHIVEL wrote:
Using the Impdp/Expdp utility of Oracle, I am trying to import a table. However the target database contains a table with the same name. How do I rename the table using Import?
Hmm well why you just can't rename the table on the target db with the rename table to command and then do the import, will be easy right?
Aman.... -
I already own iWork, and do not want to have to pay for it again, How do I get the installer using my existing licence. It will not migrate from one computer to another, perhaps because of the recent system upgrade.
How did you pay for it?
Through the Mac App Store or as alicence for a DL?
Peter -
My dad has the original software and i can't install the program because my dad is in the US and I'm in the Philippines. Now, I asked the serial number of his adobe lightroom. How can I download the software using the serial number? thanks.
If you just need a copy of the software, then download the trial copy of Lr available from Adobe. On entering your serial number it will then become a full copy.
Maybe you are looking for
-
Deselecting text in a text area as well as a input label?
Hi there, Scenario - I have some text selected in a text area component. I get a callback from another program (external interface included) to remove the selection. How do i deselect the selected text and retain the text without selection? I have re
-
Urgent Help with 8.1.2
I can download and install Adobe Reader 8.1.2 with no problem; however, when I try to open any PDF file, Adobe locks up and the only error I get is a Microsoft error stating that Microsoft has encountered a problem and needs to close. I have uninstal
-
Intel Fortran compiler broken under Mavericks
After upgrading to OS 9 on a Mac Pro and a MacBook Pro, and installing Xcode 5.0.1 on both, my Intel Fortran compiler (vs 12.0.5) no longer works. I have updated the command line tools. When I try compiling a source file it fails with the message:
-
I can only get some of my downloaded music from itunes on my iphone. The music that wont play has a round circle with a black square in the middle. Can someone help me to get all my music on my iphone. Thanks
-
Is this error software or hardware? What does it mean?
Hi, I keep getting this error in the Console - Just before the onscreen video glitches & flashes force me to shutdown my 24" (2008) iMac. "PM kernel: NVDA(OpenGL): Channel exception! exception type = 0x8 = Fifo: Watchdog Timeout Error" My hardware ch