Unable to resolve the exception  READ_REPORT_LINE_TOO_LONG in Abap program.

Hi,
  I am getting the exception READ_REPORT_LINE_TOO_LONG in my abap program.Given below is the full analysis of the exception and then the program code :-
Error Analysis :-
  An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was
  not caught in
procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)", 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:
There was an attempt to read program "ZANI_TEST_INTERACTIVE_ALV" from the
  database.
The READ REPORT statement allows you to copy a program text into an
internal table. The occupied line length in the program text must not
exceed the width of the internal table.
The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72
  characters wide. The program line is
91 characters wide.
Program Code :-
*& Report  ZANI_TEST_INTERACTIVE_ALV
REPORT  ZANI_TEST_INTERACTIVE_ALV.
TABLES: LFA1.
TYPE-POOLS: slis.
DATA: it_lfa1 TYPE TABLE OF lfa1,
      wa_lfa1 TYPE lfa1,
      it_fieldcat TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE input.
  SELECT-OPTIONS: acc_no FOR LFA1-LIFNR.
SELECTION-SCREEN END OF BLOCK input.
START-OF-SELECTION.
  IF NOT acc_no IS INITIAL.
    SELECT * FROM LFA1
      INTO CORRESPONDING FIELDS OF TABLE it_lfa1
      WHERE LIFNR IN acc_no.
  ELSE.
    SELECT * FROM LFA1
      INTO CORRESPONDING FIELDS OF TABLE it_lfa1.
  ENDIF.
  PERFORM form_build_fieldcatalog USING 'IT_LFA1' CHANGING it_fieldcat.
  PERFORM form_display_alv USING it_lfa1 it_fieldcat.
*&      Form  form_build_fieldcatalog
      text
     -->P_0058   text
     <--P_IT_FIELDCAT  text
form form_build_fieldcatalog  using    p_it_tabname TYPE slis_tabname
                              changing p_it_fieldcat TYPE slis_t_fieldcat_alv.
  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      I_PROGRAM_NAME               = sy-repid
      I_INTERNAL_TABNAME           = p_it_tabname
    I_STRUCTURE_NAME             =
    I_CLIENT_NEVER_DISPLAY       = 'X'
      I_INCLNAME                   = sy-repid
    I_BYPASSING_BUFFER           =
    I_BUFFER_ACTIVE              =
    CHANGING
      ct_fieldcat                  = p_it_fieldcat
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 2
      OTHERS                       = 3
  IF sy-subrc <> 0.
     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
endform.                    " form_build_fieldcatalog
*&      Form  form_display_alv
      text
     -->P_IT_LFA1  text
form form_display_alv using p_it_lfa1 LIKE it_lfa1  p_it_fieldcat TYPE slis_t_fieldcat_alv.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK                 = ' '
    I_BYPASSING_BUFFER                = ' '
    I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                = sy-repid
    I_CALLBACK_PF_STATUS_SET          = ' '
    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
    I_CALLBACK_TOP_OF_PAGE            = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    I_CALLBACK_HTML_END_OF_LIST       = ' '
    I_STRUCTURE_NAME                  =
    I_BACKGROUND_ID                   = ' '
    I_GRID_TITLE                      =
    I_GRID_SETTINGS                   =
    IS_LAYOUT                         =
      IT_FIELDCAT                       = P_it_fieldcat
    IT_EXCLUDING                      =
    IT_SPECIAL_GROUPS                 =
    IT_SORT                           =
    IT_FILTER                         =
    IS_SEL_HIDE                       =
    I_DEFAULT                         = 'X'
    I_SAVE                            = ' '
    IS_VARIANT                        =
    IT_EVENTS                         =
    IT_EVENT_EXIT                     =
    IS_PRINT                          =
    IS_REPREP_ID                      =
    I_SCREEN_START_COLUMN             = 0
    I_SCREEN_START_LINE               = 0
    I_SCREEN_END_COLUMN               = 0
    I_SCREEN_END_LINE                 = 0
    I_HTML_HEIGHT_TOP                 = 0
    I_HTML_HEIGHT_END                 = 0
    IT_ALV_GRAPHICS                   =
    IT_HYPERLINK                      =
    IT_ADD_FIELDCAT                   =
    IT_EXCEPT_QINFO                   =
    IR_SALV_FULLSCREEN_ADAPTER        =
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER           =
    ES_EXIT_CAUSED_BY_USER            =
    TABLES
      t_outtab                          = p_it_lfa1
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
  IF sy-subrc <> 0.
     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
endform.                    " form_display_alv
Please suggest a solution for this problem.. Thanks in advance.

hi,
it is getting because of fieldcat hear ur internal table is having all fields in lfa1, lfa1 is having more fileds alv cont display that much fields at a time . for that u are getting that messgae .  u can solve this problem by  filling fieldcat table manuvally insted of by FM 'fieldcat_merge'.  fill filedcat table some fields which are need to display by manuvally.
thanq,
rajesh.k

Similar Messages

  • Unable to resolve the domain

    The app server is:
    Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)
    I'm running:
    Sun Convergence 1.0-14.01 (built June 9 2010 - 23:49:24)
    Sun Java(tm) System Messaging Server 7u3-17.01 64bit (built Jun 8 2010)
    Sun Java(tm) System Calendar Server 6.3-19.01 (built Aug 26 2009)
    Sun IM - 8u2-02.04
    This is in the iwc.log:
    AUTH: ERROR from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack  Thread httpSSLWorkerThread-443-1 at 2010-08-18 17:31:53,397 - Unable to resolve the domain school.edu  Failed. could not find:school.edu under o=schoolThe base dn is o=school
    under this is o=school.edu
    under this is People, etc.
    The directory is a replica of our production dir - and runs on our testmail.school.edu box along with all (or most) of Comms Suite 7. Accounts have addresses like [email protected] I have used testmail.school.edu as the default domain in the configuration steps for each application.
    If I add an associatedDomain with the value "school.edu" for o=school.edu (under o=school) in addition to the existing sunPreferredDomain and associatedDomain values which are testmail.school.edu, the error goes away - but IM doesn't work unless I login with a uid like "[email protected]" instead of just "me".
    If I do not have an associatedDomain of "school.edu" for o=school.edu (under o=school), I can login with uid me - and everything works - but that error is there.
    Thanks,
    s7

    shjorth wrote:
    starman7 wrote:
    What is the URL used to access the Convergence instance e.g. http://testmail.school.edu/iwc?
    Yes /iwc - and then it redirects to: /iwc_static/layout/login.html?lang=en-us&14.01_234924&svcs=abs,im,mail,calendarWhat is the entire URL?testmail.school.edu
    which redirects to:
    https://testmail.school.edu/iwc
    which ends up here:
    It's https://testmail.school.edu/iwc_static/layout/login.html?lang=en-us&14.01_234924&svcs=abs,im,mail,calendar
    >
    me@x1$ /opt/sun/comms/messaging64/sbin/imsimta test -domain
    DOMAIN_MAP> verify
    %DMAP-E-DOMAINMULTDEF, Domain 'testmail.school.edu' multiply defined by entries with DNs 'o=school.edu,o=school' and 'o=school.edu,o=school'Have you set both "sunPreferredDomain: testmail.school.edu" and "associatedDomain: testmail.school.edu" on the "dn: o=school.edu,o=school" entry?Yes. assocatedDomain of school.edu might not have been set when I ran the imsimta test domain.
    >
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=ESGDomainsRoot,o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=VISDomainsRoot,o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=SharedDomainsRoot,o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=ESG,o=siroe.com,o=SharedDomainsRoot,o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=VIS,o=siroe.com,o=SharedDomainsRoot,o=business,o=school' does not have a domain name
    %DMAP-E-NODOMAINNAME, Domain entry with DN 'o=DEF,o=VIS,o=siroe.com,o=SharedDomainsRoot,o=business,o=school' does not have a domain nameThe above entries appear to be those added by Delegated Administrator when you select "add sample domain" during configuration.
    iim.policy.modules = "iim_ldap_schema2"
    iim_ldap.schema2.domain_config_root = "o=school" ( - should that be o=school.edu,o=school - ?)"o=school" is correct.
    What do you have configured for "default.domains" in the Convergence httpbind.conf file (i.e. the one in /opt/sun/comms/iwc/config)?I have:
    default.domains=testmail.school.edu
    When you added "associatedDomain: school.edu" to the "dn: o=school.edu,o=school" entry and logged in with "uid" only, you were actually logged in as "[email protected]".
    Since you don't have school.edu in the default.domains setting above, IM didn't work.
    So in this scenario you would need to set:
    default.domains=testmail.school.edu school.edu
    I tried this while having the school.edu as an associtedDomain to: dn: o=school.edu, o=school and while it worked I saw different errors -
    AUTH: ERROR from com.sun.comms.client.security.sso.impl.SunBaseIdentitySSOProvider  Thread httpSSLWorkerThread-443-6 at 2010-08-21 10:35:08,239 - Exception while performing SSO against OpenSSO AQIC5wM2LY4Sfcxkv948H6xWMQstUSYrTMc8WxxfpnKkdJQ.*AAJTSQACMDMAAlNLAAk5OTM0MTM5MzIAAlMxAAIwMQ..* Session was not obtained.
    AUTH: ERROR from com.sun.comms.client.web.sso.SSOFilter  Thread httpSSLWorkerThread-443-6 at 2010-08-21 10:35:08,241 - Exception while performing Sigle Sign On com.iplanet.sso.SSOException: AQIC5wM2LY4Sfcxkv948H6xWMQstUSYrTMc8WxxfpnKkdJQ.*AAJTSQACMDMAAlNLAAk5OTM0MTM5MzIAAlMxAAIwMQ..* Session was not obtained.
    AUTH: ERROR from com.sun.comms.client.security.sso.impl.SunBaseIdentitySSOProvider  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:35,826 - Exception while performing SSO against OpenSSO AQIC5wM2LY4Sfcxkv948H6xWMQstUSYrTMc8WxxfpnKkdJQ.*AAJTSQACMDMAAlNLAAk5OTM0MTM5MzIAAlMxAAIwMQ..* Session was not obtained.
    AUTH: ERROR from com.sun.comms.client.web.sso.SSOFilter  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:35,831 - Exception while performing Sigle Sign On com.iplanet.sso.SSOException: AQIC5wM2LY4Sfcxkv948H6xWMQstUSYrTMc8WxxfpnKkdJQ.*AAJTSQACMDMAAlNLAAk5OTM0MTM5MzIAAlMxAAIwMQ..* Session was not obtained.
    AUTH: WARN from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:35,874 - Subject not found in session, creating one
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:35,945 - User LoginID is me123
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:36,089 - User domain is school.edu
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunBaseIdentityLoginModule  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:36,498 - UserName: me123  Login success!!
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:36,639 - Loading user entry from LDAP
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:36,855 - User entry loaded successfully
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:37,134 - No domain found for Domain name  testmail.school.edu
    AUTH: INFO from com.sun.comms.client.web.IwcCookieManager  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:37,139 - Preferred language for user is en
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.UserPrefsCommandDelegate  Thread httpSSLWorkerThread-443-4 at 2010-08-21 10:35:39,011 - get_allprefs.iwc : Service is not enabled : smime
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent  Thread httpSSLWorkerThread-443-4 at 2010-08-21 10:35:39,048 - client preferences not found for domain: school.edu
    PROXY_MAIL: INFO from com.sun.comms.client.web.services.sun.MailServiceProxy  Thread httpSSLWorkerThread-443-0 at 2010-08-21 10:35:40,682 - Performing Sun Mail Authentication
    ADDRESS_BOOK: INFO from com.sun.comms.client.ab.coresrv.DBHandler  Thread httpSSLWorkerThread-443-3 at 2010-08-21 10:35:41,667 - Got DBPluginMap so will go back to one default.domains (dropping school.edu) and no school.edu associateDomain for dn: o=school.edu, o=school.
    Is there a way I can login w/ uid only, and not need that school.edu associatedDomain, and not see either error in the log?
    I also see this:
    AUTH: ERROR from com.sun.comms.client.web.sso.SSOFilter  Thread pool-1-thread-3 at 2010-08-21 10:53:55,032 - Error obtaining Admin Password. Input length must be multiple of 8 when decrypting with padded cipher
    Regards,
    Shane.

  • I am unable to update software or backup my devices. Apple techs unable to resolve the issue after hours of phone support over the course of several months.

    I am unable to update software, transfer purchases, sync, or backup any of my 3 devices. I have tried using iTunes on other computers, uninstalling iTunes with tech support walking me through, using a different user on my computer, deleting photos off of my devices, using an ethernet cable instead of connecting with wifi, uninstalling my antivirus software and firewall, and had my laptop examined by several techs who all determined there was nothing wrong with the laptop that explains what has been going on. I am also unable to view or download purchases on iTunes.  Clicking the Itunes store results in a blank white screen. I get various error messages, including -9886. Apple techs and now the engineers have been unable to resolve the issues thus far, even after several hours of phone support over the course of several months (about 5 hours this month alone). I have done everything they've suggested, even when they've suggested I do something over again, and I'm becoming frustrated. I would greatly appreciate any advice you can offer. Thank you in advance for your time.

    Hi there
    Sorry for hijacking your thread as put by Dahveed. However I have resolved my issue so I thought I'll share it with the rest of you.
    I checked for the error 3194 in youtube and I found some good videos that tell you how to resolve the problem. The issue I was facing was the actually (I know because I have resolved it now) the communication between my computer and apple server which can be fixed as following (if you are using windows):
    There is file in following directory:
    C:\Windows/system32/drivers/etc/hosts
    The file normally has no extension and it is in file format. You need to open it and make sure that every line that has apple server id starts with "#". In my case one of the line started directly with the ip address and then gs.apple.com.
    Perform your restore/update after that and hopefully it should be resolved (mine did).
    Cheers

  • [nQSError: 77030] Oracle BI Presentation Server Connection Error: Unable to resolve the address for cn.

    Hi Experts,
    When I use Agent functionality to send email in BIEE 11.1.1.7.0, it will generate the following error message as below:  Are you facing the same problem ? Please help me,Thanks very much.
    Global Error: [nQSError: 77030] Oracle BI Presentation Server Connection Error: Unable to resolve the address for cn.
    Error Codes: AXSBMN8D:
    The operation completed successfully.

    Can you try doing telnet to SMTP server from where BI server is installed and let us know the outcome.Just want to check if any firewall is blocking
    telnet hostname portnumber
    Thanks,

  • What are the major situations  to go to the short dump in abap programming?

    What are the major situations  to go to the short dump in abap programming?

    Hi,
    The major situations that an ABAP Program can result a dumb are as follows...
    1) Poor coding i.e., if the data in the data base is less, then even a poor code can give you the result.  But when you transport the program into Production, then there the same program will give you a dump, resulting 'TIMED OUT' error.  So performance tunning is required for each and every program.
    2) while calling a function module.
    3) extracting of data into fields which are not type casted.
    4) in case of x/y value, one should check the value of 'y' should not be zero, else a dump will result.
    these are few which i can give for time being........

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • Change the Name of Many ABAP programs.

    Hi,
    I need to change the name of many abap programs, because the company standard programs names has been changed, and will be necessary to change the name of all the programs, but there are many programs.
    I'd like to know if someone know a transaction that will helped me or if will be necessary to develop an own program for it?
    Thanks,
    Marcos MS.

    Hi
    I think you have to rename indvidually using SE38 transaction.
    But be careful to care of the following
    (1) if the program is called with in a program, you need to change there also, before changing check the whereused and change accordingly
    (2) If the program is called in the transaction, you need to change there also
    Regards
    Madhan

  • How to Resolve the Exception

    Dear All,
    i want to edit the data when i do the action on button.
    for this i wrote the code like this:
    try
    PreparedStatement ps =
    this.getOADBTransaction().getJdbcConnection().prepareStatement("update xxcrm_costsheet_t set approved_status='C' where OPCS_COSTSHEETID=?");
    ps.setInt(1, cstid);
    ps.executeUpdate();
    ps.close();
    this.getDBTransaction().commit();
    } catch (Exception e)
    System.out.println("the exception is" + e);
    i am getting the following error only i will try to commit the changes.
    i don't know y am getting the error:
    pls guide me:
    I hope u will help me.
    Thanks in Advance
    Anusha

    Hi,
    Use This Code
    try
    PreparedStatement ps =
    this.getOADBTransaction().getJdbcConnection().prepareStatement("update xxcrm_costsheet_t set approved_status='C' where OPCS_COSTSHEETID=?");
    ps.setInt(1, cstid);
    ps.executeUpdate();
    this.getOADBTransaction().commit();
    catch (Exception e)
    System.out.println("the exception is" + e);
    finally
    try
    ps.close();
    catch(Exception e1)
    System.out.println("the exception is" + e1);
    Thanks,
    Gaurav

  • Unable to catch the exceptions caused by '|', '"' and '~' symbol in the URL

    I have a VB.net website with .Net framework version 1.1.
    I am able to catch all the exceptions and redirect to Custom error screen.
    However if I enter the invalid characters in URL specifically  '|', '"' and '~' it throws "ArgumentException" with message as "?" and not able to redirect this to Custom error screen.
    All other invalid characters and symbols are being handled properly. Custom error screen is set in WEB.config and it is working for all the exceptions.
    Please help me find a way to catch and redirect this exception to Custom error screen.

    Hello Mr. Monkeyboy,
    One of the security solutions ran a security test by entering the wrong characters in the URL (Few more cases) and there by finding if the site redirects to Custom webpage in case of errors and exceptions or not.
    Our site is redirecting to Custom error page for all the errors and exceptions except when entered '|','"' or '`' in the url.
    Example: If I enter: https://www.somesite.com/NotExists.aspx this get redirected to Custom error screen.
    However If I enter https:////www.somesite.com/NotExi|sts.aspx this goes to Server Error in "/somesite" page.
    Please note, both the URL is invalid, however one redirects to Custom error where another doesn't.
    Thanks for letting me know the lack of clarity in the initial question, hope I made it clear.
    I still don't understand the issue. And you should probably be posting the question in one of the ASP.Net forums which I provided a link to in my original post.
    You say you enter a URL in your website. But you make no mention of how that is done. Therefore even if you post a question in one of the ASP.Net forums you will need to explain what you mean by entering a URL in your Website.
    For example. "We have a website. A user can browse to the website with a WebBrowser. Then in a textbox on the website they can enter a URL (for whatever reason your website would allow a user browsing your website with a webbrowser to want to enter
    some URL for some reason into a textbox at your website) and select a button (to do who knows what) and we need to validate the URL does not contain invalid characters."
    Maybe these links can help or not.
    Validator.Url Method
    PathIsURL function
    Pinvoke.Net - pathisurl (shlwapi)
    Uri.TryCreate Method
    I suppose you could even use Regex to validate a URL based on Regex patterns that you should be able to find on the net for doing so with Visual Basic. But I would suppose you would want to provide whoever is placing invalid URL's on the website with the
    result displaying the invalid URL and which characters within it are invalid maybe.
    I suspect you could even try to validate a URL with a DNS by finding out if it exists or not.
    La vida loca

  • Unable to view the output of a concurrent program

    Dear Members,
    I am using Oracle R12.1.3 Vision Instance.
    I have run the Create Accounting program. When I click on the view output button, the browser gets displayed and also gets closed immediately. I am unable to view the output.
    Can any one please help me in resolving this issue?
    Many thanks in advance.
    Regards.

    Dear Members,
    I am facing the above problem in IE.
    When I tried in Mozilla, I can view the outputs without any issues.
    Can any one suggest me why I am not able to view the output in the IE?
    Regards.

  • How to create the condition record by ABAP program

    Hi Friends,
    I want to create/change the condition record of PR00 by ABAP program. It seems that there have no such BAPI/standard function can help on this. Can any one of you point out a way to me?? Thanks in addvance.
    Joe GR.

    Joe,
      Check with below FM..
    BAPI_PRICES_CONDITIONS.
    Check this link:
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    examples....
    http://www.4ap.de/abap/bapi_prices_conditions.php
    Two useful threads on Same topic
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    Re: Problem with BAPI_PRICES_CONDITIONS
    BAPI_PRICES_CONDITIONS
    Please check this sample code from other thread.
    wtable1-table_no = '306'.
    wtable1-applicatio = 'V'.
    wtable1-cond_type = 'ZPR0'.
    wtable1-operation = '009'.
    wtable1-varkey = '13001001USD 000000000050068946'.
    wtable1-valid_to = '99991231'.
    wtable1-valid_from = '20051101'.
    wtable1-cond_no = '$000000001'.
    APPEND wtable1 TO table1.
    wtable2-operation = '009'.
    wtable2-cond_no = '$000000001'.
    wtable2-created_by = sy-uname.
    wtable2-creat_date = '20051022'.
    wtable2-cond_usage = 'A'.
    wtable2-table_no = '110'.
    wtable2-applicatio = 'V'.
    wtable2-cond_type = 'ZPR0'.
    wtable2-varkey = '13001001USD 000000000050068946'.
    wtable2-valid_from = '20051101'.
    wtable2-valid_to = '99991231'.
    APPEND wtable2 TO table2.
    wtable3-operation = '009'.
    wtable3-cond_no = '$000000001'.
    wtable3-cond_count = '01'.
    wtable3-applicatio = 'V'.
    wtable3-cond_type = 'ZPR0'.
    wtable3-scaletype = 'A'.
    wtable3-scalebasin = 'C'.
    wtable3-scale_qty = '1'.
    wtable3-cond_p_unt = '1'.
    wtable3-cond_unit = 'EA'.
    wtable3-calctypcon = 'C'.
    wtable3-cond_value = '454'.
    wtable3-condcurr = 'USD'.
    APPEND wtable3 TO table3.
    CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    EXPORTING
    PI_initialmode = 'X'
    PI_BLOCKNUMBER =
    TABLES
    ti_bapicondct = table1
    ti_bapicondhd = table2
    ti_bapicondit = table3
    ti_bapicondqs = table4
    ti_bapicondvs = table5
    to_bapiret2 = table6
    to_bapiknumhs = table7
    to_mem_initial = table8
    EXCEPTIONS
    update_error = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    READ TABLE table6 WITH KEY type = 'E' TRANSPORTING NO FIELDS.
    IF sy-subrc = 0.
    loop at table6 into ret.
    write: / ret-type, ret-message, ret-id, RET-LOG_NO, RET-LOG_MSG_NO,
    RET-MESSAGE_V1, RET-MESSAGE_V2, RET-MESSAGE_V3, RET-MESSAGE_V4,
    RET-PARAMETER,RET-ROW,RET-FIELD.
    endloop.
    ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *EXPORTING
    WAIT =
    IMPORTING
    return = ret
    ENDIF.
    Don't forget to reward if useful....

  • Pls find out the exception in this simple program...

    Pls tell me wots the reason of the exception in this program since im getting an exception like this..
    Exception is thread "main" java.lang.NoClassDefFoundError: derived
    Program is the following:-
    class base {
    public base() {
    System.out.println("BASE CLASS DEFAULT CONSTRUCTOR");
    public base(int i) {
    System.out.println("inside base i");
    public class derived extends base {
    public static void main(String args[]) {
    derived obj=new derived();
    derived() {
    System.out.println("Derived class constructor");
    derived(int i) {
    System.out.println("inside derived i");
    Pls help me...

    Javapedia: Classpath
    How Classes are Found
    Setting the class path (Windows)
    Setting the class path (Solaris/Linux)
    Understanding the Java ClassLoader
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
    javac -classpath .;<any additional jar files or directories> YourClassName.javaYou get a "cannot resolve symbol" message because the compiler can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • Selective Deletion of the Cube contents in Abap Program of the PChain

    Dear Experts
    I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
    For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
    The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
    info cube> Manage>contents > system menu(in the Top)> Status
    but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
    I have tried the same way  in the selective deletin navigation path also in the cube manage
    Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
    Thanks for all in advance
    KSR

    Hi KSR,
    Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
    Now write a ABAP program with the below code.
    parameter: p_Job_Name type sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING i_barepid = l_jobnam.
    Execute the above program. Pass the job name which you got from SM37.
    Create a variant with that job name.
    Now schedule this newly created program. This should solve your issue.
    Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
    Cheer,
    Balaji Venugopal

  • From which table could i get all the Variants of a ABAP program?

    Hi,
    From which table could i get all the Variants name which belong to a specific ABAP program?
    Thanks.

    Hi Hoo,
    You can get the variants of a ABAB Program from table <b>VARID</b>. Give the report name to the VARID-REPORT field and you will the list of variants for this report under field VARID-VARIANT and VARID-ENAME is the user who created the variant.
    Otherwise, You can use the function module RM_GET_VARIANTS_4_REPORT_USER to get the variants of a report
    Thanks,
    Vinay

  • How to get the decision key in abap program

    Hi guys.
    I have a user decision workflow that have two options: Accept or Reject. This options has some type of id, right? Like '0001', '0002', right?
    How i get this ids decisions through a abap program.
    I need to know this because i have to pass this id to a Z Function Model.
    Thanks!

    The result is found in the workitem container in the '_RESULT' or '_WI_RESULT' elements, you can use the SAP_WAPI_READ_CONTAINER function module to read the data (read the element from the simple container returned table).
    CALL FUNCTION 'SAP_WAPI_READ_CONTAINER'
      EXPORTING
        workitem_id                    = im_wi_id
      TABLES
        simple_container             = lt_container
    READ TABLE lt_container WITH KEY element = '_WI_RESULT' into ls_container.
    If you what to get the possible decisions description you can use the SAP_WAPI_DECISION_READ function module,
    CALL FUNCTION 'SAP_WAPI_DECISION_READ'
    EXPORTING
    workitem_id  = im_wi_id
    TABLES
    alternatives = lt_alts.

Maybe you are looking for

  • Odi 11g under win 7 issue

    Hello. I have a problem with installation ODI 11g (11.1.1.3.0) under Widows 7. When I start setup.exe (run as Administrator), Oracle Universal Installer starts, but needs to specify path to JDK "Preparing to launch Oracle Universal Installer from C:\

  • 30 minutes retry

    Hi, I am facing a wierd issue in retry action in Error handling Framework. I have a BPEL process which invokes an external web service. I have defined the action in fault policy for this process as Retry with Retry Count - 3 and Retry Interval - 5. W

  • DLT 4000 not recognised in Encore CS3

    Hi there, Currently attempting to build a nice quad core system, running Vista. The one issue I seem to have is that the DLT drive (Quantum 4000) is not found in Encore. In Device Manager, it comes up all okay..... I am now pulling my hair out for a

  • Splitter Box

    Hi everone Does anybody know of a hdmi splitter box that will work with the youview box, I have tried my old splitter box this worked fine with my old system but will not work now what I get is a pink screen on the TV and on the box it says please wa

  • Making a training tool. to link internally or externally

    I am trying to make a project that will contain videos and such to help people use a program. I am wondering if it will be best to make each topic into its own project or all in the same captivate project. There will be many topics once I get going s