Travel Posting Error - Reimburse to Employee expese type - No FI Doc

We are implemented ECC 6.0 Travel Management
When we execute the posting run thru T.code:PRRW for expense report
FI document not created for Reimburse to employee expense type whereas
FI document created for Company Paid Expense type.
and system is giving message as below
Express document "Update was terminated"received from author"
I have checked in tcode-SM13 and showing error at
Module Name                 &   Execution Mode
FM_OPEN_ITEM_POST  &           V1
Note:
Pre-golve also we have faced the same problem and applied sap note:1019056. This is for your reference to understand the problem
Can any body help to solve this error.

applied sap note:1019056 and problem resolved.

Similar Messages

  • Error when posting an goods issue of movement type 501: order not contain

    I tried to post an goods issue of movment type 501 to a stock transport order. But I get the error as below.
    Document 4500000130 does not contain any selectable items
    Message no. M7 064
    Diagnosis
    The document or item entered cannot be adopted.
    Possible reasons for this are:
    The document items have already been processed
    (Suggest zero lines indicator set?).
    the document items have been deleted or are blocked.
    the document items have been created for a different plant.
    (for reservations only) movements are not yet allowed for the reservation items.
    (for reservations only) the document items are retrograde components of the order. These are posted using the order confirmations.
    The document is an R/2 document.
    Procedure
    Make sure your entries are correct.
    If the system has already processed the total quantity, you can set the Suggest zero lines indicator. The system will suggest the quantity zero for the items that have already been processed.
    If you have entered a particular item, cancel the item. If you do not enter an item, the system searches all of the open items in the document.
    If the document is a purchase order, production order or a reservation, you can enter search criteria in the dialog box.
    You access the dialog box by choosing the menu option Enter with reference on the initial screen.
    If the document is an R/2 document, you have to cancel it manually by entering the reversal movement type.
    How can I proceed to post?
    Thanks,
    Eda

    Hi
    Go to T.code MB1A, enter the required movement type, Plant and storage location and then click,
    The push button of  Reservation on the tool bar for refereing the reservation or
    The push button of  order  on the tool bar for refereing the Production order.
    Cheers
    Kris

  • Expense types for paid by company and reimburse to employee

    I have a question regarding expense types. Should we create separate Expense types for "paid by company" and "reimburse to employee" or is there a way to use the same expense type to both "paid by company" and "reimburse to employee"?  Ex: "Hotel - Company paid" and "Hotel-Reimburse to employee" should be separate expense types or can we achieve this with say one expense type "Hotel"?

    Hi,
    It can be done with single expense type (i.e Hotel Expenses paid)..
    Then you need to Define Service Provider  ( 01 Self Paid, 02 Company Paid) (V_T702K)
    Assignment of trip expense type to wage type depending on service provider
    Assignment of symbolic accounts to wage types
    Conversion of symbolic account to expense account..
    In will automatically credits Employee vendor or Company account based on selection in PR05 ( 01 Self Paid, 02 Company Paid)
    Hopes it would serve your purpose.
    Regards,
    Muhammad Umer

  • Posting Error when Employee Transferred from 1 Company Code to another

    Dear All,
    I am working on 2 company codes and I am facing a problem in Payroll posting to finance when employees of 1 company code are transferred to the other company code if there is Retro Accounting for the employee.
    For Eg. 1 employee is transferred from Company Code 1000 to Company Code 2000 in the month of September. But the employee has taken 3 days of unpaid leave in August and the same was not updated in the system in August before the payroll of August. So in september when the payroll is processed, retro accouting happens and the amount for 3 days is deducted in september.
    But when I am making a posting to finance it is giving me Error in posting as "Posting balance is not cleared (Period 08 / 2011 P)".
    I have activated the PPMOD Feature and have done all the necessary configurations.
    Thanks in Advance.
    Regards,
    Vijay

    Dear Vijay...
    Basically its better to rehire the employee in other company code rather than to transfer from one company code to another. because every company code has its own financial structure and error is cuming due to this.
    Now u have to check few things...
    1. Ask the Costing (CO) team to open the entries in last period 08/2011 and then check the posting.
    2. If error will not resolve then check the wagetype permisibility for Personnel Areas and Employee Groups.
    3. If error is still there, then ask the finanacial team to change the profit centers of those cost center which are related to that particular employees.
    I hope ur issue will be resolved within these three solutions.
    Regards,

  • My iTunes in MacBook is not working i do received error You can not post a blank message. Please type your message and try again. saying I don't  have  permission to media folder could help me

    You can not post a blank message. Please type your message and try again.

    some additional info about the clean install, I did not Migrate any data over from a Time Machine, I started fresh. Perhaps this could be my issue. Do I need to Migrate over the User account in order to have access to my old data?

  • ERROR Message: Printer size and type paper is incorrect

    ERROR Message: Printer size and type  paper is incorrect. Its set for automatic detection and regular paper. I unstinstalled and reinstalled the software...and tried other settings. It wont be print just cancels.

    Please read this post then provide some details.  What printer model? What operating system? 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Travel Posting

    Hi All,
    We recently migrated to travel posting for all expenses...
    When I try to process a trip through PRFI and when I input the pernr and the trip and execute it, i dont see any errors at all and the posting seems to be fine.
    However, when i process PRFI for G1 payroll area( without the input of pernrs / trips), I am getting the error as
    Rejected trip: 0000000293 PerNo.: 00000001
    Table entry not found in table 706K. Argument:
    GD3275     0000000000000000
    Prog.terminated!
    After I analysed for the pernr 1 in PR05, i dont see the trip # 293 at all. But when i look up the ROT/PAUFA in RPCLSTTE for the same trip i notice that its a trip of Jan 2008. But we are doing posting for whole payroll area for July 2009.
    My query is why is PRFI picking the old trips of the employee even though this trip is not present in PR05 and is an old trip.
    How can i get rid of such trips which are not needed. I tried PTRV_HEAD_DELETE but this doesnt display anything for this trip # 293. Moreover, when i see the status of this trip through AEND in RPCLSTTE, I see the codes 4   2   1 (which i presume it has been paid via payroll accounting. So when this trip is paid , why should it get included again when i doing new posting for payroll area for month July?
    Please suggest dear Sapers...
    Thanks!
    Edited by: Honcho De on Jun 28, 2009 2:03 PM

    Hi All,
    I figured out a way to my problem that i raised...and hence wanted to share.
    We do have an option of restricting the dates for processing in PRFI. So i selected the date for whole payroll area as "greater than" 01.04.2009 and PRFI picked only trips after 01.04.2009.
    I still leaving this question as OPEN as i would like to know if there any answers to delete the trips which are old and settled via payroll and restrict them to come in travel posting after migrating to the same.
    Thanks!
    Edited by: Honcho De on Jun 28, 2009 3:17 PM

  • Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /

    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 ?
    Thanks

    Warehouse 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 while extracting Employee details in Webdynpro application

    Hi,
    I am using below codes to extract details from Employess in Method tab
    wd_this->fire_to_alv_table_plg(  ).
      DATA lo_nd_employee TYPE REF TO if_wd_context_node.
      DATA lo_el_employee TYPE REF TO if_wd_context_element.
      DATA lt_employee TYPE wd_this->elements_employee.
      DATA ls_employee TYPE wd_this->element_employee.
    navigate from <CONTEXT> to <EMPLOYEE> via lead selection
      lo_nd_employee = wd_context->get_child_node( name = wd_this->wdctx_employee ).
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_emp_no LIKE ls_context-emp_no.
      DATA lv_num TYPE I.
    get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `EMP_NO`
        IMPORTING
          value = lv_emp_no ).
      SELECT ZZORGEH ZZ_PER_ASSG BEGDA ENDDA INTO CORRESPONDING FIELDS OF TABLE
          lt_employee  FROM PA9027 WHERE PERNR EQ lv_emp_no AND ENDDA EQ '99991231'.        
      DESCRIBE TABLE lt_employee LINES lv_num.       
      lo_nd_employee->BIND_TABLE( lt_employee ).
      data lo_cmp_usage type ref to if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
      DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
      lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_alv( ).
      DATA lo_value TYPE ref to cl_salv_wd_config_table.
      lo_value = lo_interfacecontroller->get_model( ).
    Set Visible Row Count as 5
      lo_value->if_salv_wd_table_settings~set_visible_row_count( lv_num ).
    The Config Table Setting to Display Table & Business Graphics
      DATA: l_ref_config_table TYPE REF TO if_salv_wd_table_settings,
            l_display_as TYPE salv_wd_constant VALUE '02'.
      l_ref_config_table ?= lo_value.
      l_ref_config_table->set_display_as( value = l_display_as ). 
    endmethod.
    It is giving me error saying Field "WDCTX_EMPLOYEE" is unknown. It is neither in one of the          
    specified tables nor defined by a "DATA" statement . . . . . . . . . .          
    Can u tell me where i am going wrong..
    Thanks
    Shan

    Well wd_this->wdctx_employee is the generated constant to hold the name of your context node.  I would say that one of three things caused this error.
    1.  You type the code (or cut and pasted it) and this context node name is spelled different or doesn't exist in the local context (maybe not copied from a component controller yet?).
    2.  You haven't activated the component/view yet so the attribute hasn't been generated in the dynamic class.  Comment out the code, activate, then remove the comments.
    3.  You had the context named employee and entered the code (or used the wizard to generate it).  Everything was fine.  Then you renamed the context - this would lead to breaking the code because the name changed and the constant no longer exists in the generated class.
    Any way around this - check you context node name and make sure it matches what is referenced in the code.

  • Posting Error - While Posting Payroll

    Hi Gurus,
    While posting payroll document, system is asking for GL Account, but when we assign HR Clearing Account in "Assign Technical Accounts", then system gives error that business area is missing line item 001 because document splitting is activated in FI.
    But ideally should not ask for the GL Account.
    Please tell me how can we solve the

    Hello Laxmi Narayan,
    Compare the payroll cluster with wage type mentioned in posting run... normally this type of error comes when infotype 9 i.e. Bank Details are not maintained etc.
    If helpful please award points
    Parag

  • Posting Error in F-48

    While doing F-48 I am getting the following error in Asset Line item.....
    Balancing field "Profit Center" in line item 004 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 004, even after document splitting.
    System Response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Customizing

    Hi,
    In Document Splitting, for KZ document type, the assigned Transaction and business transaction variant is 1000/0001.
    But if you check Business transaction variant 0001, the Asset is not allowed as item category.
    So to resolve this, copy 0001 and make it Z001, and allow Asset item category in this.
    And then assign this business transaction Variant Z001 to KZ in Classify Doc Types for Document Splitting. In addition to this also check which Doc Splitting rule is being used in your configuration and to that Document Splitting rule also you add this.
    Note : Also check the following:-
    1. In Asset master Cost center is mainatined or not and in that a Profit Center is maintained or not.
    2. Asset Recon Account is maintained as Statistical Cost element.
    3. In T-Code ACSET, Check whether against Asset Acquisition posting, Cost center is allowed, Transaction type is * and account assignment is ticked.
    This will resolve your issue.
    Also note that there is a separate forum for Asset accounting.. and please post all your queries related to Asset there for a quick reply.
    Regards,
    SAPFICO

  • Incoming payment posting error f-28

    Hi,
    here i trying to post incoming payment from customer  after discounted amount t-code f-28 , i am getting error message like this:
    Acct determination not defined for trans. SKT   in chart of accts S501
    Message no. F5113
    Diagnosis
    An automatic posting cannot be created because the account determination for transaction SKT with keys   is not defined in chart of accounts S501.
    System Response
    The document cannot be posted.
    Procedure
    Depending on the type of processing, you can hold the document and post it later. If this is not possible and the error cannot be eliminated straightaway in customizing, you must leave processing and enter the document later.
    Procedure for the system administrator
    Correct the account determination for the specified transaction. Proceed
    plase help
    Sre

    Hi,
    You have a cash discount being determined through payment term. But when you are processing the payment the system is not able to identify the GL account to post the cash discount amount.
    Go to SPRO>>Financial Accounting>>Accounts Receivable and Accounts Payable>>Business Transactions>>Incoming Payments>>Incoming Payments Global Settings>>Define Accounts for Cash Discount Granted
    Here you assign the GL account to post the cash discount amount.
    Hope this helps.
    thanks and regards,
    anit

  • Photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point

    photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point.  i really need to get thsi figured out. thank you.

    You may have answered my question. I AM using the 64bit version of Illustrator CS6. I had no idea there were bugs in it that affected paths copied and pasted from Illustrator to Photoshop.
    A bit more about what I'm trying to accomplish... I'm trying to follow Deke's tutorial (http://www.deke.com/content/dekes-techniques-018-creating-a-3d-pie-chart) which is already difficult since so much has changed between CS5.5 and 6, but then on top of that, I keep getting errors!
    So I created the pie chart exactly as he shows and copied and pasted into Photoshop exactly as he does. Before submitting this post, though, I tried drawing just two very simple triangle shapes, copying them both and pasting them into Photoshop as a shape layer. The shapes weren't overlapping, but they were a part of the same shape layer just like the pie chart tutorial.
    Thanks for your help. If there is anything else I should try before just giving up because of the 64bit bugs, please let me know.

  • Posting Loan to Vendor Employee

    Dear Experts,
    We're in 4.7.  We have a requirement where we need to keep track of loan payment of all our individual employees.  Is it possible to post the loan payment in payroll individually to each and every corresponding vendor employees ?  Any input will surely be appreciated.
    Thanks and regards,
    Arief

    Hi
    You can do the following.
    1.Define your employees as vendors and attach the employee code to respective vendor.
    2.Define Symbolic Accounts
    In this step, you create the symbolic accounts that you require for posting to Accounting.
    A symbolic account has the following characteristics:
    A four-character alphanumberic code
    A descriptive text
    An account assignment type (AA type). This defines the type of posting (posting to expense account, posting to payables account, and so on) that applies to the wage types that are posted to the symbolic account.
    An employee grouping for account determination (EG) indicator
    The following table shows what kind of account and what transaction is linked to an account determination type and what additional information (for example, for cost assignment) is also included in the posting transaction.
    AA type Meaning  Transaction Additional fields
    C posting to expense account  HRC cost assignment
    CN posting to expense account  HRC cost assignment
    without quantity   without quantity
    R posting to expense account  HRC
    if accounting is installed in
    R/2 System.
    F posting to bal. sheet account  HRF 
    FL posting to bal.sheet account  HRF
    for checking balance
    in retroactive accounting
    (recalculation difference account)
    FO posting to bal. sheet account  HRF
    (original periods for
    wage types whose amount
    cannot change
    retroactively)
    Q posting to bal. sheet account  HRF personnel number
    with personnel number
    D posting to personal   HRD acc. determination
    customer accounts   with personnel number
    DF posting to fixed customer  HRD direct assignment
        of customer account
    L posting to customer  HRD acc. determination
    account(for specific loan)   with personnel number
        loan type,
        sequential number
    K posting to personal vendor accounts  HRK acc. determination with
        personnel number
    KF posting to fixed vendor  HRK direct assignment
    acc.   of vendor account
    Note the following with regard to account assignment types:
    In the standard system, no quantities are transferred from wage types in the payroll result to the payroll documents and the resulting accounting documents, although information on quantities is available on the report log for report RPCIPE00 (or RPCIPX00). It is also possible to modify the system to access this information. The account assignment type CN is only useful if you have made this modification and if, in certain instances, you want to suppress the transfer of quantity information.
    The account assignment types FL und FO are only of use if there are cross-company code transactions. For more information on customizing cross-company code transactions, refer to Posting to Company Code Clearing Accounts.
    We recommend that for symbolic accounts with account type FO, you determine the account in Accounting independent of the Employee grouping for account determination (Feature PPMOD). For this reason, only one G/L account is provided for the payment of wages and salaries as standard. If you determine this G/L account depending on the employee grouping for the account determination, this can lead to inconsistencies when posting the retroactive accounting results. This is due to the fact that when posting retroactive accounting results for wage types that cannot change retroactively, a technical posting takes place (for example, for the wage type Payments (/559)). Since this technical posting usually takes place in the same account in Accounting, it balances to zero and does not appear in the posting document. However, if you determine this account independently of the employee grouping for account determination, and an employee falls in a different employee grouping due to a retroactive change in the HR master data or feature PPMOD, the technical posting cannot balance to zero because two accounts are affected in Accounting. This is why you have to make changes manually in this case.
    Example
    The wage types Basic pay and Overtime both represent personnel costs and should therefore be posted to expense accounts. You also want to assign these wage type amounts to Cost Accounting objects. Both wage types are dealt with in the same way as far as posting is concerned and can therefore be posted to the same symbolic account. You must specify the account assignment type C, since, in Accounting, there should be a posting to expense accounts and Cost Accounting should be provided with information.
    Requirements
    You have carried out the step Define Employee Grouping for Account Determination
    Standard settings
    Symbolic accounts are already set up in the standard system. In this step, you can modify these to meet your requirements.
    Recommendation
    We recommend that you do not change the definition of the symbolic accounts. If changes to the definition of the symbolic accounts are necessary, you should map the changes using new symbolic accounts.
    Activities
    1. Check that the existing symbolic accounts meet your requirements. Note the EG indicator. If this indicator is set for an account, posting to this account also considers employee grouping for account determination. With the exception of the key (column SymAcc), you can change the default values.
    2. To create additional symbolic accounts, choose New entries
    3. To delete unnecessary symbolic accounts, mark the account and choose Edit -> Delete.
    Further notes
    Symbolic accounts are not country-specific.
    3.Assign Vendor Accounts
    In this step, you make the settings required for posting to vendor accounts.
    There are two kinds of vendor accounts available:
    Fixed vendor accounts: Employee grouping for account determination offers the most precise means of control for posting to fixed vendor accounts.
    Employee vendor accounts: Posting to employee vendor accounts enables posting for a specific personnel number.
    In this step, you make entries in table T030 for the assignment of vendor accounts to symbolic accounts.
    Example
    Fixed vendor account
    You want to deduct dues to various unions from the employees in your enterprise. For each union, you have set up a specific wage type for dues and a specific symbolic account. In this step, you assign a fixed vendor account to each of these symbolic accounts.
    Employee vendor account
    You want to post dues to a different vendor account for each employee. To this effect, you have created a symbolic account for all employees. In this step, you specify how the corresponding employee vendor accounts are determined.
    Requirements
    You have created the required vendor accounts in Financial Accounting.
    You have carried out the step Define Symbolic Accounts. In that step, you created symbolic accounts with the relevant account assignment types (KF for fixed vendor accounts, K for personal vendor accounts). In that same step, you flagged the indicator EG-depend  for symbolic accounts to which you want to post in line with the Employee grouping for account determination.
    If you want to post to employee vendor accounts, you have entered the relevant personnel number in one of the following fields in the vendor master data of Financial Accounting. We recommend that you use the Personnel number field. If you use another field, you must enter the personnel number with leading zeros.
    Personnel number
    Search term
    Telephone 2
    Data line
    Teletext number
    Standard settings
    There are no standard settings for posting to vendor accounts. If, in the step Define Symbolic Accounts, you have not created any symbolic accounts with the account types KF or K, you do not have to carry out the step Assign Vendor Accounts.
    Activities
    1. Enter the required chart of accounts.
    2. To make settings for the posting procedure Personnel posting to vendors (HRK), choose Rules
    3. Choose Posting key. Enter the posting key for postings to vendor accounts or copy the default values (21 for debit posting and 31 for credit postings).
    4. Choose Accounts. Make the corresponding entries in the table T030.
    a) If you want to assign a fixed vendor account to a symbolic account, and if required, an employee grouping, enter the number of the vendor account in the Acco column.
    b) If you want to assign an employee vendor account to a symbolic account, and, if required a employee grouping, enter the relevant key (see table below) in the Acco column.
    Personnel number in field (Vendor master data) Entry in the Account column (T030)
    Personnel number    *0002
    Search term    *0001
    Telephone 2    *0003
    Data line    *0004
    Teletext number    *0005
    Further notes
    It is not possible to use the special G/L indicator with posting to customer accounts.
    in summary whatyou do is defne a symbolic account of type K , link your wage type to this sym account , define the posting to vendor with *0002
    regards
    Pravin

  • 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 RokoA

    Using 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