I am getting error while calling FNDCPPROGRAMPAGE from OA page

Hi,
I need to submit a concurrent request with user
given parameters from an OA page.
Here is the codepart written in CO.....
HashMap params = new HashMap();
String url = "OA.jsp";
params.put("akRegionApplicationId", "0");
params.put("akRegionCode", "FNDCPPROGRAMPAGE");
params.put("programApplName", "AHL");
params.put("programName", "AHLUMATF");
params.put("programDesc", "Build Material Stream for Planned
Maintenance");
params.put("programRegion", "Show");
params.put("parameterRegion", "Show");
// params.put("scheduleRegion", "Show");
// params.put("notifyRegion", "Show");
// params.put("printRegion", "Show");
//params.put("requestMode", "DEFERRED");
try {
pageContext.setForwardURL(url,
null,OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
params, true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
catch (Exception e)
throw new OAException("SetDeferredException " +
e.getMessage(),OAException.ERROR);
I am getting the request page with the following errors
"Could not create webbean, could not create item metadata item Name
(FndCpLanguageTable); Region: (FNDCPPROGRAMSTATION);"
"Could not create webbean, could not create item metadata item Name
(FndCpCopyRequest); Region: (FNDCPPROGRAMCONTAINER);
Please advise me, is there anything missing in code or what could be
done to resolve the error.
Thanks in Advance for your help.
Regards,
Balaji

Hi,
you can use this code...
import oracle.apps.fnd.cp.request.ConcurrentRequest;
import oracle.apps.fnd.framework.server.OADBTransaction;
public int submitCPRequest(Number headerId) {
try {
OADBTransaction tx = (OADBTransaction)getDBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
String applnName = "PO"; //Application that contains the concurrent program
String cpName = "POXXXX"; //Concurrent program name
String cpDesc = "Concurrent Program Description"; // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(headerId.stringValue());
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
tx.commit();
return requestId;
} catch (RequestSubmissionException e) {
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
Now to go to the Monitoring page.
set the forward url to
String url = "OA.jsp?akRegionCode=FNDCPREQUESTVIEWREGION&akRegionApplicationId=0";
try {
pageContext.setForwardURL(url,
null,OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
params, true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
catch (Exception e)
throw new OAException("SetDeferredException " +
e.getMessage(),OAException.ERROR);
}

Similar Messages

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • Getting error while calling procedure from remote database

    When I am trying to call child procedure from remote database I am getting below error:
    ORA-02064: distributed operation not supported
    ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
    (P.S. on line no 740 I issued "commit;" )
    I checked rights,synonym on all the objects they are fine.

    Oracle Error: ORA-02064
    Error Description:
    Distributed operation
    not supported
    Error Cause:
    One of the following
    unsupported operations was attempted:
    1. array execute of a remote update with a subquery that references a dblink,
    or
    2. an update of a long column with bind variable and an update of a second
    column with a subquery that both references a dblink and a bind variable, or
    3. a commit is issued in a coordinated session from an RPC procedure call
    with OUT parameters or function call.
    Cheers,
    Manik.

  • HT202157 New apple is not asking for the WIFI password.Home sharing is not working,i am getting Error while streaming videos from Youtube.

    I got new Apple TV 10 days back,its not asking for the WIFI password.Home sharing is not working,i am getting Error while streaming videos from Youtube.
    I can only see pics and video saved in my iphone. No other options are working.The worst part is that its not asking wifi passoword.
    Not able to connect istores and itunes.
    I cannot do software update. Can anyone help in this content?

    Thanks Brian- I am not connecting it with iphone teethering. I am using it with my DSL wifi.
    I am using it with ethernet cable then its working fine.If i am trying to use it with WIFI then its giving error.
    I tried using Netwrok testing but its giving same error.

  • Getting error while calling this BAPI:Field MATNR has been transferred inco

    Hi,
    I have a rquirement to upload material master data into sap for Plant 1251.(For plant 1251 we need to upload both Basi veiw and Extended View).
    I am getting the following error while calling this BAPI.Field MATNR has been transferred inconsistently or is blank
    the errror is :Field MATNR has been transferred inconsistently or is blank.
    I have written the below logic in the program to upload material master data into SAP.
    Please help me out to resolve this issue.
    Thanks in advance.
    Program logic which i have wriiten in the program is
    LOOP AT it_rpt.
        CLEAR lwa_return.
        v_tabix  = sy-tabix.
        IF ( it_rpt-werks EQ p_werks AND
           it_rpt-matnr IS INITIAL ).
    retrieve internal number
          PERFORM get_internal_number USING lc_mtart
                                            lc_mbrsh
                                   CHANGING it_rpt-matnr.
        ENDIF.
        IF NOT it_rpt-matnr IS INITIAL.
          PERFORM convert_field_input CHANGING it_rpt-matnr.
        ENDIF.
    Header data
        CLEAR lwa_headdata.
        lwa_headdata-material                = it_rpt-matnr.
        lwa_headdata-ind_sector              = lc_mbrsh.
        lwa_headdata-matl_type               = lc_mtart.
        lwa_headdata-basic_view              = 'X'.
        IF NOT it_rpt-vkorg IS INITIAL.
          lwa_headdata-sales_view            = 'X'.
        ENDIF.
        lwa_headdata-purchase_view           = 'X'.
        lwa_headdata-mrp_view                = 'X'.
        lwa_headdata-storage_view            = 'X'.
        lwa_headdata-forecast_view           = 'X'.
        lwa_headdata-work_sched_view         = 'X'.
        lwa_headdata-account_view            = 'X'.
        lwa_headdata-cost_view               = 'X'.
    *Client data
        CLEAR: lwa_clientdata, lwa_clientdatax.
        IF it_rpt-werks EQ c_1251.
          lwa_clientdata-matl_group          = it_rpt-matkl.
          lwa_clientdata-old_mat_no          = it_rpt-bismt.
          lwa_clientdata-base_uom            = it_rpt-meins.
          lwa_clientdata-manu_mat            = it_rpt-mfrpn.
          lwa_clientdata-mfr_no              = it_rpt-mfrnr.
        ENDIF.
        lwa_clientdata-division              = it_rpt-spart.
        lwa_clientdata-unit_of_wt            = lc_gewei.
        lwa_clientdata-trans_grp             = lc_tragr.
        IF it_rpt-werks EQ c_1251.
          lwa_clientdatax-matl_group         = 'X'.
          lwa_clientdatax-old_mat_no         = 'X'.
          lwa_clientdatax-base_uom           = 'X'.
          lwa_clientdatax-manu_mat           = 'X'.
          lwa_clientdatax-mfr_no             = 'X'.
        ENDIF.
        lwa_clientdatax-unit_of_wt           = 'X'.
        lwa_clientdatax-trans_grp            = 'X'.
        lwa_clientdatax-division             = 'X'.
    Material Description
        IF it_rpt-werks EQ c_1251.
          lt_matdesc-langu           = sy-langu.
          lt_matdesc-matl_desc       = it_rpt-maktx.
          APPEND lt_matdesc.
        ENDIF.
    *Plant data
        CLEAR lwa_plantdata.
        lwa_plantdata-plant                  = it_rpt-werks.
        lwa_plantdata-availcheck             = lc_mtvfp.
        lwa_plantdata-mrp_type               = lc_dismm.
        lwa_plantdata-mrp_group              = lc_disgr.
        lwa_plantdata-auto_p_ord             = 'X'.
        lwa_plantdata-proc_type              = 'F'.
        IF it_rpt-werks EQ c_1251.
          it_rpt-prctr  = lc_prctr.                 "1252
        ELSEIF it_rpt-werks EQ c_1261.
          it_rpt-prctr  = lc_prctr1.                "1262
        ENDIF.
        lwa_plantdata-profit_ctr             = it_rpt-prctr.
        lwa_plantdata-period_ind             = lc_perkz.
        lwa_plantdata-max_stock              = it_rpt-stawn.
        lwa_plantdata-countryori             = it_rpt-herkl.
        lwa_plantdata-sloc_exprc             = it_rpt-lgfsb.
        CLEAR lwa_plantdatax.
        lwa_plantdatax-plant                 = it_rpt-werks.
        lwa_plantdatax-availcheck            = 'X'.
        lwa_plantdatax-mrp_type              = 'X'.
        lwa_plantdatax-mrp_group             = 'X'.
        lwa_plantdatax-auto_p_ord            = 'X'.
        lwa_plantdatax-proc_type             = 'X'.
        lwa_plantdatax-profit_ctr            = 'X'.
        lwa_plantdata-period_ind             = 'X'.
        lwa_plantdatax-max_stock             = 'X'.
        lwa_plantdatax-countryori            = 'X'.
        lwa_plantdatax-sloc_exprc            = 'X'.
    *Valuation data
        CLEAR lwa_valuationdata.
        lwa_valuationdata-val_area           = it_rpt-werks.
        lwa_valuationdata-price_ctrl         = lc_vprsv.
        lwa_valuationdata-price_unit         = lc_peinh.
        lwa_valuationdata-val_class          = it_rpt-bklas.
        CLEAR lwa_valuationdatax.
        lwa_valuationdatax-val_area          = it_rpt-werks.
        lwa_valuationdatax-price_ctrl        = 'X'.
        lwa_valuationdatax-price_unit        = 'X'.
        lwa_valuationdatax-val_class         = 'X'.
    *Storage location
        CLEAR lwa_storagelocation.
        lwa_storagelocation-plant            = it_rpt-werks.
        lwa_storagelocation-stge_loc         = it_rpt-lgort.
        CLEAR lwa_storagelocationx.
        lwa_storagelocationx-plant           = it_rpt-werks.
        lwa_storagelocationx-stge_loc        = it_rpt-lgort.
    *Tax Classifications
        IF it_rpt-werks EQ c_1251.
          it_rpt-tatyp = lc_tatyp.       "u2018MWSTu2019
        ELSEIF it_rpt-werks EQ c_1261.
          it_rpt-tatyp = lc_tatyp1.      "u2018UTXJu2019
        ENDIF.
        lt_taxclass-tax_type_1              = it_rpt-tatyp.
        lt_taxclass-taxclass_1              = lc_taxkm.
        lt_taxclass-tax_ind                 = lc_taxim.
        APPEND lt_taxclass.
    *Sales data
        CLEAR: lwa_salesdata, lwa_salesdatax.
        IF it_rpt-werks EQ c_1251.
          it_rpt-vkorg = lc_vkorg.
        ELSEIF it_rpt-werks EQ c_1261.
          it_rpt-vkorg = lc_vkorg1.
        ENDIF.
        lwa_salesdata-sales_org           = it_rpt-vkorg.
        lwa_salesdata-distr_chan          = lc_vtweg.
        lwa_salesdata-cash_disc           = lc_sktof.
        lwa_salesdata-item_cat            = lc_mtpos.
        lwa_salesdatax-sales_org          = it_rpt-vkorg.
        lwa_salesdatax-distr_chan         = lc_vtweg.
        lwa_salesdatax-cash_disc          = 'X'.
        lwa_salesdatax-item_cat           = 'X'.
    *Forecast parameters
        CLEAR: lwa_forecast, lwa_forecastx.
        lwa_forecast-plant                = it_rpt-werks.
        lwa_forecast-fore_model           = lc_prmod.
        lwa_forecast-fore_pds             = lc_anzpr.
        lwa_forecast-hist_vals            = lc_peran.
        lwa_forecastx-plant               = it_rpt-werks.
        lwa_forecastx-fore_model          = 'X'.
        lwa_forecastx-fore_pds            = 'X'.
        lwa_forecastx-hist_vals           = 'X'.
    Purchasing long text
        IF it_rpt-werks EQ c_1251.
          IF it_rpt-tdline1 <> ' '.
            lv_tdobject = 'MATERIAL'.
            lv_tdid     = 'BEST'.
            lv_tdname   =  it_rpt-matnr.
            PERFORM fill_longtext TABLES lt_longtext
                                  USING  lv_tdobject
                                         lv_tdname
                                         lv_tdid
                                         sy-langu
                                         it_rpt-tdline1.
          ENDIF.
    Basic long text
          IF it_rpt-tdline2 <> ' '.
            lv_tdobject = 'MATERIAL'.
            lv_tdid     = 'GRUN'.
            lv_tdname   =  it_rpt-matnr.
            PERFORM fill_longtext TABLES lt_longtext
                                  USING  lv_tdobject
                                         lv_tdname
                                         lv_tdid
                                         sy-langu
                                         it_rpt-tdline2.
          ENDIF.
    *Units of measure
          CLEAR : lt_uom,lt_uomx.
          lt_uom-alt_unit     = it_rpt-meins.
          lt_uom-alt_unit_iso = it_rpt-meins.
          lt_uom-unit_of_wt   = it_rpt-gewei.
          APPEND lt_uom.
          lt_uomx-alt_unit      = it_rpt-meins.
          lt_uomx-alt_unit_iso  = it_rpt-meins.
          lt_uomx-unit_of_wt    = 'X'.
          APPEND lt_uomx.
        ENDIF.
        CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
          EXPORTING
            headdata             = lwa_headdata
            clientdata           = lwa_clientdata
            clientdatax          = lwa_clientdatax
            plantdata            = lwa_plantdata
            plantdatax           = lwa_plantdatax
            forecastparameters   = lwa_forecast
            forecastparametersx  = lwa_forecastx
            storagelocationdata  = lwa_storagelocation
            storagelocationdatax = lwa_storagelocationx
            valuationdata        = lwa_valuationdata
            valuationdatax       = lwa_valuationdatax
            salesdata            = lwa_salesdata
            salesdatax           = lwa_salesdatax
          IMPORTING
            return               = lwa_return
          TABLES
            materialdescription  = lt_matdesc
            unitsofmeasure       = lt_uom
            unitsofmeasurex      = lt_uomx
            materiallongtext     = lt_longtext
            taxclassifications   = lt_taxclass
            returnmessages       = it_messages.
    Regards,
    Reddy

    Can you check with below code .
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
            EXPORTING
              INPUT        =  it_rpt-matnr       
    IMPORTING
              OUTPUT       =  it_rpt-matnr
            EXCEPTIONS
              LENGTH_ERROR = 1
              OTHERS       = 2.
          IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Move  it_rpt-matnr to    lwa_headdata-material  .
    Regard's
    Smruti

  • Getting error while calling AME api from the page

    Hi,
    I am calling ame api ame_api2.getallapprovers7 from our custom page.I have written following code-
    public void getapprovers(String transactionid)
    String OutError = "";
    ArrayList al = new ArrayList();
    OADBTransaction trans = getOADBTransaction();
    String insStmnt = "BEGIN " +
    "ame_api2.getAllApprovers7(applicationIdIn => :1,transactionTypeIn =>:2,transactionIdIn =>:3,"+
    "l_processYN =>:4,approversOut =>:5); " +
    "END;";
    OracleCallableStatement stmt = (OracleCallableStatement)trans.createCallableStatement(insStmnt, 1);
    try
    stmt.setString(1, "800");
    stmt.setString(2, "XXXXCWKAPP");
    stmt.setString(3, transactionid);
    stmt.registerOutParameter(4, OracleTypes.VARCHAR);
    stmt.registerOutParameter(5, OracleTypes.ARRAY,"XXXX_APPROVER_TABLE");
    stmt.execute();
    // OAExceptionUtils.checkErrors as per PLSQL API standards
    OAExceptionUtils.checkErrors(trans);
    ARRAY arrayError = stmt.getARRAY(5);
    Datum[] arr = arrayError.getOracleArray();
    for (int i = 0; i < arr.length; i++)
    oracle.sql.STRUCT os = (oracle.sql.STRUCT)arr;
    Object[] a = os.getAttributes();
    System.out.println("Column:" + a[0] + " Value:" + a[1]);
    //OutError = (String)a[1];
    //al.add(new OAException(OutError, OAException.ERROR));
    stmt.close();
    catch(SQLException sqle){
    try { stmt.close(); }
    catch (Exception e) {;}
    throw OAException.wrapperException(sqle);
    if (OutError != null)
    // OAException.raiseBundledOAException(al);
    4 and 5th parameters are out parameters and 5th parameter provides the approver records and it should have the same data type as ame_util.approversTable2. I have created this table type explicitly in oracle by the name XXXX_APPROVER_TABLE but i am getting the error while running the page "java.sql.SQLException: Fail to construct descriptor: Unable to resolve type: "APPS.ETHR_APPROVER_TABLE"". I requirement is to take the 5th parameter in ame_util.approversTable2 data type.
    Please help me urgently.
    Thanks
    Ashish

    Hi Kumar,
    The ETHR_APPROVER_TABLE is custom pl sql indexed table that I have created.following are the parameters of api-
    procedure getAllApprovers7(
    applicationIdIn in number,
    transactionTypeIn in varchar2,
    transactionIdIn in varchar2,
    approvalProcessCompleteYNOut out varchar2,
    approversOut out nocopy ame_util.approversTable2);
    i need a out variable of type ame_util.approversTable2 so get the values.
    I have changed the code and now getting the following error-
    java.sql.SQLException: ORA-03115: unsupported network datatype or representation
    I have only changed this statement.
    stmt.registerOutParameter(5,OracleTypes.PLSQL_INDEX_TABLE);//,"XXXX_APPROVAL_TBL");
    Edited by: user5756777 on Jul 13, 2009 4:17 AM

  • Getting error while calling ejb business methods from servlet

    Hi
    Iam getting error when i try to call a ejb method from servlet.Error is
    "com.netscape.server.eb.UncheckedException: unchecked exception nested exception is:java.lang.NullPointerException".
    I build the application and deployed it successfully.Iam using IAS 6.O with windows NT 4.0.
    This is just a method which takes values from database and return as an array of bean to servlet.
    Any help on this.Thanks Shank

    Hi
    I was using the session bean.Your suggestion helped me a lot.Perfect.
    I debug my program and found that from ejbCreate()exception is getting.
    I was getting the datasource object thro ejb create() initialisation.
    Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
    when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
    Piece of code from ias-ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <jndi-name>jdbc/nb/myData</jndi-name>
    </resource-ref>
    Piece of code from ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
    Thanks a lot meka

  • Getting error While loading data from ERP integrator to HFM

    Hello,
    We are getting the following error while loading the data from ERPI to HFM.
    2013-12-31 22:44:54,133 INFO  [AIF]: ERPI Process Start, Process ID: 300
    2013-12-31 22:44:54,137 INFO  [AIF]: ERPI Logging Level: DEBUG (5)
    2013-12-31 22:44:54,139 INFO  [AIF]: ERPI Log File: C:\Windows\TEMP\/aif_501_300.log
    2013-12-31 22:44:54,141 INFO  [AIF]: Jython Version: 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
    [Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]
    2013-12-31 22:44:54,143 INFO  [AIF]: Java Platform: java1.7.0_25
    2013-12-31 22:44:56,821 INFO  [AIF]: COMM Process Periods - Insert Periods - START
    2013-12-31 22:44:56,828 DEBUG [AIF]:
            SELECT l.SOURCE_LEDGER_ID
            ,l.SOURCE_LEDGER_NAME
            ,l.SOURCE_COA_ID
            ,l.CALENDAR_ID
            ,'0' SETID
            ,l.PERIOD_TYPE
            ,NULL LEDGER_TABLE_NAME
            FROM AIF_BALANCE_RULES br
            ,AIF_COA_LEDGERS l
            WHERE br.RULE_ID = 27
            AND l.SOURCE_SYSTEM_ID = br.SOURCE_SYSTEM_ID
            AND l.SOURCE_LEDGER_ID = br.SOURCE_LEDGER_ID
    2013-12-31 22:44:56,834 DEBUG [AIF]:
        INSERT INTO AIF_PROCESS_PERIODS (
          PROCESS_ID
          ,PERIODKEY
          ,PERIOD_ID
          ,ADJUSTMENT_PERIOD_FLAG
          ,GL_PERIOD_YEAR
          ,GL_PERIOD_NUM
          ,GL_PERIOD_NAME
          ,GL_PERIOD_CODE
          ,GL_EFFECTIVE_PERIOD_NUM
          ,YEARTARGET
          ,PERIODTARGET
          ,IMP_ENTITY_TYPE
          ,IMP_ENTITY_ID
          ,IMP_ENTITY_NAME
          ,TRANS_ENTITY_TYPE
          ,TRANS_ENTITY_ID
          ,TRANS_ENTITY_NAME
          ,PRIOR_PERIOD_FLAG
          ,SOURCE_LEDGER_ID
                SELECT DISTINCT brl.LOADID PROCESS_ID
                ,pp.PERIODKEY PERIODKEY
                ,prd.PERIOD_ID
                ,COALESCE(prd.ADJUSTMENT_PERIOD_FLAG, 'N') ADJUSTMENT_PERIOD_FLAG
                ,COALESCE(prd.YEAR,0) GL_PERIOD_YEAR
                ,COALESCE(prd.PERIOD_NUM,0) GL_PERIOD_NUM
                ,prd.PERIOD_NAME GL_PERIOD_NAME
                ,COALESCE(prd.PERIOD_CODE, CAST(COALESCE(prd.PERIOD_NUM,0) AS VARCHAR(38))) GL_PERIOD_CODE
                ,(COALESCE(prd.YEAR,0) * 10000 + COALESCE(prd.PERIOD_NUM,0)) GL_EFFECTIVE_PERIOD_NUM
                ,COALESCE(ppa.YEARTARGET, pp.YEARTARGET) YEARTARGET
                ,COALESCE(ppa.PERIODTARGET, pp.PERIODTARGET) PERIODTARGET
                ,'PROCESS_BAL_IMP' IMP_ENTITY_TYPE
                ,(COALESCE(prd.YEAR,0) * 10000 + COALESCE(prd.PERIOD_NUM,0)) IMP_ENTITY_ID
                ,prd.PERIOD_NAME IMP_ENTITY_NAME
                ,'PROCESS_BAL_TRANS' TRANS_ENTITY_TYPE
                ,(COALESCE(prd.YEAR,0) * 10000 + COALESCE(prd.PERIOD_NUM,0)) TRANS_ENTITY_ID
                ,pp.PERIODDESC TRANS_ENTITY_NAME
                ,'N' PRIOR_PERIOD_FLAG
                ,1 SOURCE_LEDGER_ID
                FROM (
                  AIF_BAL_RULE_LOADS brl
                  INNER JOIN TPOVCATEGORY pc
                    ON pc.CATKEY = brl.CATKEY
                  INNER JOIN TPOVPERIOD_FLAT_V pp
                    ON pp.PERIODFREQ = pc.CATFREQ
                    AND pp.PERIODKEY >= brl.START_PERIODKEY
                    AND pp.PERIODKEY <= brl.END_PERIODKEY
                  LEFT OUTER JOIN TPOVPERIODADAPTOR_FLAT_V ppa
                    ON ppa.PERIODKEY = pp.PERIODKEY
                    AND ppa.PERIODFREQ = pp.PERIODFREQ
                    AND ppa.INTSYSTEMKEY = 'FMTEST2'
                INNER JOIN AIF_GL_PERIODS_STG prd
                  ON prd.SOURCE_SYSTEM_ID = 3
                  AND prd.CALENDAR_ID IN ('10000')
          AND prd.SETID = '0'
          AND prd.PERIOD_TYPE = 'Month'
                  AND prd.ADJUSTMENT_PERIOD_FLAG = 'N'
                  AND prd.START_DATE > pp.PRIORPERIODKEY
                  AND prd.START_DATE <= pp.PERIODKEY
                WHERE brl.LOADID = 300
                ORDER BY pp.PERIODKEY
                ,GL_EFFECTIVE_PERIOD_NUM
    2013-12-31 22:44:56,915 INFO  [AIF]: COMM Process Periods - Insert Periods - END
    2013-12-31 22:44:56,945 INFO  [AIF]: COMM Process Periods - Insert Process Details - START
    2013-12-31 22:44:56,952 DEBUG [AIF]:
        INSERT INTO AIF_PROCESS_DETAILS (
          PROCESS_ID
          ,ENTITY_TYPE
          ,ENTITY_ID
          ,ENTITY_NAME
          ,ENTITY_NAME_ORDER
          ,TARGET_TABLE_NAME
          ,EXECUTION_START_TIME
          ,EXECUTION_END_TIME
          ,RECORDS_PROCESSED
          ,STATUS
          ,LAST_UPDATED_BY
          ,LAST_UPDATE_DATE
          SELECT PROCESS_ID
          ,ENTITY_TYPE
          ,ENTITY_ID
          ,ENTITY_NAME
          ,ENTITY_NAME_ORDER
          ,'AIF_EBS_GL_BALANCES_STG' TARGET_TABLE_NAME
          ,CURRENT_TIMESTAMP EXECUTION_START_TIME
          ,NULL EXECUTION_END_TIME
          ,0 RECORDS_PROCESSED
          ,'PENDING' STATUS
          ,'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER' LAST_UPDATED_BY
          ,CURRENT_TIMESTAMP LAST_UPDATE_DATE
          FROM (
            SELECT DISTINCT PROCESS_ID
            ,IMP_ENTITY_TYPE ENTITY_TYPE
            ,IMP_ENTITY_ID ENTITY_ID
            ,IMP_ENTITY_NAME ENTITY_NAME
            ,(COALESCE(SOURCE_LEDGER_ID,0) * 100000000 + GL_EFFECTIVE_PERIOD_NUM) ENTITY_NAME_ORDER
            FROM AIF_PROCESS_PERIODS
            WHERE PROCESS_ID = 300
          ) q
          ORDER BY ENTITY_NAME_ORDER
    2013-12-31 22:44:56,963 DEBUG [AIF]:
        INSERT INTO AIF_PROCESS_DETAILS (
          PROCESS_ID
          ,ENTITY_TYPE
          ,ENTITY_ID
          ,ENTITY_NAME
          ,ENTITY_NAME_ORDER
          ,TARGET_TABLE_NAME
          ,EXECUTION_START_TIME
          ,EXECUTION_END_TIME
          ,RECORDS_PROCESSED
          ,STATUS
          ,LAST_UPDATED_BY
          ,LAST_UPDATE_DATE
          SELECT PROCESS_ID
          ,ENTITY_TYPE
          ,ENTITY_ID
          ,ENTITY_NAME
          ,ENTITY_NAME_ORDER
          ,'TDATASEG' TARGET_TABLE_NAME
          ,CURRENT_TIMESTAMP EXECUTION_START_TIME
          ,NULL EXECUTION_END_TIME
          ,0 RECORDS_PROCESSED
          ,'PENDING' STATUS
          ,'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER' LAST_UPDATED_BY
          ,CURRENT_TIMESTAMP LAST_UPDATE_DATE
          FROM (
            SELECT PROCESS_ID
            ,TRANS_ENTITY_TYPE ENTITY_TYPE
            ,MIN(TRANS_ENTITY_ID) ENTITY_ID
            ,TRANS_ENTITY_NAME ENTITY_NAME
            ,MIN(COALESCE(SOURCE_LEDGER_ID,0) * 100000000 + GL_EFFECTIVE_PERIOD_NUM) ENTITY_NAME_ORDER
            FROM AIF_PROCESS_PERIODS
            WHERE PROCESS_ID = 300
            AND PRIOR_PERIOD_FLAG = 'N'
            GROUP BY PROCESS_ID
            ,TRANS_ENTITY_TYPE
            ,TRANS_ENTITY_NAME
          ) q
          ORDER BY ENTITY_NAME_ORDER
    2013-12-31 22:44:56,970 INFO  [AIF]: COMM Process Periods - Insert Process Details - END
    2013-12-31 22:44:57,407 DEBUG [AIF]: EBS/FS GL Balances Print Variables - Printing Variables - START
    2013-12-31 22:44:57,408 DEBUG [AIF]:
    p_process_id:  300
    p_sql_db_type:  ORACLE
    p_partitionkey:  12
    p_rule_id:  27
    p_source_system_id:  3
    p_application_id:  26
    p_target_application_type:  HFM
    p_is_multi_currency:  true
    p_data_load_method:  CLASSIC_VIA_EPMI
    p_bal_balance_method_code:  STANDARD
    p_bal_ledger_group_code:  SINGLE
    p_bal_amount_type:  MONETARY
    p_prd_entity_name:  JAN-13
    p_prd_period_id:  135
    p_prd_gl_period_name:  JAN-13
    p_prd_source_ledger_id:  1
    p_prd_source_coa_id:  101
    p_source_ledger_id:  1
    p_source_coa_id:  101
    p_bal_actual_flag:  A
    p_bal_seg_column_name:  SEGMENT1
    p_max_ccid_loaded_to_stg:  148137
    2013-12-31 22:44:57,408 DEBUG [AIF]: EBS/FS GL Balances Print Variables - Printing Variables - END
    2013-12-31 22:44:57,806 INFO  [AIF]: LKM EBS/FS Extract Type - Load Audit AND Full Refresh - START
    2013-12-31 22:44:57,817 DEBUG [AIF]:
        SELECT p.PROCESS_ID
        ,br.RULE_NAME
        ,l.SOURCE_LEDGER_NAME
        FROM AIF_GL_LOAD_AUDIT aud
        ,AIF_PROCESSES p
        ,AIF_BALANCE_RULES br
        ,AIF_COA_LEDGERS l
        WHERE aud.SOURCE_SYSTEM_ID = 3
        AND aud.SOURCE_LEDGER_ID = 1
        AND aud.GL_PERIOD_ID = 135
        AND aud.BALANCE_TYPE = 'A'
        AND p.PROCESS_ID = aud.LAST_LOADID
        AND p.STATUS = 'RUNNING'
        AND p.PROCESS_ID <> 300
        AND br.RULE_ID = p.RULE_ID
        AND l.SOURCE_SYSTEM_ID = aud.SOURCE_SYSTEM_ID
        AND l.SOURCE_LEDGER_ID = aud.SOURCE_LEDGER_ID
    2013-12-31 22:44:57,826 DEBUG [AIF]:
            SELECT 'Y' VALID_FLAG
            FROM GL_PERIOD_STATUSES
            WHERE APPLICATION_ID = 101
            AND SET_OF_BOOKS_ID = 1
            AND PERIOD_NAME = 'JAN-13'
            AND CLOSING_STATUS IN ( 'O','C','P' )
    2013-12-31 22:44:57,847 DEBUG [AIF]:
            SELECT 'Y' EXISTS_FLAG
            FROM GL_TRACK_DELTA_BALANCES
            WHERE SET_OF_BOOKS_ID = 1
            AND PROGRAM_CODE = 'FEM'
            AND PERIOD_NAME = 'JAN-13'
            AND ACTUAL_FLAG = 'A'
            AND EXTRACT_LEVEL_CODE = 'DTL'
            AND CURRENCY_TYPE_CODE = 'B'
            AND ENABLED_FLAG = 'Y'
    2013-12-31 22:44:57,883 DEBUG [AIF]:
          SELECT MAX(DELTA_RUN_ID) MAX_DELTA_RUN_ID
          FROM GL_BALANCES_DELTA
          WHERE SET_OF_BOOKS_ID = 1
          AND PERIOD_NAME = 'JAN-13'
          AND ACTUAL_FLAG = 'A'
    2013-12-31 22:44:57,898 DEBUG [AIF]:
        SELECT brl.EXECUTION_MODE
        ,( SELECT CASE COUNT(aud.DELTA_RUN_ID) WHEN 0 THEN 'N' ELSE 'Y' END
          FROM AIF_GL_LOAD_AUDIT aud
          WHERE aud.SOURCE_SYSTEM_ID = 3
          AND aud.SOURCE_LEDGER_ID = 1
          AND aud.GL_PERIOD_ID = 135
          AND aud.BALANCE_TYPE = 'A'
          AND aud.LAST_LOADID <> brl.LOADID
          AND COALESCE( aud.STATUS, 'SUCCESS' ) = 'SUCCESS'
         ) GL_LOAD_AUDIT_SUCCESS_FLAG
        ,( SELECT CASE COUNT(aud.DELTA_RUN_ID) WHEN 0 THEN 'N' ELSE 'Y' END
          FROM AIF_GL_LOAD_AUDIT aud
          WHERE aud.SOURCE_SYSTEM_ID = 3
          AND aud.SOURCE_LEDGER_ID = 1
          AND aud.GL_PERIOD_ID = 135
          AND aud.BALANCE_TYPE = 'A'
          AND aud.LAST_LOADID <> brl.LOADID
          AND aud.STATUS = 'RUNNING'
         ) GL_LOAD_AUDIT_RUNNING_FLAG
        FROM AIF_BAL_RULE_LOADS brl
        WHERE brl.LOADID = 300
    2013-12-31 22:44:57,904 DEBUG [AIF]: 
        INSERT INTO AIF_GL_LOAD_AUDIT ( LAST_LOADID
          ,DELTA_RUN_ID
          ,SOURCE_SYSTEM_ID
          ,SOURCE_LEDGER_ID
          ,GL_PERIOD_ID
          ,BALANCE_TYPE
          ,GL_EXTRACT_TYPE
          ,STATUS
         ) VALUES ( 300
          ,0
          ,3
          ,1
          ,135
          ,'A'
          ,'FULLREFRESH'
          ,'RUNNING'
    2013-12-31 22:44:57,907 DEBUG [AIF]:
          DELETE FROM AIF_EBS_GL_BALANCES_STG
          WHERE SOURCE_SYSTEM_ID = 3
          AND SOURCE_COA_ID = 101
          AND SOURCE_LEDGER_ID = 1
          AND ACTUAL_FLAG = 'A'
          AND PERIOD_NAME = 'JAN-13'
    2013-12-31 22:44:59,283 INFO  [AIF]: LKM EBS/FS Extract Type - Load Audit AND Full Refresh - END
    2013-12-31 22:45:06,507 INFO  [AIF]: COMM End Process Detail - Update Process Detail - START
    2013-12-31 22:45:06,514 DEBUG [AIF]:
        UPDATE AIF_PROCESS_DETAILS
        SET STATUS = 'SUCCESS'
        ,RECORDS_PROCESSED = CASE
          WHEN RECORDS_PROCESSED IS NULL THEN 0
          ELSE RECORDS_PROCESSED
        END + 57408
        ,EXECUTION_END_TIME = CURRENT_TIMESTAMP
        ,LAST_UPDATED_BY = CASE
          WHEN ('native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER' IS NULL) THEN LAST_UPDATED_BY
          ELSE 'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER'
        END
        ,LAST_UPDATE_DATE = CURRENT_TIMESTAMP
        WHERE PROCESS_ID = 300
        AND ENTITY_TYPE = 'PROCESS_BAL_IMP'
        AND ENTITY_NAME = 'JAN-13'
    2013-12-31 22:45:06,519 INFO  [AIF]: COMM End Process Detail - Update Process Detail - END
    2013-12-31 22:45:07,106 INFO  [AIF]: EBS/FS Load Data - Load TDATASEG_T - START
    2013-12-31 22:45:07,112 INFO  [AIF]:
    Import Data from Source for Period 'January 2013'
    2013-12-31 22:45:07,115 DEBUG [AIF]: 
        SELECT brl.PARTITIONKEY
        ,brl.CATKEY
        ,brl.PLAN_TYPE
        ,CASE brl.PLAN_TYPE
          WHEN 'PLAN1' THEN 1
          WHEN 'PLAN2' THEN 2
          WHEN 'PLAN3' THEN 3
          WHEN 'PLAN4' THEN 4
          WHEN 'PLAN5' THEN 5
          ELSE 0
        END PLAN_NUMBER
        ,brl.EXECUTION_MODE
        ,br.AMOUNT_TYPE
        ,br.BALANCE_SELECTION
        ,br.CURRENCY_CODE
        ,br.INCL_ZERO_BALANCE_FLAG
        ,br.BAL_SEG_VALUE_OPTION_CODE
        ,COALESCE(br.BALANCE_AMOUNT_BS, 'YTD') BALANCE_AMOUNT_BS
        ,COALESCE(br.BALANCE_AMOUNT_IS, 'PERIODIC') BALANCE_AMOUNT_IS
        FROM AIF_BAL_RULE_LOADS brl
        ,AIF_TARGET_APPLICATIONS app
        ,AIF_BALANCE_RULES br
        WHERE brl.LOADID = 300
        AND app.APPLICATION_ID = brl.APPLICATION_ID
        AND br.RULE_ID = brl.RULE_ID
    2013-12-31 22:45:07,120 DEBUG [AIF]: 
          SELECT PERIODKEY
          FROM TPOVPERIOD
          WHERE PERIODDESC = 'January 2013'
    2013-12-31 22:45:07,122 INFO  [AIF]:
      Import Data from Source for Ledger 'JWR Books'
    2013-12-31 22:45:07,125 DEBUG [AIF]:
          SELECT COA_SEGMENT_NAME
          ,ACCOUNT_TYPE_FLAG
          ,BALANCE_TYPE_FLAG
          FROM AIF_COA_SEGMENTS
          WHERE SOURCE_SYSTEM_ID = 3
          AND SOURCE_COA_ID = '101'
          AND (
            ACCOUNT_TYPE_FLAG = 'Y'
            OR BALANCE_TYPE_FLAG = 'Y'
    2013-12-31 22:45:07,127 DEBUG [AIF]:
          SELECT adim.BALANCE_COLUMN_NAME DIMNAME
          ,adim.DIMENSION_ID
          ,dim.TARGET_DIMENSION_CLASS_NAME
          ,(SELECT COA_SEGMENT_NAME
            FROM AIF_COA_SEGMENTS cs
            WHERE cs.COA_LINE_ID = tiie.IMPSOURCECOALINEID1
          ) COA_SEGMENT_NAME1
          ,(SELECT COA_SEGMENT_NAME
            FROM AIF_COA_SEGMENTS cs
            WHERE cs.COA_LINE_ID = tiie.IMPSOURCECOALINEID2
          ) COA_SEGMENT_NAME2
          ,(SELECT COA_SEGMENT_NAME
            FROM AIF_COA_SEGMENTS cs
            WHERE cs.COA_LINE_ID = tiie.IMPSOURCECOALINEID3
          ) COA_SEGMENT_NAME3
          ,(SELECT COA_SEGMENT_NAME
            FROM AIF_COA_SEGMENTS cs
            WHERE cs.COA_LINE_ID = tiie.IMPSOURCECOALINEID4
          ) COA_SEGMENT_NAME4
          ,(SELECT COA_SEGMENT_NAME
            FROM AIF_COA_SEGMENTS cs
            WHERE cs.COA_LINE_ID = tiie.IMPSOURCECOALINEID5
          ) COA_SEGMENT_NAME5
          ,(SELECT CASE mdd.ORPHAN_OPTION_CODE
              WHEN 'CHILD' THEN 'N'
              WHEN 'ROOT' THEN 'N'
              ELSE 'Y'
            END DIMENSION_FILTER_FLAG
            FROM AIF_MAP_DIM_DETAILS_V mdd
            ,AIF_MAPPING_RULES mr
            WHERE mr.PARTITIONKEY = tpp.PARTITIONKEY
            AND mdd.RULE_ID = mr.RULE_ID
            AND mdd.DIMENSION_ID = adim.DIMENSION_ID
          ) DIMENSION_FILTER_FLAG
          ,tiie.IMPCONCATCHAR
          FROM TPOVPARTITION tpp
          INNER JOIN AIF_TARGET_APPL_DIMENSIONS adim
            ON adim.APPLICATION_ID = 26
          INNER JOIN AIF_DIMENSIONS dim
            ON dim.DIMENSION_ID = adim.DIMENSION_ID
          LEFT OUTER JOIN TBHVIMPITEMERPI tiie
            ON tiie.IMPGROUPKEY = tpp.PARTIMPGROUP
            AND tiie.IMPFLDFIELDNAME = adim.BALANCE_COLUMN_NAME
            AND tiie.IMPMAPTYPE = 'ERP'
          WHERE tpp.PARTITIONKEY = 12
          AND adim.BALANCE_COLUMN_NAME IS NOT NULL
          ORDER BY adim.BALANCE_COLUMN_NAME
    2013-12-31 22:45:07,154 DEBUG [AIF]:
            INSERT INTO TDATASEG_T (
          LOADID
          ,PARTITIONKEY
          ,CATKEY
          ,RULE_ID
          ,PERIODKEY
          ,VALID_FLAG
          ,CHANGESIGN
          ,CODE_COMBINATION_ID
          ,SOURCE_LEDGER_ID
          ,GL_PERIOD_YEAR
          ,GL_PERIOD_NUM
          ,YEAR
          ,PERIOD
          ,ATTR1
          ,ATTR2
          ,ATTR3
          ,ATTR4
          ,ATTR5
          ,ATTR6
          ,ATTR7
          ,ATTR8
          ,ATTR9
          ,ATTR10
          ,ATTR11
          ,ATTR12
          ,ATTR13
          ,ATTR14
            ,ACCOUNT
            ,ACCOUNTX
            ,ENTITY
            ,ENTITYX
            ,ICP
            ,ICPX
            ,UD1
            ,UD1X
            ,UD2
            ,UD2X
            ,UD3
            ,UD3X
            ,UD4
            ,UD4X
          ,DATAVIEW
              ,DATAKEY
              ,STAT_BALANCE_FLAG
              ,CURKEY
              ,AMOUNT_PTD
              ,AMOUNT_YTD
              ,AMOUNT
              ,AMOUNTX
          SELECT pprd.PROCESS_ID LOADID
          ,12 PARTITIONKEY
          ,4 CATKEY
          ,27 RULE_ID
          ,pprd.PERIODKEY
          ,'Y' VALID_FLAG
          ,0 CHANGESIGN
          ,ccid.CODE_COMBINATION_ID
          ,bal.SOURCE_LEDGER_ID
          ,pprd.GL_PERIOD_YEAR
          ,pprd.GL_PERIOD_NUM
          ,pprd.YEARTARGET YEAR
          ,pprd.PERIODTARGET PERIOD
          ,pprd.PROCESS_ID ATTR1
          ,bal.SOURCE_SYSTEM_ID ATTR2
          ,bal.SOURCE_LEDGER_ID ATTR3
          ,pprd.GL_PERIOD_YEAR ATTR4
          ,pprd.GL_PERIOD_NAME ATTR5
          ,bal.ACTUAL_FLAG ATTR6
          ,bal.BUDGET_VERSION_ID ATTR7
          ,bal.ENCUMBRANCE_TYPE_ID ATTR8
          ,ccid.ACCOUNT_TYPE ATTR9
          ,NULL ATTR10
          ,NULL ATTR11
          ,NULL ATTR12
          ,NULL ATTR13
          ,NULL ATTR14
            ,ccid.SEGMENT4 ACCOUNT
            ,NULL ACCOUNTX
            ,ccid.SEGMENT1 ENTITY
            ,NULL ENTITYX
            ,NULL ICP
            ,NULL ICPX
            ,ccid.SEGMENT5 UD1
            ,NULL UD1X
            ,ccid.SEGMENT3 UD2
            ,NULL UD2X
            ,ccid.SEGMENT6 UD3
            ,NULL UD3X
            ,ccid.SEGMENT2 UD4
            ,NULL UD4X
          ,( CASE WHEN ccid.ACCOUNT_TYPE IN ('R','E','D','C') THEN 'Periodic' ELSE 'YTD' END ) DATAVIEW
            ,TDATASEG_DATAKEY_S.NEXTVAL
            ,'N' STAT_BALANCE_FLAG
            ,bal.CURRENCY_CODE CURKEY
            ,( CASE WHEN ccid.ACCOUNT_TYPE IN ('A','E','D') THEN 1 ELSE -1 END ) * ( bal.PERIOD_NET_DR - bal.PERIOD_NET_CR ) AMOUNT_PTD
            ,( CASE WHEN ccid.ACCOUNT_TYPE IN ('A','E','D') THEN 1 ELSE -1 END ) * ( bal.BEGIN_BALANCE_DR - bal.BEGIN_BALANCE_CR + bal.PERIOD_NET_DR - bal.PERIOD_NET_CR ) AMOUNT_YTD
            ,( CASE WHEN ccid.ACCOUNT_TYPE IN ('A','E','D') THEN 1 ELSE -1 END ) *
            ( CASE
                WHEN ccid.ACCOUNT_TYPE IN ('R','E','D','C') THEN ( bal.PERIOD_NET_DR - bal.PERIOD_NET_CR )
                ELSE ( bal.BEGIN_BALANCE_DR - bal.BEGIN_BALANCE_CR + bal.PERIOD_NET_DR - bal.PERIOD_NET_CR )
              END
             AMOUNT
            ,( CASE WHEN ccid.ACCOUNT_TYPE IN ('A','E','D') THEN 1 ELSE -1 END ) *
            ( CASE
                WHEN ccid.ACCOUNT_TYPE IN ('R','E','D','C') THEN ( bal.PERIOD_NET_DR - bal.PERIOD_NET_CR )
                ELSE ( bal.BEGIN_BALANCE_DR - bal.BEGIN_BALANCE_CR + bal.PERIOD_NET_DR - bal.PERIOD_NET_CR )
              END
             AMOUNTX
          FROM AIF_EBS_GL_BALANCES_STG_V bal
          ,AIF_EBS_GL_CCID_STG ccid
          ,AIF_PROCESS_PERIODS pprd
          WHERE bal.SOURCE_SYSTEM_ID = 3
          AND bal.SOURCE_LEDGER_ID = 1
          AND bal.ACTUAL_FLAG = 'A'
          AND ccid.SOURCE_SYSTEM_ID = bal.SOURCE_SYSTEM_ID
          AND ccid.SOURCE_COA_ID = bal.SOURCE_COA_ID
          AND ccid.CODE_COMBINATION_ID = bal.CODE_COMBINATION_ID
          AND pprd.PROCESS_ID = 300
          AND pprd.PERIODKEY = '2013-01-01'
          AND pprd.SOURCE_LEDGER_ID = bal.SOURCE_LEDGER_ID
          AND pprd.GL_PERIOD_NAME = bal.PERIOD_NAME
            AND (
              bal.BEGIN_BALANCE_DR <> 0
              OR bal.BEGIN_BALANCE_CR <> 0
              OR bal.PERIOD_NET_DR <> 0
              OR bal.PERIOD_NET_CR <> 0
            AND bal.CURRENCY_CODE <> 'STAT'
              AND bal.TRANSLATED_FLAG IS NULL
    2013-12-31 22:45:09,269 INFO  [AIF]: Monetary Data Rows Imported from Source: 12590
    2013-12-31 22:45:09,293 DEBUG [AIF]: 
            INSERT INTO AIF_APPL_LOAD_AUDIT (
              LOADID
              ,TARGET_APPLICATION_TYPE
              ,TARGET_APPLICATION_NAME
              ,PLAN_TYPE
              ,SOURCE_LEDGER_ID
              ,EPM_YEAR
              ,EPM_PERIOD
              ,SNAPSHOT_FLAG
              ,PARTITIONKEY
              ,CATKEY
              ,RULE_ID
              ,PERIODKEY
              ,EXPORT_TO_TARGET_FLAG
            SELECT DISTINCT PROCESS_ID LOADID
            ,'HFM' TARGET_APPLICATION_TYPE
            ,'FMTEST2' TARGET_APPLICATION_NAME
            ,NULL PLAN_TYPE
            ,SOURCE_LEDGER_ID
            ,YEARTARGET EPM_YEAR
            ,PERIODTARGET EPM_PERIOD
            ,'Y' SNAPSHOT_FLAG
            ,12 PARTITIONKEY
            ,4 CATKEY
            ,27 RULE_ID
            ,PERIODKEY
            ,'N' EXPORT_TO_TARGET_FLAG
            FROM AIF_PROCESS_PERIODS
            WHERE PROCESS_ID = 300
            AND PERIODKEY = '2013-01-01'
            AND SOURCE_LEDGER_ID = 1
    2013-12-31 22:45:09,297 DEBUG [AIF]:
            INSERT INTO AIF_APPL_LOAD_PRD_AUDIT (
              LOADID
              ,SOURCE_LEDGER_ID
              ,GL_PERIOD_ID
              ,DELTA_RUN_ID
              ,PARTITIONKEY
              ,CATKEY
              ,RULE_ID
              ,PERIODKEY
            SELECT DISTINCT pprd.PROCESS_ID LOADID
            ,pprd.SOURCE_LEDGER_ID
            ,pprd.PERIOD_ID GL_PERIOD_ID
            ,(SELECT MAX(gl.DELTA_RUN_ID)
              FROM AIF_GL_LOAD_AUDIT gl
              WHERE gl.SOURCE_SYSTEM_ID = 3
              AND gl.SOURCE_LEDGER_ID = pprd.SOURCE_LEDGER_ID
              AND gl.BALANCE_TYPE = 'A'
              AND gl.GL_PERIOD_ID = pprd.PERIOD_ID
            ) DELTA_RUN_ID
            ,12 PARTITIONKEY
            ,4 CATKEY
            ,27 RULE_ID
            ,pprd.PERIODKEY
            FROM AIF_PROCESS_PERIODS pprd
            WHERE pprd.PROCESS_ID = 300
            AND pprd.PERIODKEY = '2013-01-01'
            AND pprd.SOURCE_LEDGER_ID = 1
    2013-12-31 22:45:09,302 INFO  [AIF]:
    Total Data Rows Imported from Source: 12590
    2013-12-31 22:45:09,305 INFO  [AIF]: EBS/FS Load Data - Load TDATASEG_T - END
    2013-12-31 22:45:09,381 INFO  [AIF]: COMM Update Data - Init DataLoadUtil - START
    2013-12-31 22:45:09,385 INFO  [AIF]: COMM Update Data - Init DataLoadUtil - END
    2013-12-31 22:45:09,485 INFO  [AIF]: COMM Update Data - Update TDATASEG_T/TDATASEGW - START
    2013-12-31 22:45:09,491 DEBUG [AIF]:
          DELETE FROM TDATASEG_T
          WHERE LOADID = 300
          AND PARTITIONKEY = 12
          AND CATKEY = 4
          AND PERIODKEY = '2013-01-01'
          AND AMOUNT = 0
    2013-12-31 22:45:09,559 WARN  [AIF]:
    Warning: Data rows with zero balances exist
    2013-12-31 22:45:09,636 INFO  [AIF]: Zero Balance Data Rows Deleted: 1879
    2013-12-31 22:45:09,654 DEBUG [AIF]:
          SELECT DIMNAME
          ,CASE WHEN RULE_ID IS NULL THEN 'N' ELSE 'Y' END RULE_MAP_FLAG
          ,SRCKEY
          ,TARGKEY
          ,WHERECLAUSETYPE
          ,WHERECLAUSEVALUE
          ,CHANGESIGN
          ,SEQUENCE
          ,DATAKEY
          ,MAPPING_TYPE
          FROM (
            SELECT DISTINCT tdm.DIMNAME
            ,tdm.RULE_ID
            ,NULL SRCKEY
            ,NULL TARGKEY
            ,tdm.WHERECLAUSETYPE
            ,tdm.WHERECLAUSEVALUE
            ,NULL CHANGESIGN
            ,1 SEQUENCE
            ,COALESCE(tdm.SYSTEM_GENERATED_FLAG,'N') SYSTEM_GENERATED_FLAG     
            ,NULL DATAKEY
            ,CASE
              WHEN tdm.WHERECLAUSETYPE IS NULL THEN 1
              ELSE 3
            END MAPPING_TYPE
            FROM TDATAMAP_T tdm
            WHERE tdm.LOADID = 300
            AND tdm.PARTITIONKEY = 12
            AND tdm.TDATAMAPTYPE = 'ERP'
            AND (tdm.RULE_ID IS NULL OR tdm.RULE_ID = 27)
            AND tdm.WHERECLAUSETYPE IS NULL
            UNION ALL
            SELECT tdm.DIMNAME
            ,tdm.RULE_ID
            ,tdm.SRCKEY
            ,tdm.TARGKEY
            ,tdm.WHERECLAUSETYPE
            ,tdm.WHERECLAUSEVALUE
            ,tdm.CHANGESIGN
            ,CASE tpp.PARTSEQMAP
              WHEN 0 THEN CASE
                WHEN (tdm.WHERECLAUSETYPE = 'MULTIDIM') THEN 2
                WHEN (tdm.WHERECLAUSETYPE = 'BETWEEN') THEN 3
                WHEN (tdm.WHERECLAUSETYPE = 'LIKE') THEN 4
                ELSE 0
              END     
              ELSE tdm.SEQUENCE
            END SEQUENCE
            ,COALESCE(tdm.SYSTEM_GENERATED_FLAG,'N') SYSTEM_GENERATED_FLAG
            ,tdm.DATAKEY
            ,CASE
              WHEN tdm.WHERECLAUSETYPE IS NULL THEN 1
              ELSE 3
            END MAPPING_TYPE
            FROM TDATAMAP_T tdm
            INNER JOIN TPOVPARTITION tpp
              ON tpp.PARTITIONKEY = tdm.PARTITIONKEY
            WHERE tdm.LOADID = 300
            AND tdm.PARTITIONKEY = 12
            AND tdm.TDATAMAPTYPE = 'ERP'
            AND (tdm.RULE_ID IS NULL OR tdm.RULE_ID = 27)
            AND tdm.WHERECLAUSETYPE IN ('MULTIDIM','BETWEEN','LIKE')
          ) q
          ORDER BY DIMNAME
          ,RULE_ID
          ,SEQUENCE
          ,SYSTEM_GENERATED_FLAG
          ,SRCKEY
    2013-12-31 22:45:09,672 INFO  [AIF]:
    Processing Mappings for Column 'ACCOUNT'
    2013-12-31 22:45:09,677 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET ACCOUNTX = ACCOUNT
            ,ACCOUNTR = 121
            ,ACCOUNTF = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '*' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND ACCOUNTX IS NULL
            AND (1=1)
    2013-12-31 22:45:10,044 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:10,053 INFO  [AIF]:
    Processing Mappings for Column 'ENTITY'
    2013-12-31 22:45:10,057 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET ENTITYX = ENTITY
            ,ENTITYR = 122
            ,ENTITYF = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '*' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND ENTITYX IS NULL
            AND (1=1)
    2013-12-31 22:45:10,426 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:10,435 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET ENTITYX = ENTITY
            ,ENTITYR = 132
            ,ENTITYF = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '*' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND ENTITYX IS NULL
            AND (1=1)
    2013-12-31 22:45:10,446 INFO  [AIF]: Data Rows Updated by Location Mapping 'DEFAULT' (LIKE): 0
    2013-12-31 22:45:10,448 INFO  [AIF]:
    Processing Mappings for Column 'ICP'
    2013-12-31 22:45:10,452 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET ICPX = '[ICP None]'
            ,ICPR = 130
            ,ICPF = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '[ICP None]' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND ICPX IS NULL
            AND (1=1)
    2013-12-31 22:45:10,784 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:10,798 INFO  [AIF]:
    Processing Mappings for Column 'UD1'
    2013-12-31 22:45:10,802 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET UD1X = '[None]'
            ,UD1R = 124
            ,UD1F = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '[None]' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND UD1X IS NULL
            AND (1=1)
    2013-12-31 22:45:11,134 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:11,156 INFO  [AIF]:
    Processing Mappings for Column 'UD2'
    2013-12-31 22:45:11,160 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET UD2X = '[None]'
            ,UD2R = 123
            ,UD2F = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '[None]' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND UD2X IS NULL
            AND (1=1)
    2013-12-31 22:45:11,517 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:11,531 INFO  [AIF]:
    Processing Mappings for Column 'UD3'
    2013-12-31 22:45:11,535 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET UD3X = '[None]'
            ,UD3R = 125
            ,UD3F = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '[None]' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND UD3X IS NULL
            AND (1=1)
    2013-12-31 22:45:11,870 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:11,883 INFO  [AIF]:
    Processing Mappings for Column 'UD4'
    2013-12-31 22:45:11,887 DEBUG [AIF]:
            UPDATE TDATASEG_T
            SET UD4X = '[None]'
            ,UD4R = 128
            ,UD4F = 3
            ,AMOUNTX = AMOUNTX * 1
            ,CHANGESIGN = CASE 1
              WHEN -1 THEN CASE CHANGESIGN
                WHEN 1 THEN 0
                WHEN 0 THEN 1
                ELSE CHANGESIGN
              END
              ELSE CHANGESIGN
            END
            ,VALID_FLAG = CASE '[None]' WHEN 'IGNORE' THEN 'I' ELSE VALID_FLAG END
            WHERE LOADID = 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND PERIODKEY = '2013-01-01'
            AND UD4X IS NULL
            AND (1=1)
    2013-12-31 22:45:12,192 INFO  [AIF]: Data Rows Updated by Location Mapping 'Like' (LIKE): 10711
    2013-12-31 22:45:12,204 DEBUG [AIF]:
          UPDATE TDATASEG_T
          SET ATTR14 = DATAKEY
          WHERE LOADID = 300
          AND PARTITIONKEY = 12
          AND CATKEY = 4
          AND PERIODKEY = '2013-01-01'
    2013-12-31 22:45:12,739 DEBUG [AIF]:
              UPDATE TDATASEG_T
              SET VALID_FLAG = 'N'
              WHERE 1=1
              AND (
                (1=0)
              OR TDATASEG_T.ACCOUNTX IS NULL
              OR TDATASEG_T.ENTITYX IS NULL
              OR TDATASEG_T.ICPX IS NULL
              OR TDATASEG_T.UD1X IS NULL
              OR TDATASEG_T.UD2X IS NULL
              OR TDATASEG_T.UD3X IS NULL
              OR TDATASEG_T.UD4X IS NULL
              AND LOADID = 300
              AND PARTITIONKEY = 12
              AND CATKEY = 4
              AND PERIODKEY = '2013-01-01'
              AND VALID_FLAG = 'Y'
    2013-12-31 22:45:12,754 INFO  [AIF]:
    Total Data Rows available for Export to Target: 10711
    2013-12-31 22:45:12,773 INFO  [AIF]: COMM Update Data - Update TDATASEG_T/TDATASEGW - END
    2013-12-31 22:45:12,808 INFO  [AIF]: COMM End Process Detail - Update Process Detail - START
    2013-12-31 22:45:12,823 DEBUG [AIF]:
        UPDATE AIF_PROCESS_DETAILS
        SET STATUS = 'SUCCESS'
        ,RECORDS_PROCESSED = CASE
          WHEN RECORDS_PROCESSED IS NULL THEN 0
          ELSE RECORDS_PROCESSED
        END + 10711
        ,EXECUTION_END_TIME = CURRENT_TIMESTAMP
        ,LAST_UPDATED_BY = CASE
          WHEN ('native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER' IS NULL) THEN LAST_UPDATED_BY
          ELSE 'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER'
        END
        ,LAST_UPDATE_DATE = CURRENT_TIMESTAMP
        WHERE PROCESS_ID = 300
        AND ENTITY_TYPE = 'PROCESS_BAL_TRANS'
        AND ENTITY_NAME = 'January 2013'
    2013-12-31 22:45:12,829 INFO  [AIF]: COMM End Process Detail - Update Process Detail - END
    2013-12-31 22:45:12,987 INFO  [AIF]: COMM Update YTD Amounts - Update YTD Amounts - START
    2013-12-31 22:45:12,993 DEBUG [AIF]:
            SELECT brl.PARTITIONKEY
            ,brl.CATKEY
            ,pprd.YEARTARGET
            ,pprd.PERIODTARGET
            ,pprd.SOURCE_LEDGER_ID
            FROM AIF_BAL_RULE_LOADS brl
            ,AIF_PROCESS_PERIODS pprd
            WHERE brl.LOADID = 300
            AND pprd.PROCESS_ID = brl.LOADID
            GROUP BY brl.PARTITIONKEY
            ,brl.CATKEY
            ,pprd.YEARTARGET
            ,pprd.PERIODTARGET
            ,pprd.SOURCE_LEDGER_ID
            HAVING COUNT(*) > 1
    2013-12-31 22:45:12,995 INFO  [AIF]: COMM Update YTD Amounts - Update YTD Amounts - END
    2013-12-31 22:45:13,052 INFO  [AIF]: COMM Load TDATAMAPSEG/TDATASEG - Load TDATAMAPSEG/TDATASEG - START
    2013-12-31 22:45:13,057 DEBUG [AIF]: 
        SELECT brl.PARTITIONKEY
        ,brl.CATKEY
        ,brl.EXECUTION_MODE
        FROM AIF_BAL_RULE_LOADS brl
        WHERE brl.LOADID = 300
    2013-12-31 22:45:13,059 DEBUG [AIF]:
        SELECT PERIODKEY
        FROM AIF_APPL_LOAD_AUDIT
        WHERE LOADID = 300
        AND PARTITIONKEY = 12
        AND CATKEY = 4
        AND RULE_ID = 27
        ORDER BY PERIODKEY
    2013-12-31 22:45:13,061 INFO  [AIF]:
    Processing Data for PeriodKey '2013-01-01'
    2013-12-31 22:45:13,065 DEBUG [AIF]:
        DELETE FROM TDATAMAPSEG
        WHERE PARTITIONKEY = 12
        AND CATKEY = 4
        AND PERIODKEY = '2013-01-01'
        AND (
          TDATAMAPTYPE = 'ERP'
          OR (
            TDATAMAPTYPE = 'MULTIDIM'
            AND EXISTS (
              SELECT 1
              FROM TDATAMAPSEG parent
              WHERE parent.PARTITIONKEY = TDATAMAPSEG.PARTITIONKEY
              AND parent.DATAKEY = TDATAMAPSEG.TARGKEY
              AND parent.CATKEY = TDATAMAPSEG.CATKEY
              AND parent.PERIODKEY = TDATAMAPSEG.PERIODKEY
              AND parent.TDATAMAPTYPE = 'ERP'
    2013-12-31 22:45:13,074 INFO  [AIF]: Number of Rows deleted from TDATAMAPSEG: 8
    2013-12-31 22:45:13,077 DEBUG [AIF]:
        INSERT INTO TDATAMAPSEG (
          DATAKEY
          ,PARTITIONKEY
          ,CATKEY
          ,PERIODKEY
          ,DIMNAME
          ,SRCKEY
          ,SRCDESC
          ,TARGKEY
          ,WHERECLAUSETYPE
          ,WHERECLAUSEVALUE
          ,CHANGESIGN
          ,SEQUENCE
          ,VBSCRIPT
          ,TDATAMAPTYPE
          ,SYSTEM_GENERATED_FLAG
        SELECT DATAKEY
        ,PARTITIONKEY
        ,4
        ,'2013-01-01'
        ,DIMNAME
        ,SRCKEY
        ,SRCDESC
        ,TARGKEY
        ,WHERECLAUSETYPE
        ,WHERECLAUSEVALUE
        ,CHANGESIGN
        ,SEQUENCE
        ,VBSCRIPT
        ,TDATAMAPTYPE
        ,SYSTEM_GENERATED_FLAG
        FROM TDATAMAP_T
        WHERE LOADID = 300
    2013-12-31 22:45:13,081 INFO  [AIF]: Number of Rows inserted into TDATAMAPSEG: 8
    2013-12-31 22:45:13,083 DEBUG [AIF]:
            DELETE FROM TDATASEG
            WHERE LOADID < 300
            AND PARTITIONKEY = 12
            AND CATKEY = 4
            AND RULE_ID = 27
            AND PERIODKEY = '2013-01-01'
    2013-12-31 22:45:15,659 INFO  [AIF]: Number of Rows deleted from TDATASEG: 10711
    2013-12-31 22:45:15,728 DEBUG [AIF]:
          INSERT INTO TDATASEG (
          DATAKEY
          ,PARTITIONKEY
          ,CATKEY
          ,PERIODKEY
          ,CURKEY
          ,DATAVIEW
          ,CALCACCTTYPE
          ,CHANGESIGN
          ,JOURNALID
          ,AMOUNT
          ,AMOUNTX
          ,AMOUNT_PTD
          ,AMOUNT_YTD
          ,DESC1
          ,DESC2
          ,ACCOUNT
          ,ACCOUNTX
          ,ACCOUNTR
          ,ACCOUNTF
          ,ENTITY
          ,ENTITYX
          ,ENTITYR
          ,ENTITYF
          ,ICP
          ,ICPX
          ,ICPR
          ,ICPF
          ,UD1
          ,UD1X
          ,UD1R
          ,UD1F
          ,UD2
          ,UD2X
          ,UD2R
          ,UD2F
          ,UD3
          ,UD3X
          ,UD3R
          ,UD3F
          ,UD4
          ,UD4X
          ,UD4R
          ,UD4F
          ,UD5
          ,UD5X
          ,UD5R
          ,UD5F
          ,UD6
          ,UD6X
          ,UD6R
          ,UD6F
          ,UD7
          ,UD7X
          ,UD7R
          ,UD7F
          ,UD8
          ,UD8X
          ,UD8R
          ,UD8F
          ,UD9
          ,UD9X
          ,UD9R
          ,UD9F
          ,UD10
          ,UD10X
          ,UD10R
          ,UD10F
          ,UD11
          ,UD11X
          ,UD11R
          ,UD11F
          ,UD12
          ,UD12X
          ,UD12R
          ,UD12F
          ,UD13
          ,UD13X
          ,UD13R
          ,UD13F
          ,UD14
          ,UD14X
          ,UD14R
          ,UD14F
          ,UD15
          ,UD15X
          ,UD15R
          ,UD15F
          ,UD16
          ,UD16X
          ,UD16R
          ,UD16F
          ,UD17
          ,UD17X
          ,UD17R
          ,UD17F
          ,UD18
          ,UD18X
          ,UD18R
          ,UD18F
          ,UD19
          ,UD19X
          ,UD19R
          ,UD19F
          ,UD20
          ,UD20X
          ,UD20R
          ,UD20F
          ,ATTR1
          ,ATTR2
          ,ATTR3
          ,ATTR4
          ,ATTR5
          ,ATTR6
          ,ATTR7
          ,ATTR8
          ,ATTR9
          ,ATTR10
          ,ATTR11
          ,ATTR12
          ,ATTR13
          ,ATTR14
          ,ARCHIVEID
          ,HASMEMOITEM
          ,STATICDATAKEY
          ,LOADID
          ,RULE_ID,
          CODE_COMBINATION_ID
          ,STAT_BALANCE_FLAG
          ,VALID_FLAG
          SELECT
          DATAKEY
          ,PARTITIONKEY
          ,CATKEY
          ,PERIODKEY
          ,CURKEY
          ,DATAVIEW
          ,CALCACCTTYPE
          ,CHANGESIGN
          ,JOURNALID
          ,AMOUNT
          ,AMOUNTX
          ,AMOUNT_PTD
          ,AMOUNT_YTD
          ,DESC1
          ,DESC2
          ,ACCOUNT
          ,ACCOUNTX
          ,ACCOUNTR
          ,ACCOUNTF
          ,ENTITY
          ,ENTITYX
          ,ENTITYR
          ,ENTITYF
          ,ICP
          ,ICPX
          ,ICPR
          ,ICPF
          ,UD1
          ,UD1X
          ,UD1R
          ,UD1F
          ,UD2
          ,UD2X
          ,UD2R
          ,UD2F
          ,UD3
          ,UD3X
          ,UD3R
          ,UD3F
          ,UD4
          ,UD4X
          ,UD4R
          ,UD4F
          ,UD5
          ,UD5X
          ,UD5R
          ,UD5F
          ,UD6
          ,UD6X
          ,UD6R
          ,UD6F
          ,UD7
          ,UD7X
          ,UD7R
          ,UD7F
          ,UD8
          ,UD8X
          ,UD8R
          ,UD8F
          ,UD9
          ,UD9X
          ,UD9R
          ,UD9F
          ,UD10
          ,UD10X
          ,UD10R
          ,UD10F
          ,UD11
          ,UD11X
          ,UD11R
          ,UD11F
          ,UD12
          ,UD12X
          ,UD12R
          ,UD12F
          ,UD13
          ,UD13X
          ,UD13R
          ,UD13F
          ,UD14
          ,UD14X
          ,UD14R
          ,UD14F
          ,UD15
          ,UD15X
          ,UD15R
          ,UD15F
          ,UD16
          ,UD16X
          ,UD16R
          ,UD16F
          ,UD17
          ,UD17X
          ,UD17R
          ,UD17F
          ,UD18
          ,UD18X
          ,UD18R
          ,UD18F
          ,UD19
          ,UD19X
          ,UD19R
          ,UD19F
          ,UD20
          ,UD20X
          ,UD20R
          ,UD20F
          ,ATTR1
          ,ATTR2
          ,ATTR3
          ,ATTR4
          ,ATTR5
          ,ATTR6
          ,ATTR7
          ,ATTR8
          ,ATTR9
          ,ATTR10
          ,ATTR11
          ,ATTR12
          ,ATTR13
          ,ATTR14
          ,ARCHIVEID
          ,HASMEMOITEM
          ,STATICDATAKEY
          ,LOADID
          ,RULE_ID,
          CODE_COMBINATION_ID
          ,STAT_BALANCE_FLAG
          ,VALID_FLAG
          FROM TDATASEG_T
          WHERE LOADID = 300
          AND PARTITIONKEY = 12
          AND CATKEY = 4
          AND PERIODKEY = '2013-01-01'
    2013-12-31 22:45:16,838 INFO  [AIF]: Number of Rows inserted into TDATASEG: 10711
    2013-12-31 22:45:16,858 DEBUG [AIF]:
        DELETE FROM TDATASEG_T
        WHERE LOADID = 300
        AND PARTITIONKEY = 12
        AND CATKEY = 4
        AND PERIODKEY = '2013-01-01'
    2013-12-31 22:45:17,123 INFO  [AIF]: Number of Rows deleted from TDATASEG_T: 10711
    2013-12-31 22:45:17,153 DEBUG [AIF]:
        DELETE FROM TDATAMAP_T
        WHERE LOADID = 300
    2013-12-31 22:45:17,156 INFO  [AIF]: Number of Rows deleted from TDATAMAP_T: 8
    2013-12-31 22:45:17,161 INFO  [AIF]: COMM Load TDATAMAPSEG/TDATASEG - Load TDATAMAPSEG/TDATASEG - END
    2013-12-31 22:45:17,993 DEBUG [AIF]:
      SELECT CASE app.METADATA_LOAD_METHOD
        WHEN 'EPMA' THEN CASE dim.TARGET_DIMENSION_CLASS_NAME
          WHEN 'Generic' THEN dim.TARGET_DIMENSION_NAME
          ELSE dim.TARGET_DIMENSION_CLASS_NAME
        END
        ELSE dim.TARGET_DIMENSION_NAME
      END TARGET_DIMENSION_NAME
      ,adim.BALANCE_COLUMN_NAME
      FROM AIF_TARGET_APPLICATIONS app
      ,AIF_TARGET_APPL_DIMENSIONS adim
      ,AIF_DIMENSIONS dim
      WHERE app.APPLICATION_ID = 26
      AND adim.APPLICATION_ID = app.APPLICATION_ID
      AND dim.DIMENSION_ID = adim.DIMENSION_ID
      AND dim.TARGET_DIMENSION_CLASS_NAME IN ('Custom1','Custom2','Custom3','Custom4','Generic')
    2013-12-31 22:45:17,997 DEBUG [AIF]:
      SELECT SCENARIO "Scenario"
      ,YEAR "Year"
      ,PERIOD "Period"
      ,DATAVIEW "View"
      ,DATAVALUE "Value"
      ,ACCOUNT "Account"
      ,ENTITY "Entity"
      ,ICP "ICP"
        ,UD2 "Area"
        ,UD1 "Tail"
        ,UD3 "Special"
        ,UD4 "Facility"
      ,AMOUNT "DataValue"
      FROM AIF_HS_BALANCES
      WHERE LOADID = 300
    2013-12-31 22:45:18,000 INFO  [SimpleAsyncTaskExecutor-9]: ODI Hyperion Financial Management Adapter
    2013-12-31 22:45:18,002 INFO  [SimpleAsyncTaskExecutor-9]: Load task initialized.
    2013-12-31 22:45:18,028 INFO  [AIF]: LKM COMM Load Data into HFM - Load Data to HFM - START
    2013-12-31 22:45:18,031 DEBUG [AIF]:
        INSERT INTO AIF_PROCESS_DETAILS (
          PROCESS_ID
          ,ENTITY_TYPE
          ,ENTITY_ID
          ,ENTITY_NAME
          ,ENTITY_NAME_ORDER
          ,TARGET_TABLE_NAME
          ,EXECUTION_START_TIME
          ,EXECUTION_END_TIME
          ,RECORDS_PROCESSED
          ,STATUS
          ,LAST_UPDATED_BY
          ,LAST_UPDATE_DATE
        ) VALUES (
          300
          ,'PROCESS_BAL_EXP_HFM'
          ,NULL
          ,'FMTEST2'
          ,NULL
          ,NULL
          ,CURRENT_TIMESTAMP
          ,NULL
          ,NULL
          ,'RUNNING'
          ,'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER'
          ,CURRENT_TIMESTAMP
    2013-12-31 22:45:18,034 INFO  [SimpleAsyncTaskExecutor-9]: Connecting to Financial Management application [FMTEST2] on [10.150.20.40] using user-name [admin].
    2013-12-31 22:45:18,155 INFO  [SimpleAsyncTaskExecutor-9]: Connected to Financial Management application.
    2013-12-31 22:45:18,157 INFO  [SimpleAsyncTaskExecutor-9]: HFM Version: 11.1.2.2.300.
    2013-12-31 22:45:18,160 INFO  [SimpleAsyncTaskExecutor-9]: Options for the Financial Management load task are:
    <Options>
         <Option name=LOG_FILE_NAME value=C:\Windows\TEMP\/aif_501_300.log/>
         <Option name=IMPORT_MODE value=Replace/>
         <Option name=CONSOLIDATE_ONLY value=false/>
         <Option name=CONSOLIDATE_PARAMETERS value=""/>
         <Option name=LOG_ENABLED value=true/>
         <Option name=ACCUMULATE_WITHIN_FILE value=false/>
         <Option name=DEBUG_ENABLED value=true/>
         <Option name=CONSOLIDATE_AFTER_LOAD value=false/>
         <Option name=FILE_CONTAINS_SHARE_DATA value=false/>
    </Options>
    2013-12-31 22:45:18,168 INFO  [SimpleAsyncTaskExecutor-9]: Load Options validated.
    2013-12-31 22:45:18,176 ERROR [SimpleAsyncTaskExecutor-9]: Error occurred during load process ORA-00904: "DATAVALUE": invalid identifier
    com.hyperion.odi.common.ODIHAppException: ORA-00904: "DATAVALUE": invalid identifier
      at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:216)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
      at org.python.core.PyObject.__call__(PyObject.java:355)
      at org.python.core.PyMethod.__call__(PyMethod.java:215)
      at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
      at org.python.core.PyMethod.__call__(PyMethod.java:206)
      at org.python.core.PyObject.__call__(PyObject.java:397)
      at org.python.core.PyObject.__call__(PyObject.java:401)
      at org.python.pycode._pyx161.f$0(<string>:98)
      at org.python.pycode._pyx161.call_function(<string>)
      at org.python.core.PyTableCode.call(PyTableCode.java:165)
      at org.python.core.PyCode.call(PyCode.java:18)
      at org.python.core.Py.runCode(Py.java:1204)
      at org.python.core.Py.exec(Py.java:1248)
      at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
      at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1066)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:724)
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "DATAVALUE": invalid identifier
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:942)
      at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1690)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:446)
      at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:212)
      ... 38 more
    2013-12-31 22:45:18,208 DEBUG [AIF]:
        UPDATE AIF_PROCESS_DETAILS
        SET STATUS = 'FAILED'
        ,RECORDS_PROCESSED = CASE
          WHEN RECORDS_PROCESSED IS NULL THEN 0
          ELSE RECORDS_PROCESSED
        END + 0
        ,EXECUTION_END_TIME = CURRENT_TIMESTAMP
        ,LAST_UPDATED_BY = CASE
          WHEN ('native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER' IS NULL) THEN LAST_UPDATED_BY
          ELSE 'native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER'
        END
        ,LAST_UPDATE_DATE = CURRENT_TIMESTAMP
        WHERE PROCESS_ID = 300
        AND ENTITY_TYPE = 'PROCESS_BAL_EXP_HFM'
        AND ENTITY_NAME = 'FMTEST2'
    2013-12-31 22:45:18,210 FATAL [AIF]: Error in LKM C

    The issue is that you are mapping "Data Value" to amount in the Target Application import format:
    SELECT SCENARIO "Scenario" 
      ,YEAR "Year"
      ,PERIOD "Period"
      ,DATAVIEW "View"
      ,DATAVALUE "Value"
      ,ACCOUNT "Account"
      ,ENTITY "Entity"
      ,ICP "ICP"
        ,UD2 "Area"
        ,UD1 "Tail"
        ,UD3 "Special"
        ,UD4 "Facility"
      ,AMOUNT "DataValue"
      FROM AIF_HS_BALANCES
      WHERE LOADID = 300
    You need to map AMOUNT to "AMOUNT" in the HFM Application.  Check that the dimension mapping is correct for the class in the target application and that your import format is going to the proper target dimension(Amount).    

  • XML Error while calling webservice from oracle function.

    I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
    select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "H4" does not match start-element tag "P"
    Error at line 9
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
    ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Getting error while calling two BAPIs

    Dear ABAPers,
    I'm stuck into a problem.
    I have a situation where I'm using BAPI, WS_DELIVERY_UPDATE to update a delivery.
    Then after this I have post a GR so for that I'm using BAPI_GOODSMVT_CREATE.
    Now my problem is when I'm calling BAPI_GOODSMVT_CREATE it gives me an error
    "CODE is not supported by BAPI2017_GOODSMVT_CREATE". I check my code thoroughly, but didn't find anything in that
    which was wrong.
    Again, if I try to do the same, in debugging mode, its processes me in the way it should, without any error.
    Also, If I use a hard coded DELAY of 2 mins, in my program after WS_DELIVERY_UPDATE, it again processes perfectly.
    Now I've put COMMIT AND WAIT and FM DEQUEUE_ALL after WS_DELIVERY_UPDATE, but still not working, and this I'm getting
    error from BAPI_GOODSMVT_CREATE - "No Items Transfered".
    Please help me sort this issue.
    Regards,
    Varun

    Hi varunchopra,
    the SAP documentation is not 100 % clear here: They say, with COMMIT WORK all high-priority ("VB1") update function modules are executed in the order of their registration and in a shared database LUW.  With WAIT addition, the calling program will continue after the update work process has executed the VB1 function modules.
    Probably BAPI_WS_DELIVERY_UPDATE will also trigger one or more VB2 update functions that will keep the objects locked.
    Ten years ago we used this code in a similar situation to wait for the update task for a material being changed:
    FORM WAIT_UPDATE.
      USING P_MAX_WAIT_SECONDS TYPE I
      CHANGING P_SUBRC LIKE SY-SUBRC.
      DATA:
      L_ENDTIME LIKE SY-UZEIT,
      L_TABIX LIKE SY-TABIX,
      L_TRIES TYPE I,
      L_SUCCESS LIKE SY-SUBRC,
      L_ANSW TYPE C,
      L_TRY_AGAIN LIKE RMCLS-XFLAG VALUE 'X'.
      GET TIME.
      L_ENDTIME = SY-UZEIT.
      ADD P_MAX_WAIT_SECONDS TO L_ENDTIME.
      WHILE L_TRY_AGAIN = 'X'.
        LOOP AT ITAB.
          PERFORM CHECK_LOCK_EMMARCE
            USING ZAUF-WERKS ITAB-MATNR CHANGING P_SUBRC.
          GET TIME.
          IF P_SUBRC <> 0 OR SY-UZEIT >= L_ENDTIME.
            EXIT.                          "Loop
          ENDIF.                           " sy-subrc = 0.
        ENDLOOP.                           " AT itab.
        IF P_SUBRC = 0.
          CLEAR: L_TRY_AGAIN.
        ELSE.
          IF SY-UZEIT >= L_ENDTIME .
            PERFORM POPUP_TO_CONFIRM_WAIT
              USING P_MAX_WAIT_SECONDS CHANGING L_ENDTIME P_SUBRC.
            IF P_SUBRC <> 0.
              CLEAR L_TRY_AGAIN.
            ELSE.
              CLEAR P_SUBRC.
            ENDIF.                         " p_subrc <> 0.
          ENDIF.                           " sy-uzeit >= l_endtime.
        ENDIF.                             " p_subrc = 0.
      ENDWHILE.                            " l_try_again = 'X'.
    ENDFORM.                               " WAIT_UPDATE
    The coding of CHECK_LOCK_EMMARCE was derived from SM12 lock overview and used FUNCTION 'ENQUE_READ'. Today I would just try to lock the object with ENQUEUE function - if you get foreign lock error, the updatze task lock is not yet released.
    Monitor SM12 during test run to identify which lock object  must be checked.
    The you have to decide: If you put a WAIT UP TO 1 SECONDS in the wait loop, you may lose up to 1 second per delivery. If you just LOOP until the locks are released you may put some non-necessary load on the machine.
    This way will be faster than any unconditional wait - which may sometimes not be long enough.
    Regards,
    Clemens

  • Getting error while calling a subscreen in  module pool program

    HI  ALL,
                         ACTUALLY I'M GETTING A SYNTAX ERROR WHILE I'M CALLING A SUBSCREEN
                       IN A MODULE POOL PROGRAM IN PAI MODULE
                       THE ERROR IS AS FOLLOW
                           "." or "ID ... FIELD ..." expected after "SUBSCREEN"
                        CAN ANYBODY PLS HELP ME.
    REGARDS
    ANDREWS

    HI MAX ,
                      THE CODE IS AS FOLLOWS:
    *& Report  ZTABSTRIP_PS
    REPORT  ZTABSTRIP_PS.
    type-pools : vrm.
    DATA:number1 type I,
         number2 type I,
         result  type I,
         ok_code like SY-UCOMM,
         employee1 type c,
         ABAP(19)    type c,
         SALES(19)  type c,
         HR(19)      type c,
         MM(19)     type  c,
    employee type c.
        emp type c.
    CONTROLS  tabstrip TYPE TABSTRIP.
    CALL SCREEN 100.
    call screen 110.
    call screen 130.
    call screen 120.
    call screen  140.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'STATUS'.
      SET TITLEBAR 'TITLE'.
      CASE OK_CODE.
        WHEN 'BACK' or 'EXIT' or 'DELETE'.
         leave program.
         WHEN 'SAVE'.
           MESSAGE 'please choose a valid function' TYPE 'I'.
       WHEN 'BACK'.
        leave PROGRAM.
    when  'EXIT' or 'DELETE'.
        leave to screen 0.
        WHEN 'SAVE'.
          MESSAGE 'please choose a valid function' TYPE 'I'.
    endcase.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
      when 'TAB1'.
    tabstrip-activetab = 'TAB1'.
       when 'TAB2'.
    tabstrip-activetab = 'TAB2'.
    result = number1 + number2.
       when 'TAB3'.
      tabstrip-activetab = 'TAB3'.
    SET TITLEBAR 'TITLE1'.
      when 'TAB4'.
        tabstrip-activetab = 'TAB4'.
       if employee = 'NEERAJ'.
         ABAP = 'NEERAJ'.
       elseif employee = 'UMESH'.
         SALES = 'UMESH'.
       ELSEIF employee = 'RAM'.
         HR = 'RAM'.
       elseif employee = 'ANIL'.
         MM = 'ANIL'.
         endif.
       employee = employee.
    WHEN 'BACK'.
        leave PROGRAM.
    when  'EXIT' or 'DELETE'.
        leave to screen 0.
        WHEN 'SAVE'.
          MESSAGE 'please choose a valid function' TYPE 'I'.
    ENDCASE.
       WHEN 'BACK' or 'EXIT' or 'DELETE'.
         leave program .
         WHEN 'SAVE'.
           MESSAGE 'please choose a valid function' TYPE 'I'.
    endcase.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0110  OUTPUT
          text
    **MODULE STATUS_0110 OUTPUT.
    SET PF-STATUS 'STATUS1'.
    SET TITLEBAR 'xxx'.
    **case ok_code.
    **WHEN 'back' or 'exit' or 'delete'.
        leave PROGRAM.
        WHEN 'save'.
          MESSAGE 'please choose a valid function ' TYPE 'W'.
    ENDCASE.
    **ENDMODULE.                 " STATUS_0110  OUTPUT
    *&      Module  USER_COMMAND_0110  INPUT
          text
    MODULE USER_COMMAND_0110 INPUT.
      number1 = number1.
      number2 = number2.
    CLEAR NUMBER1.
    CLEAR NUMBER2.
    REFRESH NUMBER1.
    REFRESH NUMBER2.
    ENDMODULE.                 " USER_COMMAND_0110  INPUT
    *&      Module  STATUS_0130  OUTPUT
          text
    MODULE STATUS_0130 OUTPUT.
    SET PF-STATUS 'STATUS2'.
    SET TITLEBAR 'xxx'.
    RESULT = number1 + number2.
    *CLEAR RESULT.
    REFRESH RESULT.
    ENDMODULE.                 " STATUS_0130  OUTPUT
    *&      Module  STATUS_0120  OUTPUT
          text
    MODULE STATUS_0120 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    DATA:  l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'ANIL'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '2'.
      l_value-text = 'RAM'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '3'.
      l_value-text = 'NEERAJ'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '4'.
      l_value-text = 'UMESH'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
    l_name =  'employee'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    =  l_name
          VALUES                =  li_list
       EXCEPTIONS
         ID_ILLEGAL_NAME       = 1
         OTHERS                = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR li_list.
    ENDMODULE.                 " STATUS_0120  OUTPUT
    *&      Module  USER_COMMAND_0120  INPUT
          text
    MODULE USER_COMMAND_0120 INPUT.
    INCLUDING sy-repid '140'.
    employee1 = employee.
    IF employee1 CS 'NEERAJ'.
      call SUBSCREEN    sub4  .
      ABAP = 'NEERAJ'.
      CLEAR ABAP.
    ELSEIF employee1 CS 'UMESH'.
       call SUBSCREEN  sub4  .
        SALES = 'UMESH'.
        CLEAR SALES.
    elseif employee1 CS 'RAM'.
      call SUBSCREEN sub4 .
       HR = 'RAM'.
       CLEAR  HR.
    ELSEIF employee1 CS 'ANIL'.
       call SUBSCREEN sub4 .
       MM = 'ANIL'.
       CLEAR MM.
       endif.
    ENDMODULE.                 " USER_COMMAND_0120  INPUT
    *&      Module  STATUS_0140  OUTPUT
          text
    MODULE STATUS_0140 OUTPUT.
    *CASE OK_CODE.
       WHEN employee1  'NEERAJ'.
         screen-active = 1.
         ABAP = 'NEERAJ'.
       WHEN employee1 = 'UMESH'.
         screen-active = 1.
         SALES = 'UMESH'.
       WHEN employee1 = 'RAM'.
         screen-active = 1.
         HR = 'RAM'.
       WHEN employee1 = 'ANIL'.
         screen-active = 1.
         MM = 'ANIL'.
         endif.
    *ENDCASE.
    ENDMODULE.                 " STATUS_0140  OUTPUT

  • Getting error while creating table from one database to other.

    Hi,
    We are getting below error while creating the table from one database to other.
    SQL> create table fnd_lobs parallel compress as select * from [email protected];
    create table fnd_lobs parallel compress as select * from [email protected]
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    Regards,
    Bhatia

    hi
    what are the apps version local and remote database???
    Snapshot too old errors occur because Oracle can 't reconstruct a consistent
    image of a block for the purposes of a consistent read.
    I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
    increase roll back segments size and select again then
    the following metalink notes might be helpful
    ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
    How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
    OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1

  • Getting error while calling Web service in PB 12.5

    Hi All,
    I am trying to call web service through my PB 12.5 but getting error like "Window sdk for .net framework 4.0 was not installed. please install befor use this feature." though I had installed window sdk . net framework 4.0.
    one more thing do we required .wsdl file to call web service or only path is ok?
    please help me out here.
    Thanks,
    Pralhad

    Hi Pralhad,
    From the Application Techniques manual, Building a Web Services Client, it states the following:
    The WSDL file for you specify in the wizard or painter must have:
    Services/Binding entries
    The Targetnamespace
    attribute defined in its Schema element
    No circular references (an example of a “circular reference” is a structure
    that includes itself as a child class member)
    If PowerBuilder encounters a problem parsing the WSDL file, it reports the
    error in an error message box.
    Thank you.
    Beverly Duquette

  • Getting error while deleting rows from the database using the View Object

    Hi All,
    I am using jdev 11.1.1.4.0. I am removing the rows from the database using viewobject( quering the viewobject to find the records i want to delete).
    I am using vo.removeCurrentRow(0). Before this statement I am able to get the rows I want to delete.
    after that i am doing am.transaction.commit(). But I am getting the error..
    javax.faces.el.EvaluationException: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1117)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8134)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5863)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6369)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6551)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3275)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3078)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2088)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 53 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
    Please give suggestions...
    Thanks
    Kanika

    Hi,
    First Run Application module and confirm whether model project is OK,Cause for the Error is Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
    check:
    Issues with table/column name length
    identifier is too long
    I guess following error occurred because above issue
    JBO-26080: DMLException
    Cause: An unexpected exception occurred while executing the SQL to fetch data for an entity instance or lock it.
    Action: Fix the cause for the SQLException in the details of this exception.
    See:
    http://download.oracle.com/docs/cd/A97337_01/ias102_otn/buslog.102/bc4j/jboerrormessages.html#26080Hope you will helpful

  • Getting error while calling reports through form

    Hi I want to call a report from a form i put the following code on when-button-pressed but i am getting the following error.I can generate and run the reports.The object REPORTS is created under forms report object
    FRM-41211: Integration error: SSL Failure running another report
    DECLARE
    repid REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('REPORTS');
    set_report_object_property(repid,report_other,'p1=15 p2=19 paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    rgds
    shyam

    Hi
    I can able to run the reports from the browser there was a syntax error, but not able to call from a form
    I am getting error but i can run another forms without any problem
    FRM-92101: There Was a failure in the FormsServer during startup
    oracle.forms.net.connectionexception:forms session aborted:unable to communicate with the runtime process
    rgds
    rosh

Maybe you are looking for

  • OT - flat panel video monitors?

    Anyone know anything about the Sony-lmd1420 monitor? Are there any issues with going with a flat panel vs. a CRT video monitor? Thanks.

  • Security exceptions not configurable after release 31 (bug number 1042889 is not fixed)

    We are running Firefox 31 32 and 33 on different machines on windows/XP (updated until end of support). Our router has an expired certificate. On the machines updated to Firefox 32 or above the security popup screen does not show. Instead we just get

  • No error in PL/SQL, but error in Apex

    Hi All. I have configured the code from the How-to on uploading a spreadsheet to suit my own needs. It is the cut and paste method. In SQL developer I run: BEGIN conversion_upload.process_text('Argentina     Peso     0.3243000     3.0836 Australia   

  • IDoc - XI - Web Service configuration

    Hallo This is the problem we are facing : We get an IDoc as Inbound, do some mapping and then send it to a WebService. The problem is that when we do so, we get a series of errors. Apparently the problem is that when the web service receives our mess

  • Referencing RichEditableText in Flex based desktop project gives a warning

    My setup is Flash Builder "Burrito", Flex SDK 4.5.18623 When referencing RichEditableText in ActionScript code, Flash Builder displays the following warning: Is this bug logged at Adobe JIRA somewhere?