ROWNUM equivalent in ABAP

Hi all
Iwant to fetch the records from table like rownum. I want to fetch whole data of fI tables. But I amnot able to select as it is giving time out or memory exception error.So i want to fetch batch wise, means first i will fetch 100000 records then from 100001 to 200000 like this. Can it possible in ABAP.
Or is there any other method to do this?
Thanks

You can Use Upto n Rows addition in Select Statement...
... UP TO n ROWS
Effect
This addition restricts the number of rows in the result set. A data object of the Type i is expected for n. A positive number in n indicates the maximum number of rows in the result set.
See the ABAP Keyword Documentation for SELECT statement for more details....

Similar Messages

  • What is the SQL ROWNUM equivalent in HANA SQL script

    Hi,
    Could any one let me know what is the ROWNUM equivalent in HANA? Thanks for the help.
    Thanks,
    Jyothirmayi

    Hi Jyothirmayi,
    ROW_NUMBER() OVER (ORDER BY <FIELD LIST>) is the function to generate row numbers.
    ORDER BY clause is mandatory to generate row numbers in HANA.
    Regards,
    Chandra.

  • Throw statement equivalent in ABAP Objects

    Hi All,
    I am trying to raise an exception and use a throw statement after catch inside try endtry in ABAP objects. Later i understood that there is no throw statement defined in ABAP objects. Could anyone help me out to understand the equivalent throw statement in ABAP and how to use in raise exception. I am pasting my code below for reference.
    try.
        CATCH Zxx_EXCEPTION into err.
         write:/ err->local_text.
        message err->LOCAL_TEXT type 'I'.
         if err->local_text = ZIF_XXXX~BUSOBJLOCKED.
          throw CX_AI_APPLICATION_FAULT.
    endtry.
    Thanks
    Deno

    Hello Deno
    The TRY/CATCH logic of ABAP-OO is pretty much the same like in Java. Instead of throwing exception we have to raise them.
    Method execute somewhere raise an exception of class zcx_myexception.
    method execute.
      if ( condition = abap_true ).
      else.
        RAISE EXCEPTION TYPE zcx_myexception
          EXPORTING
            textid = ...
            <parameter> = ...
      endif.
    endmethod.
    TRY.
      call method go->execute( ).
      CATCH zcx_myexception INTO lo_error.
    * Do error handling
    ENDTRY.
    If the method that calls go->execute does not surround the method call by TRY/CATCH then it must define the exception class in its interface and, thereby, propagate the exception to the next higher level calling method.
    Regards
      Uwe

  • ROWNUM equivalent for Nested Tables?

    Is there an equivalent to the ROWNUM pseudocolumn for a nested table such that something like this...
    WITH driver_data AS
      (SELECT 1 AS id, sys.dbms_debug_vc2coll('a','b','c') AS val FROM dual
      UNION ALL
      SELECT 2 AS id, sys.dbms_debug_vc2coll('x','y','z') AS val FROM dual)
    SELECT t1.id,
      --t2.rownum as pos,
      t2.column_value AS val
    FROM driver_data t1,
         TABLE(t1.val) t2 ;
    ID     VAL
    1     a
    1     b
    1     c
    2     x
    2     y
    2     z...would return something like this...
    ID     VAL  POS
    1     a      1
    1     b      2
    1     c      3
    2     x      1
    2     y      2
    2     z      3

    ABB wrote:
    But the OP now has two collections per row of data, not one, as he showed above, so it becomes more complicated.Yes, it does. But still solvable:
    with t1 as (
                select  t1.*,
                        rownum rn_main
                  from  driver_data t1
         t2 as (
                select  id,
                        val1,
                        rn_main,
                        row_number() over(partition by rn_main order by rn_nested) pos
                  from  (
                         select  id,
                                 column_value val1,
                                 rn_main,
                                 rownum rn_nested
                           from  t1,
                           table(val1)
         t3 as (
                select  id,
                        val2,
                        rn_main,
                        row_number() over(partition by rn_main order by rn_nested) pos
                  from  (
                         select  id,
                                 column_value val2,
                                 rn_main,
                                 rownum rn_nested
                           from  t1,
                           table(val2)
    select  nvl(t2.id,t3.id) id,
            val1,
            val2,
            nvl(t2.pos,t3.pos) pos
      from  t2 full outer join t3 on t2.rn_main = t3.rn_main and t2.pos = t3.pos
      order by nvl(t2.rn_main,t3.rn_main),
               nvl(t2.pos,t3.pos)
    SQL> create table driver_data(
      2                           id number,
      3                           val1 sys.dbms_debug_vc2coll,
      4                           val2 sys.dbms_debug_vc2coll
      5                          )
      6    nested table val1 store as val1_tbl,
      7    nested table val2 store as val2_tbl
      8  /
    Table created.
    SQL> insert
      2    into driver_data
      3    SELECT  1 id,
      4            sys.dbms_debug_vc2coll('c','b','a') val1,
      5            sys.dbms_debug_vc2coll('k','u') val2
      6      FROM  dual
      7   UNION ALL
      8    SELECT  2 id,
      9            sys.dbms_debug_vc2coll('z','y','x') val1,
    10            sys.dbms_debug_vc2coll('n','e','j','t') val2
    11      FROM  dual
    12   UNION ALL
    13    SELECT  1 id,
    14            sys.dbms_debug_vc2coll('c','b','a') val1,
    15            sys.dbms_debug_vc2coll('k','u') val2
    16      FROM  dual
    17   UNION ALL
    18    SELECT  2 id,
    19            sys.dbms_debug_vc2coll('z','y','x') val1,
    20            sys.dbms_debug_vc2coll('n','e','j','t') val2
    21      FROM  dual
    22  /
    4 rows created.
    SQL> commit
      2  /
    Commit complete.
    SQL> column val1 format a10
    SQL> column val2 format a10
    SQL> with t1 as (
      2              select  t1.*,
      3                      rownum rn_main
      4                from  driver_data t1
      5             ),
      6       t2 as (
      7              select  id,
      8                      val1,
      9                      rn_main,
    10                      row_number() over(partition by rn_main order by rn_nested) pos
    11                from  (
    12                       select  id,
    13                               column_value val1,
    14                               rn_main,
    15                               rownum rn_nested
    16                         from  t1,
    17                         table(val1)
    18                      )
    19             ),
    20       t3 as (
    21              select  id,
    22                      val2,
    23                      rn_main,
    24                      row_number() over(partition by rn_main order by rn_nested) pos
    25                from  (
    26                       select  id,
    27                               column_value val2,
    28                               rn_main,
    29                               rownum rn_nested
    30                         from  t1,
    31                         table(val2)
    32                      )
    33             )
    34  select  nvl(t2.id,t3.id) id,
    35          val1,
    36          val2,
    37          nvl(t2.pos,t3.pos) pos
    38    from  t2 full outer join t3 on t2.rn_main = t3.rn_main and t2.pos = t3.pos
    39    order by nvl(t2.rn_main,t3.rn_main),
    40             nvl(t2.pos,t3.pos)
    41  /
            ID VAL1       VAL2              POS
             1 c          k                   1
             1 b          u                   2
             1 a                              3
             2 z          n                   1
             2 y          e                   2
             2 x          j                   3
             2            t                   4
             1 c          k                   1
             1 b          u                   2
             1 a                              3
             2 z          n                   1
            ID VAL1       VAL2              POS
             2 y          e                   2
             2 x          j                   3
             2            t                   4
    14 rows selected.
    SQL> SY.

  • Power function equivalent of ABAP Power (a,n)

    Hello I need to do following calculation in the BeX report
    (ab) ^ (1/5) ( basically 1/5 root of ab). How can this be achieved in BeX?

    Hi,
    Please look into these..
    Power function in Bex formula editor
    Re: How to do 'to the power of 'calculations in ABAP?
    http://help.sap.com/saphelp_nw04/helpdata/en/ef/c105b4b9f76e49aeab879ea30cd828/frameset.htm
    Please assign points if helpful..
    Regards.

  • RowNum option does works in ABAP programming

    Hi hello
    i want to select a specific row in a table.
    for example i want to select 10 the highest salary from
    zemp3 table
    i have written the select statement
    select distinct salary from zemp3 where RowNum = 10.
    it's not working
    so kindly if u know any solution please share with me

    Hi Shiva
    You can not use "rownum" in OpenSQL (ABAP) queries. Thus, you should first select all values into an internal table, then sort it and finally get top 10.
    <u><b>e.g.</b></u>
    DATA: BEGIN OF lt_salary OCCURS 0 ,
            salary LIKE zemp3-salary ,
          END OF lt_salary .
    SELECT DISTINCT salary FROM zemp3
           INTO TABLE lt_salary .
    SORT lt_salary DECREASING BY salary .
    LOOP AT lt_salary .
      WRITE:/ lt_salary-salary .
      IF sy-tabix = 10 .
        EXIT .
      ENDIF .
    ENDLOOP .
    I can't figure out whether the following code may also suit since I am not sure whether it orders first and then selects up to n entries or first selects and then orders. For the latter case, your output will not be as you want. However, you can try and see it.
    SELECT DISTINCT salary FROM zemp3
           UP TO 10 ROWS
           INTO TABLE lt_salary
           ORDER BY salary .
    This can also be a way:
    TABLES zemp3 .
    SELECT salary FROM zemp3
           ORDER BY salary .
      WRITE:/ zemp3-salary .
      IF sy-tabix = 10 .
        EXIT .
      ENDIF .
    ENDSELECT .
    Regarding the number of entries of zemp3 and its indices, one of these 3 (assuming all provides the same output) ways should be the optimum .
    <i>And as a last thing, let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
    - one 10 points (solved)
    - two 6 points (very helpful answer)
    - many 2 points (helpful answer)</i>
    Happy new year...
    *--Serdar

  • Program in JAVA-ABAP

    Can we program in JAVA in mySAP to build an application equivalant to ABAP?
    If yes, then how much JAVA is essential? is basics fine? or advance concepts are required?

    Theoretically its is definitely possible, but you might face a lot of practical difficulties. For one, all your application tables are in ABAP and for each operation you would have to call the ABAP table. As far as I know, the dictionary-level integration between ABAP and Java is not fully functional yet.
    Secondly, each time you would have to do a Jco call to the ABAP engine to pass back values/call an FM in the system, etc. That would add to the time taken by your app.
    You would require a very good knowledge of java to be able to code an entire app.
    Sudha

  • A few questions bout EBS and SAP

    Can anyone please clarify what's the diff in SAP and EBS.
    Can i get EBS for free (learning purposes)
    In SAP ABAP is used for programming purposes. what is equivalent in EBS to that.?
    Regards
    Khurana

    Hi Khurana,
    Following are my understanding and only my personal view.
    1. Can anyone please clarify what's the diff in SAP and EBS.
    SAP and EBS are ERP solutions as you know, business wise its just a comfort factor which makes customer to choose either SAP or Oracle. To be straight SAP doesnt allow you to do customizations as it can be done in Oracle, this is what makes SAP tightly integrated less error prone. Both use their own way of programming which is the answer for your second question below. SAP has its own standards and Oracle too has its legacy. For techincal details you can refer to the following link,
    http://oreilly.com/catalog/sapadm/chapter/ch01.html
    2. In SAP ABAP is used for programming purposes. what is equivalent in EBS to that.?
    ABAP is a programing language created by SAP and it is similar to any other programming language. Its quite similar to COBOL. This was first used as a reporting purpose by SAP and later used extensively for application programing.
    For me equivalent for ABAP is PL/SQL in EBS or if i need to compare with reporting or form tool in EBS then it would be D2k.
    mYth

  • BW Upgradation Project from BW 3.5 t o BI 7.0

    Dear SDNS,
                             We got an requirement to do an upgradation project for BW 3.5 to BI 7.0... This is the first time am involving for Upgradation..Am An BW Technical Consultant.. Can anyone one sugggest at scratch level wat are the roles should play by BW Technical consultant.. And Wat are the activities whould done by BW technical consultant.. An can anyone tell me.. How many SAP Consultants should involve in this Project.. i.e like how many Basis Consultants and how many ABAP Consultants should involve.. Who plays the Vital Role for Upgradation...
    Can anyone send me the Documents Related for BIW Upgradation for BW 3.5 to BI 7.0.. If anyone send me screen shots related to BW Tehcnical Consultant work it would be helpful.....
    My E-Mail - [email protected]
    Answering Getz Appreciated,
    Thanks & Regards,
    Aluri

    Hi
    I have some checklist ,do not exactly remember from where i got it but its really usefull
    There is no standard SAP checklist as it used to exist in 3.x for nw2004s upgrade and trust the master data guide available on market place is not upto the mark and expectations
    So Heads up..
    /message/2979584#2979584 [original link is broken]
    /message/2765713#2765713 [original link is broken]
    /message/2979576#2979576 [original link is broken]
    /message/3214476#3214476 [original link is broken]
    /message/3024448#3024448 [original link is broken]
    You may wish to have a look at draft portrayed below,rest you learn when you drive
    Lessons Learnt - Upgrade
    1)Convert Data Classes of InfoCubes. Set up a new data class as described in SAP OSS Note 46272.
    2)Pay attention to the naming convention. Execute the RSDG_DATCLS_ASSIGN report.
    3)Run the report RSUPGRCHECK to activate objects.
    4)Upgrading ABAP and JAVA in parallel may cause issues. If there is no custom development on J2EE instance, it is recommended to drop the J2EE instance and re-install the latest J2EE instance after the upgrade.
    5)Apply SAP OSS Note 917999 if you include the Support Patch 6 with the upgrade or you will get the error at PARCONV_UPG phase. When you upgrade to a product containing Basis 700, the phase PARCONV_UPG terminates. You included Basis Support Packages up to package level 6 (SAPKB70006) in the upgrade. The job RDDGENBB_n terminates with the error RAISE_EXCEPTION. In addition to this, the syslog contains the short dump TSV_TNEW_PAGE_ALLOC_FAILED. The program SDB2FORA terminates in the statement "LOOP AT stmt_tab". An endless loop occurs when the system creates the database table QCM8TATOPGA.
    6)Apply the OSS note 917999 if you get the following error during PARCONV_UPG phase: PARCONV_UPG terminates with TSV_TNEW_PAGE_ALLOG_FAILED
    Critical OSS Notes:
    819655 – Add. Info: Upgrade to SAP NW 2004s ABAP Oracle
    820062 - Oracle Database 10g: Patchsets/Patches for 10.1.0
    839574 – Oracle database 10g: Stopping the CSS services ocssd.bin
    830576 – Parameter recommendations for Oracle 10g
    868681 – Oracle Database 10g: Database Release Check
    836517 – Oracle Database 10g: Environment for SAP Upgrade
    853507 – Usage Type BI for SAP Netwaevers 2004s
    847019 - BI_CONT 7.02: Installation and Upgrade Information
    818322 – Add. Info: Upgrade to SAP NW 2004s ABAP
    813658 - Repairs for upgrades to products based on SAP NW 2004s AS
    855382 – Upgrade to SAP SEM 6.0
    852008 – Release restrictions for SAP Netweaver 2004s
    884678 - System info shows older release than the deployed one
    558197 – Upgrade hangs in PARCONV_UPG
    632429 – The upgrade strategy for the add-on BI_CONT
    632429 - The upgrade strategy for the add-on FINBASIS
    570810 - The upgrade strategy for the add-on PI_BASIS
    632429 - The upgrade strategy for the add-on SEM-BW
    069455 - The upgrade strategy for the add-on ST-A/PI
    606041 - The upgrade strategy for the add-on ST-PI
    632429 - The upgrade strategy for the add-on WP-PI
    Post upgrade Steps :-
    1. Read the Post Installation Steps documented in BW Component Upgrade Guide
    2. Apply the following SAP OSS Notes
    47019 - BI_CONT 7.02: Installation and Upgrade
    558197 - upgrade hangs in PARCONV_UPG, XPRAS_UPG, SHADOW_IMPORT_UPG2
    836517 – Oracle Database 10g: Environment for SAP Upgrade
    3. Install the J2EE instance as Add-in to ABAP for BI 7.0 and apply the Support Patch that equivalent to ABAP Support Patch.
    4. Run SGEN to recompile programs.
    5. Install the Kernel Patch.
    6. Missing Variants - (also part of test script)
    look at the RSRVARIANT table in SE16. If it is empty, then you will definitely need to run RSR_VARIANT_XPRA
    program - RSR_VARINT_XPRA
    OSS -953346 and 960206 1003481
    7. Trouble Shootauthorizations
    820183 - New authorization concept in BI
    I think the above material is sufficient but in case you face any issues feel free to revert back
    Reward suiatble points

  • Exceptions classes in 4.6C

    Hello SDNers,
    as Uwe had already written in the thread Throw statement equivalent in ABAP Objects.
    What would be better?
    1. Would you try to develop in 4.6C the exception classes
       (plenty of work, but keeping myself updated, and I can use them also in the future)
      CX_ROOT                             -> ZCX_ROOT; ZIF_MESSAGE
      CX_STATIC_CHECK (I need this slass) -> ZCX_STATIC_CHECK
    2. just to solve the problem with traditionally
      METHOD get_xxx.
        IF sy-subrc = 0.
        ELSE.
            RAISE wrong_xxxx.
        ENDIF.
      ENDMETHOD.
    With regards,
    Peter

    You may appreciate that whatever is possible in OO ABAP is still possible in procedural ABAP with difference in the extent of SW reusability, visibility control etc. So its a design decision whether to go for OO ABAP. In case you have a business case for a class ( you feel that the class will be used many times in your project, you need to control visibility, you have chances of enhancing the functionality of the class, you do not want to incur more resources in testing etc. ), you can go for the development of the exception class.
    Otherwise traditional development may be helpful.

  • How to Refresh cache of Service Call

    Hi
    Normally I use java WD, but am helping out a friend who uses ABAP flavour.
    In the java WD, if the RFC changes, I just re-import the model so that the changes are made available to me in the Dev Studio. How do I do the equivalent in ABAP WD? ie How do I refresh/re-import the Service Call?
    thanks

    Hi Anton,
    In WD ABAP, if we want to reimport the service call, we need to follow the same steps which we follow to create a service call.
    One thing to notice is that wizard does not allow to give the same method name which we gave/system proposed during the last time service call creation. Hence in the second time when we reimport the service call provide all details and new method name. A new method will be created in Controller (if we use existing controller). During adapting the nodes new nodes/attributes will be created.
    Hence the best approach is to before reimporting the service call is to delete the context, attributes and the method created during the previous service call creation.
    Best regards,
    Suresh

  • Upgrading from 3.5 to 7.0

    hi friends,
    what are errors will be available when i upgrade from 3.5 to bi 7.0
    thanking u
    suneel.

    Lessons Learnt - Upgrade
    1)Convert Data Classes of InfoCubes. Set up a new data class as described in SAP OSS Note 46272.
    2)Pay attention to the naming convention. Execute the RSDG_DATCLS_ASSIGN report.
    3)Run the report RSUPGRCHECK to activate objects.
    4)Upgrading ABAP and JAVA in parallel may cause issues. If there is no custom development on J2EE instance, it is recommended to drop the J2EE instance and re-install the latest J2EE instance after the upgrade.
    5)Apply SAP OSS Note 917999 if you include the Support Patch 6 with the upgrade or you will get the error at PARCONV_UPG phase. When you upgrade to a product containing Basis 700, the phase PARCONV_UPG terminates. You included Basis Support Packages up to package level 6 (SAPKB70006) in the upgrade. The job RDDGENBB_n terminates with the error RAISE_EXCEPTION. In addition to this, the syslog contains the short dump TSV_TNEW_PAGE_ALLOC_FAILED. The program SDB2FORA terminates in the statement "LOOP AT stmt_tab". An endless loop occurs when the system creates the database table QCM8TATOPGA.
    6)Apply the OSS note 917999 if you get the following error during PARCONV_UPG phase: PARCONV_UPG terminates with TSV_TNEW_PAGE_ALLOG_FAILED
    Critical OSS Notes:
    819655 – Add. Info: Upgrade to SAP NW 2004s ABAP Oracle
    820062 - Oracle Database 10g: Patchsets/Patches for 10.1.0
    839574 – Oracle database 10g: Stopping the CSS services ocssd.bin
    830576 – Parameter recommendations for Oracle 10g
    868681 – Oracle Database 10g: Database Release Check
    836517 – Oracle Database 10g: Environment for SAP Upgrade
    853507 – Usage Type BI for SAP Netwaevers 2004s
    847019 - BI_CONT 7.02: Installation and Upgrade Information
    818322 – Add. Info: Upgrade to SAP NW 2004s ABAP
    813658 - Repairs for upgrades to products based on SAP NW 2004s AS
    855382 – Upgrade to SAP SEM 6.0
    852008 – Release restrictions for SAP Netweaver 2004s
    884678 - System info shows older release than the deployed one
    558197 – Upgrade hangs in PARCONV_UPG
    632429 – The upgrade strategy for the add-on BI_CONT
    632429 - The upgrade strategy for the add-on FINBASIS
    570810 - The upgrade strategy for the add-on PI_BASIS
    632429 - The upgrade strategy for the add-on SEM-BW
    069455 - The upgrade strategy for the add-on ST-A/PI
    606041 - The upgrade strategy for the add-on ST-PI
    632429 - The upgrade strategy for the add-on WP-PI
    Post upgrade Steps :-
    1. Read the Post Installation Steps documented in BW Component Upgrade Guide
    2. Apply the following SAP OSS Notes
    47019 - BI_CONT 7.02: Installation and Upgrade
    558197 - upgrade hangs in PARCONV_UPG, XPRAS_UPG, SHADOW_IMPORT_UPG2
    836517 – Oracle Database 10g: Environment for SAP Upgrade
    3. Install the J2EE instance as Add-in to ABAP for BI 7.0 and apply the Support Patch that equivalent to ABAP Support Patch.
    4. Run SGEN to recompile programs.
    5. Install the Kernel Patch.
    6. Missing Variants - (also part of test script)
    look at the RSRVARIANT table in SE16. If it is empty, then you will definitely need to run RSR_VARIANT_XPRA
    program - RSR_VARINT_XPRA
    OSS -953346 and 960206 1003481
    7. Trouble Shoot authorizations
    820183 - New authorization concept in BI
    Regards
    Naga

  • Test plan for upgrading the support packs

    Dear friends,
    We are going to upgrade the BI system with SP18.
    Please let me know the impact system will be facing with this upgrade and the test plan to take care after the upgrade.
    With Regards
    Neetu
    Edited by: Siegfried Szameitat on Oct 29, 2008 8:48 AM

    Hi,
    it will helps hopeful,
    Upgradation steps:
    1) Convert Data Classes of InfoCubes. Set up a new data class as described in SAP OSS Note 46272. 
    2) Pay attention to the naming convention. Execute the RSDG_DATCLS_ASSIGN report. 
    3) Run the report RSUPGRCHECK to activate objects. 
    4) Upgrading ABAP and JAVA in parallel may cause issues. If there is no custom development on J2EE instance, it is recommended to drop the J2EE instance and re-install the latest J2EE instance after the upgrade. 
    5) Apply SAP OSS Note 917999 if you include the Support Patch 6 with the upgrade or you will get the error at PARCONV_UPG phase. When you upgrade to a product containing Basis 700, the phase PARCONV_UPG terminates. You included Basis Support Packages up to package level 6 (SAPKB70006) in the upgrade. The job RDDGENBB_n terminates with the error RAISE_EXCEPTION. In addition to this, the syslog contains the short dump TSV_TNEW_PAGE_ALLOC_FAILED. The program SDB2FORA terminates in the statement "LOOP AT stmt_tab". An endless loop occurs when the system creates the database table QCM8TATOPGA. 
    6) Apply the OSS note 917999 if you get the following error during PARCONV_UPG phase: PARCONV_UPG terminates with TSV_TNEW_PAGE_ALLOG_FAILED
    Critical OSS Notes:
    819655 u2013 Add. Info: Upgrade to SAP NW 2004s ABAP Oracle
    820062 - Oracle Database 10g: Patchsets/Patches for 10.1.0 
    839574 u2013 Oracle database 10g: Stopping the CSS services ocssd.bin 
    830576 u2013 Parameter recommendations for Oracle 10g 
    868681 u2013 Oracle Database 10g: Database Release Check 
    836517 u2013 Oracle Database 10g: Environment for SAP Upgrade 
    853507 u2013 Usage Type BI for SAP Netwaevers 2004s 
    847019 - BI_CONT 7.02: Installation and Upgrade Information 
    818322 u2013 Add. Info: Upgrade to SAP NW 2004s ABAP 
    813658 - Repairs for upgrades to products based on SAP NW 2004s AS 
    855382 u2013 Upgrade to SAP SEM 6.0 
    852008 u2013 Release restrictions for SAP Netweaver 2004s 
    884678 - System info shows older release than the deployed one 
    558197 u2013 Upgrade hangs in PARCONV_UPG 
    632429 u2013 The upgrade strategy for the add-on BI_CONT 
    632429 - The upgrade strategy for the add-on FINBASIS 
    570810 - The upgrade strategy for the add-on PI_BASIS 
    632429 - The upgrade strategy for the add-on SEM-BW 
    069455 - The upgrade strategy for the add-on ST-A/PI 
    606041 - The upgrade strategy for the add-on ST-PI 
    632429 - The upgrade strategy for the add-on WP-PI
    Post upgrade Steps :-
    1. Read the Post Installation Steps documented in BW Component Upgrade Guide 
    2. Apply the following SAP OSS Notes 47019 - BI_CONT 7.02: Installation and Upgrade 558197 - upgrade hangs in PARCONV_UPG, XPRAS_UPG, SHADOW_IMPORT_UPG2 836517 u2013 Oracle Database 10g: Environment for SAP Upgrade 
    3. Install the J2EE instance as Add-in to ABAP for BI 7.0 and apply the Support Patch that equivalent to ABAP Support Patch.
    4. Run SGEN to recompile programs. 
    5. Install the Kernel Patch. 
    6. Missing Variants - (also part of test script) look at the RSRVARIANT table in SE16. If it is empty, then you will definitely need to run RSR_VARIANT_XPRA program - RSR_VARINT_XPRA OSS -953346 and 960206 1003481 
    7. Trouble Shootauthorizations 820183 - New authorization concept in BI               
    Regards,
    Deva Reddy

  • I Need help on Sequences

    Hello,
    I'm new to ABAP programming and I'm creating a system from scratch. I'm using SAP netweaver trial with the default user known as "bcuser". I am creating a custom table and basically what I want is to have a primary key that auto-increments. I want to use "SEQUENCES" to do it but then I'm having a problem. I don't see much tutorial about MaxDB over the internet so I guess someone here might assist me.
    So I tried the example "CREATE SEQUENCE xxx", and I'm getting an error like the "SEQUENCE" keyword can't be understood by the compiler. To be specific, error is something like
    "Unable to interpret "SEQUENCE". Possible causes: Incorrect spelling or comma error."
    I tried to google this error but to no avail. It seems like SAP errors are unknown to the world.

    Hi again.
    You should have mentioned that you want to use MaxDB from ABAP and want to do custom development.
    SEQUENCES are dbms-dependent objects, which don't have a direct equivalent in ABAP.
    In ABAP what most people to to get some random but unique number is to either use number range objects (check the abap documentation for this) or to use GUIDs.
    The number range objects can be buffered and when they are, locking occurs rather seldom.
    Another thing you should think of is: why do you need such a number? Quite often having surrogate keys is done due to a design mistake in your data design.
    Concerning documentation... have you tried the search field in the upper right corner? I don't think so.
    Have you checked http://maxdb.sap.com/documentation ? Doesn't look like you did.
    What about http://help.sap.com ?
    regards,
    Lars

  • Abap equivalent for  'rownum'

    Dear All,
               I want to fetch any 5 records from a table without using internal table.Basically  I want an abap equivalent for the 'rownum' keyword in oracle.
    For e.g.
    select * from emp where rownum <  5.
    How can this be done in abap?
    Yours truly,
    Ratish

    Hi,
    you can use Select * upto 5 rows
                                 from mara  into wa_mara
                        where <condition>
                        end select.
    Regards,
    Sarath J

Maybe you are looking for