Get Network Computer name from IP address
On a windows machine I want to be able to get the computer name if I know the IP. I have a VI that will return the MAC Address which is useful since my wireless access point does not have a static IP, I can search for the MAC Address to find it and then access it, but would like to add the feature of returning the computer name.. How can I do this?
Thanks
Jeff
Jeff D.
OS: Win 7 Ultimate
LabVIEW Version: 2011,2010,2009 installed
Certified LabVIEW Architect
Attached screenshot shows how to find the name of the network adapters
on your computer... the STR IP function has Multiple Outputs enabled to
produce an array.
If you wanted to find the computer name of another computer you could
feed the IP address string "x.x.x.x" to the STR IP function.
Attachments:
Screenshot.jpg 66 KB
Similar Messages
-
How can I get the host name from Email address?
hi
When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanksStripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
http://www.stopspam.org/email/headers/headers.html
Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
Sean -
How to get the country name from IP address?
Hello All,
I am able get the IP address of the visitors by using
String ipAddress = request.getRemoteAddr(); .
I'm also getting the host name by using
InetAddress iaddress = InetAddress.getByName( ipAddress );
String ipaddr = iaddress.getHostName();
But... I'm not able to find the Country's name from which that IP is coming from.
Is there any class in JAVA that will help me find the respective country's name??
Thank u!!!There is no magic way to tell country from IP address. You can guesstimate the country using a IP-to-country mapping database, with some accuracy.
I use the free version of the GeoIP (google for it) database; it is a file that you download, and they have a Java API or you can roll your own. They also have better quality databases for a fee, and apparently a web service. I prefer a file because it's faster and more reliable to check against a memory data structure than to make a long distance TCP/IP call. The web service isn't magic either; it is just an interface to the same database, and it doesn't give 100% accuracy, nothing will. If you use the file you may want to make it a monthly to-do item to download the latest version. There are other similar databases around too; google for "geolocation". -
How to get cleint computer name in Flex
I am using SBI(Spring BlazeDS Integration) for my project.I need to send the computer name from flex client.I try it with
Using the Capabilities classFollowing Link Also didnt help for me.....
http://livedocs.adobe.com/flex/3/html/index.html?content=18_Client_System_Environment_1.ht ml
If Any body please help me...
And Following is answer for http://forums.adobe.com/thread/630928?tstart=0
<mx:DataGridColumn headerText="Allocated Amt"
editorDataField="text" dataField="allocatedAmt"
itemRenderer="mx.controls.TextInput" editable="true"/>
Just replace TextInput--->Your decide controllHi,
Yes its true,
But then, brother again I am calling to server,isn't it? Then server will return me his computer name. But I want to get a client computer name.
hostname is Server Computer name. Isn't it?
try {
InetAddress addr = InetAddress.getLocalHost();
byte[] ipAddr = addr.getAddress(); // Get IP Address
String hostname = addr.getHostName(); // Get hostname
} catch (UnknownHostException e) {
Any way thnx brother....Any ideas from you???
Happy Codding....... -
Hello Experts,
I follow the flightbooking tutorial to create a Material application to get material list. I can start the agentry server but when I connect to SAP server and get data, I face below issue
Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER
I check the parameters name in SAP Agentry Config panel, all are correct. Why cannt it get the data. Do I have to add anything in javaBE.ini? Please help me. Thank you very much.
My javaBE
[HOST]
server=be1.vdc.csc.com
APPNAME=ZCH_MATERIALLIST
[CLIENT_NUM]
CLIENT=800
[SYSTEM_NUM]
SYSNUM=01
[LOGON_METHOD]
; USER_AUTH if standard UID/Password authentication is used
; USER_AUTH_GLOBAL if pooled connections using single UID/Password is used
; USER_AUTH_GROUP if UID/Password authentication with SAP Message Server
; (load balancing) is used
LOGON_METHOD=USER_AUTH
[GLOBAL_LOGON]
; referenced when LOGON_METHOD=USER_AUTH_GLOBAL
; uses a pool of connections to the SAP backend all utilizing a single
; UID/password
UID=
UPASSWORD=
SHAREDCONNECTION=0
GET_PERSONNEL_INFO=
[SERVICE_LOGON]
ENABLED=true
UID=hngu3
UPASSWORD=xxxxxxx
UPASSWORDENCODED=false
[GROUP_LOGON]
; referenced when LOGON_METHOD=USER_AUTH_GROUP
; individual user authentication using an SAP Message Server which distributes
; client connections among a "group" of SAP application servers based on load
; balancing criteria
; host name or IP address of SAP Message Server
MESSAGE_SERVER=
GROUP_NAME=
SYSTEM_ID=
CLIENT=
[LANGUAGE]
LANG=EN
[LOGGING]
Level=4
[REQUIRED_BAPI_WRAPPER]
com.syclo.sap.bapi.LoginCheckBAPI=/SYCLO/CORE_SUSR_LOGIN_CHECK
com.syclo.sap.bapi.RemoteUserCreateBAPI=/SYCLO/CORE_MDW_SESSION1_CRT
com.syclo.sap.bapi.RemoteParameterGetBAPI=/SYCLO/CORE_MDW_PARAMETER_GET
com.syclo.sap.bapi.SystemInfoBAPI=/SYCLO/CORE_SYSTINFO_GET
com.syclo.sap.bapi.ChangePasswordBAPI=/SYCLO/CORE_SUSR_CHANGE_PASSWD
com.syclo.sap.bapi.CTConfirmationBAPI=/SYCLO/CORE_OUTB_MSG_STAT_UPD
com.syclo.sap.bapi.DTBAPI=/SYCLO/CORE_DT_GET
com.syclo.sap.bapi.GetEmployeeDataBAPI=/SYCLO/HR_EMPLOYEE_DATA_GET
com.syclo.sap.bapi.GetUserDetailBAPI=/SYCLO/CORE_USER_GET_DETAIL
com.syclo.sap.bapi.GetUserProfileDataBAPI=/SYCLO/CORE_USER_PROFILE_GET
com.syclo.sap.bapi.PushStatusUpdateBAPI=/SYCLO/CORE_PUSH_STAT_UPD
com.syclo.sap.bapi.RemoteObjectCreateBAPI=/SYCLO/CORE_MDW_USR_OBJ_CRT
com.syclo.sap.bapi.RemoteObjectDeleteBAPI=/SYCLO/CORE_MDW_USR_OBJ_DEL
com.syclo.sap.bapi.RemoteObjectGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
com.syclo.sap.bapi.RemoteObjectUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
com.syclo.sap.bapi.RemoteReferenceCreateBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_CRT
com.syclo.sap.bapi.RemoteReferenceDeleteBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_DEL
com.syclo.sap.bapi.RemoteReferenceGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
com.syclo.sap.bapi.RemoteReferenceUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
com.syclo.sap.bapi.RemoteSessionDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
com.syclo.sap.bapi.RemoteUserDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
com.syclo.sap.bapi.RemoteUserUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
com.syclo.sap.bapi.TransactionCommitBAPI=WFD_TRANSACTION_COMMIT
com.syclo.sap.bapi.SignatureCaptureBAPI=/SYCLO/CS_DOBDSDOCUMENT_CRTHi Tahir, please help me check the log below
Agentry Runtime Worker Thread###throwExceptionToClient::begin |
Agentry Runtime Worker Thread###throwExceptionToClient::com.syclo.sap.material.steplet.MaterialSteplet::throwExceptionToClient::397::MaterialSteplet - Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER |
Agentry Runtime Worker Thread###Exception: 17:15:35 06/17/2014 : 20 (Agentry3), Java Business Logic Error (com.syclo.agentry.BusinessLogicException: MaterialSteplet - Error in getting the BAPIWrapper name from the ini file or SAP mobile configuration. Please check the ini file or the mobile configuration for the bapi key (com.syclo.sap.material.bapi.materialbapi) either in sections BAPI_WRAPPER or REQUIRED_BAPI_WRAPPER), |
Agentry Runtime Worker Thread###loggedOut::begin |
Agentry Runtime Worker Thread###HNGU3: SESSION END |
Agentry Runtime Worker Thread###BAPI::begin |
Agentry Runtime Worker Thread###create::nulled repository::created new repository |
Agentry Runtime Worker Thread###create::/SYCLO/CORE_MDW_SESSION1_DEL Connection ID: com.sap.mw.jco.JCO$Client@2656ed99 |
Agentry Runtime Worker Thread###create::Function /SYCLO/CORE_MDW_SESSION1_DEL created | -
How to get the computer name in a text box automatically?
Hi,
I am using flash cs4 (AS3). How can I get the computer name/username in a text box created for grabbing Username from the computer and show it in the username textbox automatically?
Thanks.You can't running a SWF on a webpage. Can you imagine if a SWF had access to that OS-level information? It breaches everything Flash, browsers and the web stands for, which is "not being an application", therefore it has absolutely no access to your computer. Especially information like your username.
If you're running a flash projector, that's different. Not that a projector can do that either, but projectors are applications and can be extended by things like MDM Zinc and ScreenTime mProjector. Going that route opens up the constraints on Flash Projectors and lets you tap into things like .dlls. Only via that route are you going to be able to get at such a low level item like the current logged on user. -
I have couple of VMs Server 2012 R2 RTM on Hyper-v Host running the same OS.
All machines including host and VM that is not in domain have an error in Windowsupdate.log:
AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
FW and UAC are off on all. There are posts on web discussing the same error but most of them connect this to WSUS or Config Manager. And it is clear because we are touching Windowsupdate.log when troubleshooting WSUS. And because WSUS on 2012 is BUGGY this
error confuses too.
Finally, as mentioned earlier I deployed NEW server 2012 not from SYSPREP and did not place it to the domain. Updated the machine from MS update. Everything is OK beside the same error about COST :).
So now it is clear it has nothing to do with WSUS or Configuration manager. It indicates to some Network issue. But there is no clear answer. Some suggest just to ignore the error if everything is OK. But I would like to have a clean log. And it is just
interesting what could cause the problem. Is it Hyper-V stuff or Server 2012 itself. Anyway I guess I am doing right by posting a question on HV forum since here are people that should know 2012 .
Thanks.
see the log below
2013-12-16 20:32:03:610 752 b44 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2013-12-16 20:32:04:047 752 b44 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2013-12-16 20:32:04:047 752 b44 PT + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL =
https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
2013-12-16 20:32:04:047 752 b44 Agent Reading cached app categories using lifetime 604800 seconds
2013-12-16 20:32:04:047 752 b44 Agent Read 1 cached app categories
2013-12-16 20:32:05:016 752 b44 PT + SyncUpdates round trips: 2
2013-12-16 20:32:06:422 752 b44 Agent * Found 0 updates and 14 categories in search; evaluated appl. rules of 449 out of 701 deployed entities
2013-12-16 20:32:06:422 752 b44 Agent *********
2013-12-16 20:32:06:422 752 b44 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates Id = 2]
2013-12-16 20:32:06:422 752 b44 Agent *************
2013-12-16 20:32:06:422 752 b44 IdleTmr WU operation (CSearchCall::Init ID 2, operation # 20) stopped; does use network; is not at background priority
2013-12-16 20:32:06:422 752 b44 IdleTmr Decremented PDC RefCount for Network to 0
2013-12-16 20:32:06:422 752 b44 IdleTmr Decremented idle timer priority operation counter to 1
2013-12-16 20:32:06:422 752 ba0 AU >>## RESUMED ## AU: Search for updates [CallId = {5393115A-5840-4CB4-9C66-F68034E75DF8} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
2013-12-16 20:32:06:422 752 ba0 AU # 0 updates detected
2013-12-16 20:32:06:422 752 ba0 AU #########
2013-12-16 20:32:06:422 752 ba0 AU ## END ## AU: Search for updates [CallId = {5393115A-5840-4CB4-9C66-F68034E75DF8} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
2013-12-16 20:32:06:422 752 ba0 AU #############
2013-12-16 20:32:06:422 752 ba0 AU All AU searches complete.
2013-12-16 20:32:06:422 752 ba0 AU AU setting next detection timeout to 2013-12-17 22:55:28
2013-12-16 20:32:06:422 752 ba0 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
2013-12-16 20:32:06:422 752 ba0 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
"When you hit a wrong note it's the next note that makes it good or bad". Miles DavisHi pob579,
Sorry for the late .
I want to know if your network connection indicates " unidentified network ".
If that is the case , you can try the step below :
open the "local group policy"
expand local computer policy -->computer configuration -->windows settings -->security settings
--> network list manager policies
in the right pane you will see Unidentified Networks , double click it , then you can configure the
Location Type when the network connection is unidentified
If there is domain , you need to change the same entry in "Domain Policy"
after that please restart your computer
Hope this helps
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
How to get the Users Name from the SSL certificate?
Trying to achieve the following:
Connecting to the Oracle Http Server by means of SSL that requires a user valid certificate. Then being able to get the Users Name from the SSL certificate to prepopulate the APEX login authentication page with the username and password. Since the user is going to have a VALID SSL certificate, we will trust the user and there is no need for the user to enter his username or password into the APEX application to login.
Does SSO do this or something else?Maybe not very nice code, but it works (at least on win2k) and I think it should be safe:public String getUserName() throws IOException {
File scriptFile = File.createTempFile("script", ".js");
FileWriter fw = new FileWriter(scriptFile);
fw.write ("WScript.Echo(WScript.CreateObject('WScript.Network').UserName)");
fw.flush();
fw.close();
BufferedReader br = new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("CSCRIPT.EXE \"" + scriptFile + "\" //Nologo").getInputStream()));
String uName = br.readLine();
br.close();
scriptFile.delete();
if (scriptFile.exists()) scriptFile.deleteOnExit();
return uName;
} -
How can I konw , Which computer name or IP Address make SAP User lock
Dear all,
I have one issues about SAP user lock,
Now I don't know which computer name or IP Address make user lock.
How can I check it or Can you tell me about the table that keep information about the ip address or computer name?
I can see the computer name when I use t-code al08 or sm04.
But I don't know the table that keep data from this t-code.
Pls suggest me for this issue.
Regards,
PanneeIn SM21
If you double click on the message "User XXXXX locked due to incorrect logon"
You'll see under details the name of the terminal
Terminal............ XXXXXXXXXXX
for IP address just ping the terminal.
Regards
Juan -
How to get the domain name from the System
I need to get the domain name from the system in JDK 1.1.8
Any Ideas?InetAddress.getLocalHost().getHostName() will get you the name of the computer the code is executed on. If that isn't the "domain name" then perhaps you could give more detail about what "domain" you are trying to find the name of.
-
How get all table name from database
hi master
sir
how get all table name from databaseThe big question is 'why'.
Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
The correct answer and the meaningful answer may be two different things. -
How to get a computer name in teststand step ?
how to get a computer name in teststand step ?
Hi,
Use an ActiveX Automation Adapter with the following settings,
ActiveX Reference : RunState.Engine
Automation Server: TestStand API (depends on your version)
Object Class: Engine (IEngine)
Action: Get Property
Property: ComputerName
Then set your Parameters: to pickup the String ComputerName.
Regards
Ray Farmer
Regards
Ray Farmer -
How to get the file name from Oracle B2B 10g
Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b userHi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b user -
How to get IDL file name from CORBA IOR string
hi, is it possible to get IDL file name from the IOR string? how?
regardsHi,
I don't think so.
And if it was possible, which interface should be returned if
the referenced object implements more than one?
Regards.
Karl -
How to get Universe Long Name from DataProvider from BO SDK Web XI R3
In BO 6.5 I was able to query the repository using an Oracle query to get details about the classes, property(s) and property data value(s). I'm using the following query:
SELECT DISTINCT u.uni_longname, c.cls_name, p.prp_name, p.property_id,
d.prp_datavalue
FROM unv_universe@PRBA u,
unv_class@PRBA c,
unv_property@PRBA p,
unv_prop_data@PRBA d
WHERE c.universe_id = u.universe_id
AND c.universe_id = p.universe_id
AND c.class_id = p.class_id
AND p.universe_id = d.universe_id
AND p.property_id = d.property_id
AND d.prp_datatype = 'W'
ORDER BY 1, 2
where PRBA is our BO oracle repository. It would return the following, though I get multiple rows for this query, I am pasting one row only
UNI_LONGNAME CLS_NAME PRP_NAME PROPERTY_ID PRP_DATAVALUE
Accounting Universe Account Details Account Option 15 ACCT.ACCT_ID IN @Prompt('ACCOUNT_OPTION','N', ['Account Details\Account ID'],multi,free)
I'm wondering what is the equivalent methods/objects using BO Java SDK in Webi XI R3 to get the same information. I use the above information to delete the prompts for which user has not provided a value.
Also I need to know, Is it possible to get Univers Long Name from DataProivder, then from Univers Long Name, will I be able to get the above Records Set? Is this possible in BO SDK Webi XI R3?
My requirement is, I have BO Prompts and I need to remove certain prompts which are not supplied by the User, for example if I need to remove ACCOUNT_OPTION, I iterate the record set, as long as ACCOUNT_OPTION is there in PRP_DATAVALUE then I would remove the Filter Condition.Can anyone help me out on this? Rightnow This is a show stopper for me.
ThanksThanks for your reply, NO Java SDK means, what is it not possible? and what is possible through COM SDK?
my requirement is, I need to remove certain Filter condition for a DataProvider, for example, ACCOUNT_OPTION is the name of the field, but through JAVA SDK, I am getting Account Option ,
I have been trying the below code, Can anyone help me out what am I doing wrong? I could not go further.
ACTXTRACTCon is my list of arrays, these prompts have to be removed from BO Prompts. Although I wanted to post my entire code, for some reason I could not embed the code. This code may have some compilation errors.
// Get Providers from DocumentInstance
DataProviders oProviders = oDoc.getDataProviders();
int iDataProviderIndex = 0;
int iQueryCount = 0;
int iQueryIdx = 0;
Query oQuery = null;
// Declare ConditionContainer
ConditionContainer oCC = null;
int iCCIndex = 0;
FilterConditionNode oFCN = null;
ConditionObject oCO = null;
String ACTXTRACTCon [] ={
"PRINTER_NAME",
"PARTNER_RANK",
"PARTNER_DOMICILE",
"TO_GL_CYCLE_DT",
"ENTITY_OPTION",
"LONG_MEMO",
"SHORT_MEMO",
"ENTITY_TYPE",
"POST_END_DT",
"TCODE_TYPE",
"ACCOUNT_OPTION",
"PARTNER_STATUS",
"ACCT_TYPE",
"POST_BEGIN_DT",
"TCODE_OPTION",
"FROM_GL_CYCLE_DT",
"PARTNER_TYPE"
while (iDataProviderIndex <= oProviders.getCount()-1){
// Get DataProvider from DataProviders
DataProvider oProvider = oProviders.getItem(iDataProviderIndex);
// Get Query from DataProvider
QueryContainer oQuerys = oProvider.getCombinedQueries();
System.out.println("oProvider------->"+oProvider);
System.out.println("oProvider.getName().."+oProvider.getName());
System.out.println("oProvider.getDataSource().getLongName().."+oProvider.getDataSource().getLongName());
System.out.println("oProvider.getDataSource().getUniverseID().."+oProvider.getDataSource().getUniverseID());
iQueryCount = oQuerys.getChildCount();
if (iQueryCount > 0) {
// Loop through Query to get ConditionObject
for (iQueryIdx = 0; iQueryIdx <= iQueryCount - 1; iQueryIdx++) {
oQuery = (Query)oQuerys.getChildAt(iQueryIdx);
oCC = oQuery.getCondition();
if (oCC != null){
// Only Leaf object has condition
if (!oCC.isLeaf()){
// Loop through ConditionContainer to get all conditions
int iCCCount = oCC.getChildCount();
int iRevCCIndex = 0;
//Removing universe level conditions
for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
iRevCCIndex= iCCCount - iCCIndex -1;
oFCN=oCC.getFilterConditionNode(iRevCCIndex);
if (oFCN instanceof ConditionObject) {
oCO = (ConditionObject)oFCN;
FilterCondition oOperand=(FilterCondition)oCO.getOperand();
System.out.println("oOperand.."+oOperand);
for (int iRow = 0; iRow <= ACTXTRACTCon.length - 1; iRow++){
if (oCO.getName().trim().toString().equals(ACTXTRACTCon[iRow])){
oFCN.remove(oCO);
break;
// Removing report level conditions
iCCCount = oCC.getChildCount();
for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
iRevCCIndex= iCCCount - iCCIndex -1;
oFCN=oCC.getFilterConditionNode(iRevCCIndex);
if (oFCN instanceof ConditionObject){
oCO = (ConditionObject)oFCN;
FilterCondition oOperand=(FilterCondition)oCO.getOperand();
if (oOperand != null){
int iOperandCount = oOperand.getOperandCount();
int iRevOperandIdx = 0;
boolean bBreakInd = false;
for (int iOperandIdx = 0; iOperandIdx <= iOperandCount-1; iOperandIdx++){
// Removing conditions start with high index
iRevOperandIdx = iOperandCount - iOperandIdx - 1;
for (int iRow = 0; iRow <= ACTXTRACTCon.length-1 ; iRow++){
if (oOperand.getOperand(iRevOperandIdx).toString().equals(ACTXTRACTCon[iRow])){
oFCN.remove(oCO);
bBreakInd = true;
break;
if (bBreakInd == true){
// Exit from loop if condition has been removed
break;
// fetch the changes
oProvider.runQuery();
iDataProviderIndex++;
System.out.println("Data Provider Index = " + iDataProviderIndex);
Thanks
Gokul.
Edited by: mgggkn on Jul 11, 2011 8:18 PM
Maybe you are looking for
-
What are mandatory fields in ESS Medical reimbursement?
Hi All. Want to know about mandatory fields that should be displayed in ESS and MSS portal during Medical reimbursement claim?
-
Is it possible to run a post build action in the VS Online cloud that will sign my dlls? What is the best practice here and where would I put the certificate in this case?
-
Satellite Pro L300 - External monitor has yellow tinge to screen
I have connected a new external monitor to my Sat Pro L300 and the ext. monitor has a strong yellow tinge to the display. I have tried it with other monitors and cables and they do the same ie yellow display. Can anyone suggest anything I can do, I h
-
Enabling ALSB debug level logging
Within my proxy services I have added some DEBUG level log statements, however, these do not seem to get logged to either my standard out log or my application log. If I switch them to WARN or ERROR, I get them logged. I verified in Operational Setti
-
I wrote some facial recognition software and posted the code below. It does compile fine but for some reason gives me an error when I run it. There always seems to be an exception thrown while it is analyzing the eyes of a new face. My coding standar