Error while saving masterdetail form

Hello all!
I am getting the following error while trying to use nextval of a sequence in the ID column in the master detail form.Please help me out.
Exception from wwv_generate_component.build_procedure (WWV-01821)
Error creating module: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16042)
Error creating module: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16042)
Error adding module attributes: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16043)
Thanks in advance.

Hi Madhu
You can't write the insert for sequence.nextval in default of id field....Please go to insert code and write the following pl/sql code it will work..
declare
get_id number;
begin
--- get the primary key value from sequence
select (schema name).(table name).SEQ_ID.NEXTVAL
into get_id
from dual;
--- set the primary key
p_session.set_value(
p_block_name => p_block_name,
p_attribute_name => 'A_ID',
p_value => get_id,
p_index => p_instance);
doInsert;
end;
If it doesn't work please post the error code so that i can help you out...
Vishnu

Similar Messages

  • FRM-92010 Error while saving a form in HRMS

    Hi,
    I created a new 12.1.1 instance and impletented HRMS as per doc id#145837.1.
    Applied patch 8934107, Ran DataInstall and hrglobal.drv.
    Now while saving the forms we are getting the following error: (in application.log)
    10/05/13 18:12:03.269 formsweb: Forms session <1> aborted: unable to communicate with runtime process.
    10/05/13 18:12:03.270 formsweb: Forms session <1> exception stack trace:
    java.io.IOException: FRM-93000: Unexpected internal error.
    Details : No HTTP headers received from runform
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    I have also applied patch 8682249 as per doc 867501.1 (since error was the same) but still no luck.
    Please help.
    Regards,
    Neeraj
    Edited by: user556153 on May 13, 2010 6:19 AM

    Hi;
    Did you checked
    Queries Error With FRM-92101 In Many NLS Forms [ID 443922.1] << seems similar error like yours
    Forms FRM-92050, FRM-92100, FRM-92101, FRM-92102 Reference Guide [ID 444690.1]
    If its not help please enable trace
    How To Perform System Tracing For All Forms Runtime Processes? [ID 400144.1]
    Regard
    Helios

  • Error while saving data form in planning

    Hi,
    We are getting the below error while saving the data form in planning
    "There was an error during the save process"
    i believe our form is not exceeds 255 columns we were able to access the same form till yesterday
    can any one please help me on this

    One reason could be that the blocks that you are trying to save are locked either through excel-addin or someone else might be updating the same combinations. I have encountered such issues earlier and got the same error. Check if there are any locks in essbase while you are saving the planning data.

  • Error while saving custom form in SP 2010

    Hi,
       Iam Getting the below error, while trying to save a SharePoint list item using custom visual webpart. But the data is getting saved only error pop ups. Please help me
    to solve this problem

    As per the error, you may be using an SPWeb object which has been disposed already.
    I am not sure how you are calling SPWeb object, i can only guess that you are using an Using statement within your code and could be disposing SPContext object, if so, try refactoring your code.
    if would be better if you can put your code in this forum to suggest.
    Anyways, you can refer here some of these links to get an idea.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/383931c6-3724-40ff-8ae8-7f26d6db1c92/trying-to-use-an-spweb-object-that-has-been-closed-or-disposed-and-is-no-longer-valid?forum=sharepointadminprevious
    http://sharepoint.stackexchange.com/questions/32154/trying-to-use-an-spweb-object-that-has-been-closed-or-disposed-and-is-no-longer
    http://sharepoint.stackexchange.com/questions/74843/error-trying-to-use-an-spweb-object-that-has-been-closed-or-disposed
    http://msdn.microsoft.com/en-us/library/aa973248(v=office.12).aspx
    see this blog and links refered -
    http://blogs.technet.com/b/stefan_gossner/archive/2008/12/05/disposing-spweb-and-spsite-objects.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Error while saving Employee Billrates through OAF page

    Dear All,
    I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
    Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
    The Constraint definition on the table is :
    create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
    ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violated

    Dear All,
    I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
    Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
    The Constraint definition on the table is :
    create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
    ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violated

  • Error while saving ARE1 if print option is selected

    dear all ,
    i am getting below error while saving the ARE 1 document  if i select the print ARE 1 document
    if i am not selecting the document is getting posted but not able to take print out as its going for dump error
    Specify either address number or address handle(AM053)
    Kindly do needful
    THanks

    Hi ,
    thanks i have checked with my abaper . but the major problem is when tick the check box while creating the ARE 1 above issue is coming so that may be the reason why the dump is coming in the form and now when i checked for ARE 3 the same issue is coming again.
    i checked the configuration with other client related to CIN but everything is same  but the issue is only with this client.
    Regards

  • Getting special character while saving adobe form from portal

    Hi All,
    I am getting Special character while saving adobe form. I am using webdynpro java application, in which I am using download file UI element.We are facing this issue after support packs were implemented in staging system.
    Kindly advise.
    Regards
    Shashwat

    Hi,
    We have ABAP system as backend system seperately and Single sign on is configured.
    when we access the portal with domain name line http://hostname.domain/52000/irj/portal, we are able to access the adobe form which is develope on abap system without any issue.
    but our issue started when we are trying to access portal only with hostname as http://hostname:52000/irj/portal
    we are able to login to portal but when we are trying to open the adobe form we are getting error
    No switch to HTTPS occurred, so it is not secure to send a password
    Since you have configured SSL, I assume that this configuration is done with fully qualified hotsname. Hence the certificate is generated based on this hostname.
    Now when you access your portal without typing fully qualified hostname, system is unable to locate a relevant certificate. Hence it lands up with a message "No switch to HTTPS occurred, so it is not secure to send a password"
    Hope this answers your query
    Regards,
    Deepak Kori

  • Automatic Picking giving error while saving the Delivery

    Hi
    We have done the configuration for doing automatic picking while saving the delivery.
    Steps done are
    1. TCode V/38
    2. TCode OVLT  where we have changed the Time value form 3 to 4 for  Send Immediate
    3. TCode VP01SHP where all shipping points are maintained.
    we are getting the following error while saving the delivery.

    Execute ST22 and go through the explanation given under the tab "Error analysis" and "How to correct the error".  Ask your ABAP team to look into this if you are not able to find out the root cause of the issue.
    G. Lakshmipathi

  • Error While saving a iBot

    Hi All ,
    I am getting the below error while saving a iBot.
    Oracle BI Scheduler Error: [nQSError: 16001] ODBC error state: S1C00 code: 106 message: [Microsoft][ODBC Excel Driver]Optional feature not implemented . at stage of execute transaction command with data source: Procurement_Demo
    I am using xls as a datasource to create Repository. I have created scheduler tables for iBot in the same datasource.
    Can i not use XLS as a datasource for iBot?
    If i can use , what is the solution of this problem.
    Thanks in advance.
    -- Ashish

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error while Saving the report

    Hi,
    i have created some reports which are working fine,
    but now i am facing some errors while saving the files.
    Also the reports does show only one record while there are many records in the database.
    The error messages are as follows:
    REP-1051; Unable to save document to file ' F:\Database\Reports\report1.rdf '.
    REP-1070: Error while opening or saving a document.
    Please help me to find out the exact problem.
    Also tell me how can i show all the pages of Database records in a report( while one record on each page)

    As for the error while saving, you have only one possible thing to try. It it doesn't work, you're sunk.
    Assuming the report was not being newly created, i.e. that it was opened from a file on your system, then rename that file to something else (Report_001_OLD.rdf, for example). Then try to save it - Reports will think it is a new file to be saved rather than an existing file to be updated.
    Again, if that doesn't work, and if you do not have the auto-save option turned on, then you're sunk. You will have just lost all of the work you've put into that report.
    As you'll discover, Reports is not the most robust application ever written.

  • Error while saving the Sales Order

    Hi experts,
        i am getting a runtime error while saving a sales order stating: SAPSQL_EMPTY_TABNAME. It says the field T681-KOTAB could be empty. I would give in more inputs. Someone plz help.
    Thanks.

    I would expect that KOTN521 would be a Database table defined in the ABAP Dictionary that relates to the condition implemented in 521 for the usage specified in that record.
    You should be able to go into the info system, SE84, and search under ABAP Dictionary / Database Tables to see what KOTN521 is.
    Also, since the only Keys to T681 are KVEWE and KOTABNR, and there are two KOTABNR entries with a value of 521, then there must be two different usages (KVEWE) associated with that table.
    If you see what they are, you can check to see what the usages represent.   Based on a lookup, it appears that a usage of N is for Free Goods, A is for Pricing etc.   In our system, we only have A entries.
    What are the usages for the 521 entries?  Do they relate to Free Goods/Pricing???
    Does the table KOTN521 exist in the ABAP Dictionary?
    Answering these questions may get you closer to the answer.
    Can you compare the values in these entries to what you have in different SIDs?
    Is this problem happening in Production, or is it still in a development or Quality Assurance client?
    If it is still in development or Q, then it may be that a recent customization change was made.
    Compare the entries across your systems, if possible.
    Good luck
    Brian

  • Error while saving FYV : Gaps in financial year variant periods

    Hello Experts,
    We are getting an error while saving  a new FYV as:
    Gaps in financial year variant periods XY
    Message no. FGV556
    Diagnosis
    The period specification has gaps. The periods must be sequentially numbered without any gaps.
    System Response
    Only a correctly defined period assignment can be saved.
    Procedure
    Define the periods with consecutive numbers.
    Details: The new FYV has 52/53 weeks as posting periods depending on calendar year.
    For example, we are trying to define Fisc 2009 as follows. (Fiscal year 2009 = Nov 01 2008 to Oct 31 2009).
    Month-Day-Period-Yearshift
    11     ---     7     ---     1     ---     +1
    11     ---     14     ---     2     ---     +1
    11     ---     21     ---     3     ---     +1
    11     ---     28     ---     4     ---     +1
    12     ---     5     ---     5     ---     +1
    12     ---     12     ---     6     ---     +1
    12     ---     19     ---     7     ---     +1
    12     ---     26     ---     8     ---     +1
    12     ---     31     ---     9     ---     +1
    1     ---     3     ---     9     ---     0
    1     ---     10     ---     10     ---     0
    1     ---     17     ---     11     ---     0
    1     ---     24     ---     12     ---     0
    1     ---     31     ---     13     ---     0
    2     ---     7     ---     14     ---     0
    2     ---     14     ---     15     ---     0
    2     ---     21     ---     16     ---     0
    2     ---     28     ---     17     ---     0
    3     ---     7     ---     18     ---     0
    3     ---     14     ---     19     ---     0
    3     ---     21     ---     20     ---     0
    3     ---     28     ---     21     ---     0
    4     ---     4     ---     22     ---     0
    4     ---     11     ---     23     ---     0
    4     ---     18     ---     24     ---     0
    4     ---     25     ---     25     ---     0
    4     ---     2     ---     26     ---     0
    5     ---     9     ---     27     ---     0
    5     ---     16     ---     28     ---     0
    5     ---     23     ---     29     ---     0
    5     ---     30     ---     30     ---     0
    6     ---     6     ---     31     ---     0
    6     ---     13     ---     32     ---     0
    6     ---     20     ---     33     ---     0
    6     ---     27     ---     34     ---     0
    7     ---     4     ---     35     ---     0
    7     ---     11     ---     36     ---     0
    7     ---     18     ---     37     ---     0
    7     ---     25     ---     38     ---     0
    8     ---     1     ---     39     ---     0
    8     ---     8     ---     40     ---     0
    8     ---     15     ---     41     ---     0
    8     ---     22     ---     42     ---     0
    8     ---     29     ---     43     ---     0
    9     ---     5     ---     44     ---     0
    9     ---     12     ---     45     ---     0
    9     ---     19     ---     46     ---     0
    9     ---     26     ---     47     ---     0
    10     ---     3     ---     48     ---     0
    10     ---     10     ---     49     ---     0
    10     ---     17     ---     50     ---     0
    10     ---     24     ---     51     ---     0
    10     ---     31     ---     52     ---     0
    The above entries cover all the dates in calendar year 2009, that is, Jan 2009 to Oct 2009  is covered by periods 10 to 52 and Nov 01 2009 to Dec 31 2009 is covered by period 1 to 9 of the following fiscal year 2010.
    Inspite of making sure that all the days of 2009 are covered by periods 1 to 52. We are still unable to save the FYV.
    Please help!
    Susan

    Hello, I am getting this error while saving the FSV. My FSV is based on Weeks. Below is what I am inputting for this. Other details are Calender Year -  2017, No. of posting periods - 53, checked year dependent. Also, I have FSV for previous years also where weeks are 52 but configured as 53. So, hope that this is not creating this issue. Solicit your early response.
    Month
    Day
    Period
    Year Shift
    1
    7
    1
    0
    1
    14
    2
    0
    1
    21
    3
    0
    1
    28
    4
    0
    2
    4
    5
    0
    2
    11
    6
    0
    2
    18
    7
    0
    2
    25
    8
    0
    3
    4
    9
    0
    3
    11
    10
    0
    3
    18
    11
    0
    3
    25
    12
    0
    4
    1
    13
    0
    4
    8
    14
    0
    4
    15
    15
    0
    4
    22
    16
    0
    4
    29
    17
    0
    5
    6
    18
    0
    5
    13
    19
    0
    5
    20
    20
    0
    5
    27
    21
    0
    6
    3
    22
    0
    6
    10
    23
    0
    6
    17
    24
    0
    6
    24
    25
    0
    7
    1
    26
    0
    7
    8
    27
    0
    7
    15
    28
    0
    7
    22
    29
    0
    7
    29
    30
    0
    8
    5
    31
    0
    8
    12
    32
    0
    8
    19
    33
    0
    8
    26
    34
    0
    9
    2
    35
    0
    9
    9
    36
    0
    9
    16
    37
    0
    9
    23
    38
    0
    9
    30
    39
    0
    10
    7
    40
    0
    10
    14
    41
    0
    10
    21
    42
    0
    10
    28
    43
    0
    11
    4
    44
    0
    11
    11
    45
    0
    11
    18
    46
    0
    11
    25
    47
    0
    12
    2
    48
    0
    12
    9
    49
    0
    12
    16
    50
    0
    12
    23
    51
    0
    12
    30
    52
    0
    12
    31
    1
    +1
    Thanks
    Deepankar

  • Error while saving project in cProjects

    Hello,
    I am getting following error while saving a project in cProjects-
    Access via 'NULL' object reference not possible.
    Details of the error are given below-
    Can somebody please help me resolve this error?
    Thanks and regards,
    Milind Dumbre
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
          caught in    procedure "FINALIZE_OBJECT_BEFORE_SAVE" "(METHOD)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: "LR_CALC").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.

    Hi Milind,
    You may check the settings by navigating to the following path
    IMG --> Collaboration Projects --> Connection to external systems --> Accounting Integration
    -->  Define Object Links for Accounting Integration.
    Check if the RFC destination has been correctly maintained. You may check the correctness of the RFC settings via SM59.
    Let me know if  this helps.
    Regards,
    Vivek Pandey

  • Error While Saving Mapping For A Dimension

    I am getting The Error While Saving The mapping For a Dimension
    Any Clue?
    An error occurred creating DimensionMapGroup BROKERS.MAPGROUP1.DIMENSIONMAPGROUP : ***Error Occured in
    DELETE_MAPPING_GROUP: Analytic workspace object __XML_STARTUP_CALCMMBRS does
    not exist.
    Thanks
    Raghu

    Check the OSS note 550760 regarding the issue.

  • RunTime Error while saving a Sales Order

    Hi All,
    When i am saving a Sales Order, the system is throwing a Runtime Error.
    The ABAP Code in the Runtime Error screen as follows.
              select * from (t681-kotab) appending table <cond_tab>
                     up to 1 rows
                     where kappl  = se_kappl
                     and   kschl  = se_kschl
                     and   datbi >= se_date
                     and   datab <= se_date
                     and   (coding_tab).
    Till these days, there was no such error while saving a Sales Order.
    How to resolve this issue?
    Regards
    Pavan

    Hi,
    The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
    select * from (t681-kotab) appending table <cond_tab>
    up to 1 rows
    where kappl = se_kappl
    and kschl = se_kschl
    and datbi >= se_date
    and datab <= se_date
    and (coding_tab).
    The reason could be is someone has screwed up the entries in T681 table. Check that out.
    Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
    Let me know if you are still stuck up.
    If you can send me the ST22 dump of the run time error, i might be able to help you more  on this.
    Hope this helps.
    Thanks,
    Balaji

Maybe you are looking for