Error while using RFBIBL00 for legacy master upload
HI All,
we are encountering following error in step 13 of LSMW using RFBIBL00 for AP open item upload for document type RE
Anybody knows what might be probable reason for it .
Key entries are not defined ( notify system support )
The error occurred in document 1 in session 1
Hi Amogh,
It looks like the error in the uploaded data. Check if the required enties are available in the upload file (e.g. In T. code OBA7, check if the fields are marked as required and they are missing in the file) or cost object is missing for a Gl acocunt line (defined as cost element) etc.
Additionally, also check if there are some entries in the file which are not yet customized in the system.
These two looks like th emost probable cause for the error.
BR
Amitash
Similar Messages
-
Using RFBIDE00 for customer master upload
Hi all,
Does any one used batch input program RFBIDE00 for Customer master Upload data in to SAP.
Could you please explain how to use it... its urgent, appreciare if your early reply..
I am planing to use it through Run the program from SE38..
Thanks..hi good sap1,
Batch Input - Customer Master Data (RFBIDE00)
Description
All new fields for customer master records can be transferred to the R/3 System also with the report RFBIDE00.
Furthermore, the batch input can be carried out with the existing record definitions. By means of the end of record marker, the report recognizes which record structures do not yet correspond to the extended record layout and initializes the new fields with NODATA.
It is pointed out in the batch log, which structures are yet to be maintained. This should be done as soon as possible to be able to use the new functions or fields
Introduction
It is now possible to pass the information concerning tax categories and withholding types (for the extended withholding functionality) and the special Argentine fields via the standard batch-input program. Please look at the standard documentation if you need further information on the program.
Additional Fields
The additional fields have been added to the structures BKNA1 (general information) and BKNB1 (company code data). Please use transaction SE12 to see the fields of the structures.
Enrichments for Tax Categories
The following table shows how to fill the interface table BKNAT to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNAT
obligatory
XDELE
Flag: Delete entry
optional
TAXGR
Tax category
obligatory
Enrichments for Extended Withholding Data
The following description shows how to fill the interface table BKNBW to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNBW
obligatory
XDELE
Flag: Delete entry
optional
WITHT
Withholding type
obligatory
thanks
karthik
reward me points if usefull -
"Cannot interpret data in file" error while using GUI_UPLOAD for .xls file
Hi,
I have made a program using FM GUI_UPLOAD to upload an .xls file to an internal table. But upon executing ,it gives error "Cannot Interpret data in file". I have seen in other posts people talking about GUI_UPLOAD FM to upload data from excel directly into internal table. Kindly help.
Here is my code. I had tried using different combination for HAS_FIELD_SEPARATOR but still its not working.
In my emp1.xls file , the data in each column is present in the same order as in the internal table. Although the first column in my internal table is NUMC. I dont know if that is causing the problem.
REPORT ZUPLOAD_1.
data: itab TYPE TABLE OF zempl_master WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\empl1.xls'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
* HEADER_LENGTH = 0
* READ_BY_LINE = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* VIRUS_SCAN_PROFILE =
* NO_AUTH_CHECK = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
DATA_TAB = itab.
* EXCEPTIONS
* FILE_OPEN_ERROR = 1
* FILE_READ_ERROR = 2
* NO_BATCH = 3
* GUI_REFUSE_FILETRANSFER = 4
* INVALID_TYPE = 5
* NO_AUTHORITY = 6
* UNKNOWN_ERROR = 7
* BAD_DATA_FORMAT = 8
* HEADER_NOT_ALLOWED = 9
* SEPARATOR_NOT_ALLOWED = 10
* HEADER_TOO_LONG = 11
* UNKNOWN_DP_ERROR = 12
* ACCESS_DENIED = 13
* DP_OUT_OF_MEMORY = 14
* DISK_FULL = 15
* DP_TIMEOUT = 16
* OTHERS = 17
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP at itab.
write:/ itab-emp_no,itab-name.
endloop.hi amber22 you need to use the below fm to upload an xls file
FORM EXCEL_UPLOAD .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = FILENAM
I_BEGIN_COL = 1
I_BEGIN_ROW = 1
I_END_COL = 6
I_END_ROW = 100
TABLES
INTERN = xl_itab.
* EXCEPTIONS
* INCONSISTENT_PARAMETERS = 1
* UPLOAD_OLE = 2
* OTHERS = 3 .
IF SY-SUBRC = 0.
MESSAGE 'DATA UPLOADED SUCCESSFULLY' TYPE 'I'.
ENDIF.
ENDFORM. " EXCEL_UPLOAD -
Getting an error while using BAPI for data upload using FB50
Hi,
Can someone please help with the error below :
To Upload Data Using FB50 , am using 'BAPI_ACC_DOCUMENT_POST' FM
and passing values as
obj_type = REACI
obj_KEY = '$'
obj_sys = t000-logsys
getting errors errors in return as
'Error in document: REACI $ R3_AFRICA
G/L account 2511510 is not defined in chart of accounts CSGP(though the account exists in the COA)
Control indicators for controlling area EU01 do not exist'.(we have not input any indicators)
ThanksControl indicators for controlling area (t-code OKKP ) is a primary configuration before the company is set to production. Here we maintain which sub areas of controlling are activated. Have a look at those settings.
Check the validity of the accounts/cost element in the KA03 to ensure the cost element is valid on the date of transaction.
What is the error message number? -
Error while using pa40 for hiring an applicant
Hi
I am trying to hire an applicant using pa40 transaction code
But it gives me an error "NO ACTIVITIES FOUND". ( The applicant has overall status as "to be hired" and action type as "cleared interview" which is created)
However, when I go to Transaction code PB30 and change the applicant action type ( with overall status as" to be hired"), it works
Can someone explain to me why this is so?
Is there some connection between applicant action type and overall status and pa40?
Regards
JeanHi Jean,
Try the same thing through t code PBA7 and check what the exact error you are geting, but make sure that b4 running this tcode your applicant action status shud be 2 (to be hired).
If your are trying to do the same through tcode PA40 then make sure that in table T529A go through sm30 for the same action Function character should be 7.
Hope this helps you.
Regards,
Prashantkumar Tata -
Error while using BAPI for F-47 posting.
Hi,
I am using the BAPI - 'BAPI_ACC_DOCUMENT_POST' to do a Down Payment Request Posting (F-47).
Since this is a single line posting, BTE RWBAPI01 was implemented as given in the below link.
[Re: BAPI or Function Module for F-47 (Down payment request)]
Inside the BAPI i have passed details in tables :account payable , currency amount & extension1.
However i get the error " Balance in transaction currency".
Please let me know if i need to pass any other details. Also what is the exact data that needs to be passed to extension table?
Thanks,
Meerahi ,
check this threads
Check these threads
Balance in transaction currency
Balance in Transaction Currency
error in Balance in transaction currency
error in Balance in transaction currency
Balance in Transaction Currency
Balance in transaction currency
if this could help .
Regards
Deepak.
Edited by: Deepak Dhamat on Oct 19, 2010 11:21 AM -
Error - while using HR_INFOTYPE_OPERATION - 'URG'
Hi Experts,
While using HR_INFOTYPE_OPERATION for updating master data i got a Error Message -
EPG 428A complex application error has occurred
But it is not for every time . after 3 or 4 sucessfull run i get this message and after that it will take long time to overcome automatically . I tried with log off but it is not successful.
Please Advice.If this is called from custom code, make sure you call function 'HR_PSBUFFER_INITIALIZE' for each new ee processed to clear the buffer. If not, when HR_INFOTYPE_OPERATION is executed, the buffer (internal table) may still have data from previous ee which can cause dump.
Rgds. -
Error while using JARToolkit3D
Hello All,
I am getting the following error while using JARToolkit for a tracking application......In fact I am trying out the DemoJava3D example given by the JARToolkit itself, but still I am not able to run the program.....The error is as follows:
Exception occurred during Behavior execution:
java.lang.ClassCastException: java.awt.image.DataBufferInt cannot be cast to java.awt.image.DataBufferByte
at javax.media.j3d.ImageComponentRetained.copyImageByBlock(ImageComponentRetained.java:1140)
at javax.media.j3d.ImageComponentRetained.copySupportedImageToImageData(ImageComponentRetained.java:1168)
at javax.media.j3d.ImageComponentRetained.updateImageDataPowerOfTwo(ImageComponentRetained.java:840)
at javax.media.j3d.ImageComponentRetained.copyUnsupportedImageToImageData(ImageComponentRetained.java:1342)
at javax.media.j3d.ImageComponent2DRetained.updateData(ImageComponent2DRetained.java:286)
at javax.media.j3d.ImageComponent2D.updateData(ImageComponent2D.java:622)
at net.sourceforge.jartoolkit.java3d.Behavior.ARBehavior.processStimulus(ARBehavior.java:126)
at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:173)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
Any idea why this could be happening?
Thanks in advance,
Girish.user10310678 wrote:
I am using beta version. Oracle VM Manager 2.2.0If you have a beta version of 2.2, then you should be an Oracle employee. Please ask this question on an internal mailing list. If you are not an Oracle employee, please ask the employee that gave you this beta. As this is a beta, some functionality may not be operational yet, so I can't answer why this particular feature seems not to work. -
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE
Hi All,
I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
Goods movement not possible with mvmt type 601
Can anyone suggest me what will be the solution for it?
Regards,
Raghuraman.kI tried with the above BAPI but it is not working.
In my case a delivery has one line item with batch split and other line item without batch split.
Below is my code :
DATA : gwa_header_data TYPE bapiobdlvhdrcon,
gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
lv_delivery TYPE bapiobdlvhdrcon-deliv_numb,
git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
gwa_item_data TYPE bapiobdlvitemcon,
git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
git_return TYPE STANDARD TABLE OF bapiret2,
gwa_return TYPE bapiret2.
*Header data
gwa_header_data-deliv_numb = '0808000002'.
*Header Control data
gwa_header_ctrl-deliv_numb = '0808000002'.
gwa_header_ctrl-post_gi_flg = 'X'.
*Delivery Number
lv_delivery = '0808000002'.
*Item data and its corresponding control data
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900002'.
gwa_item_data-dlv_qty = 4.
gwa_item_data-dlv_qty_imunit = 4.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900002'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900003'.
gwa_item_data-dlv_qty = 6.
gwa_item_data-dlv_qty_imunit = 6.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900003'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '000020'.
gwa_item_data-dlv_qty = 10.
gwa_item_data-dlv_qty_imunit = 10.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '000020'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
BREAK-POINT.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
EXPORTING
header_data = gwa_header_data
header_control = gwa_header_ctrl
delivery = lv_delivery
TABLES
item_data = git_item_data
item_control = git_item_ctrl
return = git_return.
BREAK-POINT.
IF git_return IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF. -
Error while executing procedure for excel upload
Hi Friends
Pl. find below error while executing procedure for loading excel data. pl. verify and suggest for any changes in the format of data.
Rgds
SriGIf reading Excel as a database you would use "Access LSLINK"
Access external means you are reading a file. I don't think it is possible to treat Excel as a file because the internal structure is complex.
In the past I have saved the Excel as a CSV or as a Tab delimeted file. Then I use something like
ACCESS External
USE &filename
BEGIN
DESCRIPTION free ,
Variables text 20
Organisation text 20
'July 2008' numeric 20
'August 2008' numeric 20
'September 2008' numeric 20
'October 2008' numeric 20
'November 2008' numeric 20
'December 2008' numeric 20
'January 2009' numeric 20
'February 2009' numeric 20
'March 2009' numeric 20
'April 2009' numeric 20
'May 2009' numeric 20
'June 2009' numeric 20
END
peek
read
... quit the access sub system
END -
What is the standard program for Material Master upload using LSMW
Dear All
I am trying to use the MM upload using DATMIG_INF4. I want to know what are the different standard projects that are used for Material master upload.Hi Amol,
You can load the material master using direct input method in LSMW ,details of which are as follows:
Object 0020 Material master
Method 0000
Program name RMDATIND
Program type D Direct input
Please revert back in case of any doubt.
Cheers
VJ -
Error when creating a bdc for asset master upload
I am getting a warning message (AA186), when changing the depreciation start date to capitalization date. It says,
"Different Order Dep. start date in depreciation area 01. Check"
This error is a problem in creating the BDC for asset master upload. We have only one depreciaton area 01 (book dep).
Please help.This is normal message you get when you try to change depn start date. I think this should not be a problem for BDC posting. This message can always be bypassed.
-
"llegal character in path at index" Error While Using wsimport from ant.
Hi,
I am getting the following error, while using wsimport from ant build script. you have the details below. I dont have a clue on this error.
Error :
wsimport:
[echo] Generating the client stubs
[wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
[wsimport] line 0 of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
[wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
[wsimport] line ? of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
[wsimport] error: Element "{http://endpoint.helloservice/}sayHello" not found.
Java WebService :
package helloservice.endpoint;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService()
public class Hello {
private String message = new String("Hello, ");
@WebMethod()
public String sayHello(String name) {
return message + name + ".";
Ant Build.xml
<project name="${project.name}" basedir="." default="ear">
<property file="WS_build.properties"/>
<target name="init">
<!-- Path Setting-->
<echo description="Setting the path for the project"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="*.jar"/>
<fileset dir="${commonWSLib.dir}" includes="*.jar"/>
</path>
<!-- WSGen -->
<echo description="WSGEN Definition"/>
<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
<classpath>
<path refid="classpath"/>
</classpath>
</taskdef>
<!-- WS Import-->
<echo description="WSImport Definition" />
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
<classpath>
<path refid="classpath"/>
</classpath>
</taskdef>
</target>
<target name="Compile" depends="init">
<echo description="Compiling the project"/>
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dir}/classes"/>
<javac destdir="${build.dir}/classes" srcdir="${java.base}">
<classpath>
<path refid="classpath"/>
</classpath>
</javac>
<copy todir="${build.dir}/classes">
<fileset dir="${java.base}" excludes="**/*.java"/>
</copy>
</target>
<target name="wsgen" depends="Compile">
<echo message="Generating the wsdl file[${project.name}Service.wsdl]" />
<mkdir dir="${service.dir}"/>
<mkdir dir="${service.dir}/server"/>
<mkdir dir="${service.dir}/server/classes"/>
<mkdir dir="${service.dir}/server/src"/>
<mkdir dir="${service.dir}/server/wsdl"/>
<wsgen sei="${sei.class}" destdir="${service.dir}/server/classes" genwsdl="true"
sourcedestdir="${service.dir}/server/src" resourcedestdir="${service.dir}/server/wsdl">
<classpath>
<path refid="classpath" />
<pathelement location="${build.dir}/classes" />
</classpath>
</wsgen>
</target>
<target name="copy" depends="wsgen">
<echo message="Copying class and config files into ${web-inf.dir} folder" />
<copy todir="${web-inf.dir}">
<fileset dir="${build.dir}"/>
<fileset dir="${service.dir}/server" includes="**/*.class"/>
<fileset dir="." includes="${lib.dir}/*.jar"/>
</copy>
<copy todir="${web-inf.dir}/${lib.dir}">
<fileset dir="${commonWSLib.dir}" includes="*.jar"/>
</copy>
<copy todir="${web-inf.dir}">
<fileset dir="${web-inf.dir}" includes="**/*.xml"/>
</copy>
</target>
<!-- Create the WAR file -->
<target name="war" depends="copy">
<echo message="Creating the war file [${project.name}.war]" />
<mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.dir}/server"/>
<war destfile="${dist.dir}/server/${project.name}.war" webxml="${web-inf.dir}/web.xml" basedir="${web.dir}"/>
</target>
<target name="wsimport" depends="war">
<echo message="Generating the client stubs" />
<mkdir dir="${service.dir}"/>
<mkdir dir="${service.dir}/client"/>
<mkdir dir="${service.dir}/client/classes"/>
<mkdir dir="${service.dir}/client/src"/>
<wsimport wsdl="${basedir}/${service.dir}/server/wsdl/${project.name}.wsdl"
destdir="${service.dir}/client/classes"
package="${wsimport.package}"
sourcedestdir="${service.dir}/client/src">
</wsimport>
</target>
<target name="clientjar" depends="wsimport">
<echo message="Creating the client jar file [${project.name}Client.jar] " />
<copy todir="${service.dir}/client/classes">
<fileset dir="${service.dir}/client/src"/>
</copy>
<mkdir dir="${dist.dir}/client"/>
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
</tstamp>
<jar destfile="${dist.dir}/client/${project.name}Client.jar"
basedir="${service.dir}/client/classes">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Built-Date" value="${TODAY}"/>
<attribute name="Implementation-Version" value="${version}-b${build.number}"/>
</manifest>
</jar>
<mkdir dir="${dist.dir}/client"/>
</target>
<!-- JAR THE ENGINE -->
<target name="enginejar" depends="clientjar">
<echo message="Creating the engine jar file for local call [${project.name}.jar] " />
<!-- <copy todir="${build.dir}/classes">
<fileset dir="." includes="${config.dir}/hibernate.cfg.xml"/>
</copy> -->
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
</tstamp>
<jar destfile="${dist.dir}/server/${project.name}.jar"
basedir="${build.dir}/classes">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Built-Date" value="${TODAY}"/>
<attribute name="Implementation-Version" value="${version}-b${build.number}"/>
</manifest>
</jar>
</target>
<!-- GENERATE EAR FOR THE ENGINE -->
<target name="ear" depends="enginejar" >
<echo message="Creating the ear file [${project.name}.ear]" />
<ear destfile="${dist.dir}/server/${project.name}.ear" appxml="META-INF/application.xml">
<fileset dir="${dist.dir}/server" includes="${project.name}.war"/>
</ear>
<antcall target="clean"></antcall>
</target>
<!-- CLEAN UP THE FOLDERS -->
<target name="clean">
<echo message="Cleaning up folders " />
<delete dir="${build.dir}"/>
<delete dir="${service.dir}"/>
<delete dir="${web-inf.dir}/classes"/>
<delete dir="${web-inf.dir}/lib"/>
<echo message="${project.name}.ear, ${project.name}.war, ${project.name}.jar and ${project.name}Client.jar is available in project's ${dist.dir} folder"/>
</target>
</project>
Generated wsdl(HelloService.wsdl) :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions targetNamespace="http://endpoint.helloservice/" name="HelloService" xmlns:tns="http://endpoint.helloservice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema>
<xsd:import namespace="http://endpoint.helloservice/" schemaLocation="HelloService_schema1.xsd"/>
</xsd:schema>
</types>
<message name="sayHello">
<part name="parameters" element="tns:sayHello"/>
</message>
<message name="sayHelloResponse">
<part name="parameters" element="tns:sayHelloResponse"/>
</message>
<portType name="Hello">
<operation name="sayHello">
<input message="tns:sayHello"/>
<output message="tns:sayHelloResponse"/>
</operation>
</portType>
<binding name="HelloPortBinding" type="tns:Hello">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="sayHello">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="HelloService">
<port name="HelloPort" binding="tns:HelloPortBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>
Generated : HelloService_schema1.xsd
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" targetNamespace="http://endpoint.helloservice/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="sayHello" type="ns1:sayHello" xmlns:ns1="http://endpoint.helloservice/"/>
<xs:complexType name="sayHello">
<xs:sequence>
<xs:element name="arg0" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="sayHelloResponse" type="ns2:sayHelloResponse" xmlns:ns2="http://endpoint.helloservice/"/>
<xs:complexType name="sayHelloResponse">
<xs:sequence>
<xs:element name="return" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
If u need any other information let me know.This has been resolved by uploading relevant jar file
-
3-1674105521 Multiple Paths error while using Bridge Table
https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
Customer Smiths Medical International Limited
Description: Multiple Paths error while using Bridge Table
1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
2. They found found out by adding these 3 joins, they ended with circular error.
[nQSError: 15001] Could not load navigation space for subject area GXODS.
[nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
Thanks
TeikThe strange thing compared to your output is that I get an error when I have table prefix in the query block:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
ORA-38500: Unsupported operation: Oracle XML DB not present
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
And if I remove it, it works:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "SYSADM"."TMP3" 5.406 KB 1 out of 2 rows
Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
Nicolas.
PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.
Maybe you are looking for
-
How to change the description of Transaction Type
hi ,expert i want to change the description of Tansaction type. eg, change the description of BUS2200 :'RFx ' to 'RFQ' . please give me some advice. thanks in advance. regards claud
-
Creating a function to return a table of records
Okay, I thought I knew how to do this but apparently not. I have a very complex query that connects multiple tables. I want to put the results of that query into a "table" (non-persistent) that can be passed to another procedure. So, I created an obj
-
Hi, I want to create a report to view vendor master data and company code data. I created an Infoset based on 0Vendor, 0GN_Vendor and 0Comp_code. The key in 0GN_Vendor (i.e. 0GN_Vendor itself) is unused though. Is this correct or is there a better wa
-
Acrobat X Windows 7 Using the Portfolio tool > Wave template Can you place a static image on the "background" and keep the color/opacity? For example The green opacticy background In the lower left corner/dead space a FIXED/permenant image with my na
-
I'm on PC (yah, yah, I know) When I click "save for web" I get the following error: The operation could not be completed. The system cannot find the path specified. I thought I could repair Photoshop, but the 2014 version doesn't seem to have that op