Runtime error in function..

I have the following function which gets compiled but gives user defined exception at run-time. What is wrong in the figure.
create or replace function fn_voucher_sharing_check(ln_seqno number, ln_compcode number) return boolean as
Module                  : fn_voucher_sharing_check
In Parameters          : ln_seqno - Voucher sequenceno, ln_compcode - Company Code.
Out Parameters          : None
Return Type          : Boolean
Function            : This function is used to check whether the voucher sharing entries are done correcting before authorising the voucher.
Created By          : Kaustubh N. Patil
Created Date          : 21-mar-2008
Last Updated By          :
Last Updated Date     :
Change Made          :
     --Cursor to get the all the adjusment entries having Expense GL. The same in used for cross-checking if all
     --the expense entris are shared.
     cursor vch_exp_chk is
     select c.nglcode glcode, c.nsldocsequenceno slseqno, c.nrefchequeorbillid chqbillid, c.nsubledgeramount slamt
     from tbl_voucherheader a, tbl_vouchersldocdetails b, tbl_adjustments c, tbl_subledger d, tbl_glmaster e
     where a.nsequenceno = ln_seqno
     and a.nsequenceno = b.nsequenceno
     and b.nsldocsequenceno = c.nsldocsequenceno
     and b.ssubledgertype = d.ssubledgertype
     and b.nsubledgercode = d.nsubledgercode
     and b.nsubledgerno = d.nsubledgerno
     and c.nglcode = e.nglcode
     and c.nglcode in (select distinct f.nglcode
     from tbl_groupmaster f
     where f.ncompanycode = ln_compcode
     and f.cparent = 'E'
     and f.nglcode is not null)
     and a.nauthorizedby is null;
     ln_adjustedamt number; -- To get the sum of amount from adjustment details table.
     ln_stmt varchar2(50);  -- To Display message in case of exception.
begin
     ln_stmt := 'Fetching from cursor';
     for i in vch_exp_chk
     loop
             ln_stmt := 'Getting value from Adjustments for GL : '||i.glcode||' and SLdocseqno : '||i.slseqno;
          --Get the sum of amount adjusted in sharing table.
          select sum(NAMOUNT) into ln_adjustedamt from tbl_adjustmentdetails
          where NSLDOCSEQUENCENO = i.slseqno
          and NGLCODE = i.glcode
          and NCHEQUEORBILLID = i.chqbillid
          group by NSLDOCSEQUENCENO, NGLCODE, NCHEQUEORBILLID;
          --Check if the total shared amount is matching with the Adjustment entries.
          if ln_adjustedamt <> i.slamt then
             --Return FALSE to calling process indicating that the voucher sharing entries are not done properly.
             return(FALSE);
          end if;
     end loop;
     --Return TRUE to calling process indicating that the voucher sharing entries are done properly.
     return(TRUE);
exception
     when others then
          --Display message and abort the process in case of exception.
          raise_application_error(-20001,'Msg : '||ln_stmt);
end;I am running the function using following block:
declare
ln_ret boolean;
begin
ln_ret := fn_voucher_sharing_check(106433, 1);
if ln_ret = TRUE then
dbms_output.put_line('TRUE');
else
dbms_output.put_line('FALSE');
end if;
end;The error is
ERROR at line 1:
ORA-20001: Msg : Fetching from cursor
ORA-06512: at "PRODNFA.FN_VOUCHER_SHARING_CHECK", line 69
ORA-06512: at line 4
Thanks in advance.
Regards
Kaustubh.

to be able to help you better, we need the actual oracle error message - if you remove the exception block entirely it will raise with the correct line number and proper error message.
or at least you need to modify it so it actually outputs the oracle SQLERRM.
raise_application_error(-20001,'Msg : '||ln_stmt,true);

Similar Messages

  • Runtime error in functional module

    they given below program is a function module calling program.while am execute this program they could display the message like as
    What happened?
        Error in ABAP application program.
        The current ABAP program "YSUSFUN1" had to be terminated because one of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
        In program "SAPLYGROUP3 ", the following syntax error occurred
        in the Include "LYGROUP3U01 " in line 1:
        "The main program of the function "Y_INTERNAL1" does not begin with "FU"
        "NCTION-POOL"."
        Author and last person to change the Include are:
        Author "BASIS "
        Last changed by "BASIS "
    Error analysis
        In program "SAPLYGROUP3 ", the following syntax error occurred:
        "The main program of the function "Y_INTERNAL1" does not begin with "FU"
        "NCTION-POOL"."
    REPORT  YSUSFUN1.
    TABLES YSUSTAB1.
    DATA IT1 LIKE YSUSTAB1 OCCURS 2 .
    SELECT * FROM YSUSTAB1 INTO TABLE IT1.
    LOOP AT IT1 INTO YSUSTAB1.
    WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO,YSUSTAB1-PHONENO.
    ENDLOOP.
    CALL FUNCTION 'Y_INTERNAL1'
      TABLES
        IT4           =  IT1  .
        LOOP AT IT1 INTO YSUSTAB1.
        WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO, YSUSTAB1-PHONENO.
        ENDLOOP.
    2.)
    the given below program is function module definition. while at that time of execution they could display the message as
    *Syntax error in program*
    *Source code   LYGROUP3U01                                    Line     1*
      *The main program of the function "Y_INTERNAL1" does not begin with*
      *"FUNCTION-POOL".*
    FUNCTION Y_INTERNAL1.
    ""Local Interface:
    *"  TABLES
    *"      IT4 STRUCTURE  YSUSTAB1
    LOOP AT IT4.
    WRITE : IT4-name, it4-phoneno, it4-rollno.
    endloop.
    ENDFUNCTION.

    thanks
    before am gone to se80 to activate the function group , am  activate the function module only  not activate the function group .
    now am activate the function group they could not be depict the error .

  • Runtime error in reuse_alv_list_display

    hi all,
    i am trying to display output by using FM reuse_alv_list_display but i am getting runtime error
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
       I_CALLBACK_PROGRAM             = sy-repid
         it_fieldcat                    = lt_fieldcat
        TABLES
          t_outtab                       = it_final
    EXCEPTIONS
       PROGRAM_ERROR                  = 1
       OTHERS                         = 2
      IF sy-subrc <> 0.
      ENDIF.
    can u please tell me where are the errors and y error is coming and how to remove it??

    error in RUNTIME is
      You attempted to access an unassigned field symbol
      (data segment 92).
      This error may occur if
      - You address a typed field symbol before it has been set with
        ASSIGN
      - You address a field symbol that pointed to the line of an
        internal table that was deleted
      - You address a field symbol that was previously reset using
        UNASSIGN or that pointed to a local field that no
        longer exists
      - You address a global function interface, although the
        respective function module is not active - that is, is
        not in the list of active calls. The list of active calls
        can be taken from this short dump.

  • Runtime Error in execution of 'SO_OBJECT_SEND' function module

    Hi friends,
    We are going for upgradation from 4.6c to ECC6.0. There is one program which is used to send external mails thru 'SO_OBJECT_SEND', but the function module is giving runtime error(line no:515) in ECC6.
    what could be the reason?
    rewarded,
    Steve

    Hi,
    Plz check if any latest release notes of SAP for the function module 'SO_OBJECT_SEND' are available. If so you may apply those.
    If you have valid SAP service username and password you can get the notes from service.sap.com. Else your BASIS people can help you.
    Which is the highest patch level you have applied?
    Regards,
    Renjith Michael.

  • HT203175 I have no problem signing on to iTunes my issue is once on the site I can not use the "search". It says there is a runtime error R6025 pure virtual function call. Has anyone had this problem and how do I fix it. Thanks

    I do not have a problem getting in the iTunes stores. My issue is once on the site I can not use the "search". It says there is a pure virtual function call R6025. How can I solve this problem? Do I have to create a new account? Do I have to uninstall and re-install? Thanks

    Thanks so much for your feedback. I really appreciate any input here.
    If someone from Adobe could GUARANTEE that this problem would go away if I
    purchased CS4, I would pony up the cash and do it. However, I'm skeptical
    about that because I just saw someone else post a message on the forum today
    who is running CS4 and getting the exact same runtime error as me.
    I'll try un-installing and re-installing as Admin, and if that doesn't work,
    maybe I can find a used copy of CS3.
    In the meantime, I'm also wondering if a Photoshop file can carry any sort
    of corrupt metadata inside it once it has errored out? Reason I ask is, I
    had to port all of my old PSD files to the new computer, and I only seem to
    be getting this error when I attempt to work on one of the files that
    previously got the runtime error when they were sitting on my XP machine.
    When I create new files from scratch on this new computer, they seem to be
    working just fine (at least, for now).
    If so, I would probably be smart to never open those troublesome
    "errored-out" files again.

  • Runtime error while opening stucture tab in Functional Location..

    Dear All,
    Whenever I'm trying to open the structure tab of functional location I'm getting the runtime error and the message is as follws..
    Run time error  TIME_OUT
    Time Limit Exceeded
    The program " SAPLIE01" has exceeded the maximum permitted runtime without interruption and has therefore been terminated
    Error Analysis
    After specific time,the program is terminated to make the work area available to other users who may be waiting
    I did not understand the reason for it....
    Any can throw light on this...
    Thanks in Advance
    Johnson

    Dear
    This problem is occuring due to your transactions has so many datas in output. So that system is providing the error. In each sap log in you can control the maximum idle hours at Option header menu at Main menu.
    Else you get the Abaper+Basis for the help. There is no error in functional side for sort out.

  • URGENT: Bug in Adobe Acrobat X /// Acrobat.exe Runtime Error! R6025 - pure virtual function call

    Hello
    I work usually with large PDF documents, and I was trying to convert a PDF document of 1000 pages ONE THOUSAND PAGES, to little PDF documents of 10 MB each one.
    When I tried to convert the PDF file into little ones, craaashhhhhhhhhhhhhhhhhh
    I got this message:
    Acrobat.exe Runtime Error! R6025 - pure virtual function call - Microsoft Visual C++ Runtime Library
    This seems to be a BUG AS BIG A GRAND PIANO... so I would like someone from Adobe tell me how may I solve this problem or if they will release an update soon?
    Thank you

    This is a user to user forum and we don't post information here (or anywhere else public) about what may or may not be in future patch releases.
    If you have a bug with an Adobe product you must report it using the correct form.

  • Intermittent Runtime error - pure virtual function call

    I have an intermittent runtime error - pure virtual function call & don't know what cause it? Since It only occurs & crashes once awhile therefore it's difficult to trap it for debugging.I suspect it come from TestStand ActiveX API which I use in my User Interface Application project but I'm not really sure.
    Does anyone experience this kind of problem when working with TestStand API ? If so any
    suggestion? I have noticed in the TestStand API header file teapi.tlh contain many raw_.... function defined as pure virtual function. What are these raw_... function ? I don't think I use any of these function in my project.
    Many thanks!

    Danh,
    I don't believe that your problem can be solved with the information you have provided unless someone else has experienced the same symtpoms which coincidentally have the same cause as in your case.
    Is there any other information you can provide that can help localize the problem?
    1) What is happening when the error occurs?
    2) Does the error always occur in the same place?
    3) Does it always occur with use of certain resources (e.g. DAQ, GPIB, VISA, printer)?
    4) Does it occur when using the sequence editor?
    5) Does it occur when using one of the shipping operator interfaces?
    6) Does it occur only when using your operator interfaces?
    7)Is it related to a specific sequence or any sequence?
    8) Does it happen when you executed your sequence with/without a process model entr
    y point (i.e. Execute>>Test UUTs, Execute>>Singal Pass or Execute>>Run MainSequence)?
    9) How often does it happen?
    10) What version of TestStand are you using?
    11) With what language (include versions) are you programming your code modules?
    12) With what language (include versions) are you programming your operator interface?
    13) Is there any error code reported with this error message?
    14) Is this error reported in a TS run-time error dialog or is it reported directly 1by the operating system?
    15) Have you searched the web for related errors? For example, the following link describes a particular programming mistake that can lead to this error
    http://support.microsoft.com/support/kb/articles/Q125/7/49.asp
    By investigating answers to the above questions you may be able to narrow the cause of this error, which might allow you or others to help solve the problem.

  • Jsp calling a function in js -- object expected runtime error

    Hi,
    I have a js file. script.js
    *function popup( url ) {*
    newWin=window.open(url,'popupWindow,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes');
    newWin.focus();
    void(0);
    and a jsp calling the function in js
    *<HTML>*
    *<HEAD>*
    *<SCRIPT>*
    *<jsp:include page="script.js"/>*
    *</SCRIPT>*
    *</HEAD>*
    *<BODY onLoad="javascript:popup('http;//www.google.com');">*
    *</BODY>*
    *</HTML>*
    Now when i execute the jsp, it gives runtime error -> object expected..
    Not able to figure out why this occurs.. am I doing it the right way ?

    Do you think is this the right way to include .js file...
    <SCRIPT>
    <jsp:include page="script.js"/>
    </SCRIPT>I generally do this way...
    <head>
    <script language="javascript" src = "script.js">
    </script>
    </head>

  • A Runtime error: Generation successful, but you must call up the function

    I used Professor Jim Menching's AIS materials in fall 2009 before ECC 6.04 was installed and everything worked plug-n-play without too many problems.  I tested assigned client after my client provider migrated SAP from ECC 6.0 to 6.04. 
    I tried to proceeded "receive the product from the vendor" on page 13u2019s step 11 after creating an purchase order, as following:
    Logistics> Materials Management > Purchasing > Purchase Order > Follow-on Functions > Logistics Invoice Verification  (MIRO)
    I tried to save it.  However, I got an error message: "Generation successful, but you must call up the function".  After I did it one more time, it becomes a runtime error!  I am not savvy for dealing with unknown technical problem.  Can anyone provide me with a solution to fix problem?
    Thanks in advance.

    Picheng,
    Thanks for the post.  I forwarded your question to your hosting site for resolution since this is a technical issue ... and the technical team informed me the issue was already resolved.  If you have further issues related to this specific issue please contact the UCC directly.
    Best Regards,
    Heather

  • Portal runtime error on Logon Get Support functionality

    Hi portal gurus,
    I have a problem regarding logon get support functionality on welcome page , it is giving portal runtime error at that place. I had done required changes in Visual administrator under ume provider and on portal under sys administration also but what i believe the error is related to some securtiy permission of a particulat user (J2ee_Guest). pls see below a part of default trace and guide me .
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.sap.portal.runtime.logon.default
    Component class : com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    User : J2EE_GUEST
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:111)
         at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:245)
         at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:37)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(AccessController.java:246)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:73)
         at sapportalsjspumLogonPage.service(_sapportalsjsp_umLogonPage.java:47)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 49 more
    Caused by: java.lang.NullPointerException
         at java.net.URLDecoder.decode(URLDecoder.java:139)
         at java.net.URLDecoder.decode(URLDecoder.java:103)
         at com.sap.security.core.sapmimp.logon.LogonBean.getLogonURL(LogonBean.java:122)
         at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:871)
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:67)
         ... 53 more

    Hi Prachi,
    ESS configuration guides -
    [Business package of ESS my SAP erp 2005|http://www.appsconsulting.co.za/SAP_PDF/BP_ESS_672_EN_2005.pdf]
    [Configuring Business Package for ESS mySAP ERP 2004|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a]
    MSS configuration guide -
    [MSS my SAP ERP 2005|http://www.appsconsulting.co.za/SAP_PDF/BP_MSS_600_EN_ERP_2005.pdf]
    [MSS my SAP ERP 2004|http://www.appsconsulting.co.za/SAP_PDF/BP_MSS_601_EN_ERP_2004.pdf]
    Hope these helps,
    Reward points if helpful
    Regards,
    Shailesh Nagar

  • Runtime error R6025 - pure virtual function call

    I'm running the latest version 10.6.3.25 of iTunes on Windows Vista. When I tried to search in app store using the search pane on the righthand top, it crushes and a box appears saying "Runtime error! R6025 - pure virtual function call".
    I cannot search in the app store at all.
    Any help?

    This bug still exists in Firefox.  I tested version 28 and version 32.0.1, which is the latest mainstream release at the time of writing.
    Steps to reproduce:
    1.  It's much easier to reproduce this bug if you are using a computer that has 2 monitors.
    2.  Load up any Youtube video.
    3.  Skip advert if required.
    4.  Click "Full Screen" button in lower right hand corner.  The video fills up the whole of the 1st monitor.
    5.  Click on the desktop on the 2nd monitor - this reveals the taskbar and start menu overlayed above the video.
    6.  Close Firefox;  For example, by right-clicking the "Firefox" taskbar button on the taskbar, and choosing "Close" from the context menu.
    7.  Firefox closes, but adobe flash player does not close gracefully, and instead throws up "R6025 - pure virtual function call" error message.

  • Runtime error when testing function module 'RSWR_RFC_SERVICE_TEST'

    Hi,
    I'am integrating BIW 3.5 with EP 6.0 according to the report 'RSPOR_SETUP'.I've carried all the steps,but an error on step 12 : system failure during call of function module 'RSWR_RFC_SERVICE_TEST' is there .When I test the connection with function module 'RSWR_RFC_SERVICE_TEST', a runtime error is coming i.e. "<--Localization failed: ResourceBundle='com.sap.engine.services.rfcengine.RFCR'.
    Any help would be highly appreciated.
    Regards.
    Manoj

    Hi Manoj,
    From this I can understand that a critical resource is missing which is required to start the RFC service in Reporting Services Web Runtime. This might be because of incomplete patch deployment. Deploy all the required software component archives related to com.sap.engine.services component and then retry this... I think this should solve the issue.
    Imran...

  • Runtime Error while extracting data by datasource based on function module

    Hi all,
    I am facing an issue while extracting data from a customised data source based on a new function module.
    The datasource is extracting data successfully for only 15000 records but after that the runtime error is displayed.
    I am not able to extract whole data from R/3 system.
    Please take a look into the details and tell me what should I have to do.
    Details of Issue:
    Runtime Error : GETWA_NOT_ASSIGNED
    What happened?                                                                               
    Error in the ABAP Application Program                                                        
    The current ABAP program "SAPLZ_99Z_BW_SD_PRICING"had to be terminated because  it has  come across a statement that unfortunately cannot be executed.
    Error analysis                                                                               
    You attempted to access an unassigned field symbol                                          
        (data segment 32790).                                                                               
    This error may occur if                                                                   
        - You address a typed field symbol before it has been set with                               
          ASSIGN                                                                               
    - You address a field symbol that pointed to the line of an                              
          internal table that was deleted                                                          
        - You address a field symbol that was previously reset using                           
          UNASSIGN or that pointed to a local field that no                                        
          longer exists                                                                               
    - You address a global function interface, although the                                      
      respective function module is not active - that is, is                                  
          not in the list of active calls. The list of active calls                                 
          can be taken from this short dump. 
    Edited by: anshu13 on Apr 27, 2010 10:28 AM

    The code is displayed here:
    error is in line no. 625
    Source Code Extract                                                                               
    Line SourceCde                                         
      595            <fs_fldval> = l_fieldval.
      596            APPEND <fs_dyntable> TO <it_dyntable>.                               
      597            CLEAR :l_fieldval, wa_fldcat.                                                  
      598            CLEAR l_totlength.                                                             
      599            CLEAR <fs_dyntable>.                                                        
      600         ENDIF.                                                                           
      601        ENDIF.                                                                               
    602        MOVE-CORRESPONDING <dd03l_fields> TO wa_dd03l.                                    
      603        IF <dd03l_fields>-datatype EQ 'DATS'.                                             
      604          l_fieldval = 'X'.                                                                
      605       ELSE.                                                                               
    606        SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                         
      607          IF l_totlength IS INITIAL.                                                       
      608            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      609            l_totlength = '0'.                                                            
      610          ENDIF.                                                                           
      611          l_currlength = <dd03l_fields>-intlen.                                            
      612          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      613          l_totlength = l_totlength + l_currlength.                                        
      614        ENDIF.                                                                               
    615*** Consider both field name and domian name for checking in range list:                   
      616        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
      617          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      618        ELSEIF <dd03l_fields>-domname IN s_fieldlist.                                      
      619          wa_fldcat-fieldname = <dd03l_fields>-domname.                                    
      620        ELSE.                                                                               
    621          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      622        ENDIF.                                                                               
    623        ASSIGN COMPONENT wa_fldcat-fieldname                                               
      624             OF STRUCTURE <fs_dyntable> TO <fs_fldval>.                                    
    >>>>|        <fsfldval> = l_fieldval._                                                             
      626        CLEAR l_fieldval.                                                                  
      627        CLEAR l_currlength.                                                                
      628      ELSE.                                                                               
    629        IF <dd03l_fields>-datatype EQ 'DATS'.                                              
      630          l_fieldval = 'X'.                                                                
      631       ELSE.                                                                               
    632          SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                           
      633          IF l_totlength IS INITIAL.                                                       
      634            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      635           l_totlength = '0'.                                                              
      636          ENDIF.                                                                           
      637          l_currlength = <dd03l_fields>-intlen.                                            
      638          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      639         l_totlength = l_totlength + l_currlength.                                         
      640        ENDIF.                                                                               
    641*** Consider both field name and domian name for checking in range list:                   
      642        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
    643        wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                   
      644       ELSEIF <dd03l_fields>-domname IN s_fieldlist.         
    Edited by: anshu13 on Apr 27, 2010 11:33 AM

  • My Itunes quit functioning so I removed it and when I tried to reload i keep getting a runtime error. Program: C:\ProgramFiles(x86)\itunes\itunes.exe. R6034. Any suggestions?

    My Itunes quit functioning so I removed it and when I tried to reload i keep getting a runtime error. Program: C:\ProgramFiles(x86)\itunes\itunes.exe. R6034. Any suggestions?

    You will have to follow the instructions of tt2 in https://discussions.apple.com/thread/5822086 to correct.

Maybe you are looking for

  • HP P1606 not picking up paper

    I work at a small library.  We have two HP P1606dn printers that were purchased to print labels for our books and materials but neither will pick up anything from the pickup trays.  At first they both everything but over time first one quit picking u

  • Why is only half the page printing

    i have a Deskjet f380 when i want to print a page, the preview shows only half the page. and it will only print half the page. i checked the setting and they seem to be fine, what gives?

  • Search Problems with Blog of Thorsten Franz

    Hi, I try to follow the intallation guide of Thorsten Franz great blog-series: /people/thorsten.franz3/blog/2009/08/22/composition-in-the-cloud-run-your-own-sap-netweaver-ce-71-ehp-1-in-the-cloud-part-1-of-3 /people/thorsten.franz3/blog/2009/08/23/co

  • Insight how ascp Order Priority (field Order Priority) is derived ?

    Anyone has detailed information on how ascp assigns "Order Priority" in the Order Priority field in the workbench ? I understand one factor is Priority Rule, but I need more detailed logic behind it. Is this field really meant to tackle the priority

  • Still no push notifications after 5.1

    I noticed that the push notifications weren't working after I downloaded the app 'Draw Something'. Not blaming the app at all, btw.  My wife gets notified when it's her turn and I don't. My wife also has a 4S and we have notifications set the same. S