ClassType.newInstance() does not works.
I tried to use ClassType.newInstance() with user defined types but doesn't works. It seems that instantiates only Sun Classes (sun.*, java.*). Can anyone give me an hint for to overcome this logic?
Thanx.
The debugee code is
package P;
public class A
public A()
public static void main( String[] args ) throws Exception
for ( int i=0; i<16384; ++i )
Thread.sleep(2000);
System.out.println( "main: " + i );
The snippet of debugger code is
public void init( String classname )
try
List allThreads = this.allThreads();
VirtualMachine vm = this.vm();
ThreadReference threadReference = null;
for ( Iterator i = allThreads.iterator(); i.hasNext(); )
threadReference = (ThreadReference) i.next();
// *todo: scegliere in maniera pi? oculata il thread cui rubare i cicli (forma di "computazione parassita")
// il thread della GC?
if ( threadReference.name().equals( "main" ) )
break;
assert threadReference != null;
System.out.println( "" + threadReference );
// cerca la classe da istanziare
List instance_class_singleton = vm.classesByName( classname );
System.out.println( classname + "" + instance_class_singleton.size() );
// assert instance_class_singleton.size() == 1;
ClassType instance_class = (ClassType) instance_class_singleton.get( 0 );
System.out.println( "" + instance_class );
Method instance_constructor = instance_class.concreteMethodByName( "<init>", "()V" );
System.out.println( "" + instance_constructor );
// new
ObjectReference instance = (ObjectReference) instance_class.newInstance( threadReference, instance_constructor, new ArrayList(), 0 );
System.out.println( "" + instance );
catch( Exception e ) { System.out.println( ""+e ); }
The init() method works with a class of the Sun (sun.*, java.*) as argument, but jams with the class "P.A".
No exception/traceback. I'm using Mac OS X.
Thanks
Similar Messages
-
Class.newInstance() does not work the same way in Java 5.0
We upgraded our development environment to RAD 7, and I am experiencing an interesting problem with the code below which worked perfectly with the previous version.
Class cloneClass = fromObject.getClass();
Object toObject = null;
toObject = cloneClass.newInstance();
I am using an open source hashtable called OrderedHashtable that uses the key-value lookup capabilities of a hashtable and order preserving capablities of a vector. It stores the objects in a hashtable and stores the keys in a vector.
fromObject in the code above is a key (String) that I retrieve from the OrderedHashtable and clone it using the code above. But with java 1.5 , the cloneClass.newInstance of this String object returns an empty string.
I guess there is a work around where I can check if the cloneClass is an Instance of String and just do fromObject.toString(), but I was curious to know if there was a change in the way class.newInstance() works in Java 1.5>
fromObject in the code above is a key (String) that I retrieve from the OrderedHashtable and clone it using the code above.No. How could that code possibly clone a String? Where are you telling it what the new String's contents should be?
(HINT: Nowhere.)
I guess there is a work around where I can check if the cloneClass is an Instance of String and just do fromObject.toString(), but I was curious to know if there was a change in the way class.newInstance() works in Java 1.5No, it has not changed. -
Bapi_document_create2 does not work correctly with attached file.
Hi all.
I hava a problem with bapi. I programmed below.
ls_docdata-documenttype = 'BBS'.
ls_docdata-description = 'JJW test'.
ls_file-documenttype = 'BBS'.
ls_file-ORIGINALTYPE = 1.
ls_file-storagecategory = 'ZSTW_KPRO'.
ls_file-wsapplication = 'TXT'.
ls_file-docfile = entity_filename.
append ls_file to lt_files.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_docdata
PF_FTP_DEST = 'SAPFTP'
PF_HTTP_DEST = 'SAPHTTP'
IMPORTING
documenttype = lv_documenttype
documentnumber = lv_documentnumber
documentpart = lv_documentpart
documentversion = lv_documentversion
return = ls_return
tables
documentfiles = lt_files.
call function 'BAPI_TRANSACTION_COMMIT'.
If I don't attach the file, DIR is created but if attach some files, it does not work. What should I do??
regards.Hi,
You can use the below to attach the file from BSP to SAP. But it doesnt use the BAPI - 'BAPI_DOCUMENT_CREATE2'. It works perfectly for me. Let me know if you have any questions.
Note: This code put the file into SAP Directory "/userapps/master_data/" as well as it upload the file into Transaction WTY since i am using Business object:BUS2222. You may need to modify the Business object if you ahve the one, otherwise you can just put it into SAP DIR.
FUNCTION ZATTACH_CREATE.
*"*"Update function module:
*"*"Local interface:
*" IMPORTING
*" VALUE(FILE) TYPE SAPB-SAPFILES
*" VALUE(STR_FILE_CONTENT) TYPE XSTRING
*" VALUE(OBJECT_KEY) TYPE BAPIBDS01-OBJKEY
DATA: LOGICAL_SYSTEM TYPE BAPIBDS01-LOG_SYSTEM,
CLASSNAME TYPE BAPIBDS01-CLASSNAME,
CLASSTYPE TYPE BAPIBDS01-CLASSTYPE.
DATA: IT_FILES TYPE TABLE OF BAPIFILES,
IT_SIGNATURE TYPE TABLE OF BAPISIGNAT,
FILES TYPE BAPIFILES,
SIGNATURE TYPE BAPISIGNAT.
DATA: I_TOADD TYPE TOADD,
FILENAME_ALL TYPE SAPB-SAPFILES,
FILE_PATH TYPE SAPB-SAPFILES,
FILE_PATH_MEMORY(250) TYPE C, " path für SAP memory
FILE_PATH_LENGTH TYPE I, " length of the file_path
FILE_CONTENT_LENGTH TYPE I, " length of the file_CONTENT
FILE_NAME TYPE SAPB-SAPFILES,
FILE_EXTENSION TYPE TOADD-DOC_TYPE. " file-extension.
DATA: I_FILE_CONTENT TYPE TABLE OF BAPICONTEN.
DATA: WA_FILE_CONTENT TYPE BAPICONTEN,
STRING_CONTENT TYPE STRING,
STRING_CONTENT1 TYPE STRING.
DATA:
I_FILES TYPE TABLE OF BAPIFILES ,
I_SIGNATURE TYPE TABLE OF BAPISIGNAT ,
I_COMPONENTS TYPE TABLE OF BAPICOMPON ,
COMPONENTS TYPE BAPICOMPON ,
I_PROPERTIES TYPE TABLE OF SDOKPROPTY ,
I_PROPERTIES2 TYPE TABLE OF BAPIPROPER ,
I_PROPERTIES_DEL TYPE TABLE OF BAPIDPROPT ,
MIMETYPE TYPE TOADD-MIMETYPE,
COMPID TYPE BAPICOMPON-COMP_ID, " compid for popup
COMPID_FLAG(1) TYPE C, " compid can't be changed
MODIFY_FLAG(1) TYPE C, " document is modified
ATTRI_FLAG(1) TYPE C, " attri can't be changed
TITLE_FLAG(1) TYPE C, " titel of the popup
CANCEL_FLAG(1) TYPE C, " cancel button Yes/No
BUTTON_TEXT(10) TYPE C,
INFO_TEXT(100) TYPE C,
VERSION_NR TYPE BDN_CON-DOC_VER_NO, " version_nr for popup
VERSION_LANGU2 TYPE T002T-SPTXT, " language field in POPUP
VERSION_LANGU TYPE BDN_CON-LANGU," SPRAS language field
TITLE_TEXT(100) TYPE C, " title of the popup
DESCRIPTION TYPE BDN_CON-DESCRIPT. " descr. for popup
*FILENAME_ALL = fileUpload_event->file_name.
* Transfering into SAP File server.
FILE_CONTENT_LENGTH = XSTRLEN( STR_FILE_CONTENT ).
FILENAME_ALL = FILE .
STRING_CONTENT = STR_FILE_CONTENT.
DATA: OUT_LINES TYPE TABLE OF XSTRING.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = STR_FILE_CONTENT
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
BINARY_TAB = I_FILE_CONTENT.
DELETE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR APPENDING
IN TEXT MODE ENCODING DEFAULT.
* LOOP AT I_FILE_CONTENT INTO WA_FILE_CONTENT.
* TRANSFER STR_FILE_CONTENT TO '/userapps/master_data/claim1.txt'.
TRANSFER STRING_CONTENT TO '/userapps/master_data/claim1.txt'.
* ENDLOOP.
CLOSE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR INPUT
IN TEXT MODE ENCODING DEFAULT.
READ DATASET '/userapps/master_data/claim1.txt' into STRING_CONTENT1.
* -- split filename -- *
DATA: LENGTH TYPE I.
DATA: PATH2(1200). " LIKE sapb-sapfiles.
DATA: L_FILE(1200),
L_DIR(1200),
L_DELIMITER TYPE C,
L_OFFSET TYPE I,
L_BYTES TYPE I,
L_DELIMITER_OFFSET TYPE I,
L_DELIMITER_BYTES TYPE I,
L_CHAR TYPE C,
L_PREVIOUS_CHAR TYPE C,
L_LAST_CHAR TYPE C.
PATH2 = FILENAME_ALL.
LENGTH = STRLEN( PATH2 ).
L_OFFSET = 0.
WHILE L_OFFSET < LENGTH.
L_LAST_CHAR = L_CHAR. "remember last character
L_BYTES = CHARLEN( PATH2+L_OFFSET ).
L_CHAR = PATH2+L_OFFSET(L_BYTES). "get current character
IF L_CHAR = '/' OR L_CHAR = '' OR L_CHAR = ':'.
IF L_DELIMITER IS INITIAL OR L_DELIMITER = ':'.
"Typically we deal with absolute paths, so the first
"delimiter is best. This allows for UNIX paths with
"'' in the directory or file name
L_DELIMITER = L_CHAR.
ENDIF.
IF L_CHAR = L_DELIMITER.
L_DELIMITER_OFFSET = L_OFFSET.
L_DELIMITER_BYTES = L_BYTES.
"remember character in front of delimiter:
L_PREVIOUS_CHAR = L_LAST_CHAR.
ENDIF.
ENDIF.
L_OFFSET = L_OFFSET + L_BYTES.
ENDWHILE.
IF NOT L_DELIMITER IS INITIAL.
L_OFFSET = L_DELIMITER_OFFSET + L_DELIMITER_BYTES.
L_FILE = PATH2+L_OFFSET.
IF L_PREVIOUS_CHAR = ':' OR L_DELIMITER = ':'.
"path ends with or after drive identifer, include the delimiter
L_DIR = PATH2(L_OFFSET).
ELSEIF NOT L_DELIMITER_OFFSET IS INITIAL.
"do not include a trailing delimiter for compatibility reasons
L_DIR = PATH2(L_DELIMITER_OFFSET).
ELSE.
CLEAR L_DIR.
ENDIF.
ELSE.
L_DIR = SPACE.
L_FILE = PATH2.
ENDIF.
FILE_PATH = L_DIR.
FILE_NAME = L_FILE.
* -- set new file_path to SAP memory -- *
FILE_PATH_LENGTH = STRLEN( FILE_PATH ).
IF FILE_PATH <> SPACE AND FILE_PATH_LENGTH < 250.
FILE_PATH_MEMORY = FILE_PATH.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ELSE.
FILE_PATH_MEMORY = SPACE.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ENDIF.
* -- data declaration ------------------------------------------------ *
DATA:
SINGLE_C TYPE C.
CLEAR: SINGLE_C.
LENGTH = STRLEN( FILE_NAME ).
IF LENGTH > 0.
WHILE LENGTH > 0.
SINGLE_C = FILE_NAME+LENGTH(1).
IF SINGLE_C CO '.'.
LENGTH = LENGTH + 1.
EXIT.
ELSE.
LENGTH = LENGTH - 1.
ENDIF.
ENDWHILE.
IF LENGTH > 0.
FILE_EXTENSION = FILE_NAME+LENGTH.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
IF FILE_EXTENSION <> SPACE.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE FILE_EXTENSION TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
ENDIF.
* TR001++
DATA: I_TOADV TYPE TABLE OF TOADV.
DATA: WA_TOADV TYPE TOADV.
DATA: OBJECT TYPE SAEOBJART.
SELECT * FROM TOADV INTO CORRESPONDING FIELDS OF TABLE
I_TOADV WHERE STANDARD = 'X'.
DELETE I_TOADV WHERE AR_OBJECT CS 'BDS' OR AR_OBJECT CS 'ZSEST'.
READ TABLE I_TOADV INTO WA_TOADV WITH KEY DOC_TYPE = FILE_EXTENSION.
* -- get name and description for the document -- *
CLEAR: COMPID,
DESCRIPTION,
VERSION_NR,
MODIFY_FLAG,
COMPID_FLAG,
ATTRI_FLAG,
TITLE_FLAG.
COMPID_FLAG = ' '. " -> compid can't be changed
MODIFY_FLAG = 'S'. " -> popup in save modus
ATTRI_FLAG = 'X'. " -> attri's can be changed
COMPID = FILE_NAME.
VERSION_NR = '00000001'.
VERSION_LANGU2 = SY-LANGU.
TITLE_FLAG = '1'. " -> BDN
* -- get the mimetype of the docuclass -- *
*PERFORM MIMETYPE_GET(OAALL) USING FILE_EXTENSION
* CHANGING I_TOADD.
DATA: I_DOCUMENTCLASS TYPE TOADD-DOC_TYPE.
MOVE FILE_EXTENSION TO I_DOCUMENTCLASS.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE I_DOCUMENTCLASS TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
SELECT SINGLE * FROM TOADD INTO I_TOADD WHERE
DOC_TYPE EQ I_DOCUMENTCLASS.
IF SY-SUBRC NE 0. " nothing found -> default!
I_TOADD-DOC_TYPE = I_DOCUMENTCLASS.
I_TOADD-MIMETYPE = 'application/x-docType'. "#EC NOTEXT
ENDIF.
MOVE I_TOADD-MIMETYPE TO MIMETYPE.
* -- fill file and signature structure -- *
CLEAR: I_FILES, I_SIGNATURE.
REFRESH : I_FILES, I_SIGNATURE.
DESCRIPTION = FILE_NAME.
FILES-DOC_COUNT = 1.
FILES-DIRECTORY = FILE_PATH.
FILES-FILENAME = FILE_NAME.
FILES-MIMETYPE = MIMETYPE.
APPEND FILES TO I_FILES.
* -- fill components and signature structure -- *
COMPONENTS-DOC_COUNT = 1.
COMPONENTS-COMP_COUNT = 1.
COMPONENTS-MIMETYPE = MIMETYPE.
COMPONENTS-COMP_ID = FILE_NAME.
APPEND COMPONENTS TO I_COMPONENTS.
SIGNATURE-DOC_COUNT = 1.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTCLASS'.
SIGNATURE-PROP_VALUE = FILE_EXTENSION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_CONTREP'.
*IF BDS_DOCTYPE_LIST-CONTREP = SPACE.
SIGNATURE-PROP_VALUE = ' '. "#EC NOTEXT
*ELSE.
* I_SIGNATURE-PROP_VALUE = BDS_DOCTYPE_LIST-CONTREP.
*ENDIF.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTTYPE'.
SIGNATURE-PROP_VALUE = WA_TOADV-AR_OBJECT. "'ZSRVCXLS'."TR001+
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'DESCRIPTION'.
SIGNATURE-PROP_VALUE = DESCRIPTION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'LANGUAGE'.
SIGNATURE-PROP_VALUE = VERSION_LANGU.
APPEND SIGNATURE TO I_SIGNATURE.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
* LOGICAL_SYSTEM =
CLASSNAME = 'BUS2222' "classname_select
CLASSTYPE = 'BO'" classtype_select
CLIENT = SY-MANDT
OBJECT_KEY = OBJECT_KEY
BINARY_FLAG = 'X'
* IMPORTING
* OBJECT_KEY =
TABLES
SIGNATURE = I_SIGNATURE
COMPONENTS = I_COMPONENTS
CONTENT = I_FILE_CONTENT
* ASCII_CONTENT =
* EXCEPTIONS
* NOTHING_FOUND = 1
* PARAMETER_ERROR = 2
* NOT_ALLOWED = 3
* ERROR_KPRO = 4
* INTERNAL_ERROR = 5
* NOT_AUTHORIZED = 6
* OTHERS = 7
COMMIT WORK AND WAIT.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFUNCTION.
Message was edited by:
Raja T -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
A2109 tablet autorotate does not work
The autorotation on my recently purchased tablet A2109 does not work. I look in settings and the auto rotate field is not highlighted, I therefore cannot choose to turn it on.The tablet has the Android jellybean OS and I did update it but to no avail. Can anyone help?
Thanks
Solved!
Go to Solution.Dear tdsouza
Welcome in lenovo forums
just a clarification , do you mean option Rotate is dimmed in setting
Please let me know
Thanks
Alaa
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
For what reason on my tablet with OS Android 4.1 does not work flash on the sites?
Hi! I recently bought a Google Nexus 7 tablet with Android 4.1 operating system and on my tablet does not work flash sites. Why adobe does not release a new version of flash for android 4.1? Why it was necessary to buy a company Macromedia, if adobe does not want to develop web technology? I think against Adobe can sue for violation of antitrust
I found this for example:
http://www.slashgear.com/adobe-no-jelly-bean-flash-flash-player-pulled-altogether-august-1 5-29236404/ -
My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already have it installed...
1. Are you getting any error message?
2. Which browser are you using?
3. Were there any recent changes made on the computer prior to the issue? -
My flash player does not work on my tablet.
My flash player does not work on my tablet
Your tablet uses Android OS.
There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device. -
Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)
Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
If I'm in the wrong place, please do warn me.
The documentation says:
Direct Insertion
Insert the jpg, gif, or png image directly in your template.
...This works obviously
URL Reference
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{'http://image location'}
For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
Element Reference from XML File
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{IMAGE_LOCATION}
where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
...This, however, does not work.
I use Apex' report query tool and My query is like
select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
Regards
PS: My BI version: 10.1.3.4.1Hi Oeren,
your steps seem basically to be correct. I have a tutorial how to do this here (in german)
http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
referencing seem to be OK.
Here are two thought - the issue might be one of these ...
How did you insert the dummy image into the word document - did you do it via "insert" or
via "link to file". "Link to File" does not work - you must choose the simple "insert".
Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
Does this help ..?
Regards
-Carsten
Cloud Computing mit APEX umsetzen. Jetzt!
http://tinyurl.com/apexcloudde
SQL und PL/SQL: Tipps, Tricks & Best Practice
http://sql-plsql-de.blogspot.com -
I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?
Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.
-
Thanks for responding. Since I upgraded ITUNES to IOS 6, my IPOD Touch no longer works at all. I had numerous apps, music and videos on this touch. It made me restore to factory reset and it still does not work!!! Nothing I do will work on this touch now. I have so much data on this, I don't want to loose or have to restore!
Can you help me?
ThanksIf you restored to factory settings/new iPod and still have the problem that indicates a hardware problem.
Make an appointment at the Genius Bar of an Apple store..
Apple Retail Store - Genius Bar -
"HP laserjet professional utility" does not work in osx 10 (Yosemite)
All the major functions of this printer work fine in Yosemite, but not the "HP laserjet professional utility"The driver shown in System Preferences/Printer for my Laserjet P1606dn is version 6.9 (I am unable to knowif this is the version provided by the latest HP printer update, which was installed via the App Store.) I note this exact issue was raised for OSX7 in November 2014, but for a diiferent model printer. My printer is on my local wifi network, and that earlier case seemed to invove a direct USB connection. The solution offered in that thread, 4694464,may not be applicable now, so I seek advice In the panel for my 1606dn within System Preferences/Printer offers a button to launch the "HP Professional Utility", but when clicked an app launches called the "HP Professional Utility" but then nothing. I am trying to access the printer controls that will keep it from turning itself off when idle, and the documentation says the "HP Professional Utility" will allow that change. Please advise
Hey , Welcome to the HP forums! I hope you enjoy your stay here. I see that you are having some issues with adjusting the power save mode settings on your Laserjet P1606dn. I can help with that. First make sure the printer is plugged directly into a wall outlet and not a surge protector. If the printer is connected with an ethernet cable to a router then you may be able to do this instead:On the printer hold down the button that looks like a sheet of paper with an arrow on it for about ten seconds. This should print out a report.On your Mac open a browser and enter the printer's IP Address in your Address bar exactly as it appears on the page. When you are finished click on enter/return.This will open the printer's Embedded Web Server. In here you may be able to find some options to adjust the power save settings.If the above does not work then this troubleshooting may assist you with the utility:Go to Applications, and if you have it open the Hewlett-Packard folder.Run HP Uninstaller to remove any existing software from you system.On the Mac go to the Apple icon and Sytem Preferences.Open Printers and Scanners.Hold down the Command key and click on the picture of your printer on the left.Click on Reset Printing System.Go to Applications and Utilities.Open Disk Utility.Click on Macintosh HD on the left.Click on Verify Disk Permissions. This should take about ten minutes.Click on Repair Disk Permissions. This should take about ten minutes.Restart your Mac.Plug in the USB cable between the printer and the router.Check for Product Updates on your Mac.Try running the tool again.If this resolves everything please let others know by clicking on Accept as Solution below my post.
I hope this helps and I hope you have a great day! -
I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?
The sound seems very faint but can here static on playback.
-
When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my phone back to iOS 5 then it works just fine and I don't have any issues so there must be something wrong with iOS six that isn't letting Facebook load properly
No I did not use any unauthorized methods for anything, I simply reset my phone back to factory.
<Edited By Host> -
Home sharing does not work after update to snow leopard 10.6.4 and iTunes 9
I am using home sharing since about a year without any problems. After updating to snow leopard 10.6.4 and iTunes 9.2 it suddenly does not work anymore.
On my iMac and my Mac Book Pro I get error code 3259 and it tells me to check my firewall and to enable Port 3689.
I did not change anything in the firewall settings, itunes on both allows data traffic in both directions. I also do not find any option to activate a port ( also wondering why this is suddenly now necessary)
I deactivated home sharing on both machines and enabled it again. It still does not work.
On both machines iTunes displays the the library on the left side but like said it is not accessable
With Finder I can access the other computer from both machines without any problem.
Any help to solve this would be very much appreciatedfirst of all, if you are behind a router firewall, and have your network secured (WPA2 and a long, non-dictionary password made up of letters and numbers), you don't need the software firewall on your Mac(s).
@ least turned if off for troubleshooting purposes.
turn home sharing off on both computers, and make sure
(a) both Macs have access to the internet
(b) iTunes on both machines is authorized for the same iTunes account.
turn home sharing back on on both Macs.
does it work ?
JGG
Maybe you are looking for
-
How do I import photos from iPhoto in to adobe lightroom?
I've read in several forums that to do this you must go into the finder right click on iPhoto. Click show package contents. This pulls up a file named contents. All of the forums say to either look for a masters file or a original file and copy
-
Export a single calendar from iCal
How do I export a single calendar from iCal? I have several calendars but only want to send someone one of them.
-
Hotmail accounts not working on iPhone 6 - IOS 8.3?
I've realised over the last few days that I've not been getting emails on my iPhone, they do still come through on my Mac. I read a few threads that seem to put it down to the new IOS upgrade, but I can't remember when I upgraded to IOS 8.3 and when
-
Vendor with 2 VAT numbers and MIRO tr
Hello, If I have a vendor with 2 VAT numbers (t-code xk03), i.e., one for PL by default and another one for FR. When the customer in t-code MIRO wants to choose VAT number for FR it let him do it, but then if we go to the FI document xxxxxxxxxxx,
-
Administrative document blocked when sending message
Hi, For EMCS I am using excise duty in GTS. One of the messages which are used for this is an active message 'Send explanation of Delay'. No passive feedback message is expected in reaction to this message. Still, when executing this message, an idoc