Problem on zero's while using gui_download
Hi,
While downloading the internal table content for ex. 000010 to Excel sheet by using GUI_DOWNLOAD , zeros are truncated and becomes 10(in this case).
Is it any possible way to get as like 000010?
Thanks
give the FILETYPE as <b>DBF</b> and checkout if it works
or
in the excel file , right click on that column>format cellschoose text
Similar Messages
-
Blank spaces while using GUI_DOWNLOAD for Chinese characters
Hi,
While using GUI_DOWNLOAD for chinese characters I have used a code page option of 8300 for Chinese.
The file which is getting downloaded in a notepad has some Chinese characters coming under some headings.
After that columns other columns are getting shifted towards the right.
This is working correctly for English characters.
Can someone please help me.
Now I am using CL_GUI_FRONT_END_SERVICES=>GUI_DOWNLOAD.
What special options should I pass now.
Regards,
SubhashiniHi,
I only solved my problem by using different code pages 8400 and 8300 for Chinese and Taiwanese characters.
I fixed the lengths of the fields by converting them to hexadecimal string and back to string using these function modules as below.
DATA:lv_xstring TYPE xstring,
lv_temp TYPE string.
DATA: lv_conv TYPE REF TO cl_abap_conv_in_ce.
lv_temp = p_name.
CALL FUNCTION 'HR_KR_STRING_TO_XSTRING'
EXPORTING
codepage_to = p_codepage
unicode_string = lv_temp
out_len = p_outlen
IMPORTING
xstring_stream = lv_xstring
EXCEPTIONS
invalid_codepage = 1
invalid_string = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
from_codepage = p_codepage
in_xstring = lv_xstring
out_len = p_outlen
IMPORTING
out_string = p_string.
Create a Conversion Instance
lv_conv = cl_abap_conv_in_ce=>create(
encoding = p_codepage
input = lv_xstring ).
v_conv->read( IMPORTING data = p_string ).
Regards,
Subhashini -
Problem with Progress DB while using to connect using JDBC Adapter
Hi,
I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
Error during database connection to the database URL jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db using the JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db "
I tried using the following all URLs,
1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.
2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db
3.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.
4.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db.
Can anyone please help me out in solving this issue.
May be the cause for this is :
1) The Wrong URL format
2) CLASSPATH is not setted properly..
Can you look more into this stuff.
Thanks,
Soorya.Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
Problem with two monitors while using Photoshop, windows move from 2nd screen to 1st screen.
I saved a new workspace and it did not help.
No problem before I went to Maverick.I found the fix, go to System Preferences and open Mission Control and uncheck the box to keep monitors as they were (When switching to an application...........)
-
Problem in reports 6i while using delimiter option.
Hi,
I am facing problem in report writer while using delimiter option.
Report summary
==============
In my report I am having two queries in data model and two different repeating frame for each in layout.
These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
Problem Encountered
=================
Both these reports are running fine while using pdf option to generate report .
While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
I have also trapped it while using messages and it is logically flowing fine.
I think report writer does not support such scenario.
please expedite on this.
thankx
peyushHi,
There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
Thanks,
Rohit Hi Rohit,
Thanks for the information.
well I am generating single output file on each run .
the problem is somewhat funny.
I have build query2 in data model after query1.
query 1 is giving me correct output both in .PDF and delimiter version.
But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
When I took out query2 to another module it is running fine for both.
I hope this make sense.
Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
Thanks
Mohit... -
Is there anything to be taken care of while using GUI_DOWNLOAD in ITS?
Hi All,
I have a requirement on which I am using GUI_DOWNLOAD for downloading a file into a network Drive.In the foreground I am executing using ITS.When I click on 'SUBMIT' button it goes to "Interpreter failed ...Internal error code: 0x2101".Till the point of GUI_DOWNLOAD its working fine.When I am executing from SAP system,its working fine.Once I execute from browser only problem comes.Have anybody faced a similiar situation and if so please help me.
Thanks in Advance,
AnjalyHi Anjaly,
this means that the template could not be found. I assume you are using the ITS 620, in the integrated ITS this error would result in an ABAP runtime error.
Ok, how to solve? Please examine the ITS trace files especially that one for the Bussiness HTML interpreter. Its is Agate<N>_sapjulep.trc.
best regards
Tobias -
Exception UNKNOWN_ERROR while using GUI_DOWNLOAD in POWL
Hi,
I am trying to use FM GUI_DOWNLOAD to download an internal table in POWL to an excel sheet.
Using GUI_DOWNLOAD I get an exception 6 = UNKNOWN_ERROR.
Can anyone help? Or should I be using another function module? If yes, which?
Cheers
KiranHello Kiran,
Strange Problem. Please try the code below. Also, please try any other drive other than C drive.
w_path---> file path in presentation server.
IF w_filepath IS NOT INITIAL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = w_filepath "TYPE STRING
TABLES
data_tab = p_t_output "TYPE STANDARD TABLE.
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
CASE sy-subrc.
WHEN 0.
IF w_flaginfo IS INITIAL.
MESSAGE i109.
w_flaginfo = 1.
ENDIF.
WHEN 1.
MESSAGE e033 . "file write error
WHEN 2.
MESSAGE e034 . "no batch
WHEN 3.
MESSAGE e035 . "gui refuse filetransfer
WHEN 4.
MESSAGE e036 . "invalid type
WHEN 5.
MESSAGE e037 . "no authority
WHEN 6.
MESSAGE e038 . "unknown error
WHEN 7.
MESSAGE e039 . "header not allowed
WHEN 8.
MESSAGE e040 . "separator not allowed
WHEN 9.
MESSAGE e041 . "filesize not allowed
WHEN 10.
MESSAGE e042 . "header too long
WHEN 11.
MESSAGE e043 . "dp error create
WHEN 12.
MESSAGE e044 . "dp error send
WHEN 13.
MESSAGE e045 . "dp error write
WHEN 14.
MESSAGE e046 . "unknown dp error
WHEN 15.
MESSAGE e047 . "access denied
WHEN 16.
MESSAGE e048 . "dp out of memory
WHEN 17.
MESSAGE e049 . "disk full
WHEN 18.
MESSAGE e050 . "dp timeout
WHEN 19.
MESSAGE e051 . "file not found
WHEN 20.
MESSAGE e052 . "dataprovider exception
WHEN 21.
MESSAGE e053 . "control flush error
ENDCASE.
ENDIF.
Please let me know if this works or not.
Thanks,
Jayant -
Manipulating excel file while using GUI_DOWNLOAD
hi all,
while using GUI_UPLOAD i want to
1) fix the width of the column of excel file
2) define the font of the data in excel file
3) change background color of the cells in excel file.
please suggest as to how can this be done?using GUI_DOWNLOAD you can't change the data in excel sheet...if you want to do the things you need to use OLE concpets for downloading of data to Excel sheet wherein you can do most of the options excel can handle..
Check within SDN as there are blogs for downloading data to Excel sheet using OLE concepts.. -
Problem in DII client while using custome type
Hi All,
I am accessing a webservice using JAX-RPC DII cleint. Webserviuce is deployed on a websphere app server 6.0
In Webservice i have 1 complextype called Address.
When i try to call the webservice and try to pass the complex type as parameter to web service i get deserialization error for complexType.
I tried to register it using TypeMappingRegistry but again iam getting
exception like "you can't modify default typemapping".
here is my code
public class DIITip implements SerializerConstants {
public static void main(String args[]) {
try {
QName serviceName = new QName("http://localhost:9080/AddressBookService/services/AddressBook/wsdl/AddressBook.wsdl","AddressBookService");
ServiceFactory factory = ServiceFactory.newInstance();
Call call = service.createCall();
QName operationName = new QName("http://addr","setAddressFromName");
call.setOperationName(operationName);
// The input parameter
call.addParameter(
"arg_0_1", // parameter name
QNAME_TYPE_CPLX_TYPE, // parameter XML type QName
Address.class, // parameter Java type class
ParameterMode.IN); // parameter mode
// The return
call.setReturnType(XMLType.XSD_BOOLEAN);
// The operation is an RPC-style operation.
call.setProperty(Call.OPERATION_STYLE_PROPERTY,"rpc");
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"http://schemas.xmlsoap.org/soap/encoding/");
call.setTargetEndpointAddress("http://localhost:9080/AddressBookService/services/AddressBook");
Address addr = new Address();
addr.setStreetName("Jogesh");
addr.setCity("Puri");
addr.setState("Orisaa");
TypeMappingRegistry registry = service.getTypeMappingRegistry();
TypeMapping mapping2 = registry.getTypeMapping("");
TypeMapping typeMapping = registry.getTypeMapping(SOAPConstants.URI_ENCODING);
QName type = new QName("http://addr", "Address");
CombinedSerializer serializer = new addr.Address_SOAPSerializer(type,
ENCODE_TYPE, NULLABLE, SOAPConstants.NS_SOAP_ENCODING);
serializer = new ReferenceableSerializerImpl(SERIALIZE_AS_REF, serializer);
registerSerializer(typeMapping,addr.Address.class, type, serializer);
// Invoke the operation
Object[] actualArgs = {addr};
Boolean obj = (Boolean) call.invoke(actualArgs);
if (null!= obj)
System.out.println(obj.getStreetName()+" "+obj.getCity()+" "+obj.getState());
}else
System.out.println("Obj is null");
catch (Throwable t) {
t.printStackTrace();
private static void registerSerializer(TypeMapping mapping, Class javaType, QName xmlType,
Serializer ser) {
mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
new SingletonDeserializerFactory((Deserializer)ser));
Anybody know how to register/use complext type while using DII client
Many thanks for any help offered.
capriHey Capri,
did you solved your problem?
I' am also looking for a solution to add complex Types.
I use webservices with apache axis. There I don't have to add the parameter to the call object. In the server-config.wsdd, there are all information about the complex type. So I only have to invoke webservice with my object.
But now I want to invoke a BPEL-Process as webservice. I think at this term I have to add the parameter to the call object.
regards,
kirie -
Need to include header in csv file while using GUI_DOWNLOAD
Hi,
Iam using GUI_DOWNLOAD for downloading certain texts,its working fine.now i need to include the header(i'e) some text say 'This is a error file'at the top.how can i do this?REPORT ZTEST12347 .
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
END OF ITAB.
SELECT VBELN
POSNR
FROM VBAP
UP TO 20 ROWS
INTO TABLE ITAB.
DATA: IT_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
IT_LINE-TDLINE = 'this is error file'.
append it_line.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:test.txt'
TABLES
DATA_TAB = IT_LINE
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:test.txt'
APPEND = 'X'
TABLES
DATA_TAB = ITAB
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Extra Carriage Return While Using GUI_DOWNLOAD in ASC Mode
Dear All,
Happy New Year..First of All!
We are facing a problem in using FM GUI_DOWNLOAD for downloading internal table data in ASC Format. The FM seems to be adding one extra Line Feed / Carriage Return in the end of the file. We have debugged the code, and found that the internal table is populated correctly,but after the FM is called and the file is downloaded to the PC, we find that there is one extra blank line that is appended after the data. We have gone through some similar topics in SDN , some of them being:
GUI_DOWNLOAD : Extra Line
gui_download - last line
GUI_DOWNLOAD
We are already using the parameters TRUNC_TRAILING_BLANKS = 'X', TRUNC_TRAILING_BLANKS_EOL = 'X' and WRITE_LF_AFTER_LAST_LINE = ' ', with no effect. Also tried searching in OSS, but did not find a proper note. Can anybody please throw some light on this problem?
Thanks and Sincere Regards,
AmitabhaHi...
If you can not ignore this problem. Because it download data line by line. First it set the cursor then download one record and so. For final record it it download the record then set the cursor to next line. Then it check that no more lines in the internal table. Then it exit from the FM.
Thank
Subhankar. -
Problem with cyrillic symbols when using 'GUI_DOWNLOAD'
Hi,
I have to download internal table to a excel file. I'm using FM 'GUI_DOWNLOAD'. Everything is OK, the file is downloaded, but when I open it I see some characters, where I should see cyrillic symbols. Below is the code, which I use. How can I solve the problem ?
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = ld_fullpath
filetype = 'DBF'
codepage = '1504'
* APPEND = 'X'
write_field_separator = 'X'
* CONFIRM_OVERWRITE = 'X'
TABLES
data_tab = itab
FIELDNAMES = itab_fields
EXCEPTIONS
file_open_error = 1
file_write_error = 2
OTHERS = 3.
Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 3:56 PMHi Stefan,
Check this sample code
REPORT z_file_download.
DATA: w_name(90) TYPE c.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
END OF fs_flight.
DATA:
BEGIN OF fs_head,
carrid(10) TYPE c,
connid(10) TYPE c,
fldate(10) TYPE c,
price(10) TYPE c,
curr(10) TYPE c,
END OF fs_head.
DATA:
t_head LIKE
TABLE OF
fs_head.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
fs_head-carrid = 'CARRID'.
fs_head-connid = 'CONNID'.
fs_head-fldate = 'FLDATE'.
fs_head-price = 'PRICE'.
fs_head-curr = 'CURRENCY'.
APPEND fs_head TO t_head.
SELECT-OPTIONS:
s_carrid FOR fs_flight-carrid.
START-OF-SELECTION.
SELECT carrid
connid
fldate
price
currency
FROM sflight
INTO TABLE t_flight
WHERE carrid IN s_carrid.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight2.xls'
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = t_head
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight2.xls'
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t_flight
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
MESSAGE 'Download successful' TYPE 'I'.
ENDIF.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Abhijeet -
Problem creating schema source while using WebService in MessageMapping
Hi, scenario is RFC2WS.
Problem that occurs is that when i want to use a method from WebService in MessageMapping XI won't import the structure. I am getting following error. The WSDL is from an external portal on which a WebService is ready to invoke.
<b>What might be the problem?! </b>
<i>
Problem when creating schema source:
Details
java.lang.NullPointerException
STACKTRACE:
com.sap.aii.utilxi.misc.api.BaseException: java.lang.NullPointerException
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:86)
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
at com.sap.aii.mappingtool.mf.TransformationPanel.createTargetView(TransformationPanel.java:264)
at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:100)
at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView$LinkDataTarget.setData(XiMappingView.java:378)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView$MessageDataTarget.setData(XiTransformationView.java:973)
at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.setData(DataTarget.java:514)
at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.drop(DataTarget.java:462)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
STACKTRACE:
java.lang.NullPointerException
at com.sap.aii.utilxi.xsd.api.XsdHandler.saveSchemaToDocument(XsdHandler.java:61)
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:82)
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
at com.sap.aii.mappingtool.mf.TransformationPanel.createTargetView(TransformationPanel.java:264)
at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:100)
at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView$LinkDataTarget.setData(XiMappingView.java:378)
at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView$MessageDataTarget.setData(XiTransformationView.java:973)
at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.setData(DataTarget.java:514)
at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.drop(DataTarget.java:462)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
</i>Hi ,
Can you please cross check these steps carefully.
1. After importing the WSDL using external definition, did you checked msges Tab for for the included msg to see what msges you have added.
and be careful that the namespaces of the messages are part of the WSDL description and can differ from the namespace of the external definition object.
2.Did you created message Interface corresponding to the message types from the external definition? it is needed to route the message to webService. Here select message types of the external definition object. Assign input and output messages.
3. Creating a SOAP Receiver Channel
To call the Web service, you create a communication channel with type SOAP and
direction receiver in the Integration Directory. The obligatory parameters in the
configuration are Target URL and SOAP action. You get the values you have to enter
here from the WSDL file.
Creating a SOAP Sender Channel
When you create a SOAP sender channel you have to define the namespace and the
name of a message interface. Since no input help is provided, you copy and paste the
values from your Integration Repository.
Select the Quality of Service according to your interface type. If you are using a
synchronous interface, select Best Effort. Otherwise, select Exactly Once or EOIO.
Hope this will help you to figure out.
Regards
Aashish Sinha
PS : reward points if helpful -
Problem in finding wsdl while using obant
Hi
I am trying to invoke process2(pro2) from process1(pro1)
I have copied the wsdl file and schema of process2 in process1 bpel folder and the partner binding entry in bpel.xml is pro2.wsdl which is correct
I have created acustom build .xml file as described in :
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/deployproc.htm#sthref3366
when I try to deploy using obant,
i get follwoing error:
Buildfile: build.xml
Trying to override old definition of task customize
pre-build:
validateTask:
[echo]
[echo] --------------------------------------------------------------
[echo] | Validating workflow
[echo] --------------------------------------------------------------
[echo]
[validateTask] Validation of workflow task definitions is completed without erro
rs
compile1:
[echo]
[echo] --------------------------------------------------------------
[echo] | Compile1 in bpel process Pro1, revision 1.7
[echo] --------------------------------------------------------------
[echo]
compile:
[echo]
[echo] --------------------------------------------------------------
[echo] | Compile Task in custom build.xml in bpel process Pro1, revision 1.
7
[echo] --------------------------------------------------------------
[echo]
[echo]
[echo] --------------------------------------------------------------
[echo] | wsdl location is ${wsdlLocation} which is also
[echo] http://[hostname]:8889/orabpel/default/Pro2/1.7/Pro2?wsdl
[echo] --------------------------------------------------------------
[echo]
ORABPEL-01021
BPEL validation failed.
BPEL source validation failed, the errors are:
[Error ORABPEL-10903]: failed to read wsdl
[Description]: in "_bpel.xml", Failed to read wsdl.
Error happened when reading wsdl at "C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywo
rk\POC\Pro1\bpel\http:\[hostname]:8889
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\orabpel\default
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\Pro2\1.7\Pro2?ws
dl", because "Failed to read wsdl file at: "file:/C:/WINDOWS/Oracle/jdevstudio10
133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/orabpel/default
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/Pro2/1.7/Pro2?ws
dl", caused by: java.io.FileNotFoundException. : C:\WINDOWS\Oracle\jdevstudio
10133\jdev\mywork\POC\Pro1\bpel\http:\[hostname]:8889
\orabpel\default
\Pro2\1.7\Pro2?wsdl (The filename, directory name, or volum
e label syntax is incorrect)".
Make sure wsdl exists at that URL and is valid.
[Potential fix]: If your site has a proxy server, then you may need to configur
e your BPEL Server, designer and browser with your proxy server configuration se
ttings (see tech note on http://otn.oracle.com/bpel for instructions).
at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeP
rocessor.java:1133)
at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(Cube
Processor.java:449)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(Cub
eParserHelper.java:83)
at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.Main.start(Main.java:150)
at org.apache.tools.ant.Main.main(Main.java:240)
BPEL validation failed.
BPEL source validation failed, the errors are:
[Error ORABPEL-10903]: failed to read wsdl
[Description]: in "_bpel.xml", Failed to read wsdl.
Error happened when reading wsdl at "C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywo
rk\POC\Pro1\bpel\http:\[hostname]:8889
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\orabpel\default
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\Pro2\1.7\Pro2?ws
dl", because "Failed to read wsdl file at: "file:/C:/WINDOWS/Oracle/jdevstudio10
133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/orabpel/default
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/Pro2/1.7/Pro2?ws
dl", caused by: java.io.FileNotFoundException. : C:\WINDOWS\Oracle\jdevstudio
10133\jdev\mywork\POC\Pro1\bpel\http:\[hostname]:8889
\orabpel\default
\Pro2\1.7\Pro2?wsdl (The filename, directory name, or volum
e label syntax is incorrect)".
Make sure wsdl exists at that URL and is valid.
[Potential fix]: If your site has a proxy server, then you may need to configur
e your BPEL Server, designer and browser with your proxy server configuration se
ttings (see tech note on http://otn.oracle.com/bpel for instructions).
BUILD FAILED
C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1\build.xml:60: The followi
ng error occurred while executing this line:
C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1\bpel\build.xml:44: Valida
tion error
Total time: 2 seconds
C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1>ENDLOCAL
why is trying to locate wsdl at "file:/C:/WINDOWS/Oracle/jdevstudio10
133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889/orabpel/...
The local copy of wsdl is in POC/Pro1/bpel and http://... is wsdl url but how is it coming together?
ant why am i getting so many %20s?
Could anybody help me understand this error and resolve the issue?
Thanks,
Ketansince i have copied the wsdl in to bpel folder - wherr bpel.xml is present , i am giving only the wsdl name as location and not the whole path. I hope this is correct
-
Problem with function keys while using Terminal to connect to UNIX host
We are trying to use macs at my office, but we've hit a big roadblock. Our company software runs on a UNIX server, and until now everyone in the company uses either dedicated UNIX terminals, or terminal emulation software in windows. I was thrilled to learn that we could use the terminal in OSX to connect to the server, and it did not take long to get it to work.
The problem is the function keys. Almost all of the menu options in our company software require the use of the function keys, F1-F10. I was able to access F9 and up by pressing command-F9, etc. but we're now having issues with F3 and F4.
The computer in question is an intel macbook, and we have been using the fn key of course. The specific problem they showed me was with F3. In the software, it is supposed to lauch an extra menu, but pressing fn-F3 on the macbook results in an error ("number required", which is the message it would normally return if we tried to press return).Your problem is two-sided, I think. The first is that you need to set Terminal to send the right escape sequence. This is done with the Inspector (CMD-I) and selecting Keyboard. Get the correct key mapping in there. The other side is to make sure the system isn't intercepting your intended keystroke, so go into System Preferences->Keyboard & Mouse->Kwyboard shortcuts and make sure that the bindings you're using aren't enabled.
Maybe you are looking for
-
F4580 - WiFi works on Vista but not XP???
Just bought a F4580 as needed WiFi (old PSC 1410 still working OK). Have installed onto Vista laptop, fine. Have failed 4 times to get it onto XP laptop despite reaching the stage of recognising the printer on the network and printing the test page,
-
How to remove a encrypted Time Machine partition from external hard drive?
I encrypted my Time Machine partition and i want to delete it and make a whole new Time Machine partition that isn't encrypted, please help.
-
FIXED: BUG in Oracle XSLT processor
Edit: I fixed it by just importing all of the Jdev libraries. My bad for being a dolt. I am trying to detect certain values in an XML document that start with $ (the dollar sign) character. This has some conflicts with the syntax for XSL variables. T
-
Short Dump : ABAP/4 Processor:Syntax_Error
Hello All, I scheduled one chain and while activating the ODS it gave the Short Dump ABAP/4 Processor:Syntax_Error. Then i tried to change the delete the request freom ODS after changing its status to RED. But while deleting also it is giving the sam
-
Data from various types in HRFORMS
Hi all, I am using HRFORMS for printing the payslip ( and not pe51) . But our payslip have some data from time tables too. If I keep our form catagory as payslim renumeration, the metastars of time are inactive in that and not displayed. If I choose