Using the plsql type xmldom.DOMDocument in a java function
Is it possible to call a java function from PLSQL passing in a
xmldom.DOMDocument? If so, how?
I have tried deploying the java function with input types of
oracle.sql.ARRAY and oracle.sql.STRUCT. Neither of these works
as the associated PLSQL package will not compile due to 'records
not being supported'.
I also tried changing the java function input parameter to the
java type XMLDocument. When I did that, I didn't even get the
opportunity to deploy the function; presumably because
XMLDocument is not a PLSQL type.
Can anyone help?
Hi.
The definition of INL_GET_PARTY_SITE_NAME:
FUNCTION INL_GET_PARTY_SITE_NAME(p_line_group_rec INL_CUSTOM_PUB.inl_ship_headers_rec) RETURN VARCHAR2 IS
l_party_site_name VARCHAR2(100);
BEGIN
l_party_site_name := 'Allied Manufacturing';
URN l_party_site_name;
END INL_GET_PARTY_SITE_NAME;
Thanks.
Similar Messages
-
How to use the customer types in customer master data
how to use the customer types in customer master data?
menu path is Extras -> account group info -> customer typeshi,
This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
default sp ,consumer.
See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
I hope this clarifies your quiery.Reward points if so.
Thanking you,
Best regards,
R.Srinivasan -
'You Are Not Using The Correct Type of Phone Cord' Error
Having a issue with my fax on my HP Officejet Pro 8500 wireless. Tried to send a fax, it received a send error. I ran fax test and it came back with "You are not using the correct type of phone cord". Nothing has changed since I last fax'd but I check the lines and connection, everything appears ok. Phone jack is connected to 1-line and Officejet '2-ext' is connected to the phone. I use a dedicated phone # and the Officejet is set to auto answer. I can call out and receive calls on the phone connect to the Officejet. My assumption is that since I can use the phone without issue there is nothing wrong with the phone line. Any ideas?
This question was solved.
View Solution.I was having the same problem. I'm using a the 2 wire phone cord provided with the printer and still getting this error. Turns out that it related to have a phone extension plugged into the printer. If I unplug the telephone form the extension jack on the back of the printer, then the fax test passes. I was even using a 2 wire cord on the phone extension but it seems that simply having a telephone plugged into the extension jack will cause this error.
Run the test without a telephone plugged into the printer's extension jack and you should be fine.
Worked for me! -
Using the URL type field in a Dictionary
Using the URL type field in a Dictionary
How and when would I use the URL Field in a Dictionary? What is the advantage of using this field?
For example, you may have tasks within a service delivery in which performers must access a spreadsheet and enter their estimated efforts and costs in that spreadsheet. You might use this URL type field to direct the task performers to the site where the spreadsheet is residing.
To set up the URL field:
In the Dictionary, for the desired Field, select the "URL" type.
When the service performer enters information into the field (during the Service Dellivery moment), it will beautomatically concatenated with the RequestCenter system URL, and presented as a hyperlink immediately below the entry field in the service form.
The performer is directed to the URL, i.e.:
/RequestCenter/servicemanager/MemorySize
Advantages to this design approach:
1. Allows users who do not have access to RequestCenter to view the estimated efforts and costs.
2. Compensates for the fact that the service form itself cannot display the fields in a table format.Hey,
As per my understanding, you want to display link with text instead of whole url string. For that you can provide link text as a description in URL type field so the same will be displayed as a link title in list view while rendering.
Thanks. -
Hi,
I have a mapping which loads the incremental data every week.Before loading the date , i want check the records in the target.If it exists then i would like to update the records in the target.I used the loading type of INSERT/UPDATE in the target.
When i try to validate the mapping, it is giving the error that 'Missing update maching criteria in the target'.
Can you please let me know where i can use this criteria.Also can you give me the sample condition, that we can give.
Thanks
VinayWhen using the insert/upadte loading type, OWB must discriminate between new and existing incomming records (the new records in the target are inserted, the existing - updated). This can be done either by using the target keys (as proposed by the previous poster) or by explicitely specifying what fields must be matched in the target for an incomming record to be considered 'existing' (the matching criteria).
If you want to match by target keys, set the 'Match by constraints' property of the target to 'All constraints'.
If you want to use another criteria (another target field or a kombination of fields), set this constraint to 'No constraints' and then go field by field on the target to set the loading properties (right-click on the target field and select 'Attribute Properties').
There you will set the Load Column when Updating (meaning wheather the column will be updated during the update operation), Load column when Inserting (whether the column will be loaded in an insert operation), Match Column when Updating (whether the column will be used for matching during an update), Update operation (usually '=' - the operation that will be performed to match incoming records with the existing records in the target) and match column when deleting ( whether the column will be used for matching during a delete).
In other words, the 'update column' fields are the set ... fields of an update statement, the 'match column' are the where ... columns of the same statement, while the '=' is the opreration performed in the where part of the update statement.
Regards:
Igor -
"Cannot use the connection type ...."
Nokia 6233
Windows XP SP2
LaunchApplication.exe v 6.82.70.1
Bluetooth "i.Tech BlueCON U"
O2 Bluetooth Dongle Drivers
Using Bluetooth OK to download photos to PC, but no other function so far.
Trying Nokia PC Suite to perform various functions - failure in all cases, common message is "Cannot use the connection type. Check that the needed hardware, software and drivers are available".
No clues anywhere as to what is needed.
Bluetooth clearly works. Nokia PC Suite can't use it.
Totally stuck - wish to use PC connection to synchronise address books.
Help, please.Hi,
I think that PC Suite is not support your Bluetooth driver. Here you can find what drivers are supported:
/discussions/board/message?board.id=connectivity&message.id=114
Anyway, if Microsoft's BT driver support your BT HW, you can try to that stack also...
So, if you want to try to use MS BT driver:
1. Go to Control Panel, System, Hardware and Device Manager.
2. Open Bluetooth Devices, select that device, click Action, Uninstall and OK.
3. Click Action and Scan for hardware changes.
(windows should automatic install MS BT driver) -
Revision: 13113
Revision: 13113
Author: [email protected]
Date: 2009-12-21 01:08:10 -0800 (Mon, 21 Dec 2009)
Log Message:
Changing to not use an embedded font by default, and adding instructions on how to use the free 'type writer' bitmap font.
Modified Paths:
osmf/trunk/libs/ChromeLibrary/.flexLibProperties
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/ScrubBar.as
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/URLInput.as
Added Paths:
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/fonts/
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/fonts/Fonts.as
Removed Paths:
osmf/trunk/libs/ChromeLibrary/assets/images/stop_up.png_1Your site was built using tables, whose sizes are defined in your site.
If we look at your first table definition, we can see:
<table width="861" height="1449" border="3" cellpadding="0" cellspacing="0" bordercolor="#868787">
Your table has a width of 861 pixels and an overall height of 1449 pixels. Anything you put into that overall box must fit those dimensions, else
it won't be visible. Anything you add above it will push everything down. You can redefine your sizing to let you edit more inside of the table elements.
This is why, when you type in more text, things act weird. If you are in Dreamweaver, you must find the right cell to put your text into and then enter
text there. Unfortunately, this is going to push things around, which were all lined up using tables. And this gets everything offset with respect to
everything else in your website.
And that is why everyone is saying, "Start Over!"
I just inherited a website that has been put together using tables. I'm going to have to expend considerable effort in rewriting the entire design of the
website because of that. because everything I intend to add to the pages on the site is going to need to be deconstructed in order to get it to work
properly if I'm adding text and pictures that need to line up with each other.
You need something done quick and dirty and the only way I can recommend you do that is to use Dreamweaver to show you the tables you have
and put what you need in a new table that is defined above or below the tables you all ready have defined. Do that and then get back to someone here
who knows how to make a website correctly to clean up your entire website and make it editable -- which will cost you some money, but it will be
money well-spent.
I like to quote this maxim: Good, Fast, Cheap. Pick any two. This works for website design. You can get it fast and cheap, but it won't be good. I
think you may have chosen that route. -
Cannot create a server using the selected type
Hi,
I'm trying to integrate tomcat 6.0 with Eclipse. But when I try to add Tomcatv6.0 Server,
it is sowing an error message " Cannot create a server using the selected type ".
Can anyone tell me why?
Thanks in advanceIn order to solve the problem you need to
* close eclipse
* go to ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
* remove the files org.eclipse.wst.server.core.prefs and org.eclipse.jst.server.tomcat.core.prefs
* solve the problem with the permissions of the policy files or the personal instance of tomcat6
* start eclipse
In order to be able to use the tomcat6 server the proper solution is to have a personal instance of the tomcat6 server as described in the section "Advanced Configuration - Multiple Tomcat Instances" of the file RUNNING.txt (and the problems that have been reported about this ;-) )
My configuration: Debian/Sid, Eclipse 3.4.1. Ganymede
george -
How to use the output types e-mail in script?and other output types
how to e -mail a script?and fax?
hi,
check the example
Just try by using the below code may be it will helpful to you.
REPORT Z_RMTIWARI_SEND_SPOOL_MAIL_ATT .
PARAMETERS : P_SPOOL TYPE TSP01-RQIDENT OBLIGATORY .
PARAMETERS : P_MAIL TYPE char100 OBLIGATORY .
TYPES : TY_LINE type string.
DATA: IT_ATTACHMENT TYPE soli OCCURS 0 WITH HEADER LINE.
DATA: IT_ATTACHMENT_LONG TYPE TY_LINE OCCURS 0 WITH HEADER LINE.
DATA: LV_PDF_SIZE type i.
DATA: LT_PDF type standard table of tline with header line.
PERFORM SEND_EMAIL USING P_SPOOL P_MAIL.
FORM send_email
--> X_SPOOL_ID
--> X_EMAIL
FORM send_email USING X_SPOOL_ID X_EMAIL.
DATA: LT_OBJPACK LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE,
LT_OBJHEAD LIKE solisti1 OCCURS 1 WITH HEADER LINE,
LT_OBJBIN LIKE solisti1 OCCURS 10 WITH HEADER LINE,
LT_OBJTXT LIKE solisti1 OCCURS 10 WITH HEADER LINE,
LT_RECLIST LIKE somlreci1 OCCURS 5 WITH HEADER LINE,
LV_DOCUMENT_DATA TYPE sodocchgi1.
DATA: L_ATT_LINES TYPE i.
DATA : LV_SPOOL_DESC(68) type c.
CHECK NOT ( X_EMAIL IS INITIAL ).
CLEAR: LT_RECLIST, LT_RECLIST[],
LT_OBJHEAD, LT_OBJHEAD[],
LT_OBJTXT, LT_OBJTXT[],
LT_OBJBIN, LT_OBJBIN[],
LT_OBJPACK, LT_OBJPACK[].
CLEAR LV_DOCUMENT_DATA.
Read spool and get the pdf internal table and name of spool
PERFORM READ_SPOOL USING X_SPOOL_ID LV_SPOOL_DESC.
CHECK NOT ( LT_PDF[] IS INITIAL ).
Convert pdf itab to 255 line itab.
data :LV_COUNTER type i.
data :LV_FROM type i.
loop at LT_PDF.
translate LT_PDF using ' ~' .
concatenate IT_ATTACHMENT_LONG LT_PDF into it_attachment_long.
endloop.
translate IT_ATTACHMENT_LONG using '~ ' .
append IT_ATTACHMENT_LONG.
clear : LV_COUNTER.
DO.
LV_COUNTER = strlen( IT_ATTACHMENT_LONG ).
if LV_COUNTER ge 255.
IT_ATTACHMENT = IT_ATTACHMENT_LONG(255).
append IT_ATTACHMENT.
SHIFT IT_ATTACHMENT_LONG by 255 places.
else.
IT_ATTACHMENT = IT_ATTACHMENT_LONG(lv_counter).
append IT_ATTACHMENT.
exit.
endif.
ENDDO.
Body of email
MOVE 'Email sent to you from SAP' TO LT_OBJTXT.
APPEND LT_OBJTXT.
LV_DOCUMENT_DATA-obj_name = 'SpoolMail'.
Title of the email as spool name
LV_DOCUMENT_DATA-obj_descr = LV_SPOOL_DESC.
LV_DOCUMENT_DATA-sensitivty = 'O'.
LV_DOCUMENT_DATA-expiry_dat = SY-datum + 15.
LV_DOCUMENT_DATA-doc_size = STRLEN( LT_OBJTXT ).
e-mail body
CLEAR LT_OBJPACK.
LT_OBJPACK-head_start = 1.
LT_OBJPACK-head_num = 0.
LT_OBJPACK-body_start = 1.
LT_OBJPACK-body_num = 1.
LT_OBJPACK-doc_type = 'RAW'.
LT_OBJPACK-doc_size = STRLEN( LT_OBJTXT ).
APPEND LT_OBJPACK.
For e-mail attachment
DESCRIBE TABLE IT_ATTACHMENT LINES L_ATT_LINES.
READ TABLE IT_ATTACHMENT INDEX L_ATT_LINES.
CLEAR LT_OBJPACK.
LT_OBJPACK-transf_bin = 'X'.
LT_OBJPACK-head_start = 1.
LT_OBJPACK-head_num = 1.
LT_OBJPACK-body_start = 1.
LT_OBJPACK-body_num = L_ATT_LINES.
LT_OBJPACK-doc_type = 'PDF'.
LT_OBJPACK-obj_name = 'email'.
LT_OBJPACK-obj_descr = LV_SPOOL_DESC.
LT_OBJPACK-doc_size = ( 255 * ( L_ATT_LINES - 1 ) ) + STRLEN( IT_ATTACHMENT-line ).
APPEND LT_OBJPACK.
make recipient list
LT_RECLIST-receiver = X_EMAIL.
LT_RECLIST-rec_type = 'B'. "To external email id
APPEND LT_RECLIST.
send mail with attachment
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = LV_DOCUMENT_DATA
put_in_outbox = 'X'
TABLES
packing_list = LT_OBJPACK
object_header = LT_OBJHEAD
contents_bin = IT_ATTACHMENT
contents_txt = LT_OBJTXT
receivers = LT_RECLIST
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
If SY-subrc = 0.
write:/ 'Message sent'.
else.
write:/ 'Error encountered'.
endif.
ENDFORM. " send_email
*& Form read_spool
FORM read_spool USING X_SPOOL_ID Y_SPOOL_DESC.
DATA : LV_SPOOL_TYPE TYPE TSP01-RQDOCTYPE.
SELECT SINGLE RQDOCTYPE RQTITLE
INTO (lv_spool_type, y_spool_desc)
FROM TSP01
WHERE RQIDENT eq X_SPOOL_ID.
IF Y_SPOOL_DESC IS INITIAL.
concatenate 'Spool-' X_SPOOL_ID into Y_SPOOL_DESC.
ENDIF.
IF LV_SPOOL_TYPE eq 'LIST'. " If spool is a list
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = X_SPOOL_ID
NO_DIALOG =
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
PDF_BYTECOUNT = LV_PDF_SIZE
PDF_SPOOLID =
LIST_PAGECOUNT =
BTC_JOBNAME =
BTC_JOBCOUNT =
TABLES
PDF = LT_PDF
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE. " If spool is OTF
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = X_SPOOL_ID
NO_DIALOG =
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
PDF_BYTECOUNT = LV_PDF_SIZE
PDF_SPOOLID =
OTF_PAGECOUNT =
BTC_JOBNAME =
BTC_JOBCOUNT =
TABLES
PDF = LT_PDF
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDFORM. " read_spool
http://www.sap-img.com/abap/sending-fax-from-abap.htm
http://www.sap-img.com/abap/sending-email-with-attachment.htm -
Please show me some examples for using the carray type fields in FML buffer
How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
please show me some examples?
Thanks!How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
please show me some examples?
Thanks! -
Which tcode is using the output type
Hi experts,
Is there any way (tcode/table) to determine which tcode will use an output type?
Ex: Our client has a request to modify a smartform. Supposed that I can determine the printing program and output type. But how do I know this output type used in which tcode?
Thanks.Hi
It depends on which business transaction the output has to be run.
Every business transaction can have own trx to run the print.
For example for the purchase order you can use ME9F, for the bill is VF31, but if the trx is not standard it's not easy to find out it.
Anyway every print can be run by std report RSNAST00.
For only the logistic print (so for module SD and MM) the output type is managed by trx NACE (or see table TNAPR), but other modules have an own way to manage the print, so there isn't a sure way to know your issue, only the experience.
Max -
Use the PLSQL PACKAGE in WEBSERVICE
Hi
in ordre to have de adventage of the new technologie and don't loos the PLSQL PACKAGDE
please give me^proposition to rewrite those PACKAGE in JAVA
Thank's
DAHANE Miloud
AlgeriaUsing JDev11g you can generate pl/sql packaged based web services. Goto database navigator, connect to a database, explore your pl/sql package and right click and press "Publish as Web Service".
This generates all the requried java classes.
Goto your model project, right click on the new web service and click Test Webservice.
It generates WSDL file for you.
Using this wsdl, you can create web services data control.
Using this data control you can easily generate adf table in your jsf page.
Let me know if you have any questions. -
How to use the Microsoft File Copy dialog box in Java ??
Can anyone tell me if it is possible to use the Microsoft File Copy dialog box (the one with the animated gif of the paper flying from one folder to anaother) in a Java.
Many thanksAnd in any case, in any version of Windows that I've looked at, the file copy animation is an AVI, not a GIF.
db -
How to use the DLLs which created from c++ in Java?
And How to use the DLLs which created from JNI in C++?
Huh?
Are you asking how to do JNI - you should read the tutorial.
Are you asking how to load it - then use System.loadLibrary()
Are you asking what to do with the output from javah - put it in a C file and write some code, compile it into a dll. -
How to use the text type in SAP Routine
Hi,
The following fields has to be populated in Stock transport order text fields at the time of saving the document & to be copied into delivery document
1) Material type
2) Receiving storage location
3) Production supply Area
STO
Delivery
EWM Delivery
Origin of the field value
Material type
New text type to be created
(90)
New text type to be created (Z003)
New text type to be created
(Z003)
Available in EKPO table (field name is MTART)
Receiving storage location
New text type to be created
(91)
New text type to be created (Z004)
New text type to be created
(Z004)
Available in EKPO table (field name is LGORT)
Production supply Area
New text type to be created
(93)
New text type to be created
(Z006)
New text type to be created
(Z006)
To be retrieved from Control cycle table (PKHD-PRVBE), if the Kanban indicator (EKPO-KANBA) is ‘X’.
With Best Regards,
SDN user.Hi,
You canr use text modules in script. You have to use standard texts .
Standard text are maintained in SO10 transaction.
you can create translation text for other languages also . So based on logon language it will print translation text.
go to SO10
give textname it say Ztextname id as ST and language as EN
say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
so now you have created a text called ztextname which you can use in your script.
Inorder to insert the texts in your script do as below
go to any window editor and select path
Insert->texts->symbols->standard symbols
then you will get popup in which you have to mention all the parameters that you have created earlier.
after inserting just change language EN to sy-langu
Reward points if useful
About text elements Sravan already given some informatiomn
Regards,
Nageswar
Maybe you are looking for
-
All of the sudden my iPad (1st generation) isn't being recognized by
All of the sudden my iPad isn't being recognized by any of my PC's. The PC's are working fine (they are still recognizing our iPhones) and I'm pretty sure that the problem is with my iPad. Please help!!!
-
I am selecting data from a Progress database using the Data Direct Open Edge 10.1.B driver. The target table stores the date values as varchar in this format "22-OCT-14" In the select statement I can use Progress statements or T-SQL to transform the
-
JCO connection Between AIX ECC6.0 EhP4 and Windows Java stack
Dear Experts I have installed ECC6.o EhP4 ABAP stack in AIX6.1 with Oracle 11G and I have installed JAVA stack in Windows 2003 server I am trying to create JCO destination in Visual Admin to ECC EhP4 its through error ,,can anybody tell me is it po
-
We recently got Adobe Photoshop elements 9 and I was wondering if I could download it onto two seperate computers using the same disk/code without deleting it from the other one.
-
It happens all the time. On the line below Yahoo toolbar.