oracle.apps.fnd.framework.OAException

oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select distinct mc.SEGMENT1||'.'||mc.SEGMENT2 "Comodity" ,poe.SEGMENT_VALUE "Major Account" ,poe.RULE_VALUE_ID ,poe2.segment_value "CC" from po.PO_RULE_EXPENSE_ACCOUNTS poe, po.PO_RULE_EXPENSE_ACCOUNTS poe2, inv.mtl_categories_b mc, apps.fnd_flex_values fv, apps.fnd_flex_values_tl tl where poe.ORG_ID = 170 and poe.RULE_VALUE_ID = mc.CATEGORY_ID and poe.segment_num = 'SEGMENT3' and poe2.RULE_VALUE_ID (+) = mc.CATEGORY_ID and poe2.segment_num (+) = 'SEGMENT2' and fv.flex_value = poe.segment_value and fv.flex_value_set_id = 1004670 and fv.flex_value_id = tl.flex_value_id and fv.enabled_flag = 'Y') QRSLT WHERE (( UPPER(Comodity) like :1 AND (Comodity like :2 OR Comodity like :3 OR Comodity like :4 OR Comodity like :5)))

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1658

  • via Unknown by 680096,
  • Stack trace

    • oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select distinct mc.SEGMENT1||'.'||mc.SEGMENT2 "Comodity" ,poe.SEGMENT_VALUE "Major Account" ,poe.RULE_VALUE_ID ,poe2.segment_value "CC" from po.PO_RULE_EXPENSE_ACCOUNTS poe, po.PO_RULE_EXPENSE_ACCOUNTS poe2, inv.mtl_categories_b mc, apps.fnd_flex_values fv, apps.fnd_flex_values_tl tl where poe.ORG_ID = 170 and poe.RULE_VALUE_ID = mc.CATEGORY_ID and poe.segment_num = 'SEGMENT3' and poe2.RULE_VALUE_ID (+) = mc.CATEGORY_ID and poe2.segment_num (+) = 'SEGMENT2' and fv.flex_value = poe.segment_value and fv.flex_value_set_id = 1004670 and fv.flex_value_id = tl.flex_value_id and fv.enabled_flag = 'Y') QRSLT WHERE (( UPPER(Comodity) like :1 AND (Comodity like :2 OR Comodity like :3 OR Comodity like :4 OR Comodity like :5))) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2662) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    14 more bugmates