Sequence Error in AP Batch Payment Form

Hi all,
i've customized AP batch payment form via custom.pll enabling check_date in some cases. It works fine, but after updating the date i receive the following error message:
"APP-FND-01702:An assignment does not exist for these parameters and one is
mandatory"
Do you know how can i solve it?
Thanks,
Simona

all the metalink docs are suggesting its a setup problem:
1. In System Administrator Responsibility navigate to Application>Document>Categories
Using the Find torch ensure you have the Category defined that you require.
2. Create a Sequence
Navigate to Application>Document>Define
Name - whatever you wish to call it (must be unique)
Application - Oracle Payables
Effective From - Assign a date in the past - say 01-JAN-04 (your choice)
To - Blank
Type - Automatic (if you wish the sequence generator to assign a number)
Message - your choice - do you want a pop-up window to display the value when assigned?
Initial Value - your choice of starting value
SAVE
3. Assign the Sequence to the Category
Navigate to Application>Document>Assign
Document Tab
Application - Oracle Payables
Category - whatever you used in 1 above
Set of Books - your SOB value
Method - Manual
Assignment Tab
Start Date - when you want the sequence to start being assigned (cannot be before Effective From
Date from 2 above)
End Date - Blank
Sequence - Your sequence name from 2 above
SAVE

Similar Messages

  • Sequence Error in A/P Payment Function

    I have the trouble in the payment function of Oracle Payables.error msg # is "APP-FND-01702".
    I guessed the problem is document category error.
    Though I used any payment method,error msg is the same.
    I want your reply as soon as possible.
    My e-mail address is [email protected]
    Thanks,
    Couples
    null

    Hi,
    Can you please elaborate what is that you are trying to do and what stage you get this error message.
    This will help me in giving you a value added response and resolve your issue.
    Expecting to see your feedback.
    Thanks and Regards,
    Raj..

  • Error in Check payment forms (FBZ5)

    Hello all,
    After posting in F-53 (Vendor outgoing payment) successfully when I go to print payment forms (FBZ5) I am facing one error and it shows that
    Line item for outgoing payment cannot be determined; check
    Message no. F5474
    Diagnosis
    In the document no line item was found to have been posted to the G/L account specified in table T042I for posting outgoing payments. This means that you cannot determine how high the payment amount is and for which house bank the payment transfer medium is to be issued.
    System Response
    The payment transfer medium cannot be printed.
    Procedure
    Providing the document entered was correct, proceed as follows:
    1. Find out which account is missing, using the payment document.
    2. Have missing accounts added in table T042I.  The table can be maintained using the payments menu within customizing.
    What is the solution of this problem?
    Please help me for resolve this problem.
    Thanks ,

    Hi
    Please maintain cheque out going payment GL account for the below combinations in OBVCU
    Co.code,House Bank,Payment Method,crcy & Acct id.
    Regards,
    Mukthar

  • Function sequence error. in 64bit Windows 2008 Server.

    Hi All,
    Pardon me if the posting is not in the correct group.
    I am migrating my application from 32bit(Windows 2003 Server) to 64bit (Windows 2008 Server R2).
    I am getting the following while trying to execute a SQL command
    Encountered ODBC error -1: S1010, 0, [Microsoft][ODBC Driver Manager] Function sequence error .
    Basically internal function call is SQLExecute() function call. This works perfectly for Windows 2003 Server 32bit. I tried the command execute at the background from the command prompt and it is working.
    I checked the squence of call.We have two consecutive SQLBindParameter function call and then we call SQLExecute. Is this sequence incorrect in case of 64bit? I also checked the return code given by SQLExecute which is 99.
    Any help or suggestion would be very much appreciated.
    Thanks,
    -R

    Hi Teun,
    Yes i have build the addon & installer with x86. I am using Interop.SAPbouiCOM.dll ,  Interop.SAPbouiCOM.dll, System.dll , System.XML.dll.
    I have not specified the relative path in code as such but iam loading my forms Load batch action i don't know if it ok in this scenario or not.
    Building the Solution/Project is Successful without any warning.
    While debugging it on my server it gives the same error "Object Reference Not Set to an Instance of an Object".
    Debug Out put last errors are as follows:
    A first chance exception of type 'System.IndexOutOfRangeException' occurred in mscorlib.dll
    'TAMPA800.exe': Loaded 'C:\Windows\SysWOW64\sxs.dll'
    First-chance exception at 0x76afe124 in TAMPA800.exe: Microsoft C++ exception: EEMessageException at memory location 0x0036ecec..
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in TAMPA800.exe
    A first chance exception of type 'System.NullReferenceException' occurred in TAMPA800.exe
    The thread 'Win32 Thread' (0x460) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xdb8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xfdc) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xfb4) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xdc8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xe04) has exited with code 0 (0x0).
    The program '[3872] TAMPA800.exe: Managed' has exited with code 0 (0x0).
    The program '[3872] TAMPA800.exe: Native' has exited with code 0 (0x0).
    Regards
    John

  • Activate Payment FOrms

    Hi FI Gurus,
    Can you guide me how to check that the payment form "ZCHQ_HDFC_BANK" is active or not and also how can I activate it.
    It throws an error while F-58.
    Message no. BFITOOL061
    Regards,
    Devang

    Solved....checked in SE71 that the name was
    ZCHQ_BANK_HDFC

  • System error in program CL_RSR and form GET_CHANMID-02-

    System error in program CL_RSR and form GET_CHANMID-02- (see long text)
    Message no. BRAIN299
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
    I got this error in SCM IDES 7.0,  Planning Area Initialization and Display MPOS...Please help me...

    Hi,
    One of our planning sequence is failing in production with similar error. Could you please let us know what is the fix for the issue you faced.
    System error in program CL_RSR and form GET_CHANM-01
    Please advice as this is very critical.
    Thanks,
    Tintu

  • Function Sequence Error -- After upgrading to Crystal Reports 2008

    Since we intergrated Crystal 2008 in our application, We are having the ODBC DRIVER ERROR "S1010, Function Sequence Error"
    The following steps reproduces the error.
    I open any crystal report(using my application) and close it.
    And then I try to close another dialog in my application.
    The destructor of that dialog has the DELETE FROM TMPRPT WHERE  etc... But actually the TMPRPT table is empty.
    But This Scenario in general, does not produce any error. Only after I open and close Crystal report, and when the TMPRPT table doesn't have any records, executing the above DELETE sql throws CDBException, Funciton Sequence Error.
    Is it because of the upgrade/mismatch of dlls? Can any one help how to work around this?
    Thanks.

    Hi Don,
    I would like to thank you for your helpful advice. your tips for odbc tracing really works.
    Just to simplify things, I have created a simple mfc dialog based application that opens a connection using CDatabase in the initdialog and closes the connection in the destructor(because that is how we do in our main large application). On the dialog i put a "Print" button and when i click it, I open a crystalreportform and fill the connectioninfo structure and then call SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument). on the Form_closed function, I close database connections  and close the report document.
    When I come back to mfc application I execute a Delete from table where 1 =0, basically any delete/update that return empty recordset and it throws function sequence error.
    BOOL CCrystalDemoDlgDlg::OnInitDialog()
         CDialog::OnInitDialog();
         ConnectDatabase() ;
         return TRUE;  // return TRUE  unless you set the focus to a control
    BOOL CCrystalDemoDlgDlg::ConnectDatabase()
         if ( m_Database.IsOpen() )
              m_Database.Close();
         // Process database open request.
         CString szConnection("DSN=CRYSTALTEST32;UID=DBA;PWD=picture");
                     !m_Database.OpenEx( szConnection, CDatabase::noOdbcDialog ) )
         return TRUE;
    BOOL CCrystalDemoDlgDlg::bExecuteSQL( CString SqlString )
                    if(m_Database.IsOpen())
         m_Database.ExecuteSQL( (LPCTSTR)SqlString );
         return TRUE;
    void CCrystalDemoDlgDlg::OnBnClickedBtnPrint()
         TRY
              bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
              CrystalReportsForm ^ CRForm = gcnew CrystalReportsForm(gcnew System::String("ActvSumm1.rpt"));
              CRForm->ShowDialog();
              //CRForm->RunCrystalReports();
              delete CRForm;
              CRForm = nullptr;
              bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
         CATCH(CDBException, e)
              AfxMessageBox( e->m_strError );
              return ;
         END_CATCH     
    the following is the code in crystalreports library
    namespace CR2008Library
        public partial class CrystalReportsForm : Form
            private ReportDocument _reportDocument;
            private string _reportFile = "C:\\Nomadic\\Report\\";
            public CrystalReportsForm(string reportFile)
                InitializeComponent();
                     _reportDocument = CreateReportDocument(reportFile);
            private ReportDocument CreateReportDocument(string reportFile)
                ReportDocument newDocument = new ReportDocument();
                _reportFile += reportFile;
                newDocument.Load(_reportFile);
                return newDocument;
            public void ConfigureCrystalReports()
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.DatabaseName = "CRYSTALTEST";
                connectionInfo.UserID = "DBA";
                connectionInfo.Password = "picture";
                connectionInfo.ServerName = "CRYSTALTEST32";
                SetDBLogonForReport(connectionInfo, _reportDocument);
                crystalReportViewer.ReportSource = _reportDocument;
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);
            public void CrystalReportForm_Load(object sender, EventArgs e)
                ConfigureCrystalReports();
            private void CrystalReportsForm_FormClosed(object sender, FormClosedEventArgs e)
                DisposeCR();
            private void DisposeCR()
                // Clean up by closing and disposing of the ReportDocument object
                if (_reportDocument != null)
                    if (_reportDocument.Database.Tables.Count > 0)
                        Tables tables = _reportDocument.Database.Tables;
                        foreach (Table table in tables)
                            table.Dispose();
                    _reportDocument.Database.Dispose();
                    _reportDocument.Close();
                    _reportDocument.Dispose();
                _reportDocument = null;
    I have the log file which doesn't show any error in crystalreports library. I am giving some of the log file for your reference to see what's happening while exiting from crystal and executing the problem sql
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFetch
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLCloseCursor
              SQLHSTMT            00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLCloseCursor  with return code 0 (SQL_SUCCESS)
              SQLHSTMT            00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  3 <SQL_HANDLE_STMT>
              SQLHANDLE           00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  3 <SQL_HANDLE_STMT>
              SQLHANDLE           00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLDisconnect
              HDBC                00F427A0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLDisconnect  with return code 0 (SQL_SUCCESS)
              HDBC                00F427A0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  2 <SQL_HANDLE_DBC>
              SQLHANDLE           00F427A0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  2 <SQL_HANDLE_DBC>
              SQLHANDLE           00F427A0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  1 <SQL_HANDLE_ENV>
              SQLHANDLE           00F42718
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  1 <SQL_HANDLE_ENV>
              SQLHANDLE           00F42718
    CrystalDemoDlg  16c8-a34     ENTER SQLAllocStmt
              HDBC                00F419A0
              HSTMT *             0012E2C4
    CrystalDemoDlg  16c8-a34     EXIT  SQLAllocStmt  with return code 0 (SQL_SUCCESS)
              HDBC                00F419A0
              HSTMT *             0x0012E2C4 ( 0x00f41cc0)
    CrystalDemoDlg  16c8-a34     ENTER SQLSetStmtOption
              HSTMT               00F41CC0
              UWORD                        0 <SQL_QUERY_TIMEOUT>
              SQLPOINTER          0x0000000F
    CrystalDemoDlg  16c8-a34     EXIT  SQLSetStmtOption  with return code 0 (SQL_SUCCESS)
              HSTMT               00F41CC0
              UWORD                        0 <SQL_QUERY_TIMEOUT>
              SQLPOINTER          0x0000000F (BADMEM)
    CrystalDemoDlg  16c8-a34     ENTER SQLExecDirectW
              HSTMT               00F41CC0
              WCHAR *             0x03A30458 [      -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
              SDWORD                    -3
    CrystalDemoDlg  16c8-a34     EXIT  SQLExecDirectW  with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT               00F41CC0
              WCHAR *             0x03A30458 [      -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
              SDWORD                    -3
    CrystalDemoDlg  16c8-a34     ENTER SQLNumResultCols
              HSTMT               00F41CC0
              SWORD *             0x0012E2B8
    CrystalDemoDlg  16c8-a34     EXIT  SQLNumResultCols  with return code -1 (SQL_ERROR)
              HSTMT               00F41CC0
              SWORD *             0x0012E2B8
              DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0)
    CrystalDemoDlg  16c8-a34     ENTER SQLErrorW
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224
              WCHAR *             0x0012DE20
              SWORD                      511
              SWORD *             0x0012DE14
    CrystalDemoDlg  16c8-a34     EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224 (0)
              WCHAR *             0x0012DE20 [      56] "[Microsoft][ODBC Driver Manager] Function sequence error"
              SWORD                      511
              SWORD *             0x0012DE14 (56)
    CrystalDemoDlg  16c8-a34     ENTER SQLErrorW
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224
              WCHAR *             0x0012DE20
              SWORD                      511
              SWORD *             0x0012DE14
    I know that my post is too long, but i would like to give enough information for you to see what's happening. I use visual studio 2008 with crystal library 2008.
    Thanks,
    Lavanya.

  • System error in program CL_RSPLS_DELTA_BUFFER_B and form _CR_DERIVE-01- (se

    Dear All,
    when I execute a planning sequence,  i am getting the following error :" System error in program CL_RSPLS_DELTA_BUFFER_B and form CRDERIVE-01- (see long text)".
    We are on BI 700 sp18 level.
    We applied 1250076 already but no luck.
    please some one suggest some OSS notes.
    Regards,
    Veera

    Hi Veera,
    Check for the characteristic relatioship maintained at the infoprovider level,usually you get this error only when you are trying to post something which is not as per characteristic relatioship.For example:-
    If you have maintained Currency as an attribute of  buisness area and you are deriving it through the Characteristic relatioship then It has to be the same as  that of maintained in master data.
    The following entries are maintained in master data:-
    BA        0currency
    BA10    GBP
    Now if you are trying to post the entries with :
    BA10    INR
    It will through an error message.
    Regards,
    Indu

  • Error records in Batch Input

    how to get the list of error records from batch input method.

    u can record them using bdcmsgcoll and also in t100 table.
    *&      Form  prepare_bdc_tab
    Prepare BDC Table for updating Copack Purchase Prices
    FORM prepare_bdc_tab .
      REFRESH gv_bdc_tab.
    *MEK1 intial screen
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL' 'PB00'.
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 'RV130-SELKZ(03)'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)' ''.
      PERFORM bdc_field       USING 'RV130-SELKZ(03)' 'X'.
      PERFORM bdc_dynpro      USING 'SAPMV13A' '1018'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 'RV13A-DATBI(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field       USING 'KOMG-LIFNR' gs_data-lifnr.
      PERFORM bdc_field       USING 'KOMG-MATNR' gs_data-matnr.
      PERFORM bdc_field       USING 'KOMG-EKORG' gs_data-ekorg.
      PERFORM bdc_field       USING 'KOMG-ESOKZ(01)' '0'.
      PERFORM bdc_field       USING 'KONP-KBETR(01)'  gs_data-kbetr.
      PERFORM bdc_field       USING 'KONP-KONWA(01)' 'USD'.
      PERFORM bdc_field       USING 'KONP-KPEIN(01)'  gs_data-peinh.
      PERFORM bdc_field       USING 'RV13A-DATAB(01)' gs_data-datab.
      PERFORM bdc_field       USING 'RV13A-DATBI(01)' gs_data-datbi.
      PERFORM bdc_dynpro      USING 'SAPMV13A' '1018'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMG-ESOKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=SICH'.
    ENDFORM.                    " prepare_bdc_tab
           Start new screen                                              *
    FORM bdc_dynpro USING program dynpro.
      CLEAR:  gs_bdc_tab.
      gs_bdc_tab-program  = program.
      gs_bdc_tab-dynpro   = dynpro.
      gs_bdc_tab-dynbegin = gc_x.
      APPEND gs_bdc_tab TO gv_bdc_tab.
    ENDFORM.                    "bdc_dynpro
           Insert field
    FORM bdc_field USING fnam fval.
      CLEAR:  gs_bdc_tab.
      gs_bdc_tab-fnam = fnam.
      gs_bdc_tab-fval = fval.
      APPEND gs_bdc_tab TO gv_bdc_tab.
    ENDFORM.                    "bdc_field
    *&      Form  call_transaction_mek1
    Call Transaction for updating CoPack Price entries
    FORM call_transaction_mek1 .
    *Local  Data Declaration
      CONSTANTS:lc_e         TYPE c VALUE 'E',
                lc_mek1(4)   TYPE c VALUE 'MEK1',
                lc_mode(1)   TYPE c VALUE 'N',
                lc_update(1) TYPE c VALUE 'U'.
      REFRESH: gv_bdc_msg.
    *Call MEK1 Transaction
      CALL TRANSACTION     lc_mek1
                USING      gv_bdc_tab
                 MODE      lc_mode
               UPDATE      lc_update
        MESSAGES INTO      gv_bdc_msg.
      IF sy-subrc NE 0.
        IF gv_bdc_open_flag IS INITIAL.
          PERFORM bdc_open_group.
          gv_bdc_open_flag = gc_x.
        ENDIF.
        PERFORM bdc_insert_group.
        DELETE gv_bdc_msg WHERE msgtyp NE lc_e.
        REFRESH:gv_bdc_msg,
                gv_bdc_tab.
      ENDIF.
      CLEAR:gs_data.
    ENDFORM.                    " call_transaction_mek1
    *&      Form  bdc_open_group
    Subroutine for Open BDC Group
    FORM bdc_open_group .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client              = sy-mandt
          group               = p_esnm
          user                = sy-uname
        EXCEPTIONS
          client_invalid      = 1
          destination_invalid = 2
          group_invalid       = 3
          group_is_locked     = 4
          holddate_invalid    = 5
          internal_error      = 6
          queue_error         = 7
          running             = 8
          system_lock_error   = 9
          user_invalid        = 10
          OTHERS              = 11.
      IF sy-subrc <> 0.
        WRITE :/ text-040. "Error in BDC_OPEN_GROUP
        EXIT.
      ENDIF.
    ENDFORM.                    " bdc_open_group
    *&      Form  BDC_INSERT_GROUP
    Subroutine for calling BDC_INSERT for inserting BDC Table
    FORM bdc_insert_group .
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode            = 'MEK1'
        TABLES
          dynprotab        = gv_bdc_tab
        EXCEPTIONS
          internal_error   = 1
          not_open         = 2
          queue_error      = 3
          tcode_invalid    = 4
          printing_invalid = 5
          posting_invalid  = 6
          OTHERS           = 7.
      IF sy-subrc <> 0.
        WRITE :/ text-041. "Error in BDC_INSERT
        EXIT.
      ENDIF.
    ENDFORM.                    " BDC_INSERT_GROUP
    *&      Form  BDC_CLOSE_GROUP
    Subroutine for Closeing of BDC group
    FORM bdc_close_group .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          not_open    = 1
          queue_error = 2
          OTHERS      = 3.
      IF sy-subrc <> 0.
        WRITE :/ text-042.         "Error in BDC_CLOSE_GROUP.
        EXIT.
      ENDIF.
    ENDFORM.                    " BDC_CLOSE_GROUP
    if u can see gv_bdc_msg is holding the messages
    hope this helps
    dont go through the code as it is ...it is only part of it
    Message was edited by:
            Durgaprasad Kare

  • Formatted search on payment form

    Hi Experts!
    I would like to make a formatted search on payment forms-both outgoing and incoming- which copies the partnername or the accountname according to the doctype into the journal remarks field.
    I've created a query but it doesnt work. It runs error.
    SELECT case when $[ORCT.doctype]='A' then $[RCT4.Descrip] else
    $[ORCT.Cardname] end
    Please, can you help whats wrong with this?
    Thank you in advance!

    Try this
    SELECT CASE WHEN $[ORCT.DocType] = 'C' THEN $[$32.1]
    WHEN $[ORCT.DocType] = 'S' THEN $[$32.1]
    ELSE $[$71.2] END
    Good luck

  • Error in visualizing a Data Form "WDEFGenerator.cpp"

    Hi,
    I have migrated an HFM application from version 4.01 SP2 to version 11.1.2.1
    Everything works fine appart from an error in visualizing a Data Form:
    In the previous version of HFM this error was not verified.
    If I disable the option SuppressNoDataRows I get no errors but I would like to keep this option enabled.
    Does anyone know what could be the problem?
    The error I'm getting is:
    Error Reference Number: {3783BC27-A47D-463A-9F21-5E1C2B55A775};User Name: hypadmin@Native Directory
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:11 PM;Svr: BMI-2K8-HFMPA;File: WDEFGenerator.cpp;Line: 1407;Ver: 11.1.2.1.103.3505;
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:12 PM;Svr: BMI-2K8-HFMPA;File: WDEFGenerator.cpp;Line: 3284;Ver: 11.1.2.1.103.3505;
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:12 PM;Svr: BMI-2K8-HFMPA;File: WDEFGenerator.cpp;Line: 3166;Ver: 11.1.2.1.103.3505;
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:12 PM;Svr: BMI-2K8-HFMPA;File: CHsvWebFormGeneratorACM.cpp;Line: 3687;Ver: 11.1.2.1.103.3505;
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:12 PM;Svr: BMI-2K8-HFMPA;File: CHsvWebFormGeneratorACM.cpp;Line: 3389;Ver: 11.1.2.1.103.3505;
    Num: 0x80070057;Type: 0;DTime: 6/19/2012 4:41:11 PM;Svr: BMI-2K8-HFMPW;File: CHsvWebFormsACV.cpp;Line: 569;Ver: 11.1.2.1.103.3505;
    And the data form script is:
    ReportType=WebForm
    ReportLabel=1_1_12_1
    ReportDescription=Trade Receivables > 12 months
    BackgroundPOV=S#ACT.w#<Scenario View>.V#<Entity Currency>.A#[None].I#[ICP None].C1#[None].C2#[None].C3#[None].C4#[None]
    SelectablePOVList=Y{[Hierarchy]}.P{[Second Generation]}.E{GRBRA000.[Base]}
    C1=C1{FL_CURR.[Base]}
    R1=A#3_03_01.I#[ICP Entities],AddMember:I{CONS}
    R2=A#3_03_01.I{CONS}
    R3=A#3_03_02.I#[ICP Entities],AddMember:I{ASS}
    R4=A#3_03_02.I{ASS}
    R5=A#3_03_03.I#[ICP Entities],AddMember: I{PARENT}
    R6=A#3_03_03.I{PARENT}
    R7=A#3_03_04,NoSuppress
    R8=A#3_03_1.I#[ICP Top],CustomHeaderStyle:font: bold,NoSuppress
    FormRowHeight=20 px
    PrintNumRowsPerPage=10
    PrintNumDataColsPerPage=3
    SuppressNoDataRows=True
    ShowLabels=True
    SuppressColHeaderRepeats=False
    HeaderOptionAccount=ShowLabel,ShowDescription,Length:50
    HeaderOptionICP=ShowDescription
    HeaderOptionCustom1=ShowDescription
    HeaderOptionCustom2=ShowDescription
    Thanks
    Best Regards

    Hi
    Check they have the "Data Form Write Back from Excel" role in Shared Services.
    See p.133 of the security guide for more info -
    http://docs.oracle.com/cd/E17236_01/epm.1112/hss_admin_1112200.pdf
    Regards
    jpr

  • Display error message in batch job log

    Hello
    I have a batch job running and I have an error coming during some validation logic.
    The problem is I need to continue the batch job when this error message comes and it should not cancel the batch job as it is doing currently but display that error message in batch job log, there are more similar error messages coming in job log and job gets finished, but when my error message comes job gets cancelled.
    I cannot give it as info message as it will give wrong idea about message type.
    Is there any FM by which we can add message in job log?

    Sanjeev I have done that but problem is I do not want to give that as Information message but Error message only and continue processing.
    If you see in screenshot 3rd message is given by me as information and you can see error messages also 6th and 7th and job continued till it is finished
    Basically I want that 'I' to be displayed as 'E'.
    Display error message in batch job log 

  • Custom error message in a tabular form

    Hello,
    I try to implement a solution for a custom error message in a tabular form.
    My intention is, that a error message about a foreign key constraint violation should told the end user what happens in a friendly way.
    So I try to implement my own delete-process, where I can catch the exception and display my own error message.
    In the process I use the following code to delete the selected row:
    begin
    for i in 1..apex_application.g_f01.count loop
    delete from d_cmp_campaign
    where campaign_id = apex_application.g_f02(i);
    end loop;
    end;
    And this is the select of the tabular form:
    select
    "CAMPAIGN_ID",
    "CAMPAIGN_ID" CAMPAIGN_ID_DISPLAY,
    "NAME",
    "CAMPAIGN_NO",
    "DWH_DEF_TIME",
    "DWH_DEF_USER"
    from "#OWNER#"."D_CMP_CAMPAIGN"
    The problem is, that the first row is deleted always, whatever row is selected.
    Can anyone help me with that issue?
    Thank you,
    Tim

    Every checkbox has a value which is the corresponding row. You got to get the row number
    first and based on that you select the record. For example, if you click the rows 1 and 5,
    you first need to know which rows are selected. Then, you would loop twice and get the
    first and the fifth array values.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Error in( F110) Automatic payment Program

    Hi,
    while posting the payment through (F110) Automatic payment program , i have got the Error that
    " Error in creating the payment document; read job log"
    please help me out
    Thank you

    Hi,
    could you please check carefully the exception list and the  payment/proposal log in F110, in which you can find the reason why it included in the "exception list".                                         
    Did you activate the Additional Log? what does the log say?                                                                               
    You should analyze the proposal log in detail in this case. Also  could you please ensure that this vendor is not blocked for payment and  you have not entered the Payment block in the affected documents.         
    regards Bernhard

  • Function sequence error

    Hi Chris, we where using this Java code with TimesTen 5.1.34:
    while (rs.next()) {
    associatedMsbs.add(Integer.toString(rs.getInt(HGROUPID)));
    // Prepare object to insert in database
    SvcLog_VO svcLog = new SvcLog_VO();
    svcLog.setLogId(svcLogDAO.getlogIdNextVal(conn));
    svcLog.setService( CommonConstants.MobileSwitchboardSvcId );
    svcLog.setOperType( CommonConstants.OPER_TYPE_UPDREL );
    svcLog.setEntityType( CommonConstants.ENTITY_TYPE_MOBILESWITCHBOARD);
    svcLog.setEntityId( rs.getInt(HGROUPID) );
    svcLog.setRelEntityId( woUserId );
    // Insert object in database
    svcLogDAO.insertData(svcLog, conn);
    This code no longer works in TimesTen 7.0.3. We receive the following error:
    [TimesTen 7.0.3.0.0 ODBC Driver]Function sequence error.
    We had to change the code this way:
    while (rs.next()) {
    // Prepare object to insert in database
    SvcLog_VO svcLog = new SvcLog_VO();
    svcLog.setLogId(svcLogDAO.getlogIdNextVal(conn));
    svcLog.setService( CommonConstants.MobileSwitchboardSvcId );
    svcLog.setOperType( CommonConstants.OPER_TYPE_UPDREL );
    svcLog.setEntityType( CommonConstants.ENTITY_TYPE_MOBILESWITCHBOARD);
    svcLog.setEntityId( rs.getInt(HGROUPID) );
    svcLog.setRelEntityId( woUserId );
    // Store object in ArrayList
    svcLogs.add(svcLog);
    // Insert the objects in the ArrayList in database
    for (int i = 0; i < svcLogs.size(); i++) {
    SvcLog_VO svcLog = (SvcLog_VO)svcLogs.get(i);
    svcLogDAO.insertData(svcLog, conn);
    Once we split the code in two, first iterating the ResultSet and then inserting the objects, it works properly again. Is there any known issue in TimesTen about this?
    Thanks in advance,

    Hi, Chris:
    The code where this occurs is the following:
    public void insertParameters(String xxx1, String xxx2, String xxx3,
    int xxx4, Connection conn) throws TTException, SQLException {
    PreparedStatement ps = null;
    String query = null;
    try {
    query = queryInsert;
    ps = conn.prepareStatement(query);
    ps.setInt(1, xxx1);
    ps.setString(2, xxx2);
    ps.setString(3, xxx3);
    ps.setString(4, xxx4);
    // If debug is activated, the query is printed
    if (log.isDebugEnabled()) {
    ReadableQuery rq = new ReadableQuery();
    rq.addParam(new Integer(xxx1));
    rq.addParam(new String(xxx2));
    rq.addParam(new String(xxx3));
    rq.addParam(new String(xxx4));
    log.debug(" Query to execute .. [" + rq.get(query) + "]");
    ps.executeUpdate();
    // Exception handling
    catch (Exception ex) {
    log.error(ex);
    throw new TTException(ex);
    } // Resources are closed
    finally {
    try {
    if (ps != null) {
    ps.close();
    } catch (SQLException e) {
    log.error("Error closing JDBC resources");
    throw e;
    This method accesses to DDBB and inserts data in a table with the following structure
    Command> desc wo.bs_tb_bsvc_param_values;
    Table XXXXXXX:
    Columns:
    *aaa                          TT_INTEGER NOT NULL
    *bbb                       TT_CHAR (35) NOT NULL
    ccc TT_CHAR (10) NOT NULL
    ddd TT_CHAR (256) NOT NULL
    1 table found.
    (primary key columns are indicated with *)
    Command>
    Thanks.

Maybe you are looking for

  • How to set time capsule as a device in finder

    Im trying to download some video and photos from my time cpsule. the problem is that I dont see it as a device in finder. I mnaged somehow to see it once and then i upload some photos but now I can not view them. I can do backup without any problem.

  • What can I do about a frozen calendar screen on a iTouch4?

    The calendar app on my itouch 4 has frozen while to enter a new event. Pressing Done or Cancel does nothing. How can I get rid of this message or reset only the Calendar?

  • IfsSession.disconnect( ) is throwin an exception. why

    ifsSession.disconnect() is throwin the following exception.. what's the reason for this?? Exception in thread "main" org.omg.CORBA.BAD_OPERATION: The delegate has not been set! minor code: 0 completed: No at org.omg.CORBA.portable.ObjectImpl._get_del

  • IPod, iTunes, & Outlook Calendar

    I recently updated to iTunes v5.0 and was excited to find that I could sync my Outlook Calendar and Contacts. I enabled the setting to automatically update my calendar and contacts. When I update, the transfer of my contacts is fine. However, when iT

  • For Electronic Bank Statement:BAI Format

    Hi, Where can I get BAI Format( For electronic Bank Statement maping text file into BAI Format) Regards Venki