Error on t-code va01, type : or
I want to create an order, t-code : va01 and order type = OR
but i got an error:
Order type 'OR' has not been defined in Sales area <'GTSA','GT','GT'>
where can i define this order type to sales area ?
Thank you.
Please try the IMG path: Sales and Distribution -> Sales -> Sales Documents -> Sales Document Header -> Assign sales area to sales document types.
I hope this helps. This is my first post so please reward me
Similar Messages
-
Syntax Error in Generated Code
Hi All,
I am facing the syntax error in WD4A.
Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
Error in Generated Code
The type "ZIWCI_PO_Request" is unknown, but there is a type with the
similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
Any Suggestions to fix this?.
Thanks in Advance,
Rajen.Hi All,
I am facing the syntax error in WD4A.
Web Dynpro Comp. / Intf. Z_PO_REQUEST,Web Dynpro Component Controller COMPONENTCONTROLLER
Error in Generated Code
The type "ZIWCI_PO_Request" is unknown, but there is a type with the
similar name "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST". "IG_Z_PO_REQUEST".
Any Suggestions to fix this?.
Thanks in Advance,
Rajen. -
Error occoured while runnin t-code VA01
Hello,
When i'm going to run the t-code VA01 this unknown program error is going to occoured.
I send that error attchment please help me for solving this error.hi siddarth..
you got dump..not error...
and you got this because of VBAP table....i think there is a APPEND structure in VBAP table because of which the VBAP table is partly activated...
so.go to VBAP table and click on APPEND structure...then u will be provided with all APPEND structures...delete corresponding structure which contains that field 'ZZDEA_LICENSE'..
now activate the VBAP table....(optional--better go to SE14(Data base utility)--enter table VBAP...activate it)....
VA01--will be opened... -
Guyz,
Firstly despite the plant+storage location + warehouse no. assignments are done , my replenishment delivery (delivery for stock transport order between plants under same company code) is not picking up storage location and warehouse no and thus stopping me from doing picking and PGI (post goods issue).
However in VL02N when i'm trying to change storage location for line item, i'm getting following weird error
*Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /*
I found a SAP Note(133223) regarding this error and VL02 transaction but that note was specific to older versions. I'm on ECC 6.0
Any suggestions please ?
ThanksWarehouse managment has its own movement types, most identical to inventory management movement types.
These WM movement types are determined via reference movement types.
the error you have just looks like your customizing is not complete.
IMG > LE > WM > Interfaces > IM > define movement types. -
Error in Tax code while creating a PO in T.code ME21n
Hi,
I am trying to create purchase Order, I am getting an error when while entering this
Tax Code : v1
Jurisdict. Code: RS14902
The error is "Tax code v1 in procedure TAXBRJ is Invalid"
How to rectify this error. Or
What can be other way of entering the tax code and jurisdict codeHi,
Go to the Table T007A, where you find the tax codes.
Input & out put taxes are the tax types.
In FTXP T.code give the tax code and click on the
Input tax codes are used for purchase cycle and out put taxes are for sales cycle. I Hope you have given the sales related tax code. Thats why system is giving the error message.
In T007 Table give the proper input and get the details.
Regards, -
I have an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes.
All of the other movies on the card download with out a problem. The movie in question is not 'corrupt' as you can watch it in iMovie direct from the SD card but as soon as you try to import it, it just says 'error'. iIve tried moving the file to an external drive ( and other variations on this theme) then importing but have had no luck.
Can anyone please help me.The mystery remains....
Thanks for the pointers. The file type is .mts (a proprietry sony one).
I have now found some video converter software (Wondershare and iSkysoft) at a cost. Either will convert this file for me into .mp4. This I can then import into iMovie without any problems. I've checked this on the trial versions and it worked well but without paying am left with a giant watermark in the video
The mystery (which I still havent solved) is why did 20 other .mts files import fine and then this one not?
If you could point me in the direction of some free .mts converter software that would be the cherry on the cake.
Thanks -
hello,
when i try to create sale order (VA01) , and when i enter the custmer number (befor entring other informations ..) I get this Error Message :
"Enter spread / MAD type B for 05.08.2008 in the system settings"
the message number is : SG117
plz help me to solve this problem.
cordialy
SDAHi
The exchange rate buying & selling rate has not been secified for the conversion of amount to another curency
you need to maintain this
please work with your FI consultant on this as exchnage rate spread needs to eb maintained - verify the currency maintained for the cuustomer in the master for this
the settings will be done in the IMG under currencies - type B = Actual period end rate
cheers
Nandu -
Problem in the BDC Table Control for the T.Code VA01
Hi,
I faced probelm in the BDC of the VA01. In the Table Control
the records are entered upto 12 line items. after 13th line item overwrites the first record. How to solve the Problem.
Please help me.or use this
Internal table definition *
data : begin of bdcdata occurs 0.
include structure bdcdata.
data : end of bdcdata.
data: begin of messtab occurs 0.
include structure bdcmsgcoll.
data: end of messtab.
data: v_chr_opengrp type c,
r_matnr like mara-matnr, "variable for material conversion
r_werks like marc-werks, "variable for plant
v_str_fname type string.
data: begin of count2,
inrec(9) type n, " input I_MATERIAL count
create(9) type n, " create count
error(9) type n, " error count
bdc(9) type n, " count of BDC creates
end of count2.
types: begin of ty_source,
partn_numb(10) type n ,"Customer Number 1
ref(035),
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
material like vbap-matnr,
reqqty(018),
reqdate(010),
end of ty_source,
begin of ty_header ,
partn_numb(10) ,"Customer Number 1
ref(035),
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
end of ty_header,
begin of ty_item,
partn_numb(10) ,"Customer Number 1
ref(035),
material like vbap-matnr,
reqqty(018),
reqdate(010),
end of ty_item.
data : msg(240) type c, " Return Message
e_rec(8) type c, " Error Records Counter
rec_no(8) type c, " Records Number Indicator
s_rec(8) type c, " Successful Records Counter
t_rec(8) type c, " Total Records Counter
v_matnr like mara-matnr.
data: val(2) type n value 01.
data : begin of bdc_itab occurs 0.
include structure bdcdata.
data : end of bdc_itab.
data : t_source type standard table of ty_source with header line,
t_header type standard table of ty_header initial size 1,
t_item type standard table of ty_item initial size 1,
t_target type standard table of bdcdata initial size 1.
data : w_source type ty_source,
w_source1 type ty_source,
w_header type ty_header,
w_item type ty_item,
w_target type bdcdata,
count type i,
count1 type n.
Variable Declaration
data: w_fname type string,
fnam(20),
date1(10),
i(2) type n,
v_count type i,
v_group type apqi-groupid.
*& selection screen
selection-screen :begin of block bl1 with frame title text-001.
parameters : p_fname type rlgrap-filename, "Input file
p_update(1) default 'N', "Input for update mode
p_bdcgrp(12) default 'SD_ORDERS'. "Input for session name
selection-screen end of block bl1.
**&SELECTION SCREEN VALIDATIONS
at selection-screen on value-request for p_fname.
call function 'KD_GET_FILENAME_ON_F4'
exporting
program_name = 'ZMATERIAL'
dynpro_number = '1000'
field_name = 'P_FNAME'
changing
file_name = p_fname.
*& Start of selection
start-of-selection.
if p_fname is initial.
message i016(rp) with 'Please enter a file name'.
leave list-processing.
else.
move p_fname to v_str_fname.
endif.
call function 'GUI_UPLOAD'
exporting
filetype = 'ASC'
filename = v_str_fname
has_field_separator = 'X'
tables
data_tab = t_source
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.
sort t_source by ref partn_numb.
loop at t_source into w_source.
add 1 to count2-inrec.
w_source1 = w_source.
AT NEW PARTN_NUMB. "10/31 KVB
at new ref.
w_header-doc_type = w_source1-doc_type..
w_header-sales_org = w_source1-sales_org . "'0001'
w_header-distr_chan = w_source1-distr_chan. "'01'
w_header-division = w_source1-division. " '01'
w_header-purch_no = w_source1-purch_no.
w_header-partn_numb = w_source1-partn_numb.
w_header-ref = w_source1-ref.
append w_header to t_header.
endat.
w_item-partn_numb = w_source1-partn_numb.
w_item-material = w_source1-material.
w_item-reqqty = w_source1-reqqty.
w_item-ref = w_source1-ref.
w_item-reqdate = w_source1-reqdate.
append w_item to t_item.
clear :w_item,w_header.
endloop.
loop at t_header into w_header.
perform bdc_dynpro using 'SAPMV45A' '0101' .
perform bdc_field using 'BDC_CURSOR' 'VBAK-SPART'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'VBAK-AUART' w_header-doc_type.
perform bdc_field using 'VBAK-VKORG' w_header-sales_org.
perform bdc_field using 'VBAK-VTWEG' w_header-distr_chan.
perform bdc_field using 'VBAK-SPART' w_header-division.
perform bdc_dynpro using 'SAPMV45A' '4001' .
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'BDC_CURSOR' 'VBKD-BSTKD'.
perform bdc_field using 'VBKD-BSTKD' w_header-purch_no.
perform bdc_field using 'KUWEV-KUNNR' w_header-partn_numb.
i = 1.
loop at t_item into w_item where partn_numb = w_header-partn_numb
and ref = w_header-ref.
at new partn_numb.
clear count1.
count = 0.
endat.
count = count + 1.
if count gt 5.
clear i.
i = 2.
perform bdc_dynpro using 'SAPMV45A' '4001' .
perform bdc_field using 'BDC_OKCODE' '=POAN'.
endif.
count1 = count1 + 1.
concatenate 'VBAP-POSNR(' i ')' into fnam.
perform bdc_field using fnam
count1.
concatenate 'RV45A-MABNR(' i ')' into fnam.
perform bdc_field using fnam w_item-material.
concatenate 'RV45A-KWMENG(' i ')' into fnam.
perform bdc_field using fnam w_item-reqqty..
concatenate 'RV45A-ETDAT(' i ')' into fnam.
perform bdc_field using fnam w_item-reqdate.
concatenate 'VBKD-BSTKD_E(' i ')' into fnam.
perform bdc_field using fnam w_item-ref.
i = i + 1.
clear: w_item.
endloop.
clear w_header.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform post_transaction.
refresh bdc_itab.
clear bdc_itab.
endloop.
*endloop.
end-of-selection.
perform finalization.
Start new screen *
form bdc_dynpro using program dynpro.
clear bdc_itab.
bdc_itab-program = program.
bdc_itab-dynpro = dynpro.
bdc_itab-dynbegin = 'X'.
append bdc_itab.
endform. "bdc_dynpro
Insert field *
form bdc_field using fnam fval.
if fval <> ''.
clear bdc_itab.
bdc_itab-fnam = fnam.
bdc_itab-fval = fval.
append bdc_itab.
endif.
endform. "bdc_field
**& Form get_filename
text
--> p1 text
<-- p2 text
*form get_filename .
*call function 'WS_FILENAME_GET'
exporting
def_filename = space
def_path = file
mask = ',.,..'
mode = 'N'
title = text-015
importing
filename = file
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5.
*endform. " get_filename
*& Form post_transaction
text
--> p1 text
<-- p2 text
form post_transaction .
refresh messtab.
clear messtab.
call transaction 'VA01' using bdc_itab
mode p_update
update 'S'
messages into messtab.
read table messtab with key msgtyp = 'E'.
if sy-subrc eq 0.
perform process_error_messages.
add 1 to count2-bdc.
if v_chr_opengrp is initial.
perform bdc_open_group.
endif.
call function 'BDC_INSERT'
exporting
tcode = 'VA01'
tables
dynprotab = bdc_itab
exceptions
internal_error = 1
not_open = 2
queue_error = 3
tcode_invalid = 4
others = 5.
if sy-subrc <> 0.
case sy-subrc.
when 1.
write: / 'Internal error'.
when 2.
write: / 'Not open error'.
when 3.
write: / 'queue error'.
when 4.
write: / 'tcode invalid error'.
when others.
write: / 'other error'.
endcase.
endif.
else.
add +1 to count2-create.
format intensified off.
format color col_normal.
format color col_normal off.
endif.
clear bdc_itab.
refresh bdc_itab.
endform. " post_transaction
*& Form finalization
text
--> p1 text
<-- p2 text
form finalization .
if v_chr_opengrp = 'X'.
call function 'BDC_CLOSE_GROUP'
exceptions
not_open = 1
queue_error = 2
others = 3.
endif.
get time.
skip 2.
write: / 'Time', sy-uzeit.
skip.
format color col_total on.
write: / 'Total Records: ', 40 count2-inrec.
write: / 'PERNR not of Emp Group 6 ', 40 count2-error.
write: / 'Records Created: ', 40 count2-create.
write: / 'BDC Create in group: ', 40 count2-bdc.
if v_chr_opengrp = 'X'.
skip 1.
format intensified on.
format color col_negative on.
write: / 'PLEASE USE TRANSACTION "SM35" ',
'TO PROCESS THE GENERATED BDC SESSION ... ',
p_bdcgrp.
endif.
endform. " finalization
*& Form bdc_open_group
text
--> p1 text
<-- p2 text
form bdc_open_group .
call function 'BDC_OPEN_GROUP'
exporting
client = sy-mandt
group = p_bdcgrp
holddate = sy-datum
keep = 'X'
user = sy-uname
exceptions
client_invalid = 1
destination_invalid = 2
group_invalid = 3
group_is_locked = 4
holddate_invalid = 5
internal_error = 6
queue_error = 7
running = 8
system_lock_error = 9
user_invalid = 10
others = 11.
if sy-subrc eq 0.
v_chr_opengrp = 'X'.
endif.
endform. " bdc_open_group
*& Form process_error_messages
text
--> p1 text
<-- p2 text
form process_error_messages .
data: begin of loc_aux_message.
include structure message.
data: end of loc_aux_message.
data : msgno type sy-msgno.
loop at messtab.
move messtab-msgnr to msgno.
call function 'WRITE_MESSAGE'
exporting
msgid = messtab-msgid
msgno = msgno
msgty = messtab-msgtyp
msgv1 = messtab-msgv1
msgv2 = messtab-msgv2
msgv3 = messtab-msgv3
msgv4 = messtab-msgv4
importing
messg = loc_aux_message
exceptions
others = 1.
if sy-subrc eq 0.
format color col_negative on.
write: /10 loc_aux_message.
format color col_negative off.
else.
format color col_negative on.
write: /10 t_source-partn_numb.
write: / 'Error creating message'.
format color col_negative off.
exit.
endif.
endloop.
endform. " process_error_messages -
LSMW - Error BDC_INSERT, Transaction code .. is invalid XD01
Dear all.
I have done the following Steps:
1 - Maintain Object Attributes. Chose the Object type Batch Recording, then created a Record using the name (CLI_PMR). And created the Batch record and then assign the fields name.
2 - Maintain Source Structures Created the Struture (CLI_PMR1)
3 - Maintain Source Fields Assign the fields name and length that I used in my program. (CLI_PMR1).
4 - Maintain Structure Relations Assign the Struture (CLI_PMR1 to CLI_PMR)
5 - Maintain Field Mapping and Conversion Rules The normal thing in this point.
6 - Specify Files - Specified the Legacy Data, path for the file.
7 - Generate Read Program Generated the Program.
8 Read Data Executed this Step and every thing is correct
9 - Generate Conversion Program Generated the program
10 - Convert Data Convert data
11 - Display Converted Data Every thing is fine, with no errors
12 - Create Batch Input Session- At this the error message appears Error BDC_INSERT, Transaction code .. is invalid time.
At the time we have created other LSMW programs for this T-Code and every thing is OK.
I'm using the T-CODE=XD01
Best Regards
Pedro Miguel RodriguesHi, I had the same problem in LSMW when generating a batch input for trx IE01. The cause was that there were tab/newline-characters in my text file (some descriptions contained tab-characters). Since I used a tab delimited file, these tabs/newlines in the fields messed up my file.
The excel file contained multiple lines per cell in some description fields. When this was exported to tab delimited text, it contained additional tabs. After checking the contents and removing the tabs/newlines from Excel and performed a new export to txt-file, it was solved.
Best regards,
Jan-Peter Molenaar
SAP EAM Consultant -
I had Itunes on my PC (Windows Vista, 64-bit) and it worked fine with my Ipod. I purchased an Ipod nano, and it was not recognized by Itunes and I was instructed to un-install and re-install. After un-installing Itunes, I am unable to reinstall. I receive the following error message: microsoft.VC80.CRT.type="win32".version="8.050727.6195".publickeytoken="1fc8b3b 9a1e18e3b".processorarchitecture="x86". HRESULT: 0x80070424.
I am also having trouble with Windows Updates, and receive the same error message: 80070424. Perhaps the 2 issues are related?
If anyone is able to help resolve the issue so I can successfully install Itunes, I would greatly appreciate it!I ran the sfc /scannow command, and yes the response was: Windows Resource Protection could not start with the repair service.
A broken Windows Modules Installer then. It's a bit of an involved fix getting past it, but we've had success here with it in the past.
First, I'd strongly suggest setting up a system restore point.
Now try the Scenario III treatment from the following document:
Windows Update Error 80070424 in Vista
Head back into Windows Update and attempt to get updates again. If they still fail, this time with an 8000FFFF error code, try the following Microsoft document:
Windows Update error 8000FFFF
If you get Windows Updates flowing again, stock up on any you're behind on (restarting the PC when requested to do so). This may take some time and may have to be done in several batches, depending on how far you've fallen behind. Basically, keep going back to Windows Update until it stops offering you new updates.
After the updates have been installed, restart the PC one more time (in order to ensure that any pending installs requiring a restart have been resolved).
Now try another iTunes install. Does it go through without the 0x80070424 this time? -
ERROR DURING T.CODE F-53 ( cross company transaction error)
Hello ,
I am clearing two documents , in which one is cross company code transaction and another is vendorinvoice through t.code f-53.
while saving the document I am gettting the following error.
Consolidated companies 1000 and ' ' are different
Message no. F5080
Diagnosis
The number of the affiliated company must be clear for the selected document type for all line items. In this case at least two different companies or a company in connection with a business partner who does not belong to a company are stated.
Procedure
If you selected the correct accounts, you must enter the document with a document type that allows cross-company posting. Otherwise, please correct the entered account.
kindly help me to solve this issue
thanks and Regards,
muscanHi,
Please check if in the control data of the vendor master "Trading Partner" is populated.
If yes, then if you remove the trading partner then you might not get this error.
If a trading partner is there, the system check the document type for Intercompany posting control and if its not there then the system gives such an error.
Changing a document type might impact all the business transactions relating to the document type that you are using.
However this might not be required in your scenario.
Thanks,
Nitish -
Hello SAP Experts,
After entering price in 'Planned Activity' field and posting it in T.code KP26, i am getting an error as "Update was terminated" received from author "FIUSER" while exit. i have also checked the error in T.code SM13, it displays the error status in Module name (function) "OBJECT_NUMBER_INSERT_GENERIC". I have also checked the number range in T.code SNUM
and Object "CO_ABRECHN" number range exists in the company code and also assigned to Element/Group- "Group without text" Where have i gone wrong? Due to this the PP Consultant is not able to assign "Activity type" in Work Center. Please Guide.
Regards
AshwinHi,
check SAPNET note 776108, guess this describes your constellation and a correction report RBONRRP1.
BR Christian -
Error in generated code :Component Interface
Hi All,
I have my webdynpro component active works fine in Dev Server.
When we move it to qualtiy we got a strange error " Error in Generated Code, Type Z*IWCI is unknown.
Its related to the Component interface which gets generated automatically while any WDA is created but in our system it isnt getting generated?
Looking for your valuable comments on ths
Regards
BhanuHi Bhanu,
Goto se09 check for that request ICF service is generated or not? I think you first created in $TMP and assigned package.
If ICF service is not available, just copy it to new comp, it will create new ICF service. I dont know this is the solution,
just a guess.
Cheers,
Kris. -
Conversion error in company code currency for general costs activity
PS Experts,
Please guide me in the following , The below message appeared when i created a customer project in CJ20N in our new DEV server
This is the scenario
Create customer project with 3 WBSE, each one has 3 NTW and 3 activities, i maintained the cost with currency same as project curr and company code currency in the first two act.
in the third activity (General act) in cost tab i put a currency is different than project currency& company code currency and tried to save the project, the message appears.
note: Company code curr same as projet curr & controlling area curr
Is there any setting is missing in customizing
Conversion error in company code currency for general costs activity 0010
Message no. CK443
Diagnosis
For cost activity 0010, a conversion error occurred in the currency of the company code to which the material is assigned.
Procedure
Check the global settings in Customizing to be sure the exchange rate for conversion into the company code currency is correct
ThanksHi Yassin,
I believe you have maintained exchange rates for rate type M as per your config in OPSB.
Now do one thing, maintain the conversion rate for P for those currencies in OB08 and then save your project.
This will solve your problem.
Regards,
Kabir -
Error: Sequence does not match type xs:string
I am using BDB XML 2.5.16 to store and query my XML documents in Java. The documents are IMDB xml documents containing actors information
obtained from INEX website https://inex.mmci.uni-saarland.de/login.jsp. One of the document I stored in the database is the following
<?xml version="1.0" encoding="UTF-8"?>
<persons>
<person>
<name>jason angeles
</name>
<filmography>
<act>
<movie>
<title>prison planet 3 the revenge 1998
</title>
<year>1998
</year>
<character>evil ninja
</character>
</movie>
</act>
</filmography>
</person>
</persons>
I want to search using XQuery for filmography element whose title element contains ANY of the following keywords ('planet', 'revenge', '1998'). Below is the query I used
// declaring function functx:contains-any-of
String qryRk = "declare namespace functx = 'http://www.functx.com'; "
+ "declare function functx:contains-any-of "
+ "( $arg as xs:string?" + " , " + " $searchStrings as xs:string* ) as xs:boolean { "
+ "some $searchString in $searchStrings "
+ " satisfies contains($arg,$searchString)} ; ";
String myQuery101 = qryRk + "for $entity in collection('simpleExampleData2.dbxml')//filmography "
+ "where functx:contains-any-of ( $entity/act/movie/title , ('planet', 'revenge', '1998'))"
+ "return $entity";
When I execute the query i expect to get at least get the following element as mu output
Document : person_31000.xml:
<filmography>
<act>
<movie>
<title>prison planet 3 the revenge 1998
</title>
<year>1998
</year>
<character>evil ninja
</character>
</movie>
</act>
</filmography>
However instead of the above element i got the following Error
Exception in thread "main" com.sleepycat.dbxml.XmlException: Error: Sequence does not match type xs:string? - the sequence contains more than one item [err:XPTY0004], <query>:1:343, errcode =
QUERY_EVALUATION_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_query__SWIG_0(Native Method)
at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:544)
at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:320)
at xmlirsystemstruxplus.XQueryEngine.queryEngine(XQueryEngine.java:269)
at xmlirsystemstruxplus.XMLIRSystemStruXplus.main(XMLIRSystemStruXplus.java:109)
Java Result: 1
Note that i used contains-any-of() function because the contains () function does not work with 'planet revenge 1998' string may be because the keywords do not appear in the order they appear in the element content.
Please can any body help me to find out (1) why i have the above error ? and solution (2) why the condition contains ( $entity/act/movie/title , 'planet revenge 1998') is not working ? how do i use contains() function w.r.t this
Thank you in advance
Message was edited by: RokoA 19/01/2015 by RokoAUsing the shell dbxml in both 2.5 and 6.0 I created a container and put the document example you gave into it. Then I executed the following query:
[code]
declare namespace functx = 'http://www.functx.com';
declare function functx:contains-any-of ( $arg as xs:string?, $searchStrings as xs:string* ) as xs:boolean {
some $searchString in $searchStrings
satisfies contains($arg,$searchString)
for $entity in collection('simpleExampleData2.dbxml')//filmography
where functx:contains-any-of ( $entity/act/movie/title , ('planet', 'revenge', '1998'))
return $entity
[/code]
And got the results you expected instead of an error.
Since you are using the Java API it is possible the problem is in how you configured and executed the query, instead of in the query itself. If you could post an example program or code section that produces the error, then I can continue you help you with this.
Lauren Foutz
Maybe you are looking for
-
Discoverer with OWB generated EULs
i configure my warehouse star schema using OWB (warehouse builder 9i release 2) and generated the EUL. the were some warnings but they were pointing to some invalid characters in the names of the objects but the import succeeded. i could see all the
-
How do i install business catalyst and typekit with creative cloud if they don't show up?
I just recently signed up for creative cloud and learned about muse. I would like to take advantage of the business catalyst and typekit, but when i open my application manager, neither are available for download. Am I missing something here? are
-
What software would I need to copy and burn DVD's
What software would I need to copy and burn DVD's
-
Can I sort by the second element in my vector?
The first element is first name and the second is lastname. Right now I am using java.util.Collections.sort(v); This searches on the first name. I would like to search on the last name which is the second element. Any ideas?
-
Firefox Sync Reset, not syncing and deleting all addons from every device
I started to notice that some of my addons were being uninstalled randomly so I decided to unlink my three devices, make sure one was a master, set up sync and then sync the other devices. However, something happened and now my quota for addons is 6.