Info on ABAP

Hello All,
I have learned ABAP programming under the R/3 environment. I do not have  exposure the SAP netweaver. I would like to know the difference in ABAP programming under both these environments. Is what ever i have learnt under R/3 obsolete, how different is ABAP under the netweaver environment.
Can any one please let me know. Thank you for sharing your ideas.
Best Regards,
Sharan.

hi,
an important tip.
in netweaver they are mainly focused on OOPS ABAP.
so try to get good idea in OOPS concept..
some sample hlpful pgms.
ABAP_OBJECTS_ENJOY_0           Template for Solutions of ABAP Object Enjoy Course
ABAP_OBJECTS_ENJOY_1           Model Solution 1: ABAP Objects Enjoy Course      
ABAP_OBJECTS_ENJOY_2           Model Solution 2: ABAP Objects Enjoy Course      
ABAP_OBJECTS_ENJOY_3           Model Solution 3: ABAP Objects Enjoy Course      
ABAP_OBJECTS_ENJOY_4           Model Solution 4: ABAP Objects Enjoy Course      
ABAP_OBJECTS_ENJOY_5           Model Solution 5: ABAP Objects Enjoy Course      
DEMO_ABAP_OBJECTS              Complete Demonstration for ABAP Objects          
DEMO_ABAP_OBJECTS_CONTROLS     GUI Controls on Screen                           
DEMO_ABAP_OBJECTS_EVENTS       Demonstration of Events in ABAP Objects          
DEMO_ABAP_OBJECTS_GENERAL      ABAP Objects Demonstration                       
DEMO_ABAP_OBJECTS_INTERFACES   Demonstration of Interfaces in ABAP Objects      
DEMO_ABAP_OBJECTS_METHODS      Demonstration of Methods in ABAP Objects         
DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
rgds
anver
if hlped pls amrk points

Similar Messages

  • How to create an dialog "SAPoffice express info" in ABAP?

    Hi all,
    We would like to create a dialog "SAPoffice express info" to remind the relevant user that he must immediately check his new SAP mail in inbox.
    We see SAP system sometimes send a dialog "SAPoffice express inof" for this same purpose. For example:
    "Express document "Cannot be sent: Send Mail from ABAP Program." received from author "SAPUSER"".
    So we would like to create a dialog "SAPoffice express info" for our cas.
    If anyone know how to create a dialog "SAPoffice express info" in ABAP, please help us?
    Thanks a lot,
    Vinh vo

    Try with function module  SO_NEW_DOCUMENT_SEND_API1. using this you can send express message to sap office.
    RECEIVERS-REC_TYPE = 'B'
    RECEIVERS-REC_ID       = (user id)  " SAP user id for whom you want to send
    RECEIVERS-EXPRESS    'X'        

  • ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

    When I created an Purchase Requistion via PS, I cannot save the requistion, the first message I from SAP office express is Update was terminated, and the error message information is as follows:
    ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    What can be the problem?
    Thank you.

    It seems there is a problem with PR number range....systems generate a PR number which is already existing in database....someone might have changed the number range....you may check that.

  • Info Package ABAP Routine

    Hi
    For FIGL_4 there is both open items and closed items. i want to filter only Open Items Accounting doc no's records for Customers,Vendors,GL account at info package level.
    There are 3 ODS's in BW side for Open items Customers,Vendors,GL accounts. i want to filter open items based on these 3 ODS's Active data table.But i am getting error when i execute the request in Info Package.
    *Error Message "For sel. field 'BELNR ', no selection with SIGN = ' '; OPTION ' ' allowed     RSM1     607     *
    Below is the Info package Routine code
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    TABLES: /BIC/AZOCFFIGL00,/BIC/AZOCFBSID00,/BIC/AZOCFBSIS00
            ,/BIC/AZOCFBSIK00.
    DATA:   ...
    TYPES : BEGIN OF TY_ZOCFBSID,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSID00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSID.
    TYPES : BEGIN OF TY_ZOCFBSIS,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIS00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIS.
    TYPES : BEGIN OF TY_ZOCFBSIK,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIK00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIK.
    DATA : TB_ZOCFBSIS TYPE TABLE OF TY_ZOCFBSIS WITH HEADER LINE,
           WA_ZOCFBSIS TYPE TY_ZOCFBSIS.
    DATA : TB_ZOCFBSID TYPE TABLE OF TY_ZOCFBSID WITH HEADER LINE,
           WA_ZOCFBSID TYPE TY_ZOCFBSID.
    DATA : TB_ZOCFBSIK TYPE TABLE OF TY_ZOCFBSIK WITH HEADER LINE,
           WA_ZOCFBSIK TYPE TY_ZOCFBSIK,
           FLAG TYPE I.
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = ZMCFADCNO
        Fieldname       = BELNR
        data type       = CHAR
        length          = 000010
        convexit        = ALPHA
    form compute_BELNR
      tables   l_t_range      structure rssdlrange
      using    p_infopackage  type rslogdpid
               p_fieldname    type rsfnm
      changing p_subrc        like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'BELNR'.
              l_idx = sy-tabix.
           SELECT
           /BIC/ZMCFADCNO
           FROM /BIC/AZOCFBSID00
           INTO TABLE TB_ZOCFBSID.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIK00
            INTO TABLE TB_ZOCFBSIK.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIS00
            INTO TABLE TB_ZOCFBSIS.
           LOOP AT TB_ZOCFBSID INTO WA_ZOCFBSID.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSID-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIK INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIK-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIS INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIS-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
              modify l_t_range index l_idx.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    Edited by: AtulMohan Mishra on Dec 27, 2010 1:11 PM

    Hi
    Now i am facing an error during data extraction from Source system
    error message in BW system "Error occurred in the data selection " Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    when i checked in  SM37 (R3 system) i found the job has been cancelled and Log of this job says
    "Asynchronous sending of InfoIDOCs 2 in task 0001 (0 parallel tasks) DATASOURCE = 0FI_GL_4 
    ABAP/4 processor: SAPSQL_WHERE_CANT_SCAN                                   
    Job cancelled      "   
    it seems to me the Problem in Routine at Info Package level.
    My Requirement is to fetch only those Accounting Doc. No. RECORDS from 0FI_GL_4 data source which are present in Active data table of BSID,BSIK,BSIS ODS's.
    So i want to put logic at Info Package routine .
    1) fetch all Accounting Doc. No.  from Active data table of BSID,BSIK,BSIS Ods's and Match those Accounting Doc. No.'s with the 0FI_GL_4 data source Accounting Doc. No's.if a Accounting Doc. No. match with 0FI_GL_4 data source Accounting Doc no then that corresponding record from 0FI_GL_4 will go to the ODS
    Regards
    Atul

  • Info Spoke-ABAP Code Modification

    Hi,
       The below code is used as a customer exit variable Which give te YEAR TO DATE value on a KF.
    Could you please mofify this,That output will be year to date value & to eliminate '0' values and have to use it in Infospokes
    OUT PUT: If i use this  on a sales Qty KF,The  user enters the week so that it has to display sales qty againist dept starting from the year to the selected week and also should display only values that are NON Zero
    I need to use this in info spoke
    WHEN 'ZYTD'.
    CLEAR l_s_range.
    wdate = ww_date.
    weekno = '01'.
    SELECT SINGLE * FROM /bic/pycalday_w
    WHERE /bic/ycalday_w = wdate
    AND objvers = 'A'.
    thisweek = /bic/pycalday_w-/bic/ylwk_w.
    CONCATENATE thisweek(4) weekno INTO firstweek.
    l_s_range-low = firstweek.
    l_s_range-high = thisweek.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    Thanks

    I think there is some problem with your ABAP program.
    Have you used OPEN DATASET statement, if so check if you have mentioned file path etc correctly.
    Can you try debugging the code.
    Hope this helps.

  • Info on ABAP-OOPS

    Hi All,
    I want to know where exactly can we use ABAP OOPS..
    Can  we use in Classical Reports,
                            Pool Programming
    If we can use them in Pool Programming can you help me out with a small example.
    Regards

    hi,
    Object Orientation
    A programming technique in which solutions reflect real world objects
    What are objects ?
    An object is an instantiation of a class. E.g. If “Animal” is a class, A cat
    can be an object of that class .
    With respect to code, Object refers to a set of services ( methods /
    attributes ) and can contain data
    What are classes ?
    A class defines the properties of an object. A class can be instantiated
    as many number of times
    Advantages of Object Orientated approach
    Easier to understand when the system is complex
    Easy to make changes
    Encapsulation - Can restrict the visibility of the data ( Restrict the access to the data )
    Polymorphism - Identically named methods behave differently in different classes
    Inheritance - You can use an existing class to define a new class
    Polymorphism and inheritance lead to code reuse
    Classes in abap
    Classes in ABAP are either local or global
    Global classes are declared in class builder (SE24 )
    Local classes are declared within programs
    Components of a class
    Attributes : Internal data fields of class
    Attributes can be either instance attributes – specific to each instance of the class ( object ) or static attributes which are common to all instances
    Methods :
    Subroutines / procedures in a class that define the behavior of the object. Methods can also be instance methods or static methods
    Encapsulation in ABAP
    Encapsulation is obtained through the restriction in visibility of attributes / methods attained through the definition of Public, Private and Protected section of a class
    Public Section
    All of the components declared in the public section are accessible to all users of the class, and to the methods of the class and any classes that inherit from it. The public components of the class form the interface between the class and its users.
    Protected Section
    All of the components declared in the protected section are accessible to all methods of the class and of classes that inherit from it.
    Private Section
    Components that you declare in the private section are only visible in the methods of the same class.
    Inheritance in ABAP
    Inheritance allows you to derive a class based on an already existing class.
    CLASS <subclass> DEFINITION INHERITING FROM <superclass>.
    ENDCLASS.
    CLASS <subclass> IMPLEMENTATION.
    ENDCLASS.
    All attributes / methods of super class become the property of the subclass too. Only public and protected attributes / methods are visible in the subclass
    Polymorphism in ABAP
    When methods with same name perform differently under different
    circumstances we call it polymorphism.
    Methods redefined in a subclass is an example for Polymorphism
    Interfaces
    Interfaces are used to define the model of a class.
    They also like classes can be either local or global.
    Global interfaces are defined through SE24 and local interfaces are defined in program.
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    check the below links lot of info and examples r there
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards
    Omkar

  • Info package ABAP Routine to populate date from and To filed

    Hello Experts,
    I have requirement to populate the From and To dates with the: T-1 to T (Current Date u2013 1 to Current Run Date aka Sy-Datum) at info package level.I have written a code for this but see that From filed is not getting populated but TO filed is filled with current date.Can someone please tell me wats wrongwith my code?It is a delta info pacakage.
    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = sy-datum - 1.
      l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,

    Was able to tackle this using the following code.
    data: l_idx like sy-tabix.
    data: V_date type sy-datum.
    v_date = sy-datum - 1.
    read table l_t_range with key
         fieldname = 'CPUDT'.
    l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = v_date.
       l_t_range-High = sy-datum.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Thanks,
    I am closing this thread

  • Need info for ABAP Certification

    Hi All,
    I am having 5+ exp in SAP ABAP/HR ABAP and i am plannig for SAP ABAP certification. I searched on google and found different sereies of books. Can anybody help me to know what are the avaliable ABAP certification and books? So i can choose the right certification with correct course material.
    Thanks
    Piyush

    Hi,
      SAP Press Books are very useful otherwise SAP Provide certification material if u enroll for some SAP Certified institue like Siemens, Genovate etc.. That one also gr8 help for SAP Certification examination.
    Regds,
    Rakesh

  • Getting XML info with ABAP mapping

    Hi everyone.
    I'm near to finish my abap mapping demo. The problem is that i don't know how i can retrieve the values of a kind of node.
    I would like to retrieve this data into a internal table. I've done the output XML.
    How can i get that values from SOURCE parameter into an internal table?
    Regards.

    Hi!
    First of all you have a little bit of XML parsing to do using the SIXML package in ABAP (see example reports in same dev class).
    Then you can travers your "document" with methods like
    get_elements_by_tag_name or get_root_element.
    There are also 2 function modules to convert a document into an ABAP internal table.
    SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_DATA.
    Regards
    Michael

  • Wrong info in ABAP Cert material:  BC400 Intro to the ABAP -mySAP Tech

    Hi
    As i was looking into the certification material BC400 Course Version: 2003 Q2, Material Number: 50061840 the information put-up @ Pg num 224 on selection-option is incorrect:
    Conditions in an internal table that
    has been declared using SELECT-OPTIONS are interpreted as follows:
    • If the internal table selname is empty, the condition field IN
    selname is always true.
    • If the internal table contains only inclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( i_1 OR
    ... OR i_n )
    • If the internal table contains only inclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( NOT e_1
    ) AND ... AND ( NOT e_m ).
    • If the internal table contains only inclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( i_1 OR
    ... OR i_n ) AND ( NOT e_1 ) AND ... AND ( NOT e_m
    rather it shud be
    Conditions in an internal table that
    has been declared using SELECT-OPTIONS are interpreted as follows:
    • If the internal table selname is empty, the condition field IN
    selname is always true.
    • If the internal table contains only inclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( i_1 OR
    ... OR i_n )
    • If the internal table contains only exclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( NOT e_1
    ) AND ... AND ( NOT e_m ).
    • If the internal table contains both inclusive and exclusive elementary conditions,
    such as i_1, ... i_n, the result is the composite condition ( i_1 OR
    ... OR i_n ) AND ( NOT e_1 ) AND ... AND ( NOT e_m
    PS: I'd already opened a thread in ABAP forum.
    thkx
    P.S

    Hi
    SAP Course fee for all certification is same all over india -
    Rs 27,550 only [incase you go for TECHED/ through ur company].. otherwise, it's more
    Refer to follwing links -
    http://www.sap-img.com/ab040.htm
    http://www.sap-img.com/ab041.htm
    http://www.sapprofessionals.org/files/ABAP%20CERTIFICATION%20QUESTIONS.doc
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://www.sapdomain.com
    <u><b>Contact SAP Bangalore / SAP TecHED</b></u>
    Website : http://www.sapteched.com/india/
    For registration :http://www.sapteched.com/india/confactivities/certexam.htm
    For quries : [email protected]
    www.sap.com
    Please reward suitable points, incase you get any help.
    regards
    Atul

  • ABAP Routine in selection of Info package in 3x

    Hello Experts
    We need to load distinct PO data in 3x server.
    I have added this distinct po values in range table of info package abap routine.
    However its not loading for range table values more than two selections/pos.
    If I try to append more than 2 values,only last one is uploaded.
    However after load, in monitor tab-header , selection paramenters I can see all PO values in selection.
    Some how it works only for two inputs (rows) in range table of ABAP routine in infopackage.
    Anybody has faced such issue? any help is appreciated!
    Edited by: Kanchan Angalwar on Jan 30, 2010 9:59 AM

    Hi,
    Please post your ABAP code here

  • Detail info on SAP-ABAP interfaces

    Hi experts,
                     i need detailed info on abap interfaces,  means  what are all interfaces in ABAP & how that will work ......i would like to know that BDC program  comes under interface or not .....
    Thanks in advance

    Hi Narayana,
                                   R/3 Application
                              ==================
                               ABAP work bench
       uesr interface  ================== commntn interface
                             R/3 Basis(middleware)
                             ===================
                              System software(OS)
    Integration of R/3 with the external application via open interface
    OLE,RFC,ALE,EDI,CPI-C etc are  the interfaces ...
    Thanks
    Mohinder Singh Chauhan

  • How to change the value of a variable in new ABAP debugger.

    Hi Guys,
                 I can't change the value of a variable in the new ABAP debugger.. when I change its revert back to old value. but this is not the case with the old version. How to do this..
    Cheers
    Senthil

    Hi,
    1. Dobule click in the variable in the variable tab.
    2. Click the Change icon in Detail.Dis.
    3. enter the new value and press enter
    Refer
    [http://www.sapdb.info/new-abap-debugger/|http://www.sapdb.info/new-abap-debugger/]
    [http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm]
    <removed_by_moderator_together_with_points>
    Regards,
    SB
    Edited by: Julius Bussche on Jun 24, 2008 8:21 AM

  • ABAP HR Payroll questions

    Hi,
         I never get a chance to work in HR module. I want to know being an ABAP programmer what should we have to know in HR Module. I also want to know what are infotypes. what's the difference between infotypes and internal tables?

    hi
    Here are some info about ABAP-HR :
    The task of Human Resource Management isto produce the organizational hierarchies , relationship between employees and to allow storage and administration of employee data.
    SAP–HR Components:
    PA – Personnel Administration and Payroll Accounting
    PD – Personnel Planning and Development.
    The following concepts are defined in HR which differs this module with other Modules.
    1. Use of Infotypes
    2. The use of Logical Database
    3. Use of Macros
    4. Storage and Access of data
    5 Authorization checks
    Important core topic in ABAP-HR programming:
    To reduce programming Efforts, it often helps to use the logical databases when creating reports. Logical databases are special ABAP Programs that provide selection screens, additional features and so on.
    The LDB usually consists of the following components.
    1.Structure
    2. Selections
    3. Database programs
    Functions of LDB:
    Data retrieval | Screening | Authorization check
    Logical Databases used In HR:
    1.PAP
    2.PNP
    3.PNPCE - Enhanced version of PNP available form SAP
    Enterprise version onwards
    4.PCH
    5.PTRVP
    The LDB PAP is for Applicant administration, PNP and PNPCE for Personnel Management, PCH for Organisational Management and PTVRP for Travel Management.
    The Logical Databases PNP/PNPCE and PCH are mostly used.
    HR report that uses the logical database uses the following basic structure:
    Report zdemo01.
    Tables: PERNR.
    INFOTYPES: 0001.
    GET PERNR.
    PROVIDE * FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA.
    WRITE: / P0001-PERNR, P0001-STELL,
    P0001-BEGDA, P0001-ENDDA.
    ENDPROVIDE.
    The above report evaluates the Organizational assignment infotype records in the specified data selection period.
    Please check this links ...
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
    http://www.atomhr.com/training/Technical_Topics_in_HR.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    You can see some Standard Program examples in this one ...
    http://www.sapdevelopment.co.uk/programs/programshr.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#Certification
    http://www.erpgenie.com/faq/hr.htm.
    http://www.planetsap.com/hr_abap_main_page.htm
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
    These are the FAQ's that might helps you as well.
    http://www.sap-img.com/human/hr-faq.htm
    http://www.sapgenie.com/faq/hr.htm
    chk the following links also
    http://www.sapfans.com/forums/viewtopic.php?p=498530&sid=d7ec5866e3fb26880da129de45ce79de
    http://www.sapcookbook.com/preview_hr_questions.htm
    http://www.atomhr.com/library_full.htm
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983590,00.html
    http://www.sapfans.com/forums/viewtopic.php?p=498530&sid=d7ec5866e3fb26880da129de45ce79de
    http://www.sapcookbook.com/preview_hr_questions.htm
    http://www.atomhr.com/library_full.htm
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983590,00.html
    regards
    navjot
    reward points
    Message was edited by:
            navjot sharma

  • APD master data join - ABAP dump TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    I have created an APD to join 3 ISU master data infoobjects
    1. left join 0UCPREMISE with 0UC_CONNOBJ
    2. left join 0UCINSTALLA with result of 1.
    3. Store the data in ODS
    When I did this in DEV (D4S) everything worked - but there is also much
    less data in the master data infoobjects.
    When running the APD in Test (Q4S) I get ABAP dump after a while (not
    time out): TSV_TNEW_PAGE_ALLOC_FAILED
    1. I have tried with the APD setting to store in internal memory to OFF
    but the same problems occur.
    2. I tried to create index (on /BI0/P* ) for fields part of the join
    which was not table key but same problem occurs.
    3. I have no filters for the joins as I want to get all master data in
    the output ODS.
    4. The size of the p-tables are:
    /BI0/PUCPREMISE = 1 385 792
    /BI0/PUC_CONNOBJ = 1 031 272
    /BI0/PUCINSTALLA = 2 445 742
    5. Components + SP level:
    SAP_ABA     700     0013     SAPKA70013
    SAP_BASIS     700     0013     SAPKB70013
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D
    ST-PI     2005_1_700     0005     SAPKITLQI5
    SAP_BW     700     0015     SAPKW70015
    BI_CONT     703     0005     SAPKIBIIP5
    Linux / Oracle 10.2.0.2.0
    6. Info from ABAP Dump:
    Error analysis
    The internal table "\CLASS=CL_RSMD_RS_UTILITIES\METHOD=DATA_TO_RETURN\DATA=L_SX
    RETURN-TVALUE" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 200
    Number of rows: 15
    Allocated rows: 15
    Newly requested rows: 64 (in 1 blocks)
    Last error logged in SAP kernel
    Component............ "EM"
    Place................ "SAP-Server q4s_Q4S_72 on host q4s (wp 12)"
    Version.............. 37
    Error code........... 7
    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
    Description.......... " "
    System call.......... " "
    Module............... "emxx.c"
    Line................. 1881
    The error reported by the operating system is:
    Error number..... " "
    |    Error text....... " "
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 2755600
    Extended memory (EM)........... 1977608256
    Assigned memory (HEAP)......... 2000733904
    Short area..................... " "
    Paging area.................... 24576
    Maximum address space.......... 4294967295
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "
    "CL_RSMD_RS_UTILITIES==========CP" or "CL_RSMD_RS_UTILITIES==========CM006"
    |    "DATA_TO_RETURN"                    
    Anybody have any idea what i can do to be able to run this APD (in production I want to run it on a monthly basis). To me it seems the APD fills 2 gig of mem, I thought the APD option to not store the complete dataset in internal memory (using temp tables instead) would kick in before the 2 gigs was used. Basis team didn't want to raise mem paramenters if it could be sorted out any other way.
    Thanks,
    Johan

    I have searched on my problem before posting here ofcourse - but somehow I missed this one, mentioned in 794257:
    "InfoObject" data source
    A dump occurs because of a memory overflow in the SAPLRSDM_F4 function group in the SD_CHA_GET_VALUES function module.
    The InfoObject data source for reading master data is currently based on a function module that loads all data into the main memory in an inefficient data structure. As a result, the data source is only suitable for reading master data with a few data records. A memory overflow can occur for master data tables with lots of records such as business partners or products. This occurs regardless of how the "Process data in the memory" indicator was set.
    If this situation occurs, set the InfoObject in such a way that it is available as an InfoProvider. Then use the "InfoProvider" data source instead of the "InfoObject" data source in the analysis process.
    I'll try this...
    //Johan

Maybe you are looking for