Performace tunning regarding custum Program

Hi all,
How can we replaced the the below statements to improve the performance
DATA : BEGIN OF i_clint OCCURS 0,
clint LIKE klah-clint,
END OF i_clint.
data:i_kssk LIKE i_clint OCCURS 0.
READ TABLE idoc_data WITH KEY
segnam = c_e1lfa1m. struct_e1lfa1m = idoc_data-sdata.
ws_lifnr = struct_e1lfa1m-lifnr.
READ TABLE idoc_data WITH KEY
segnam = c_e1lfb1m.
IF sy-subrc EQ 0.
struct_e1lfb1m = idoc_data-sdata.
IF struct_e1lfb1m-zwels NE '/' OR "Payment method
struct_e1lfb1m-hbkid NE '/'. "House bank
Please help me on this.

Hi,
As SAP recommends, do not create/declare internal tables with header line. Create an explicit work area for internal tables and read into the work area or use field symbols (ASSIGNING).
Also, when performing READ command on internal table, use BINARY SEARCH. However, precaution, always sort the internal table with the fields used for read in WITH KEY clause.
Cheers.

Similar Messages

  • Oracle 11g performace tunning  book

    Please suggest the  good book for oracle 11g performace tunning ,
    which gives the complete idea of performance tunning.

    888412 wrote:
    Please suggest the  good book for oracle 11g performace tunning ,
    which gives the complete idea of performance tunning.
    Define what do you mean by "complete" . If you are willing to read just one book to read all about Performance Tuning, well guess what, there isn't any. Every book that you are going to read from a good author, like the one suggested by Martin , is going to be useful . And just so you know, 12c is the latest release.
    HTH
    Aman....

  • Cannot uninstall I tunes. In control panel add and remove programs it will not give me the option to remove any of the I tunes. In program files it tells me access denied to remove any of the related items. I have tried using the removal methods from i tu

    My i tunes will not work at all. I have tried all the steps given to remove my I tunes player but in my control panel, add and remove programs it does not give me an option to remove any of the apple/ I tunes. I tried to go to program files and remove all the files but access is denied. This all started about 1 1/2 years ago and with every i tunes update i got more and more errors or problems until it stopped working. At one time i could remove and reinstall i tunes to try to fix it but now i cannot do anything. I believe one of the last  was i could not open i tune because it was being used or was on another network, not 100% sure its been so long and frustrating I quit trying 6 months ago. Hopefully someones got some help !!!
    Thanks I appreciate your time; Philip

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Help needed regarding Dynamic Programming

    Hi,
    While doing dynamic programming , we bind the context variable with two types of
    values .
    1 . ddic
    2 . extern
    My doubt is in which case we should use ddic and where to use extern .
    Can anybody help me out regarding this.
    Thanks a lot.

    Hi Ki,
    Predefined, Web Dynpro UI-specific, and user-defined Dictionary types all have the
    prefix ddic:.
    wdContext.getNodeInfo()
    .addAttribute(
    "Visibility",
    "ddic:com.sap.ide.webdynpro.uielementdefinitions.Visbility")
    •Logical Dictionary types from Adaptive RFC models have the prefix extern:.
    Check this links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    /people/dipankar.saha3/blog/2007/05/31/how-to-create-dynamic-approval-process-using-conditional-loop-block-in-guided-procedure
    Regards,
    Mithu

  • Regarding Dynamic Programming in HR-ABAP

    Hi,
         I have problem on the dynamic programming. The Reqirement is like, Infotype
    0008 if shows one Initial screen , into that infotype we have to add five fields this is
    an Enhancement and after we adding that fields into that infotype we should do some logics based on the wagetype , and once we enter an input to that IT 0008
    we get that five field values l. How can i solve this problem please help me.
    Regards,
    Sadanandam

    Please this is and Urgent Requirement

  • Regarding query program

    Hi,
    I have a requirement in which i have to add 1 more column to a ALV reporte that was created based on a query (SQ01). But the problem is that the query was deleted.
    Does anybody know how to rebuild the query from the program? Or could anybody tell me which would be a better solution for this?
    Regards,
    Roberto

    I think it is not possible to create a SQ01 from report. My suggestion will be alter the report as per your needs

  • Regarding ABAP program to read and manipulate data from Excel file....

    Hi,
    I want to write a ABAP program which will read Excel file which has three columns viz: Col A, Col B and Col C.
    If there is no data in Col B and Col C for a given record in Column A, then progam should print all those records on screen with write statement.
    Regards,
    Rajesh.

    Hi
    Check
    PARAMETERS: filename LIKE rlgrap-filename MEMORY ID M01,
    begcol TYPE i DEFAULT 1 NO-DISPLAY,
    begrow TYPE i DEFAULT 1 NO-DISPLAY,
    endcol TYPE i DEFAULT 100 NO-DISPLAY,
    endrow TYPE i DEFAULT 32000 NO-DISPLAY.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = filename
    i_begin_col = begcol
    i_begin_row = begrow
    i_end_col = endcol
    i_end_row = endrow
    TABLES
    intern = intern
    EXCEPTIONS
    inconsistent_parameters = 1
    upload_ole = 2
    OTHERS = 3.
    After getting Records in INTERN TABLE  You can loop it to check where columns B & C are empty  and store them in another table .
    LOOP AT intern.
    IF INTERN  B and C has value  .
    CONTINUE
    ELSE .
    MOVE THEM INTO ANOTHER TABLE ITAB .
    ENDIF .
    ENDLOOP.
    THEN LOOP ITAB .
    WRITE : ' '
    ENDLOP .
    Hope this Helps .
    Praveen

  • Query regarding RSTXSCRP program

    Hi All Form experts,
    This is one doubt which is really confusing me.
    When we export/ import a form using teh program RSTXSCRP, if the form has different languages, say EN, Ja and Chinese, if we want to export/import only one language version to/from our Pc, is it possible?
    I tried exporting just the JA lang version of a form to my PC but again all the lang versions seem to be exported. Please find the screen shot/output of the program:
    Language vector used: NEDO1J
    Definition E exported
    Original language E exported
    Language J exported
    Object was exported
    Please Help me out in this regard.
    Regards
    Priya

    Thanks Naimesh.
    So you do mean to say that we can export/import only the original language version of the form and not the translated versions. Right?
    If it is so, if the form has original lang as EN and 2 other languages in translation , say, JA or Chinese, then is it possible to import only the original language from our PC to SAP?
    Regards,
    Priya
    Edited by: priya p on Feb 12, 2009 8:56 PM

  • Regarding HR program %_HR9112

    hi guys,
    In HR module, during the upgrade we are facing problem with Include program %_HR9112
    we have addon program using this include program in 46C. But does not exists in ECC system.
    Should i have to regenerate anything in ECC or Create this include? if i execute this Include program in 46C we are getting Selection screen with input parameters.
    Any suggestion please
    regards
    Ambichan

    Hi,
    You have to run the program RPUMS40CCI to generate the missing include.
    Run the pgm with the infotype as 9112 , with the check box 'Generate Infotype include' and unchecking 'Test mode'. It generates the missing include.
    Regards,
    Soumya.
    Edited by: Soumya Jose on May 9, 2008 10:40 AM

  • Regarding Dialog Programs

    Hi,
        My requirement is to record Customer Enquiries and Customer Orders and generate a unique number for every Customer Enquiry and Order .is there any standard program of this type?
    How to  find  the standard dialog programs ?
    Thanks in advance,
    Regards,
    KIshore

    Hi ,
    In SAP through tcode SNRO a number range object is maintained and under that Number intervals are maintianed according to the year.
    What ever code you do and you have to generate a unique number then you have to use Function module
    GET_NEXT_NUMBERS  to generate the next number.
    This funtion module gives you FIRST NUMBER ,LAST NUMBER,CURRENT NUMBER .
    I hope this will help you.

  • Error regarding update program

    hi
    i am facing an  error i.e Error when generating the update program
    Can any body give the solution for this question
    thanks
    gurkiran

    hi yogesh
    An error occurred during program generation for InfoSource 80FIGL_O02 and InfoProvider ZFIGL_C02. This may be extrapolated to incorrect update rules.
    Procedure
    Check and correct your update rules and then generate the update program again. but i dont know the procedure Acctually
    or the steps Acctaually how to perform on this procedure
    kingly explain me in more precise form
    Thanks
    Regards
    Gurkiran

  • Can't load I Tunes-Windows installer program missing?

    When trying to load I Tunes on my PC (Windows 7 Home Premium) an error mesage stops the download. It states that "Window installer package - A program required to install could not run."

    Repair your Apple Software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install

  • Regarding java program running...

    Hi
    I know it a very basic question...I am learning java before that i used netbeans and now i want to work with java without any ide like netbeans..
    I want to type my program in notepad and run that...
    My program is in c:program\java...When i run the command java -version i got the version details from the above prompt...but when i tried Java Command i am getting the error of java.NoClassDefFoundError....
    so that i can't compile my program..
    Anybody help me regarding this

    Its worth noting that valueOf creates an object of the type and parseXxxx returns a primitive of the type.
    With auto-boxing and auto-unboxing the distinction is not so apparent but there are subtle differences.
    e.g.
    String number = ...
    Double d1 = Double.valueOf(number);
    double d = Double.parseDouble(number);
    Integer i1 = Integer.valueOf(number);
    int i2 = Integer.parseInt(number);
    // you can also do
    int i3 = Integer.valueOf(number); // uses unboxing and is slightly less efficient.
    // uses Integer.valueOf(int) to auto-box which uses the builtin Integer object cache
    // Whereas Integer.valueOf(String) doesn't so it can me more efficient than i1 above.
    Integer i4 = Integer.parseInt(number);

  • Regarding dialoge programming

    Hi experts,
                    Can any please provide step by step procedure for any example Dialoge programming scenario.
    Thanks and regards,
    Sravanthi.

    Hi,
    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
    Vey useful link:
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Other links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/10/e7dbde82ba11d295a40000e8353423/content.htm
    For Screens
    http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbef449911d1949c0000e8353423/content.htm
    Screen elements
    http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f5f2b9911d2954f0000e8353423/content.htm
    Processing Screens
    http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f682b9911d2954f0000e8353423/content.htm
    Complex Screen elements
    http://help.sap.com/saphelp_47x200/helpdata/en/fd/02da2a61d811d295750000e8353423/content.htm
    DIALOG Programming
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://sap.mis.cmich.edu/sap-abap/abap09/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://sap.mis.cmich.edu/abap-00/
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapbrain.com/TUTORIALS/default.html
    http://www.sappoint.com/abap/spmp.pdf
    http://sappoint.com/abap.html
    http://www.sap-img.com/abap.htm
    http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/abap/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://www.sappoint.com/faq/faqdiapr.pdf
    http://www.allsaplinks.com/dialog_programming.html
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    regds,
    paras

  • Regarding driver programs

    hi,
    Iknow form namesbut i dont know the driver program.
    i could not find in the TNAPR table and NACE tcode.How will i know tht name. if any one knows plz reply me.
    regards.

    Hi Subha,
    Please chcek this thread perhaps it may help.
    driver program
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for

  • Can you share iCalander/Address Book with other users and restrict them from seeing certain entries?

    I'm doing some research for my boss concerning iCloud. He would like to setup a way to syncronize iCalender and the Address Book between three users but keep his personal information private. For example, he wants to be able to update his calender fr

  • Installing Windows 7/8 on RMBP

    Hello, I have the rMBP 15", I am quite new to Macs as well.  I want/need to run Windows on my computer to use software such as Access 2010, and other office software which is incompatible with Mac OS. I have read of, and researched slightly Parallels

  • Data not matched in FBL5N & F-32 t.code

    Hi, I execute the FBL5N with the Customer Code XXXX. It shows the entry with 3 line items. But when I m inserting the same Account Number in F-32 trsanaction, it is showing only single line item...WHY??? Please clear.... Thanks...

  • Message determination and output control

    Hi! We want to set up message determination procedure per company code. We have several companies and one purch.org, so if only one of the companies e.g. want to output a PO to a Vendor through EDI, this is will apply to all company codes... any sugg

  • XL Reporter - evaluation of logical operators

    SAP Version: SAP 2005 A (6.80.319) SP01, PL29 XLR Version: 6.80.367 Hi there all over the world! For me it is not possible to control the evaluation of logical operators by the use of brackets, e.g. I want to define a report with a row expansion and