Trigger .jsx (Javascript) through Applescript
I have .jsx (javascript) for InDesign CS5. I am trying to automate in a batch mode. I would like to know how to trigger that Javascript through applescript. It would be much appreciate if any one help me on this regard.
~John
I have .jsx (javascript) for InDesign CS5. I am trying to automate in a batch mode. I would like to know how to trigger that Javascript through applescript. It would be much appreciate if any one help me on this regard.
~John
Similar Messages
-
How can I create a new Numbers Document through AppleScript?
How can I create a new Numbers Document through AppleScript?
I try this:
tell application "Numbers"
make new document with properties {template name:"blank"}
end tell
But don't work.
Where can I find documentation about it?
ThanksIf you try to invent your own syntax, you are starting on very wrong basis.
The required syntax is defined by the Numbers AppleScript's dictionary.
This one doesn't know what is a template.
This is why, in the link posted by badunit, I use an other scheme to create a new document.
I know that it's awful but it's the only one available at this time.
Yvan KOENIG (VALLAURIS, France) samedi 4 juin 2011 11:25:25
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How to trigger a mail through ALERT CONFIGURATION??
Hi Folks,
I want to know how to trigger a mail through Alert Configuration?
I've read Help.SAP.com, but i am not clear where exactly the sender Email address to be given for sending a mail??
Pls reply..
Thanks in advance..
cheers
ram.Hi,
You need to maintain the email address in SU01 for the particular user Id. Also you need to configure transaction SCOT for this.
Regards,
Jai Shankar -
Reset the master password through applescript
I understand that the correct procedure to reset the master password is to delete these two files from the computer:
/Library/Keychains/FileVaultMaster.cer
/Library/Keychains/FileVaultMaster.keychain
The next step is to go into system preferences and click users and groups. The lock has to be unlocked and then the settings button has to be clicked. The text will now say set master password. I can now enter in information in the new popup screen.
I would like to automate this process through applescript. I need some help on navigation of the system preferences. I have looked at turn Airport on and off code through applescript and don't quite understand how to click the settings and unlock buttons.
Here is that code:
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
click menu item "Sharing" of menu "View" of menu bar 1
delay 2
tell window "Sharing"
click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1
delay 1
if (exists sheet 1) then
if (exists button "Turn AirPort On" of sheet 1) then
click button "Turn AirPort On" of sheet 1
delay 1
end if
click button "Start" of sheet 1
end if
end tell
end tell
end tellResetting or changing a password:
For Snow Leopard or earlier: http://support.apple.com/kb/HT1274
For Lion or later: http://support.apple.com/kb/HT6022
This is also useful:
http://www.macworld.co.uk/ipad-iphone/news/?newsid=3463233&olo=email
If it's running Mac OS X 10.6.8 or earlier, insert a Mac OS X install DVD, restart with the Option key held down, click on it, and use the Reset Password utility.
If it's running Mac OS X 10.7 or newer, restart with the Command and R keys held down, open the Terminal, and use the resetpassword command:
https://discussions.apple.com/docs/DOC-4101
If it the Keychain password that needs resetting:
http://support.apple.com/kb/ts1544 -
Possible to trigger output type through Function module?
Hi,
Is it possible to trigger output type through Function modules or through some codings or any standard FM's?
Regards
Bala.You did not specify what area you need to retrigger an output type for, but here is a sample to retrigger a delivery output.
CALL FUNCTION 'BAPI_LIKP_PROCESS_MSG_DIRECT'
EXPORTING
DYNAMICOUTPUTDEVICE =
processing = PROCESSING
SORTMESSAGE = 1
TABLES
deliverynumber = delnbrs
outputtype = outputs
messageprotocol = bapimsgprot
return = bapiret2.
Thanks -
Trigger Media events in Applescript?
Hello,
I've been searching a lot on this and i cant for the life of me find how to trigger media events in Applescript.
I have found that i can tell specific applications to playpause like itunes for example, this is not what i want.
What im trying to do is make an applescript that behaves like the play/pause button that you can find on any Apple Keyboard when executed.
I imagined that this would be as simple as to tell System Events to trigger a media event, regretfully this does not work.
If anyone could shed some light on this i would greatly appreciate it!
Regards,
JonathanHello
Some time ago I've written a rubycocoa code to post media key events. Here's an AppleScript wrapper for it.
Code is tested under 10.6.8. This won't work under 10.5.8. Don't know about later versions.
Regards,
H
PS. If you're just trying to keep iTunes from launching when PLAY_PAUSE key is pressed, this script is not what you need. The rcd daemon is the culprit to launch iTunes by that specific key and so you'd need to "fix" it by modifying its executable. There's a tried and true method to do it, which I myself has employed.
--post_media_key_events("MUTE", 1, 0, {})
--post_media_key_events("VOLUME_UP", 12, 0.01, {option down, shift down})
--post_media_key_events("VOLUME_DOWN", 12, 0.01, {option down, shift down})
post_media_key_events("PLAY_PAUSE", 1, 0, {})
on post_media_key_events(subtype, k, d, mods)
string subytpe : event subtype name, one of the following -
VOLUME_UP
VOLUME_DOWN
BRIGHTNESS_UP
BRIGHTNESS_DOWN
MUTE
PLAY_PAUSE
FORWARD
REWIND
ILLUMINATION_UP
ILLUMINATION_DOWN
integer k : number of key repeat
number d : delay inserted after each key release [sec]
list mods : any combination of the following enumerations
shift down
option down
command down
control down
caps lock down
* constants other than listed above are ignored
set args to ""
repeat with m in mods
set m to m's contents
if m = shift down then set args to args & space & "shift"
if m = option down then set args to args & space & "option"
if m = command down then set args to args & space & "command"
if m = caps lock down then set args to args & space & "capslock"
end repeat
set args to subtype & space & k & space & d & space & args
considering numeric strings
if (system info)'s system version < "10.9" then
set ruby to "/usr/bin/ruby"
else
set ruby to "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby"
end if
end considering
do shell script ruby & " <<'EOF' - " & args & "
require 'osx/cocoa'
include OSX
class AppDelegate < NSObject
# event subtypes
# cf. /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/hidsystem/ev_keymap.h
VOLUME_UP = 0
VOLUME_DOWN = 1
BRIGHTNESS_UP = 2
BRIGHTNESS_DOWN = 3
MUTE = 7
PLAY_PAUSE = 16
FORWARD = 19
REWIND = 20
ILLUMINATION_UP = 21
ILLUMINATION_DOWN = 22
# keyboard event
# cf. /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/hidsystem/IOLLEvent.h
KEYDOWN = 10
KEYUP = 11
def initWithArguments(args)
@subtype, @count, @delay, *@mods = args
@count = @count.to_i
@delay = @delay.to_f
@mods = @mods.join(' ')
self
end
def applicationDidFinishLaunching(notif)
begin
@win = NSWindow.alloc.objc_send(
:initWithContentRect, NSMakeRect(0, 0, 600, 600),
:styleMask, NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask,
:backing, NSBackingStoreBuffered,
:defer, false)
@win.setLevel(NSStatusWindowLevel)
@win.center
if NSApp.respondsToSelector?('setActivationPolicy') # 10.6 or later only
NSApp.setActivationPolicy(NSApplicationActivationPolicyRegular)
end
NSApp.activateIgnoringOtherApps(true)
ev1 = createMediaKeyEvent(@win, @subtype, 'keydown', @mods)
ev2 = createMediaKeyEvent(@win, @subtype, 'keyup', @mods)
@count.times do
postMediaKeyEvent(ev1)
postMediaKeyEvent(ev2, @delay)
end
ensure
NSApp.terminate(self)
end
end
def applicationShouldTerminateAfterLastWindowClosed(app)
true
end
def applicationShouldTerminate(sender)
NSTerminateNow
end
def createMediaKeyEvent(win, subtype, keystate, modifiers = '')
# NSWindow win : target window device which receives the event
# uint16 subtype : event subtype for event type = NSSystemDefined
# string keystate : one of ['keydown', 'repeat', 'keyup']
# string modifiers : modifier key names (shift control option command capslock) separated by white space
mtable = {
'capslock' => KCGEventFlagMaskAlphaShift,
'shift' => KCGEventFlagMaskShift,
'control' => KCGEventFlagMaskControl,
'option' => KCGEventFlagMaskAlternate,
'command' => KCGEventFlagMaskCommand,
mflag = modifiers.split.inject(0) { |mflag, x| (m = mtable[x]) ? mflag | m : mflag }
mflag |= KCGEventFlagMaskNonCoalesced
kstate =
case keystate
when 'keydown' then KEYDOWN << 8
when 'keyup' then KEYUP << 8
when 'repeat' then KEYDOWN << 8 | 1
else 0
end
raise ArgumentError, %[invalid keystate : #{keystate}] if kstate == 0
raise ArgumentError, %[unsupported media key event subtype : #{subtype}] unless
VOLUME_UP,
VOLUME_DOWN,
BRIGHTNESS_UP,
BRIGHTNESS_DOWN,
MUTE,
PLAY_PAUSE,
FORWARD,
REWIND,
ILLUMINATION_UP,
ILLUMINATION_DOWN,
].include?(subtype)
data1 = subtype << 16 | kstate
data2 = 0xffffffff
event = NSEvent.objc_send(
:otherEventWithType, NSSystemDefined,
:location, NSMakePoint(0.0, 0.0),
:modifierFlags, mflag,
:timestamp, 0,
:windowNumber, win.windowNumber,
:context, win.graphicsContext,
:subtype, 8,
:data1, data1,
:data2, data2)
raise RuntimeError, %[failed to create event] unless event
return event
end
def postMediaKeyEvent(event, delay = 0.0)
CGEventPost(KCGHIDEventTap, event.CGEvent)
sleep delay
end
end
def main
raise ArgumentError, %[Usage: #{File.basename($0)} subtype [count [delay [modifiers]]]] unless ARGV.length > 0
begin
s, k, d, *mods = ARGV
subtype = AppDelegate.const_get(s.to_sym)
k = k ? k.to_i : 1
d = d ? d.to_f : 0.0
rescue => ex
$stderr.puts %[#{ex.class} : #{ex.message}]
exit 1
end
args = [subtype, k, d] + mods
app = NSApplication.sharedApplication
delegate = AppDelegate.alloc.initWithArguments(args)
app.setDelegate(delegate)
app.run
end
if __FILE__ == $0
main
end
EOF"
end post_media_key_events -
Is there a way to trigger batch process via Applescript or Javascript?
Based on what I've found so far on the internet, the answer is no. The Applescripts I've found so far that attempt to run a batch process don't work for me in either Acrobat Pro 8 or Pro 9.
I've been using Applescript to automate a process that starts in InDesign (create PDFs), then goes to Acrobat to set open options (I've got a batch process for that but can't find a way to trigger it). If I can get that to work, I'll attempt to automate the task of using a Photoshop droplet to create JPEGs of a specific size from these PDFs.
I've settled on InDesign CS3 for creating single-page PDFs from a multiple-page document, partly because I could not find a scriptable way to do this in Acrobat. I know just enough about Applescript to be dangerous. I know much less about Javascript.
Any help would be appreciated.
Thanks,
Kevin StaufferKevin some thing like this for Photoshop should aid you
set Todays_Date to do shell script "date \"+%d-%m-%y\""
-- Create new folder to save to
tell application "Finder"
set Raster_Images to make new folder at desktop with properties ¬
{name:"Rasterized PDF's " & Todays_Date}
end tell
-- Set Photoshop settings
tell application "Adobe Photoshop CS2"
activate
set display dialogs to never
set User_Rulers to ruler units of settings
set ruler units of settings to pixel units
-- set background color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:0}
-- set foreground color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:100}
end tell
-- Get list of PDF's
set The_Question to "Do you want to include all the subfolders" & return & "within your folder selection?"
set The_Dialog to display dialog The_Question buttons {"No", "Yes"} default button 1 with icon note
if button returned of The_Dialog is "Yes" then
set Input_Folder to choose folder with prompt "Where is the top level folder of PFD's?" without invisibles
tell application "Finder"
set File_List to (files of entire contents of Input_Folder whose name extension is "pdf")
end tell
else
tell application "Finder"
set Input_Folder to choose folder with prompt "Where is the folder of PFD's?" without invisibles
set File_List to (files of Input_Folder whose name extension is "pdf")
end tell
end if
set File_Count to count of File_List
if File_Count = 0 then
display dialog "This folder contains no PDF files to rasterize!" giving up after 2
end if
-- Loop through the files in list
repeat with This_File in File_List
tell application "Finder"
set The_File to This_File as alias
end tell
-- Tiger (OSX.4) shell call to count the pages
set Page_Count to my PDF_Pages(POSIX path of The_File)
if the result is not false then
-- Loop Photoshop through the page count
repeat with i from 1 to Page_Count
tell application "Adobe Photoshop CS2"
activate
open The_File as PDF with options ¬
{class:PDF open options, bits per channel:eight, constrain proportions:true, crop page:trim box, mode:CMYK, page:i, resolution:300, suppress warnings:true, use antialias:true, use page number:true}
set Doc_Ref to the current document
tell Doc_Ref
flatten
-- Enter your name strings into two enties below
-- Case sensitive stings
-- do action "My Action" from "My Action Set"
-- New file naming options
set Doc_Name to name
set ASTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to " "
set Doc_Name to text items of Doc_Name
set AppleScript's text item delimiters to "_"
set Doc_Name to Doc_Name as string
set AppleScript's text item delimiters to "-"
set Doc_Name to text item 1 of Doc_Name
set AppleScript's text item delimiters to ASTID
if Page_Count = 1 then
set New_File_Name to (Raster_Images as string) & Doc_Name & ".tif"
else
set File_Number to ""
repeat until (length of (File_Number as text)) = (length of (Page_Count as text))
if File_Number = "" then
set File_Number to i
else
set File_Number to "0" & File_Number
end if
end repeat
set New_File_Name to (Raster_Images as string) & Doc_Name & "_" & File_Number & ".tif"
end if
end tell
save Doc_Ref in file New_File_Name as TIFF with options {byte order:Mac OS, embed color profile:false, image compression:LZW, save alpha channels:false, save layers:false}
close current document without saving
end tell
end repeat
end if
end repeat
-- Set ruler units back to user prefs
tell application "Adobe Photoshop CS2"
set ruler units of settings to User_Rulers
end tell
beep 3
-- OSX Tiger shell handler
on PDF_Pages(This_PDF)
try
do shell script "/usr/bin/mdls -name kMDItemNumberOfPages" & space & quoted form of This_PDF & " | /usr/bin/grep -o '[0-9]\\+$'"
on error Error_Message number Error_Number
if Error_Number is 1 then
display alert "Page Count Unavailable" message "The page count for " & This_PDF & " is unavailable." giving up after 3
return false
else
display alert "Error " & Error_Number message Error_Message giving up after 3
return false
end if
end try
end PDF_Pages
and something like this to perform JavaScript from within AppleScript for Acrobat
You would be better talking to the JavaScript Experts on how to use addScript() to get your doc level scripts in.
property Default_Path : (path to desktop folder as Unicode text) as alias
property JavaScript : "var re = /.*\\/|\\.pdf$/ig; var filename = this.path.replace(re,''); try { for (var i = 0; i < this.numPages; i++) this.extractPages( { nStart: i, cPath: filename+'_' + (i+1) +'.pdf' }); } catch (e) { console.println('Aborted: '+e) }" as text
set The_PDF to choose file default location Default_Path ¬
with prompt "Where is the multi-page PDF?" without invisibles
tell application "Adobe Acrobat 7.0 Professional"
activate
open The_PDF
tell active doc
do script JavaScript
close saving yes
end tell
end tell -
CS4 do javascript from AppleScript
Hi all,
Consider this AppleScript snippet:
tell application "Adobe Illustrator"
do javascript myFile with arguments {"one", "two"}
end tell
The file "myFile" is executed OK, but how does myFile (a JavaScript script) get the arguments passed in from AppleScript? I don't see this documented anywhere.
Thanks,
ChuckSince nobody answered this:
In your Javascript, you will find an arguments array containing the arguments you passed from Applescript or VBscript
So, using your example, if you added this line to your JSX file:
alert(arguments[0]);
You would get an alert saying "one" when you ran your Applescript. -
Call JavaScript from AppleScript using InDesign CS2
Can this be done?
The following script:
tell application "Adobe InDesign CS2"
tell active document
do script "var thisNumber = 5;" language javascript
end tell
end tell
results in the error:
tell application "Adobe InDesign CS2"
do script "var thisNumber = 5;" language javascript
"Adobe InDesign CS2 got an error: \"var thisNumber = 5;\" doesnt understand the do script message."
Why doesn't this work and what can I do to fix it?
WilliamOn 4/12/08 5:41 AM, "Olav Kvern" <[email protected]> wrote:<br /><br />> These sorts of things are hard to see in AppleScript, because the dictionary<br />> browser(s) don't group methods with their parent objects. Sal Soghoian at<br />> Apple has long said that this needs fixing.<br /><br />And in fact it has been fixed -- it just needs app developers to write their<br />dictionaries appropriately. For a good example, have a look at the<br />dictionary of Script Debugger 4.5 -- you'll see classes listed with<br />elements, properties, and "Responds to". And none of that truncation ID's<br />dictionary is full of.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>
-
How to call javascript using applescript in InDesign cs2 Mac
Hi,
I need to integrate javascript with my apple script??? how to use it???please help me...i need it immediately..........Hi Andrew,
Here is an example for you – a snippet from my script:
global myBridgeLabel
-- function that runs on clicking the button in adobe script studio project
on clicked theObject
if name of theObject is "b1" then
set processName to "Started working"
set myBridgeLabel to "Red"
set myLabel to 1
else if name of theObject is "b2" then
set processName to "Started doing this"
set myBridgeLabel to "Green"
set myLabel to 2
else if name of theObject is "b3" then
set processName to "Started doing that"
set myBridgeLabel to "Yellow"
set myLabel to 3
else if name of theObject is "b4" then
set processName to "Finished doing this"
set myBridgeLabel to "Blue"
set myLabel to 4
else if name of theObject is "b5" then
set processName to "Finished doing that"
set myBridgeLabel to "Purple"
set myLabel to 5
end if
tell application "Adobe InDesign CS2"
set mydocument to active document
set myDocumentPath to full name of mydocument
set workerName to "Kasyan"
tell metadata preferences of mydocument
set theDate to current date
set myWeekday to weekday of theDate as string
set myDenNedeli to my convertWeekday(myWeekday)
set myRecord to (processName & " – " & workerName & " – ") & myDenNedeli & " " & text 1 thru -4 of time string of theDate & " \r"
set myHistory to get property namespace "http://ns.adobe.com/photoshop/1.0/" path "History"
set property namespace "http://ns.adobe.com/photoshop/1.0/" path "History" value myHistory & myRecord
end tell
set myJavaScript to "var myLabel =\"" & myBridgeLabel & "\"; app.activate(); var bt = new BridgeTalk; bt.target = \"bridge\"; myScript = 'app.displayDialogs = \"none\"; var t = new Thumbnail (File (\"" & myDocumentPath & "\")); var mdata = t.metadata; mdata.namespace = \"http://ns.adobe.com/xap/1.0/\"; mdata.Label = \"' + myLabel + '\";'; bt.body = myScript; bt.send();"
do script myJavaScript language javascript
In this javascript I use pares of single and double quotes.
The main java script – myJavaScript – (inside double quotes) contains another java script – myScript – (inside single quotes) which runs in Bridge via BridgeTalk.
I also put variables from AppleScript into JavaScript by using two pares of double quotes – the outside pare I escape with slashes:
set myBridgeLabel to "Red" -- a variable I defined in AppleScript
set myJavaScript to "var myLabel =\"" & myBridgeLabel & "\"; app.activate();
-- the contents of myBridgeLabel variable now becomes part of the JavaScript
Kasyan -
How to call the javascript through Command prompt?
I need to call the .js file through command prompt. And also through programming language like c++, java. Could you please advice me with samples.This is for "illustrator cs".
You can also look into use of COM scripting interface to the Adobe programs. Unfortunately, this means you have to do some programming/scripting to create a (command line) script that you can execute like
cscript C:\somePath\myScriptLauncher.vbs C:\somePath\anAdobeScript.jsx
or
cscript C:\somePath\myScriptLauncher.js C:\somePath\anAdobeScript.jsx
the scripts can be written in VBScript (*.vbs) or Microsoft JScript (*.js) which can access COM objects thus the Adobe program's COM APIs.
Nothing purely simple as a command line option in this solution. But it does offer customization as an advantage.
This might be a slightly useful reference.
http://stackoverflow.com/questions/3846626/is-it-possible-to-execute-jsx-scripts-from-outs ide-extendscript
there's one post mentioning COM in there.
And of course, you can also use COM through C++, Java, C#, Visual Basic, etc. as well, not restricted to VBScript and JScript, though I've found it's easier to use the latter two for COM. -
How to call the javascript through sdk?
I created a plugin through SDK. Now i need to call my javascript file in that plugin. Could you please advice me with some samples. This is for "Photoshop CS". Kindly help me.
Could you please provide me an example for
1) plugin could call JavaScript is if an automation plugin calls a script by name.
2) And also give an example for how to call plugin through javascript.
I am new for adobe sdk. So kindly help me.
Thanks in advance,
Prabudass -
How to trigger GP workflow through ABAP Program.
Hi All.
i have one scnerio , i want to create BOM through Custom Ztransaction that will be developed in ABAP Modulepool.
User will create BOM from this ztransaction through Transactional Iview in PORTAL,Once the user save transaction , i want to trigger a GP(Guided Procedure ) workflow,from ABAP Program.
is it possible to trigger GP workflow?
if yes how to do it , please suggest the way out.
Regards,
Shyam.Hi lingana,
As u see in my requriment that, Workflow is not designed within SAP , But the Workflow will be designing
in SAP Netweaver, its a GP Workflow. And Ztransaction(Developed by ABAP) will be seen by user through portal and
he save transaction on PORTAL, In backend ABAP program will run , and after meeting certain condition, it should create
or(Initiate) GP workflow(process).
So my question is , how ABAP Program will call GP workflow, How the connection will be made in between ABAP Code and GP workflow framework.
If any doubt regarding requriment let me know,
Regards,
Shyam. -
Is there any way to convert recorded actions into JSX Javascript file?
For photoshop, there's http://ps-scripts.sourceforge.net/xtools.html (scroll down to "ActionFileToJavascript") which can convert recorded photoshop actions into jsx. Is there any such resource for Illustrator?
AppleScript is able to script many things in the GUI.
The problem is it becomes version specific when they move stuff about.
CS6 can evoke some menus but is limited to those with keyboard shortcuts.
CS6 also got action calls added... ( to JS )
No nothing like action manager code exists in AI. ( a big shame )
PS has a plug-in to record your steps...
Giving you access to a whole range of app features beyond the regular DOM.
Only today X has posted that that he's hanging up his boots here... -
Trigger Process Chain through the Web
Hi,
I am trying to allow the users to control when they trigger a process chain through the web.
The users have a number of integrated planning sheets, which they access and input, once they are happy with the inputs, then they want to trigger the process chain to carry out additional loads.
I am using function module RSPC_CHAIN_ACTIVATE_REMOTE to trigger the process chain, when I test this with the chain set to direct scheduling it works fine.
I have set a planning function to call RSPC_CHAIN_ACTIVATE_REMOTE, with the process chain in question. Now when I run it with the chain set to direct scheduling it repeatedly calls the process chain over and over again, like it is in an endless loop.
When I try setting the chain to Meta Chain or API nothing happens.
Does anyone have any ideas why I can't get this to work through the web?
Thanks
DCALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
i_chain = 'YOUR PROCESS CHAIN NAME'
EXCEPTIONS
error_message = 1.
IF sy-subrc <> 0.
CALL FUNCTION 'BALW_BAPIRETURN_GET1'
EXPORTING
type = sy-msgty
cl = sy-msgid
number = sy-msgno
par1 = sy-msgv1
par2 = sy-msgv2
par3 = sy-msgv3
par4 = sy-msgv4
IMPORTING
bapireturn = p_return.
RAISE STREAM_FAIL.
ELSE.
RAISE STREAM_SUCCES.
RETURN.
ENDIF.
Maybe you are looking for
-
Fast, temporary data storage
I'm trying to create a screen capture program that'll take screenshots and save them (in some form or another) and then convert them to a movie once recording is completed (similar to java's example Jpeg to Mov program), and I've come to a performanc
-
Backing up iTunes/iMovie libraries that are on an External HD?
I originally posted this in itunes community...but thought maybe it belongs here too ! I just purchased a MacBook Air and am busy transferring all of my data to the new computer. It appears I will not have room to keep my iMovie Library and my iTun
-
Firefox version 3.6.12 Java - I believe 6 update 22 something like that - have verified have most up-to-date available. I am running on windows xp with upgrade 2. (I can not upgrade to 3 without crashing my system. Not even with hp's "fix" unless the
-
ColdFusion MX7 Error When Starting Apache2Triad
I just installed the ColdFusion MX7 trial on my local machine. When I try to start the Apache2Triad (uses Apache 2.2.0) service it fails to start and the following error is written to the system log file: quote: The Apache service named Apache2Triad
-
Hi, Can anyone tell me where in R/3 the customer email address is stroed, and what the best way to extract it to BW would be? I'm on 3.5. Thanks. Dave