Is there any alternative statement for OPEN CURSOR?

  OPEN CURSOR WITH HOLD l_cursor FOR
          SELECT paledger vrgar versi perio paobjnr pasubnr belnr posnr
                         hzdat usnam gjahr perde wadat fadat budat altperio papaobjnr
                        papasubnr kndnr artnr fkart frwae kursf kursbk kurskz rec_waers
                       kaufn kdpos rkaufnr skost prznr bukrs kokrs werks gsber vkorg
                     vtweg spart hrkft plikz kstar pspnr kstrg rbeln rposn sto_belnr
                     sto_posnr prctr pprctr rkestatu timestmp copa_awtyp copa_aworg
                 copa_bwzpt copa_awsys ktgrd kmhi01 kmhi02 kmhi03 hie04 hie05
                 hie06 hie07 prdha ww003 kunwe pstyv ww150 vsart ww152 ww153
                 ww154 ww155 crmelem ww156 ww157 vbund vv002_me vv001_me vv003_me
                 vv002 vv070 vv071 vv072 vv073 vv074 vv075 vv076 vv077 vv078
                 vv079 vv080 vv081 vv095 vv096 vv040 vv104 vv001 vv003 vv004
                 vv028 vv105 vv150 vv151 vv152 vv153 vv154 vv155 vv038 vv068
                 vv030 vv156 vv157 vv158 vv159 vv160 vv161 vv162 vv035 vv166
                 vv167 vv168 vv169 vv170 vv171 vv172 vv163 vv164 vv165 vv045
                 vv046 vv047 vv059 vv031 vv032 vv039 vv173 vv195 vv194 vv193
                 vv192 vv191 vv184 vv185 vv186 vv187 vv188 vv189 vv190 vv174
                 vv175 vv176 vv177 vv178 vv179 vv180 vv181 vv182 vv183
          FROM (l_table)                                    "ce1na01
          WHERE  paledger IN r_curr_ty
          AND   vrgar IN r_record
          AND   perio EQ lv_period.
*  Fetch in Packets of 10000
    DO .
      FETCH NEXT CURSOR l_cursor
        INTO TABLE lt_data
        PACKAGE SIZE 10000.
*  No More Data
      IF NOT sy-subrc IS INITIAL.
        CLOSE CURSOR l_cursor.
        EXIT.
      ENDIF.
     ENDDO.
This is my current code. while executing it is taking more time so we need optimize this statement. Could you please suggest me.

No.

Similar Messages

  • Is there any alternative available for frameset

    Hi,
    Other than struct tiles, Is there any alternatives availabe for frameset
    Thanks in advance...

    maybe inline frames or a div elements.
    You are speking about html right?
    MeTitus
    Message was edited by:
    Me_Titus

  • Is there any alternative battery for Nokia X2-00?

    Hi there, I was just wonderin'... is there any alternative battery for Nokia X2? coz BL-C4 battery is a li'l bit short for its lifespan. It could only take a few hours to play some music (through headset/loudspeaker)
    please help, thanks in advance...

    Hi Hanumantji,
    Can you provide us your phone model? One possible reason why the phone hangs is that there is not enough memory available to carry out phone functions. You can move your data files from phone to memory card (provided that your phone supports Memory Card). If still the same, you can try to restore the phone to its factory settings as indicated on your manual. 

  • Is there any alternative method for GET_FRONTEND_FIELDCATALOG in CL_GUI_ALV

    Hi all,
    Please let me know if there is any alternative method for GET_FRONTEND_FIELDCATALOG (CL_GUI_ALV_GRID class) in the class CL_SALV* family. I need to capture the field catalog(Or list of fields) of the current output list.
    I have saved many layouts on my ALV output with different combinations of fields, When I select one layout and click on the custom button it should process only the fields displayed on ALV.Please let me know how do I get the fields displayed on ALV using CL_SALV_* family classes.
    Thanks,
    Prathap

    Hi,
    Check this link...[Setting up Layout|http://help-abap.blogspot.com/2008/09/salv-model-4-setting-up-layout.html]

  • Is there any alternative logic for this issue

    Hello all ,
    I have a  program which is executed as a background job for every 15 minutes . Now my requirement is If this batch job is successfully finished, i have to capture that time and date at which the batch job is successfully finished and update the corresponding time and date in a ZTABLE .
    In order to achieve this , i have created a separate program which will also be running in background.in this program , using the table TBTCO, i m getting the last date and  last time at which the batch job is successfully finished and modifying the ZTABLE accordingly
    Is there any alternate solution for this ?
    thanks&regards,
    G.Pavan

    Hi gpavansap,
    When you define background job in SM36, your first step should be the program which you have scheduled now.
    Create a second step in the same job with another program which would just update system date and time to the ZTABLE. No need to read TBTCO and all.
    The second step would immediately execute as soon as the first step ended successfully.
    If you don't want to create a separate program. you can have a check-box "Update ZTable Only" in the selection screen of the first program itself. If this check-box is selected, the program should only update ZTABLE and do nothing else. Create a variant of your selection screen with this check-box selected and schedule this variant as "Second Step" of your back-ground job.
    Regards
    Suresh

  • Location.href not working in firefox. Is there any alternative script for that?

    window. location.href not working when i try to submit an ajax form.
    I am a programmer. This code works on all browser except firefox.
    Any solution for this? or any alternative code for location.href?

    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

  • Is ther any alternative solution for music downloads other than iTunes

    Plz suggest me if there is any other service out there that provides music download service other than iTunes.
    One with DRM-Free & Monthly subscription would be awesome..!
    Thanks in advance.

    Okay, in removing duplicate posts, these got pulled. Here they are...
    <hr width="95%">
    StarDeb55 Posted: May 29, 2007 9:14 PM
    Kirk, I'm almost certain that any Napster downloads have DRM on them. 2nd problem is that Napster doesn't work for a Mac.
    The forums are having problems as you can see. When you post it is taking over 30 minutes to appear in the thread at the moment, so it's really not necessary to re-post.
    <hr width="95%">
    Kirk Boragine Posted: May 29, 2007 9:32 PM
    StarDeb55
    My mistake. I've been happily listening to their streams. The subscription service does not work for Macs, yet. Sorry to all for the post(s).
    [ sorry about that, Nubz N.]
    PM G5, PM G4, iPods   Mac OS X (10.4.9)   Mac OS 9.2.2

  • Is there any alternative program for RSSTAT10 in ECC6.0 system

    Dear ABAPers,
    Issue scenario:
    We are trying to create a report program in the ECC system to provide the details of the server workload. This report is a copy of the program RSSTAT10 which is working fine in other systems(3.1,4.7). The report works fine in those systems. But when we try to copy the same on ECC,we get a dump " CALL_FUNCTION_CONFLICT_TYPE ".
    The Reason for the dump :
    1.The reason is the mismatch of the field length in the import export parameters of the FM.
    2.There are a few includes and FModules that do not exist in the ECC system, but are available in the other systems. For eg. RSSTAT10 is not available.
    Our question is :
    Since RSSTAT10 is unavailable in the ECC is there an alternate program that can be used in order to generate the report that provides the details of the server workload in the ECC system?
    Regards,
    Prathap

    Check
    Program:- RSSTAT15 in ECC 6.0
    Edited by: Bala Krishna on Aug 14, 2008 12:44 PM

  • Is there any alternative tcode to maintain Exchange rates other than OB08

    Hi All,
    Just i want to know is there any alternative tcode for maintaining exchange rate other than OB08.
    I want to maintain the exchange rate for one perticular user only.
    Thanks,
    suraj

    Exchange rates are valid for everyone, they cannot be maintained for a single user. However it is possible to create separate exchange rate types and maintain separate exchange rates for them. These types could be added to some special document types, but it only works in FI.

  • Hi I have recentrly bought IPAD AIR , is there any flash version supporting this model or is there any alternative for flash siles to open ?

    Hi,
    I have recently bought IPAD AIR , is there any flash version supporting this model or is there any alternative for flash sites to open ?

    iPad do not support Flash
    However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability

  • Is there any alternative to console cable for pix 501 firewall?

    I need help on CISCO PIX 501 Firewall, it comes with console cable having serial port, but systems now a days & the one i am having are not having serial port so i am not able to access command-in-line , is there any alternative way, can it be accessed using ethernet or lan wire, if so please provide steps, waiting for your valueable responses, ...

    Hi,
    Have you considered getting an USB adapter for the Console cable?
    I had to get that for my first work laptop since they happened to order a model without the serial port. For the most part it worked just fine.
    I guess depending on your PIX configurations you might be able to boot it up and attach a PC directly to it and manage it.
    - Jouni

  • Is there any alternative for adding servlet name in Web.xml?

    Hi,
    I am new to Weblogic and I have an application(Ear file) which was developed
    in Websphere and I am trying to install in weblogic 8.1. I have installed my application
    in Websphere without adding servlet entries in Web.xml and it was working fine.
    I have installed the same Ear file in Tomcat and added the
    following to make all my all servlets work.
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    Is there any alternative of doing like that in WebLogic instead of adding each
    and every servlet entry in web.xml because my application has around 200 servlets
    Thanks&Regards,
    Gopi.

    Is Servlet servlet same as weblogic.servlet.ServletServlet?
    Deepak
    Rob Woollen <[email protected]> wrote:
    Yes, you could register weblogic.servlet.ServletServlet.
    -- Rob
    Gopi Krishna wrote:
    Hi,
    I am new to Weblogic and I have an application(Ear file) whichwas developed
    in Websphere and I am trying to install in weblogic 8.1. I have installedmy application
    in Websphere without adding servlet entries in Web.xml and it was workingfine.
    I have installed the same Ear file in Tomcat and added the
    following to make all my all servlets work.
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    Is there any alternative of doing like that in WebLogic instead ofadding each
    and every servlet entry in web.xml because my application has around200 servlets
    Thanks&Regards,
    Gopi.

  • I do not want Creative Cloud. My current version of Lightroom is 5.7. I take it I have to buy Lightroom 6 outright? Are there any price concessions for upgrades?

    I do not want Creative Cloud. My current version of Lightroom is 5.7. Are there any price concessions for upgrades or do I have to buy Lightroom 6 outright?

    @landaloons who posted: "Clicking 'Checkout' does nothing.  There is apparently no way to get the upgrade at present."
    Your browser has to have tracking enabled and open a pop-up for Checkout to work. Browser add-ons and custom settings can block this from happening.  In Firefox I had to temporarily disable Ghostery to advance past the Checkout button. You may have a similar tracker/pop-up disabler in your browser that you need to turn off temporarily. Alternatively try a different browser with no custom settings. Doing this I was able to download and install a $79.99 upgrade version, so it does work, but they don't make it easy to find or do. They want you to subscribe instead. (In fairness, though, you'd have this same Checkout issue trying to subscribe to CC if your browser settings block advancement past the Checkout button.)

  • Is there any transaction code for uploding logo in ALV reports.

    is there any transaction code for uploding logo in ALV reports.

    hi,
    call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = t_header.
                i_logo             = 'Z_LOGO'.
    endform.
    Upload Logo for REUSE_ALV_COMMENTARY_WRITE
    For those who wish to upload and use a picture in your ALV abap reports.
    Steps for uploading Logo :-:
    1. Goto the transaction OAER
    2. Enter the class name as 'PICTURES'
    3. Enter the class type as 'OT'
    4. Enter the object key as the name of the logo you wish to give
    5. Execute
    6. Then in the new screen select Standard doc. types in bottom window
    Click on the Screen icon
    Now, it will ask for the file path where you have to upload the logo
    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    or
    Import Logo and Background Picture for Reporting
    In this step, you can import a customer-specific logo and a background picture into the R/3 System. These will be displayed in the header area of reports in HR Funds and Position Management.
    From the SPRO:
    HR Funds and Position Management --> Dialog Control --> Customize Reporting Interface --> Import Logo and Background Picture for Reporting.
    Activities
    1. Enter the Name of your logo/background picture as an object key in the initial screen.
    2. Make sure that the class name is PICTURES, and the class type is OT.
    3. Choose Execute.
    4. Double-click the document type Picture on the Create tab page. A dialog box will appear in which you can enter the path in which the logo/background picture can be found.
    5. Enter the path and choose Open. The logo will be uploaded into the current R/3 System. If the logo/background picture is to be transported into other systems as well, choose Transport.
    6. Return to the initial screen and repeat the procedure after having entered the Name of your background picture as an object key.
    Please note that the logo/background picture can only be displayed in ALV-based reports with an HTML header. Manually programmed reports such as business distribution plans are not based on the ALV.
    If you have selected several initial objects, ALV-based reports in HR Funds and Position Management will automatically use a hiearchical-sequential display. A logo is not displayed here either. Note also that the logo cannot be printed (see print preview in program).
    Make sure that the logo does not exceed a height of 100 pixels because it would mean that the header of the report will be scrollable.

  • Is there any way to make the cursor appear larger in Mac OS X?

    Wow, love my 27" screen, but have trouble finding the cursor! Is there any way to make the cursor appear larger? Perhaps adjustable for fine print capture?
    Thanks!

    System Preferences -> Universal Access -> Mouse -> Cursor size
    However, I prefer using Mouse Locator (free download)
    <http://www.versiontracker.com/dyn/moreinfo/macosx/26157>
    I like this Mouse Locator Graphic
    <http://homepage.mac.com/douglasn/locatorexchange/AD/1/MouseLocator.png>
    I also enjoy my 27" iMac. It is just so nice withing on it.
    Message was edited by: BobHarris

Maybe you are looking for

  • Server 2012 R2 + WSUS = not updating

    Hi all,  We've (finally!) started to deploy Server 2012 R2 machines, and one of the things I'm having problems with is WSUS. I've patched WSUS (which is running on 2008R2) so that it's aware of Windows 8/2012R2 machines, and servers are querying/repo

  • HP Laserjet pro 300 ME sided printing

    Hi! I have tried everything that I can to print 2-sided on this printer.  Once in a while it works, but mostly I fail.  Today trying to print my 84 pages of Tax forms, it would send to the printer and then it would just disappear! I have tried callin

  • Failed reboot or shuntdown - Only Desktop Picture and Arrow Pointer Remains!

    The iMac iMac G5 20-inch 2 GHz fails to reboot or shutdown sometines (1 five times or so). After selecting to reboot or shut down, everything closes but the Deskttop picture remains, as well as the mouse arrow pointer, which can be moved with the mou

  • ITunes will not update because 'iPod Service' could not be downloaded.

    For many months now I have been trying to update my iTunes on my computer yet whenever the update is being downloaded I recieve an error message that tells me to go to the Tools menu and to download it from there. I do this and try to install the sof

  • Converting to MP3 after purchasing from iTunes

    I just purchased 8 songs from iTunes to use in a slideshow for my private use. When I try to convert I get a message that "could not be converted because protected files cannot be converted to other formats." My slide show software "Pinnacle" uses MP