Use of scripts in $OAD_TOP/admin/scripts/CONTEXT
Hi ,
please let me know the function of below scripts for 11i
adfmsctl.sh
jtffmctl.sh
adfrmctl.sh
adexecsql.pl
adtcfctl.sh
adfmcctl.sh
please let me know the function of below scripts for 11iPlease search MOS and the documentation before posting similar questions.
adfmsctl.sh See (Oracle Forms in Applications FAQ [ID 177610.1]).
jtffmctl.shOn a R12 Multi-Node Install -- Why do all Middle Tiers run all Services? [ID 415385.1]
On a R12 Multi-Node Install -- Why do all Middle Tiers run all Services? [ID 415385.1]
adfrmctl.sh Oracle Forms in Applications FAQ [ID 177610.1]
adexecsql.pl I believe this is used internally by the application scripts (mainly AutoConfig).
adtcfctl.shTroubleshooting TCF With Oracle Applications 11i [ID 145646.1]
adfmcctl.shOracle Forms in Applications FAQ [ID 177610.1]
Maintaining Oracle Applications Documentation Set
http://www.oracle.com/technetwork/documentation/applications-167706.html
Thanks,
Hussein
Similar Messages
-
How to get the context data using java script in interactive forms
Hi All,
How to get the context data using java script in interactive forms by adobe, am using web dynpro java
thanks.Hi venkat,
Please Refer this link.
Populating one Drop-Down list from the selection of another Drop-down list
Thanks,
Raju. -
How to publish infopath form using powershell script in infopath 2010?
Is any approach for such solution.Hi,
Try below command:
Uninstall the existing solution (based on the from file name):
Uninstall-SPInfoPathFormTemplate -Identity Exampleform.xsn
Install the new solution (based on the from file name):
Install-SPInfoPathFormTemplate -Path C:\Form.xsn
Disable feature on site collection level
Disable-SPInfoPathFormTemplate -Identity "Form.xsn" -Site http://SPSite
Enable feature on site collection level
Enable-SPInfoPathFormTemplate -Identity "Form.xsn" -Site "http://SPSite"
See this blogs for your ref:
http://rgielen.blogspot.in/2010/11/deploy-infopath-2010-forms-with.html
http://mysharepointwork.blogspot.in/2010/09/deploy-infopath-forms-with-powershell.html
Hope it could help
Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
Creating Datasource in WLS 10.x using ant script
All,
We need to create datasource using ant script which uses wlconfig, has anyone done it before? tried the below script, it creates the datasource and connection pool seperately. In WLS 10.x the connection pool entries are part of the datasource itself but the script creating seperately.
<?xml version="1.0" encoding="windows-1252" ?>
<project name="deploy" default="all" basedir=".">
<!-- master build.properties -->
<property file="../../build/build.properties"/>
<property file="build.properties"/>
<echo> ${wls.home} </echo>
<echo> ${wls.url} </echo>
<path id="library.WL">
<pathelement location="${wls.home}/server/lib/weblogic.jar"/>
<pathelement location="${wls.home}/../modules/features/weblogic.server.modules_10.3.1.0.jar"/>
<pathelement location="${wls.home}/server/lib/webservices.jar"/>
<pathelement location="${wls.home}/../modules/org.apache.ant_1.7.0/lib/ant-all.jar"/>
<pathelement location="${wls.home}/../modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar"/>
</path>
<taskdef name="wldeploy" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLDeploy"/>
<taskdef name="wlconfig" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLConfig"/>
<target name="init">
<wlconfig username="${server.user}" password="${server.password}"
url="${wls.url}">
<query domain="base_domain" type="Server" name="soa_server1" property="soaServer"/>
<query domain="base_domain" type="Server" name="soa_server1" property="soaServers"/>
<create type="JDBCConnectionPool" name="${pool.name}"
property="pool">
<set attribute="CapacityIncrement" value="1"/>
<set attribute="DriverName" value="${database.driver}"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="10"/>
<set attribute="Password" value="${database.password}"/>
<set attribute="Properties" value="user=${database.user}"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="false"/>
<set attribute="URL" value="${database.connectString}"/>
<set attribute="Targets" value="${soaServer}"/>
</create>
<create type="JDBCTxDataSource" name="${datasource.name}">
<set attribute="JNDIName" value="${datasource.jndi.name}"/>
<set attribute="PoolName" value="${pool}"/>
<set attribute="Targets" value="${soaServers}"/>
</create>
</wlconfig>
</target>
<target name="deploy" depends="init"></target>
</project>
database.connectString=jdbc:rmi://localhost/jdbc:odbc:RoosterDSN
database.user=admin
database.password=admin
database.driver=org.objectweb.rmijdbc.Driver
datasource.jndi.name=jdbc/MsAccessDataSource
datasource.name=MsAccessDataSource
pool.name=MsAccessDataSourcePool
Was wondering if anybody has done it? please let me know if it's possible.
Thanks in advance..Hi Girish,
Please go through with below post.
http://rocksolutions.wordpress.com/2010/03/29/creating-a-connection-pool-using-ant-in-weblogic/
Let me know in case any issues observed.
Thanks -
Reflection errors in Field Data Edit Scripting context(Line Item class)
Hello Experts,
I have a script that does some validation in the Field Data Edit Scripting context of the "Line Item" class, and I have "MATERIAL" as my target. when i try throwing an Application Exception in this context I get a reflection error message box instead of the message I have passed to the Application Exception constructor.
your help will be greatly appreciated.
kind regards,One thing to be aware of is that no matter how you choose to construct your exception in field, field data edit and collection scripts, the attribute is always set to the be the taget field/collection. Have you noticed that? The script designers made things that way. What's going on here is that the exception raised in the Interprer is caught by the Script Manager and rethrown with the script target as the attribute and your raised exception as the exception.
One other thing I would point out is that scripts set to execute on the Collection Member Lifecycle event tend to be poor performers. You can get a faster result if you edit whole collection and chain the errors onto one ChainException. I can only speculate as to why, but I have seen major improvements in complex scripts if I iterate the whole collection, versus implementing a collection memeber lifecycle validate event. This is counter-intuitive, but there it is.
Finally, exceptions raised in Collection Lifecycle Events that interupt the overall save process in the prescence of parent document Lifecycle Validation events can result in partially saved data. I observed this issue a few years back and it may be resolved now. The only member lifecycle event I use is Created, to lock, default, etc.
So, for your particular problem, you may want to rethink your strategy and see if you can get things to work for you bypassing that reflection issue. If you still can't raise the exception on MATERIAL, maybe you can raise it on another field, because another advantage of this approach is that you have full control to raise any error on any field on the Line Items. -
How & where to use Java script to create new button in object detail page
Hi All,
I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
Thanks in advance.
Regards,
ManishAny related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
Admin --> Application Customization --> Contact -->Contact Web Applet
Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
Cheers!
Royston -
Script to export Security file using maxl script
can anyone provide me the Script to export Security file using maxl script.It should create a log file and a batch file should also be there to schedule the Maxl script.Please help me with this
Hi,
You can use something like
[b]login admin password on localhost;
[b]spool on to 'c:\temp\log.txt';
[b]export security_file to data_file C:\temp\sec_file.txt;
[b]spool off;
[b]logout;
Then you can have a batch file that just calls the maxl script
essmsh name_of_maxl_script.mxl
The batch script can then be scheduled.
Cheers
John
http://john-goodwin.blogspot.com/ -
Change Master page of a site using ECMA Script in sharepoint 2010
Hi All,
I'm working on SharePoint 2010.
I have a requirement where in I need to create a site and apply a particular master page to the newly created site using
ECMA Script.
The site gets created but while applying the master page it gives me an error stating the method 'set_masterUrl' is not defined.
Here is my code:
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
function createSite() {
var context = SP.ClientContext.get_current();
var collWeb = context.get_web().get_webs();
var webCreationInfo = new SP.WebCreationInformation();
webCreationInfo.set_title('TestSite');
webCreationInfo.set_description('Description of new Web site...');
webCreationInfo.set_language(1033);
webCreationInfo.set_webTemplate('STS#0');
webCreationInfo.set_url('TestSite');
webCreationInfo.set_useSamePermissionsAsParentSite(false);
var oNewWebsite = collWeb.add(webCreationInfo);
context.load(oNewWebsite);
context.executeQueryAsync(Onsuccess, onfail);
function Onsuccess() {
dummy(context, oNewWebsite);
function onfail(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
function dummy(context,oNewWebsite)
var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
oNewWebsite.set_masterUrl(strMasterPageUrl);
oNewWebsite.set_customMasterUrl(strMasterPageUrl);
oNewWebsite.update();
context.executeQueryAsync(Onsuccess1, onfail1);
function Onsuccess1() {
alert("Done");
function onfail1(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
Please help.
Thanks,
SachinThe issue is coming because the scope of context and oNewWebsite is not available in your success method. Try to modify the code as below and see if that helps.
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
var context = null;
var oNewWebsite = null;
function createSite() {
context = SP.ClientContext.get_current();
var collWeb = context.get_web().get_webs();
var webCreationInfo = new SP.WebCreationInformation();
webCreationInfo.set_title('TestSite');
webCreationInfo.set_description('Description of new Web site...');
webCreationInfo.set_language(1033);
webCreationInfo.set_webTemplate('STS#0');
webCreationInfo.set_url('TestSite');
webCreationInfo.set_useSamePermissionsAsParentSite(false);
oNewWebsite = collWeb.add(webCreationInfo);
context.load(oNewWebsite);
context.executeQueryAsync(Onsuccess, onfail);
function Onsuccess() {
dummy(context, oNewWebsite);
function onfail(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
function dummy(context,oNewWebsite)
var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
oNewWebsite.set_masterUrl(strMasterPageUrl);
oNewWebsite.set_customMasterUrl(strMasterPageUrl);
oNewWebsite.update();
context.executeQueryAsync(Onsuccess1, onfail1);
function Onsuccess1() {
alert("Done");
function onfail1(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
The other way is to use this.context and this.oNewWebsite. To see how you can modify your code have a look at the following link.
http://msdn.microsoft.com/en-us/library/office/jj163201%28v=office.15%29.aspx
Geetanjali Arora | My blogs | -
Question about creating new tables using SQL script in WebLogic Server
Hi,
I am new to WebLogic and I am following a book Java EE Development with Eclipse published by PACKT Publishing to learn
Java EE. I have installed Oracle Enterprise Pack for Eclipse on the PC and I am able to log into the WebLogic Server Administration Console
and set up a Data Source. However the next step is to create tables for the database. The book says that the tables can be created using
SQL script run from the SQL command line.
I cannot see any way of inputting SQL script into the WebLogic Server Admistration Console. Aslo there is no SQL Command line in DOS.
Thanks for your help.
Brian.Sounds like you are to run the scripts provided by a tutorial to create the tables, right? In that case, you may need to install an Oracle client to connect to your database. The client is automatically installed with the database, so if you have access to the server that hosts the database, you should be able to run SQLplus from there.
As far as I know, there is no way to run a script from the Admin Console. I could be wrong, however. -
Write to ERP Tables on HANA DB using SQL script
Hello All,
We are using HANA as our primary database for ABAP system and trying to feed the data to ABAP tables using SQL script and experiencing authorization errors . Please see below for more details.
Scenario.
I am getting no authorised error when i try to write some data to Z* tables using SQL script in HANA studio.But I am able to create new tables in the same schema.
As shown above Query1: SAPSR1 is the schema which contains underline ABAP tables. ZGSA is existing table and now i am trying to insert new rows into it.
Query 2&3: Creating new tables in SAPSR1 works fine.
Can you please suggest me whether it is right approach or i need to have RFC to update these table from some other tool/app?.
Thanks in advance,
NareshHi Naresh,
Obi Wan would now probably say: "this is not the functionality you're looking for".
Even though you are working with Z-tables you really don't want to start messing with those from outside the context of the NetWeaver system.
Instead you want to keep the control over all tables in the NetWeaver schema completely to the SAP<sid> user and NetWeaver.
For your data loading scenario, just write a simple ABAP report with native sql or an AMDP to do the copying of the data for you.
Don't spread your code across the landscape and don't loosen access restrictions on your schema.
- Lars -
Deploying mappings by changing Source/production system using OMB Scripting
Hi Mark,
I am now trying to deploy my mappings from DEVELOPMENT environment to PRODUCTION environment.
Now my mappings are point to DEVELOPMENT Source System and DEVELOPMENT target system. When I deploy these mappings should point to PRODUCTION Source System and PRODUCTION target System.
I could get some help from the forum for deploying the mappings point to PRODUCTION target system, but I couldnt find any help how to change the Source System Location. I have exported all my mappings (.xml files) in the C:\OWBDeploy directory.
How do we register and unregister a location using OMB Scripting?
How to write a batch deployment action without using deployment manager?
Provide a example to deploy the mappings using OMB script
for both source and target systems locations.
I am using Oracle 9.2, OWB 9.2.0.2.8, OWF 2.6 and OMB 9.2.0.2.8.
Regards,
ShreedharBelow script will deploy all the mappings in a module. It can be used with filter condition like mappings which start with M_D or M_F also. Above script will deploy mappings very effectively comparing with GUI. Frequent problem in OWB mapping execution TASK not found error will not occur, if we deploy the mappings using above scripts.
Steps to Deploy All Mappings in a Module
Start the OMB PLUS from Command Prompt or Start Menu
Change the context to the respective Project
Connect to Design Repository
Register the Location Properties if the deployment is happening first time in the target schema.
Change the context to the respective Module
Use foreach and OWBCREATE command to create a Deployment Plan for Droping if any previous deployment for all mappings
Use foreach and OWBCREATE command to create a Deployment Plan for Newly Deploying the Mapping
Use foreach and OWBDEPLOY command to run the Drop Deployment Plan
Commit
Use for each and OWBDEPLOY command to run the Create Deployment Plan
Example
OMBCONNECT mis_owb904_rep/[email protected]:1521:ulyut03s
OMBCC '/IGMS_MIS_GEMNCAP_FOC'
OMBCONNECT RUNTIME 'ST_DWH_RUNTIME_FOC' USE PASSWORD MIS_RT_OWNER
OMBREGISTER LOCATION 'ST_LOC_CURRENTMISTARGET_FOC' SET PROPERTIES (Host, Port, Service, Schema, Password) \
VALUES ('10.202.148.176', 1521, 'ULYUT01M','MIS_OWNER', 'MANAGER')
OMBCC '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET'
foreach mappingname [OMBLIST MAPPINGS] {
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.DROP' ADD ACTION '$mappingname.DROP' \
SET PROPERTIES (OPERATION) VALUES ('DROP') SET REFERENCE MAPPING \
'/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
foreach mappingname [OMBLIST MAPPINGS] {
OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.DROP'
OMBCOMMIT;}
foreach mappingname [OMBLIST MAPPINGS] {
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE' ADD ACTION '$mappingname.CREATE' \
SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING \
'/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
foreach mappingname [OMBLIST MAPPINGS] {
OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE'
OMBCOMMIT;} -
Passing flexfield from report wrapper to seeded report using shell script
I am unable to pass flexfield values from report wrapper to seeded report using shell script
below is the shell script that i am using to transfer GL Account High and GL Account Low to the seeded program Receipt Journal Report (ARXRJR). the flex fields get passed through the parameter v_param_12 and v_param_13. but all i am getting in the seeded report log file is the reporting level,reporting context,set_of_books,period, gl_date_low/high .
#TEST Program for Passing GL Account High and GL Account Low
v_user_name=`echo $3`
v_login_pwd=`echo $FCP_LOGIN`
v_prog_name=`echo TESTARXRJR`
echo 'v_prog_name: '$v_prog_name
# testing for passing the arguments from CM ...
if [ -z "$1" ]
then
echo "Please pass the first argument...."
exit 1
fi
v_request_id=`echo $4`
echo 'v_request_id: '$v_request_id
v_param_1=`echo $5`
echo 'v_param_1: '$v_param_1
v_param_2=`echo $6`
echo 'v_param_2: '$v_param_2
v_param_3=`echo $7`
echo 'v_param_3: '$v_param_3
v_param_4=`echo $8`
echo 'v_param_4: '$v_param_4
v_param_5="$9"
echo 'v_param_5: '$v_param_5
shift
v_param_6=`echo $9`
echo 'v_param_6: '$v_param_6
shift
v_param_7=`echo $9'`
echo 'v_param_7: '$v_param_7
shift
v_param_8=`echo "$9"`
echo 'v_param_8: '$v_param_8
shift
v_param_9=`echo $9`
echo 'v_param_9: '$v_param_9
shift
v_param_10=`echo $9`
echo 'v_param_10: '$v_param_10
shift
v_param_11=`echo $9`
echo 'v_param_11: '$v_param_11
shift
v_param_12=`echo $9`
echo 'v_param_12: '$v_param_12
shift
v_param_13=`echo $9`
echo 'v_param_13: '$v_param_13
shift
v_param_14=`echo $9`
echo 'v_param_14: '$v_param_14
shift
v_param_15=`echo $9`
echo 'v_param_15: '$v_param_15
shift
v_param_16=`echo $9`
echo 'v_param_16: '$v_param_16
shift
v_param_17=`echo $9`
echo 'v_param_17: '$v_param_17
shift
v_param_18=`echo $9`
echo 'v_param_18: '$v_param_18
shift
v_param_19=`echo $9`
echo 'v_param_19: '$v_param_19
shift
v_param_20=`echo $9`
echo 'v_param_20: '$v_param_20
shift
v_param_21=`echo $9`
echo 'v_param_21: '$v_param_21
shift
v_param_22=`echo $9`
echo 'v_param_22: '$v_param_22
shift
v_param_23=`echo $9`
echo 'v_param_23: '$v_param_23
echo "Executiong SQL to obtain org id and responsibility name"
(sqlplus -s /nolog <<end_of_sql
conn $v_login_pwd
set heading off
set echo off
set feedback off
SELECT 'ORGID:'||b.profile_option_value || ':' ||e.responsibility_name
FROM fnd_profile_options a,
fnd_profile_option_values b,
fnd_concurrent_requests c,
fnd_responsibility d,
fnd_responsibility_tl e
WHERE c.request_id = $v_request_id
AND c.responsibility_id = b.level_value
AND b.profile_option_id = a.profile_option_id
AND a.application_id = b.application_id
AND c.responsibility_application_id = d.application_id
AND d.application_id = e.application_id
AND a.profile_option_name = 'ORG_ID'
AND c.responsibility_id = d.responsibility_id
AND d.responsibility_id = e.responsibility_id;
exit
end_of_sql
) > a.log
v_var=`grep -iv "ORG_ID" a.log|sed 's/Connected.//'`
echo 'v_var: ' $v_var
v_org=`echo $v_var| awk 'FS=":" {print $2 }'`
v_resp_name=`echo $v_var | awk 'FS=":" {print $3}'`
echo 'v_org :'$v_org
echo 'v_resp_name :'$v_resp_name
echo 'Sumitting Receipt Journal Report...'
user_request=`CONCSUB $v_login_pwd GL "$v_resp_name" $v_user_name WAIT=Y CONCURRENT AR ARXRJR \
\"$v_param_3\"\
\"$v_param_4\"\
\"$v_param_5\"\
\"$v_param_6\"\
\"$v_param_7\"\
\"$v_param_8\"\
\"$v_param_9\"\
\"$v_param_10\"\
\"$v_param_11\"\
\"$v_param_12\"\
\"$v_param_13\"\
\"$v_param_14\"\
\"$v_param_15\"\
\"$v_param_16\"\
\"$v_param_17\"\
\"$v_param_18\"\
\"$v_param_19\"\
\"$v_param_20\"\
\"$v_param_21\"\
\"$v_param_22\"\
\"$v_param_23\"`
user_request=`echo $user_request|awk '{print $3}'`
echo Request is $user_request
trx_rep_file="$user_request"
echo 'trx_rep_file: '$trx_rep_file
sleep 10
for i in 1 2 3 4 5
do
if test -f $APPLCSF/$APPLLOG/l$user_request.req
then
if test [`grep -i '"Concurrent process completed successfully"' $APPLCSF/$APPLLOG/l$user_request.req`]
then
if test -f $APPLCSF/$APPLOUT/o$trx_rep_file.out
then
echo +++++++++++++++++++++++++++++++++
echo 'output file found'
echo ++++++++++++++++++++++++++++++++++++++
else
echo +++++++++++++++++++++++++++++++++++++++++
echo failure in Report listing production
echo +++++++++++++++++++++++++++++++++++++++
fi
break
else
echo +++++++++++++++++++++++++++++++++++++++
echo Job not Over Yet
echo +++++++++++++++++++++++++++++++++++++++++++++
fi
echo +++++++++++++++++++++++++++++++++++++++
echo File not found yet
echo ++++++++++++++++++++++++++++++++++++++
fi
sleep 10
done
echo ----------------------------------------------------------
echo Transaction Listing process over
echo ---------------------------------------------------------
echo ----------------------------------------------------------
echo Executing SQL to derive Search Pattern
echo ----------------------------------------------------------
v_pattern=`sqlplus -s /nolog <<EOF1
conn $v_login_pwd
set heading off
set echo off
set feedback off
SELECT 'SEARCH^'||meaning||'^'||attribute1||'^'||attribute2||'^'||attribute3
FROM fnd_lookup_values
WHERE lookup_type = '$v_param_2'
AND lookup_code = '$v_prog_name';
exit
EOF1`
echo 'v_pattern: '$v_pattern
v_pattern_n1=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $2}'`
echo 'v_pattern_n1: '$v_pattern_n1
v_pattern_n2=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $3}'`
echo 'v_pattern_n2: '$v_pattern_n2
v_pattern_n3=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $4}'`
echo 'v_pattern_n3: '$v_pattern_n3
v_pattern_n4=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $4}'|sed 's/ //'`
echo 'v_pattern_n4: '$v_pattern_n4
echo 'v_param_12: '$v_param_12
echo 'v_param_13: '$v_param_13
echo -----------------------------------
echo Deriving final output
echo ----------------------------------
v_var=`cat $APPLCSF/$APPLOUT/o$trx_rep_file.out | grep -i "$v_pattern_n1"|\
sed "s/(/-/g"|sed "s/)/ /g"|\
sed "s/$v_pattern_n1/$v_pattern_n2/g"|\
sed 's/ /~/g'|\
sed 's/~~*/~/g'|\
sed 's/ *//g'|\
sed 's/,//g'`
echo 'v_var: '$v_var
v_var_2=`cat $APPLCSF/$APPLOUT/o$trx_rep_file.out|grep -i "$v_pattern_n3"|\
uniq`
v_out_1=`echo "$v_var"|grep -i "$v_pattern_n2"|awk 'FS="~" {print $3}'`
echo 'v_out_1: '$v_out_1
echo 'v_var_2: '$v_var_2
echo ------------------------------------------------------------
v_out_2=`echo "$v_var_2"|grep -i "$v_pattern_n3"|awk 'FS=":" {print $2}'`
echo 'v_out_2: '$v_out_2
echo ----------------------------------------------
echo Process comleted
echo ----------------------------------------------------
echo ================================================================================
#---------------------------------------------------------------------------------------------------The name of this OTN group is "Database - General"
Your question relates to an unnamed application that might be E-Business Suite, or PeopleSoft, or Siebel, who can say.
Please re-ask your question in the appropriate applications forum and be sure to clearly name the full product name and version. We are not mind readers and we can not look over your shoulder. -
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
Unable to turn column headers bold in Word table using VB Script
I have created a table in Microsoft Word 2010 using VB Script (this is via the script engine that forms part of HP Quality Centre functionality). The table itself is OK, 2 columns with centred headers. However, I am unable to make the column
headers bold. I have spent hours searching the net and trying various options to no avail can somebody please help me.
Set objWord = CreateObject("Word.Application")
Set objDocument = objword.Documents.Open(Src_Dir & template_file
Const wdAlignParagraphCenter = 1'var to control justification of the table columns
Const NUMBER_OF_ROWS = 1 'number of rows in intial table
Const NUMBER_OF_COLUMNS = 2 'number of colums in the intitial table
'search for the "TAA_TABLE" bookmark embedded in the document template, this is where the table will be created
Set objRange=objDocument.Bookmarks("TAA_TABLE").Range
'create the table
objDocument.Tables.Add objRange, NUMBER_OF_ROWS, NUMBER_OF_COLUMNS
Set objTable = objDocument.Tables(2)
'populate column headers
objTable.Cell(1, 1).Range.Font.Bold = True
objTable.Cell(1, 1).Range.Text = "Sub Contractor"
objTable.Cell(1, 2).Range.text = "TAA Number"
'centre the column headers
objDocument.Tables(2).Rows(1).Select
Set objSelection = objWord.Selection
objSelection.ParagraphFormat.Alignment = wdAlignParagraphCenter
'format the table with plain grid lines
objTable.AutoFormat(16)
'set the column widths
objTable.Columns(1).Setwidth 230,0
objTable.Columns(2).Setwidth 230,0
Any help is graetfully appreciated, as this is driving me wild.
Cheers,Hi Citronax,
I haved noticed that you used objTable.AutoFormat to format the table. Based on my understanding, this fuction will applie a predefined look to a table.
After I move the code which bolder the text behind this line of code, it works well for me.
'format the table with plain grid lines
objTable.AutoFormat (16)
objTable.Cell(1, 1).Range.Font.Bold = True
Regards & Fei
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.
Click
HERE to participate the survey. -
Can we use Java Script in SAP BusinessObjects Web Intelligence 4.1?
Can we use Java Script or any other Script in BI 4.1 Web Intelligence? If possible please do let me know the method/process
Hi Kranthi,
You have option to read a cell content as html. else you will have to go for SDK. I think you will get better suggestions, if you can explain your requirement in a little detailed manner.
refer below links for more details about SDK.
http://bukhantsov.org/2013/04/how-to-create-a-webi-document-using-java-report-engine-sdk/
Regards,
Nikhil Joy -
Using Powershell Script Run simple query in MS Access 2007 and export the results of query to Excel
Hi Experts,
I have a Access 2007 DB file and 2 Big tables inside that (bigger than the size that can be easily handled by MS Excel 2007).
My requirement is automate using powershell scripts the below things.
1. Create a SQL query in Access DB and save that in access DB
2. Run the saved query and export the result in excel sheet where I can create the charts and Pivots. Thanks in advance
PrajeshDo you have to use the Access query, couldn't you just recreate the query in Powershell? Here's a link with good info that references an existing script for querying an Access database:
http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/13/hey-scripting-guy-can-i-query-a-microsoft-access-database-with-a-windows-powershell-script.aspx
Once you have your dataset you can pipe it to
Export-Csv -NoType c:\pathtofile\output.csv
Maybe you are looking for
-
Connect to iTunes with iOS7 for "Push" notifications
Since updating to iOS7, every time I start Gmail and other programs I get this type error message. I cannot find iTunes on the phone and I also there is no selection for "push" for Gmail, only "Fetch"and manual. Any ideas?
-
Please! help me with this wrong code, where is mistake
please! help me with this wrong code, where is mistake? import java.util.Stack; public class KnightsTour { Vars locs[]; private int size, max=1, d=0, board[][]; public KnightsTour(int x,int y, int newSize) size=newSize; locs=new Vars[size*s
-
Hi, Is it possible to display a blank graph or no graph if there is no data. The current graph does not contain any values to display and results with the specified rows/columns in Alt Text e.g. Rows: Series1 Series2 Series3 Series4 Series5 Columns:
-
URGENT-- SAP CRM 5.0 upgarde from SP 5 to SP 12
Hi All, We have CRM 5.0 systems on SP 5.0. The operating system is HP-UX and database is Oracle 10g. We are planning to upgrade to SP 12. We have EP 7.0 as our front end. Mobile servers are also there ( MAR and communication stations). We also
-
Every time I try to publish my website I receive this message, "�Error: Error uploading file santafebobatea.com_u3867.html. Click Resume to try again. If this problem persists, try again later."