Could u pls clear my doubts?

Hai abapers
I m new to ABAP objects....pls clear my doubts.
1.what is an event? how is it useful in application development?
2.Is it mandatory to give the same name for both object reference variable and object?
Advance thanks
regards,
Selva

Hi Selvakumar,
1.what is an event? how is it useful in application development?
   An u201Ceventu201D is the occurrence of a special condition during the execution of an ABAP program. This occurrence must be of sufficient importance for the ABAP program to take a special action.
Refer the below link for events.
[http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm]
2.Is it mandatory to give the same name for both object reference variable and object?
Yes. The reference variable oref must be declared as an object reference variable. Instance components of an object created using CREATE OBJECT can only be accessed using object reference variables.
[http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm]
Regards,
Boobalan Suburaj

Similar Messages

  • Pls clear my doubt u send me codes

    Thought I'd better get that one out of the way too.
    With acknowledgements to Rajesh Punatar.

    pierrot_2 wrote:
    jduprez wrote:
    could we move Dutch-private topics out of the way too.Why?Parce que c'est très vilain de se parler entre initiés, dans une langue que moins de 10% des membres du forum comprennent! :o)Why indeed... the previous post makes just as much sense as most of the code!?:| Wasn't that code? I see a modulo operator in there...

  • Clear the Doubt : ABAP Activity or Basis Activity

    Hi All,
    I have one requirement, if i excute a report am getting report output, from here if i clickes its enters the VD02 transaction, from there user can enter customer change option. Using vd02 user can change the customer details.
    But in customer details i need only display format, for that basis person currently having a ZROLE.
    I want to know how to include selected fields under this role?* This is a Basis activity or ABAP Activity.*
    Basis team told that its a abap activity, create a z field group and give to us, we will add this zfield group into that particullar ZROLE.
    Is its correct?
    Pls anyone having idea pls clear this doubt.

    Hi,
    I believe your BASIS Team is right. They can only restrict upto the Txn Code Level from the BASIS Security feature.
    Post this thread in BASIS Forum also so as to get the feel from BASIS Experts.

  • Could you pls answer this

    What all the thing should be used in order to improve the performance and what all the thing should be avoided ?
    Explain abt control brk statement ?
    Could you pls give me clear explanation for CHECK,EXIT,STOP ?
    In real time, what is the steps which is used for transfer data - BDC
    whether call transaction,session method pls explain it
    And also explain about the include statement used in BDC
    Could you pls answer this

    Hi
    All this AT NEW, AT FIRST, AT END OF and AT LAST are called control break statements of Internal tables and are used to calculate the TOTALS based on sertain key fields in that internal table
    FIrst to use these statements the ITAB has to be sorted by the key fields on whcih you need the SUM of the fields.
    Some time you will get * when moving data from this int table to other table using these commands
    so you have to use
    READ TABLE ITAB INDEX SY-TABIX in AT..ENDAT..if you are using other fields between them
    DATA: sflight_tab TYPE SORTED TABLE OF sflight
                      WITH UNIQUE KEY carrid connid fldate,
          sflight_wa  LIKE LINE OF sflight_tab.
    SELECT *
           FROM sflight
           INTO TABLE sflight_tab.
    sort sflight by carrid connid.
    LOOP AT sflight_tab INTO sflight_wa.
      AT NEW connid.
        WRITE: / sflight_wa-carrid,
                 sflight_wa-connid.
        ULINE.
      ENDAT.
      WRITE: / sflight_wa-fldate,
               sflight_wa-seatsocc.
      AT END OF connid.
        SUM.
        ULINE.
        WRITE: / 'Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
        SKIP.
      ENDAT.
      AT END OF carrid.
        SUM.
        ULINE.
        WRITE: / 'Carrier Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
        NEW-PAGE.
      ENDAT.
      AT LAST.
        SUM.
        WRITE: / 'Overall Sum',
                  sflight_wa-seatsocc UNDER sflight_wa-seatsocc.
      ENDAT.
    ENDLOOP.
    BDC
    BDC:
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Features :
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    Differences between Call Transaction and Sessions Method:
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    6) generally used for back ground jobs.
    7) at atime we can update to more than one screens.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    6) for background n fore ground jobs.
    7) at atime we can update to a single screen.
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    Regards
    anji

  • Could u pls anwer these?

    Hi everybody!
    I have some doubts in abap could u pls tellm these asap!
    How you support the clients. Could you expalin me prcedure of loging the tockens and how do you intract to clients. Also hom many tockens you get in a day ( on an average).
    What is Integration between SD and MM : SD and FICO ? Can any body give me this is ?
    How to maintain Transport Request?

    Hai!
    In Sap we have three types of projects 1.Implementation 2.Upgrading  3.Maintanence.
    When ur talking about the supporting to client it means that the Sap is already implemented and the coding part is also done.But when the client wants to change the look of the ouput ie it can be from any part of Abap(report,BDC's scripts and so on).So we need to change the coding according to the requirement of client ie in simple terminology enhancements.
    Coming to tickets that depends upon the project if the supporting project is huge it takes time and until u are not up with it you wont be given the other one.I mean when it is fully tested and forwarded to PRD.Well about transport request you have transaction called SE09 create a transport request in DEV and work on it when you feel that the coding part is done in DEV then transport it to QAS for testing.You'll be getting request when u make changes in program.I did'nt understand about your question regarding  Integration between SD and MM or FICO.Hope u got my answer to ur questions.

  • What is the use of profiles in oracle apps,could u pls explain with examples

    what is the use of profiles in oracle apps,could u pls explain with examples

    1b5595eb-fcfc-48cc-90d2-43ba913ea79f wrote:
    what is the use of profiles in oracle apps,could u pls explain with examples
    http://www.appspatrols.com/now/blog/understanding-profile-options-in-oracle-apps-oracle-e-business-suite
    http://www.oracle.com/pls/ebs121/search?word=Profile+Options&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • Could u pls  send these?

    I need a moderate example for interactive report with little bit complexity in logic
    could any body provide me any report or atleast link so that I can able to learn ,As
    Im very fresher to reports Im interested to knew about the reports development but I need
    a little bit hard and includes  runtime selcection screen logics ,real time example ..could u pls....send it tome...

    A simple example that shows two lists
    REPORT  zkb_test.
    DATA: i_t000 TYPE TABLE OF t000,
          i_tcurc TYPE TABLE OF tcurc.
    DATA: w_t000 TYPE t000,
          w_tcurc TYPE tcurc.
    DATA: v_field(80) TYPE c.
    START-OF-SELECTION.
      SELECT * FROM t000 INTO TABLE i_t000.
      SELECT * FROM tcurc INTO TABLE i_tcurc.
      LOOP AT i_t000 INTO w_t000.
        WRITE:/ w_t000-mtext,
                w_t000-ort01,
                w_t000-mwaer HOTSPOT ON.
        HIDE w_t000-mwaer.
      ENDLOOP.
    AT LINE-SELECTION.
      GET CURSOR FIELD v_field.
      CONCATENATE 'You have Clicked:' v_field INTO v_field.
      MESSAGE v_field TYPE 'I'.
      READ TABLE i_tcurc INTO w_tcurc WITH KEY waers = w_t000-mwaer.
      IF sy-subrc EQ 0.
        WRITE:/ w_tcurc-waers,
                w_tcurc-isocd.
      ENDIF.
    Regards
    Kathirvel

  • I want to learn SD , Could you pls send me the Reference Book names.

    Hi All,
    I want to learn SD , Could you pls send me the Reference Book names.
    and i heard about materials like Billing , Pricing , Shipping - Which material should i study first to understand baisc flow.
    Thanks in Advance.
    Regards,
    Nithi.

    Hi ,
    Instaed of a book i will refer you the help files of SAP .
    You can get there files at http://help.sap.com/
    An for SD the link is http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
    These files will help you a lot .
    even today also SD gurus take help from these files only.
    Regards

  • Plz clear the doubt regarding  Currrent indicator value in   cluster RT

    Hi Gurus,
    Current Indicator in RT table have the values as A and P. So as payroll is run in the month Feb and retro run  for Jan also. There are two result in RT with the Current Indicator A(Feb) and P(Jan retro)  OR  both have the same indicator as A and P for the previous Payroll RUN...
    Please  clear this ..
    Regards
    LAKHAN

    HI Srinivasarao,
    Thanks for the reply.
    I am still a little bit confused ..AS there in T-code  PC_PAYRESULT (for cluster data display)  :
    Payroll is run for  Feb.2008
    SEQNR     FPPER     FPBEG            FPEND             INPER       IPEND                  SRTZA
    61       200710     20080101     20080131     200710     20080131          P
    62       200710     20080101     20080131     200711     20080229          A
    63       200711     20080201     20080229     200711     20080229          A
    The Last Two row show the  payroll results for the  Feb.2008 wih the  A indicator.
    Is this corrrect 
    OR  the below  rows are correct(AS i have understand from your reply)
    62       200710     20080101     20080131     200711     20080229          P
    63       200711     20080201     20080229     200711     20080229          A
    Please clear my  doubt
    Regards
    lakhan

  • Could you pls help on  use exits   before  saving  the contract .

    i want to check the limitatin  before  saving the contract  in sap banking.
    for  contract creation  tcode is  FN1V or FNV1.
    Could you pls tell me the   use exits  if knows  anybody
    advance thanks.

    Hi Diva,
    use this exit.
    EXIT_SAPLFVDA_002
    if this is not suitable for u r req then go to SMOD press f4 then click on Information systems give FVVD in package then press enter.there u will get no of enhancement. search for u r rlant.
    Thanks

  • I can't see + - up down icons for repeating region. Could someone pls help?

    I can't see + - up down icons for repeating region. Could someone pls help?

    Please elaborate like what sort of repeating region, which version of Dreamweaver. Perhaps an image that will help us to understand the question.

  • HT1212 i have forget the passcode of my iphone could u pls help me thanks

    i have forget the password of my iphone could u pls help me thanks.

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • HT3775 hello mate,could you pls tell me how can i play a downloaded movie

    hello mate,could you pls tell me how can i play a downloaded movie

    Note, if the downloaded movie is from something illegal, we won't be able to tell you.
    If it is from something legal, what source is it?
    Do you have an Intel or a PowerPC Mac?

  • Could you pls explain the "Get-Acl C:/Windows | fl" output?

    Could you pls explain the "Get-Acl C:/Windows | fl" output? There are some nos. what are those indicate?
    PS C:\> Get-Acl C:/Windows | fl
    Path : Microsoft.PowerShell.Core\FileSystem::C:\Windows
    Owner : NT SERVICE\TrustedInstaller
    Group : NT SERVICE\TrustedInstaller
    Access : CREATOR OWNER Allow 268435456
    NT AUTHORITY\SYSTEM Allow 268435456
    NT AUTHORITY\SYSTEM Allow Modify, Synchronize
    BUILTIN\Administrators Allow 268435456
    BUILTIN\Administrators Allow Modify, Synchronize
    BUILTIN\Users Allow -1610612736
    BUILTIN\Users Allow ReadAndExecute, Synchronize
    NT SERVICE\TrustedInstaller Allow 268435456
    NT SERVICE\TrustedInstaller Allow FullControl
    Audit :
    Sddl : O:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464G:S-1-5-80-956008885-3418522649-1831038044-185
    3292631-2271478464D:PAI(A;OICIIO;GA;;;CO)(A;OICIIO;GA;;;SY)(A;;0x1301bf;;;SY)(A;OICIIO;GA;;;BA)(A;;0x1301bf;;;
    BA)(A;OICIIO;GXGR;;;BU)(A;;0x1200a9;;;BU)(A;CIIO;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271
    478464)(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)
    AliahMurfy

    Those numbers are
    generic access rights.
    The string representation of the access rights come from the FileSystemRights enumeration. Generic rights aren't included in that enumeration, so they show up as the numeric value. You can look up the generic mappings for lots of different objects on MSDN.
    The 3.0 beta of
    my access control module will translate generic access rights for lots of different objects, including files and folders. Here is a screenshot showing the generic rights being translated for a registry key (HKLM:\SOFTWARE) and a folder (C:\Windows):
    The helper function that does the translation is temporarily accessible in the beta version. It is called New-AdaptedAcl. You can play around with it to get a better idea of what's going on (but this command will be private before the final 3.0 version is
    released). Here's a screenshot of the helper function in action (the first command does no translation, it just gives a string representation of the numeric access mask; the second command does translation, but it doesn't merge similar ACEs with each other):

  • HT1414 Hello, I tried to to update my ipone 3s but it says it can not be activated. could you pls help

    I tried to upgrade my iphone 3s ios from 4 to 6 so that i can download some things on it. through the process it tells me that my iphone could not be activated. now I have no service or phone could u pls help?

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and the update relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743

Maybe you are looking for

  • New version of iTunes will not allow me to burn audiobooks to audio CDs

    i just pruchased an audiobook from iTunes. as i've always done in the past, i went to burn an audio CD to back it up. i have did this with Diamond's 'Collapse' and was signaled that it would take multiple audio CDs. no problem. when i went to burn th

  • Why have my Ext. USB2 HD's Failed to Mount after using Disk Utility in 10.8.1 on Retina Pro

    I am having issues with USB 2.0 External Hardrives and my 15inch Retina MacBook Pro running OS 10.8.1.  I was able to read write to the drives fine prior to using disk utility to erase and reformat the drives.  Both drives show up in the side bar of

  • Using apple ID balance

    I have an unused ID balance, but it wont let me use it. I click "buy" and it asks for method of payment, and wont take it from my ID balance. Also if i click the "none" options under method of payments it wont let me purchase it.

  • Why should I use xinetd?

    Im using inetd, but in mandrake I had xinetd, and somewhere I had read that it is better. Is this true?, and if so, ahow do I install it, cause it's not in pacman (i know I cant install it from source, but I wonder if it's hidden somewhere in the dis

  • Only showing min info (not making it to database)

    We built a clean NW 6 SP3 server with Zen 3.2 SP3 (upgraded to Zen 6.5). We aren't running the agents on any pc's yet, so we are just using inventory with the 3.2 engine. We are missing a few thousand workstations (although we have a few thousand tha