Doubt in script requirement
Hi...
I haven't developed any objects in scripts but i got some requirement in scripts.Please help me in understanding the requirement...
The following is my requirement.....
Develop two programs that will call a grouping of shipment and delivery outputs and print them.
This program will be attached to an output type named ZOUT. This output type will call t-code vt70 if on the shipment header or vl71 if on the delivery header.
Call appropriate t-code and print the following outputs.
Thanks in Advance.
Balaji
Hi,
Could any one please help me in understanding the requirement.
Thanks,
Balaji
Similar Messages
-
Import Format script required to update multiple fields
Further to my previous post yesterday (Import Format script required to work across multiple fields I now need my import script to update multiple (two) fields at the same time, based on criteria set across multiple fields. So far, I can use DW.Utilities.fParseString to assess the values across multiple fields, but I now need to update not only the field in question, but also an additional field at the same time. For example:
Function TBService(strField, strRecord)
' How do I update a second field at the same time?
Dim strField2 As String
If Left(strField, 1) = "S" Then
If DW.Utilities.fParseString (strRecord, 3, 8, ",") = "B1110" Then
strField2 = "N101"
Else
strField2 = "Network N/A"
End If
TBService = strField
Else
TBService = "Service N/A"
End If
End Function
Is this even possible? Should I be looking at creating an event script which would work post-import? Or can this be done right here in the import script?All the logic you require can be encapsulated in the import script for the second field. You don't need to reference the second field in the first import script.
Edited by: SH on May 2, 2012 5:39 PM -
A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?
That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
www.northrim.com<br>
www.northrimbankonline.com
You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
(''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'') -
Silent Installation Script Require
Hi,
Scripts require for silent installation of oracle 11g on Windows XP -32bit.
Oracle :-- 11gR2
OS :- Windows XP
Thanx in advance.
Regards,
Praful KHi,
see the description in the installation manual: [url http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/advance.htm]Silent install. You have to build your own script because the environment can be special.
Herald ten Dam
http://htendam.wordpress.com -
b Urgent.Doubt in Scripts regarding itcsy.
Hi All, I have the requirement to modify the Standard Script (F140_ACC_STAT_01) and Print Program name is (RFKORD10) to add three fields at item level to display to print <b>Due Date ,Past Due and PO# number </b>.for these fields i am using <b>RF140-VSTID ,RF140-VZTAS and BSID-SGTXT</b>. In the Print Program i am able to see those fields also. but when i execute program i am not getting the values for those fields . For this Can i call the External Subroutine to display those values. if so what conditions should i have to follow and which table i have to use . At item level Can we use the external subroutines. Otherwise i need to modify the Standard Print Program.Please suggest me. it will be greatful if you help me.
There are two things -
1. Did you attach ur custome program to driver program?
2. The important thing, even the fields are there in driver program, but is it sending it to Script during WRITE_FORM. Try to search for that.And check out the structure in Script, what fields it has and is any of them is useful for you.Otherwise write a routine before calling any Text Element in the main window
or in secondary window.
Regards,
Amit
Reward all helpful replies. -
Service relocation automatic script required in oracle 11gr2 in perl or she
Hi Everyone
I require script to relocate service automatically in oracle 11gr2 to the prefered node if nodes goes down
it can be either shell script or perl script?
thanks
NitinHi,
1.) No if you define a service with TAF, then the TAF information will be provided to the client, without having to specify it again in the TNSNAMES.ora (neither client nor server).
However it does not hurt, if you have specified it additionally (it just makes it more difficult if you want to change something, because the client side does not get updated).
See this whitepaper for more information:
http://www.oracle.com/technetwork/database/clustering/overview/awm11gr2-130711.pdf
2.) However it seems you have forgotten to specify something with the service (you seem to be missing -m):
srvctl add service -h
Adds a service configuration to the Oracle Clusterware.
-P {NONE | BASIC | PRECONNECT} TAF policy specification
-e <Failover type> Failover type (NONE, SESSION, or SELECT)
-m <Failover method> Failover method (NONE or BASIC)
-w <integer> Failover delay
-z <integer> Failover retries
Regards
Sebastian -
Export multiple SSIS Packages- Script Required(SQL Server 2008R2 onwards)
Team,
I have the below requirement:
Script to export multiple packages(Say 100) and take a backup on filesystem.
Script to Import multiple packages (100) at a time in batch.
This should be compatible with SQL Server 2005, 2008R2 and 2012. Please help me with this.
Regards,
SharathThanks Much Arthur, I am able to export the packages. However for Import should I use the below?
Copy-isitemfiletosql
-path
"C:Program FilesMicrosoft SQL Server100DTSPackages*"
-destination
"msdbsqlpsx"
-destinationServer
"$env:computername"
-connectionInfo
@{SSISCONFIG=".SQLEXPRESS"}
To import, I'd use DTUtil http://msdn.microsoft.com/en-us/library/ms162820.aspx it is just much easier to iterate over the package files off the file system.
Arthur
MyBlog
Twitter -
Hi All,
I am currently type-setting a dictionary and need to character style the keyword used in the example which follows the definition. of the entry. Following is an example of such:
bukkett (buk-kett) n.m.
pl.s. bukketti
Ħafna fjuri marbutin flimkien b’xi żigarella. • F’Jum l-Omm Toni xtara bukkett fjuri lil ommu.
Line 1: Paragraph style: Headwords using a nested style to give a character style (Headword) to the first word
Line 2: Paragraph style: terms
Line 3: Definition followed by example, seperated by a space, bullet and non-breaking space. Paragraph style: Text entry with a grep style styling the example with a character style (keyowrd in example).
The above is all done.
I need a script to find in the example the preceeding entry styled as Headword (in this case bukkett). I am very poor in Javascript and VBscript.
I hope I was clear enough. If required I can make available for download a sample of the document including the current styles I'm using.
Thank in advance
StephenHi,
was grumbling for a clever solution, but didn't find one ;-)
No errorhandling applied ...
var myDoc = app.activeDocument;
var allStories = myDoc.stories;
s = allStories.length;
for(var i = 0; i < s;i ++){
currStory = allStories[i];
var storyParagraphs = currStory.paragraphs;
p = storyParagraphs.length;
for(var j = 0; j < p;j++){
var currPara = storyParagraphs[j];
var paraName = currPara.appliedParagraphStyle.name
switch(paraName){
case 'Headwords' :
app.findTextPreferences = NothingEnum.nothing;
app.findTextPreferences.appliedCharacterStyle = 'Headword';
var Res = currPara.findText();
var resCont = Res[0].texts[0].contents; break;
case 'Text entry' :
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
app.findTextPreferences.findWhat = resCont;
app.changeTextPreferences.appliedCharacterStyle = 'keyword in example';
currPara.changeText(); break;
default : break;
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
Hans-Gerd Claßen -
Proactive monitoring scripts required
If possible,can you also share with me the scripts for pro active monitoring of the databases i.e
script to check the total free space of the databases
script to check the alert log file
script to see and ping me a message if the tablespace is less etc
Any scripts for both the unix and windows is required.hi,
Are you monitoring the DB with OEM? All you have asked for is in OEM.
rgds
alan -
how to change a standard script like if the requirement is some additional data what do we do ? and for every window do we need to call the function WRITE_FORM to enter data into it from driver program ?
Hi Hari,
let me explain about this what ever i know. Suppose you have one script that already u copied from 000 client. now you need to add one window and address will be poplate, Then first of all create one window in layoutset and call the corresponding parameters. Now for printing this window you should call write_form in the program and pass this element (means window) to that FM. Now window will be populate. For populating for values you can mention the subroutine and pass the parameters to program.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. -
Shell script required.,
whether any body having a shell script, for backing up of a database.?
Personally, I find the dbconsole version real nice to use, I can go back and look at the logs. With some modifications to the default script. I keep a copy in my database text file change tracking log, for the periodic dbconsole self-immolations. I have it syncronized with a cron for moving backups offsite.
The very act of asking for such scripts begs the question, what is so special about your site that such a thing is required? There are reasons, but they are somewhat exceptional. You might also say things like what version, what exact OS, what volume of data, what your hardware is, do you have standby, and so on. -
Import Format script required to work across multiple fields
I am currently constructing an Import Format, and using datapump import scripts on several of the fields to implement specific logic based on the values present. For example:
Function TBNetwork(strField, strRecord)
If Left(strField, 1) = "N" Then
TBNetwork = strField
Else
TBNetwork = "Network N/A"
End If
End Function
However, I need this to also evaluate the values across other fields too, but the default two inputs for the function are strField and strRecord.
How can I achieve this? Can I declare new variables and define as follows?
Dim strCustomer = varValues(23)
Or do I need to look at implementing a different type of script? Any suggestions would be greatly appreciated!strRecord represents the entire data line from your source file that is currently being processed. You can parse this to get any of the values from your data line to use/evaluate in your script. There is an accelarator script DW.Utilities.fParseString which will do the string parsing for you. As you probably know strField only returns the field from the data file that you have specified in your import format for the associated dimension.
-
HI All
I am working on practice reports and following the oracle 10g toturail. There are sales, employee, departments, order, product etc tables. Kindly send me its schema if any one have.
It would be great help.The HR schema scripts are included on the 10g/11g install CD/Download and are included by default in the installation, however, the account is locked by default as well. If you have installed 10g using the default installation all you should need to do is unlock the account or simply use the schema prefix in your queries. If the HR schema is not there, you can extract the scripts here: Oracle 9i Sample Schemas.
Hope this helps,
Craig
If a response is helpful or correct, please mark it accordingly. -
Hi Dear All,
I have over 300+ dumps present in my system in .GZ format. I have to extract each one and have to import it. I just want to have a script that unzip those dumps. If any one can also help me to guide how to design script for import.
Aqeel NawazSadly you provide insufficient information, no platform is being present.
Sadly this is a forum of volunteers, and we are not here to do your work for free.
If you can't do your work, you need to hire someone who can.
Sorry to say this, but this is the second time you dump this in this forum, ignoring Forums Etiquette.
Sybrand Bakker
Senior Oracle DBA -
Hi,
In case anyone has something that does this, or knows of a script that may work, this is what I'm after:
Get artwork of selected tracks, assess size of artwork in kb not pixels, if over 250kb then compress image, then re-embed to track as JPEG. That's it.
Anyone?iLee wrote:
So, If I understand correctly, and forgive my ignorance, would it be possible to compress the image and save it as a PNG?
This is possible, if the jpeg is compressed enough to get a size between *15 Kb* and *18 Kb*.
Convert a JPEG of 17 Kb to PNG give approximately a file of *250 Kb*
If the % of compression down to 0, the script will reduce the image (width and height).
Here the script
property temp_file : (path to temporary items as string) & "artworkof_this_tracktemp.jpg"
tell application "iTunes"
repeat with t_track in (get selection)
tell t_track to if exists artworks then try
set t_png to my make_png(raw data of artwork 1)
if t_png is not "" then set raw data of artwork 1 to t_png
end try
end repeat
end tell
say "Done"
on makepng(artdata)
try
set open_file to (open for access temp_file with write permission)
set eof open_file to 0 -- empty the file
write art_data to open_file -- write artwork in the original format
set x to get eof open_file -- get number of bytes
close access open_file
if x ≤ 250000 then return ""
on error
close access temp_file
return ""
end try
-- this file > 250 kb
set n to 51
set tFile to quoted form of POSIX path of temp_file
set temp_file2 to temp_file & ".png"
set new_file to quoted form of POSIX path of temp_file2
set y to x
repeat while n > 0 -- convert file to JPEG, compress between 15 kb and 18 Kb
do shell script "/usr/bin/sips -s format jpeg -s formatOptions " & n & " " & tFile & " --out " & new_file
set x to get eof file temp_file2
if x < 18000 then
do shell script "/usr/bin/sips -s format png " & tFile & " --out " & new_file -- convert jpeg to png
set y to get eof file temp_file2
if y ≤ 250000 then exit repeat -- the size is ok
end if
set n to n - 10
end repeat
if x ≥ 18000 or y > 250000 then -- the jpeg compression < 1
if x >= 18000 then do shell script "/usr/bin/sips -s format png " & tFile & " --out " & new_file -- convert jpeg to png
set {t_width, t_height} to paragraphs of (do shell script "sips -g pixelWidth -g pixelHeight " & new_file & "| /usr/bin/awk '/pixel/ {print $NF}'")
set The_size to t_height as integer
if The_size < (t_width as integer) then set The_size to t_width as integer
repeat while y > 250000
if y > 350000 then
set var1 to 1.2
else if y > 300000 then
set var1 to 1.06
else
set var1 to 1.03
end if
set The_size to The_size div var1 -- modify the Width and Height
do shell script "/usr/bin/sips -Z " & The_size & " " & new_file -- resize the PNG
set y to get eof file temp_file2
end repeat
end if
return read file temp_file2 as «class PNG »
end make_png
Maybe you are looking for
-
GDM 3.8 with two X servers
Hello, I am curious if anyone has GDM running two X severs at startup. In the past (and still now) I am using XDM like in this thread: https://bbs.archlinux.org/viewtopic.php?id=142273 However with the change to GNOME where the screenlocker requires
-
Can I synch my iPod without losing songs on it?
ie: i have fireflies on my iPod, but I dont want to lose it by syncing the songs on iTunes and my iPod
-
Hi, I have a macbook at home and I need to constantly use a usb thumb drive between work and home. Work has new policy that I must have an up-to-date usb antivirus scanner in order to use the usb at work (windows). What would be the best free softwar
-
Black Bars on Sides & Poor Upload to YouTube
I have already tried converting my Mp4's from my camera to AVI and this will resolve the black bars but the end result is still poor video once uploaded... I get the little red x in the lower left hand corner about poor display quality (see
-
IR on Macbook pro with windows
I have been using my MBP 2.33 and the only problem i have run into so far is that i cannot get any remote control to work with the MBP under Windows MCE. I have mce 2005 loaded on my macbook pro and the only functions that i can get to work are the p