Showing posts with label Interface/Form Errors. Show all posts
Showing posts with label Interface/Form Errors. Show all posts

Tuesday, May 16, 2017

ORA-00911: invalid character 00911. 00000 - "invalid character"

Error: ORA-00911: invalid character
00911. 00000 -  "invalid character"
*Cause:    identifiers may not start with any ASCII character other than
           letters and numbers.  $#_ are also allowed after the first
           character.  Identifiers enclosed by doublequotes may contain
           any character other than a doublequote.  Alternative quotes
           (q'#...#') cannot use spaces, tabs, or carriage returns as
           delimiters.  For all other contexts, consult the SQL Language
           Reference Manual.
*Action:

You might get this error while executing SQL queries

Use the CONVERT function to convert the query string and try again, I hope it should work

To get more details on CONVERT function use please see:  Convert Function

Wednesday, December 17, 2014

ORA-20002: [WF_NO_USER] NAME=XXXXX ORIG_SYSTEM=NULL ORIG_SYSTEM_ID=NULL has been detected in FND_USER_RESP_GROUPS_API.INSERT_ASSIGNMENT

I got the above error when trying to add responsibility to a FND User.

There is no any specific reason for this,

As suggested by Corvin below, do the dummy update to the 'person' field

Login to the application and query the user
Clear the 'person' field and save, re-enter the the person field and save

Try adding responsibility.

If above steps does not resolve the issue please perform below steps

1>  Run the program "Synchronize WF LOCAL tables"
      
       Parameters:
       Orig System: ALL / Specific System (Ex: FND_USER)
        Parallel Processes : Number of parallel processes
        Logging Mode:
        Temporary Tablespace:
        Raise Errors:

> Only "Orig System" is a mandatory parameter

Alternatively you can execute below script

BEGIN
  WF_LOCAL_SYNCH.BulkSynchronization('ALL');
EXCEPTION
   WHEN OTHERS THEN
      DBMS_OUTPUT.PUT_LINE('ERROR: '||SQLERRM); 
END;

>> Check if the issue resolved, if not follow to step 2

2> Run the program "Workflow Directory Services User/Role Validation"
     > Change parameters 'Fix dangling users'                                -> Yes
                                             'Add missing user/role assignments' -> Yes
     > Leave other parameters with default values
     > If you want to run for a specific User/Role, please provide the related parameter value

> I hope this will resolve the issue.

Monday, July 1, 2013

AR Transaction: FRM-40735: POST-QUERY trigger raised unhandled exception ORA-06502

FRM-40735: POST-QUERY trigger raised unhandled exception ORA-06502

ORA-01403: no data found

AR Transaction form. -- When trying to query transaction.

Reason:  ra_customer_trx_all.ct_reference filed, in table the length of the column is 170 byte but in the form it is only 30 byte long.

Solution: Make the ct_reference field length to 30 characters long

Check for the related invoice/Credit Notes, if it is, you need to update the reference field for both.

select cn.trx_number cn
        ,cn.ct_reference cn_reference
        ,cn.interface_header_attribute1 cn_attri
        ,inv.trx_number invocie
        ,inv.ct_reference inv_reference
        ,inv.interface_header_attribute1 inv_attri
  from ra_customer_trx_all cn
         ,ra_customer_trx_all inv
 where cn.previous_customer_trx_id = inv.customer_trx_id
    and cn.trx_number = <Credit Note#>
    and cn.org_id = <Org Id> ;
   
update ra_customer_trx_all set ct_reference = '<30 Char long reference>'
 where trx_number in ('<Inv#>','<CN#>')
    and org_id = <Org Id> ;   

>> If this does not solve the problem, then there must be default setup for Reference

Goto, Receivables > Setup > Transactions > Sources, and check the setup for 'Reference Field Default Value'.

For Ex, if it is 'interface_header_attribute1', update this as well with the same value.

update ra_customer_trx_all set interface_header_attribute1 = '<30 Char long reference>'
 where trx_number in ('<Inv#>','<CN#>')
    and org_id = <Org Id> ;

Commit the changes and try again.

APP-FND-00756: Cannot find combination CCID=4321 CODE=MSTK SET=111

APP-FND-00756: Cannot find combination CCID=4321 CODE=MSTK SET=111

It is a problem with the stock locator.

Recompile the stock locator flexfield , ensure it is freezed.

Setup > Financials > Key >  Segments

 > Application = 'Inventory'   Flexfield Title = 'Stock Locators'

   > Check 'Freeze Flexfield Definition'  save/compile

*Note :- Even though you are not using stock locator in your organization, this error can populate.