Linking of scrollbars to creating objects...

i am new to this java... i am doing a class project and i am in need of help... my project is creating an applet that will aid children in doing mathematical division by the use of objects, in my case circles boxes, increasing and decreasing the number of boxes and circles is done by moving the scrollbars... my problem is i have no idea how to connect the scrollbars to the creating of the circle or boxes... the following is the code that i wrote based on my class notes which i think is really bare... and i cannot compile and run the code... pls help...
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class Division extends Applet implements AdjustmentListener {
Scrollbar s1;
Scrollbar s2;
Label l1;
Label l2;
Label stupidballs;
int stupidballs;
int stupidboxes;
int stupidformula;
int extras;
int remainder;
int s1Value=0;
int s2Value=0;
public void init() {
l1 = new Label("Enter number of balls : ");
add(l1);
s1 = new Scrollbar(Scrollbar.HORIZONTAL,0,1,0,200);
add(s1);
l2 = new Label("Enter number of boxes : ");
add(l2);
s2 = new Scrollbar(Scrollbar.HORIZONTAL,0,1,0,100);
add(s2);
s1.addAdjustmentListener(this);
s2.addAdjustmentListener(this);
public void adjustmentValueChanged(AdjustmentEvent event){
s1Value = s1.getValue();
s2Value = s2.getValue();
stupidballs = s1/s2;
extras = stupidballs * s2Value
remainder = s1Value - extra
repaint();
public void paint(Graphics g) {
g.drawString(" " + s1Value, 200, 40);
g.drawString(" " + s2Value, 400, 40);
g.drawString("Each box contains "+ stupidballs +"ball(s).", 50, 70 );
g.drawString("There are "+ remainder +"balls left after division!!", 70, 90 );
if (s2Value==1) {
g.drawLine(300,70,300,200);
g.drawLine(300,200,400,200);
g.drawLine(400,70,400,200);
g.fillOval(390,190,10,10);
g.fillOval(380,190,10,10);
g.fillOval(370,190,10,10);
g.fillOval(360,190,10,10);
g.fillOval(350,190,10,10);
g.fillOval(340,190,10,10);
g.fillOval(330,190,10,10);
g.fillOval(320,190,10,10);
g.fillOval(310,190,10,10);
g.fillOval(300,190,10,10);
}

Would propose using authorization object c_drad_obj.Please peruse more details on http://wiki.sdn.sap.com/wiki/display/PLM/AuthorizationObjectsin+DMS.
Regards,
Pradeepkumar Haragoldavar

Similar Messages

  • Linking PM Notification to SAP Objects from different SAP Modules

    Hi All,
    I have a requirement to link notification to three follow on actions namely:
    1.     Work order creation (IW31?)
    2.     PPM to create project
    3.     Change request to review document (CC31?)
    These activities are actions required from Root Cause Analysis. RCA is being done by an external system. An interface is to be used to create a notification in SAP PM. The notification is to be configured with an Action Box containing these three activities as follow on actions.
    Is this possible to achieve? And if so, what FM can be used for each of the three SAP Objects?
    Will there be a link between the three created objects and the Notification?
    Will it be possible to update the Notification with the statuses of any one of these three objects automatically?
    Your response would be very much appreciated.
    Kash

    Hi Maheswaran,
    Thank for your response.
    I am looking beyond work order. I know this is standard from PM Notification screen. However, any possible linkage with other objects like Change Request, Project etc.
    Regards.
    Kash

  • Easy DMS create object links

    Hi,
    I cannot create object links from within the EasyDMS SAP properties screen for a document. However if I edit the document using the SAP GUI and create object links there, I can view it through EasyDMS. Could somebody tell me what the issue could be
    thanks!
    ps: I am using sp06 patch level1

    Hi Athol,
    Since it does not show any errors how do I get to the short dump? Secondly I also notice that there is some other functionality eg drag and drop of multiple originals onto a DIR which does not work. When I try it with another SAP installation everything works perfectly. The installation which is giving me problems is an ECC 5.0 one. Any details on what components/interfaces/packages etc which must be on their? Maybe that is an issue.
    thanks,
    Rahul

  • Create Object Link Field Mandatory

    Hi,
              I want to create Object Links Field mandatory for some document type in CV01N. so user can not upload file without linking file to any Object Links (WBS / Network Activity).
    If this possible kindly let me know the steps.
    Regards

    Hi,
    Maybe you could add some code in the BADI - DOCUMENT_OBJ. But if that doesn't work, you definately would be able to add code to the BADI DOCUMENT_MAIN01~BEFORE_SAVE. Check that there is a DRAD record (table that stores DIR object links) of object type LFA1. If the entry exists, allow the save to continue. If the entry doesn't exist, give error message for user to add vendor information.
    Hope it helps!
    Regards
    Poongs

  • Creating a shortcut link to a public folder object. Is it possible?

    I have never done this before and never had a reason to until now. I am wondering if there is a way to have a link to a Public Folder object such as an email with attachments sent to users that have Outlook 2010. The reason I am doing this is because we
    send out daily emails with attachments to all users and since Exchange 2010 no longer supports single instance storage, these emails are consuming too much database space. I want the department sending these emails to just send a single copy to a public folder
    and then send a link to that email to all users. Is this even possible?

    Hi,
    From my research, from Exchange 2007 and later version, the url to access public folder is no longer simple and clear as it in Exchange 2003. The hyperlink is long and complicated with a series of number and letter in the end.
    http://technet.microsoft.com/en-us/library/bb397221(v=exchg.141).aspx#Access
    I’d recommend you put files on a shared platform for long-term.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How can I importing when create object?

    Hi Gurus,
    I’m beginner with OO Abap. Please give me a hand with this.
    I’m using the programming interface REPORT  Z_TEST_ST_TEXT_EDITOR for text editor found on /people/igor.barbaric/blog/2005/06/06/the-standard-text-editor-oo-abap-cfw-class which is good and useful for me (highly recommended) but I need to import the text created (t_text)  in method constructor in order to send it via e.mail.
    Could anybody tell me how to get/import the text created?
    Thank you in advance.
    Below is the coding. (program which uses the developed class and method consisting the created text)
    DATA: o_txe     TYPE REF TO <b>zcl_standard_text_editor</b>,
          v_caption TYPE char100,
          s_thead   TYPE thead.
    call screen
    CALL SCREEN 0100.
    MODULE s0100_start
    MODULE s0100_start OUTPUT.
        SET PF-STATUS 'BASIC'.
        s_thead-tdname   = 'VENDOR0000000011'.
        s_thead-tdid     = 'ST'.
        s_thead-tdobject = 'TEXT'.
        s_thead-tdspras  = sy-langu.
        CONCATENATE 'Standard text:' s_thead-tdname
                    INTO v_caption SEPARATED BY space.
        IF o_txe IS INITIAL.
    <b>       CREATE OBJECT o_txe</b>         
    EXPORTING i_thead   = s_thead
                       i_caption = v_caption. 
    <b>IMPORTING????</b>
         ENDIF.
    ENDMODULE.
    <b>method CONSTRUCTOR</b>.
    DATA: o_dialogbox TYPE REF TO cl_gui_dialogbox_container,
          t_text      TYPE STANDARD TABLE OF tdline,
          s_event     TYPE cntl_simple_event,
          t_events    TYPE cntl_simple_events,
          t_lines     TYPE STANDARD TABLE OF tline,
          v_text      TYPE tdline,
          v_text_temp TYPE tdline,
          v_line_temp TYPE tdline,
          v_line_len  TYPE i,
          v_index     TYPE i.
    FIELD-SYMBOLS: <line> TYPE tline.
    me->thead   = i_thead.
    me->caption = i_caption.
    *------ containers
    IF i_container IS INITIAL.
        CREATE OBJECT o_dialogbox
                EXPORTING top     = 50
                          left    = 200
                          height  = 150
                          width   = 500
                          caption = i_caption.
        me->main_container = o_dialogbox.
        SET HANDLER me->on_container_close FOR o_dialogbox.
    ELSE.
        me->main_container = i_container.
    ENDIF.
    IF me->splitter IS INITIAL.
        CREATE OBJECT me->splitter
                EXPORTING
                     parent        = me->main_container
                     orientation   = me->splitter->orientation_vertical
                     sash_position = 10. "percentage of containers
       ------ toolbar
        CREATE OBJECT me->toolbar
              EXPORTING parent = me->splitter->top_left_container.
        CALL METHOD me->toolbar->add_button
             EXPORTING  fcode       = me->c_save
                        is_disabled = ' '
                        icon        = '@2L@' "icon_system_save
                        butn_type   = cntb_btype_button.
        CALL METHOD me->toolbar->add_button
             EXPORTING  fcode       = me->c_close
                        is_disabled = ' '
                        icon        = '@3X@' "icon_close
                        butn_type   = cntb_btype_button.
    *------ register events
        REFRESH t_events.
        s_event-eventid = cl_gui_toolbar=>m_id_function_selected.
        s_event-appl_event = ' '.
        APPEND s_event TO t_events.
        CALL METHOD me->toolbar->set_registered_events
              EXPORTING events = t_events.
        SET HANDLER: me->on_toolbar_func_sel FOR me->toolbar.
    *------ create textedit control
        CREATE OBJECT me->textedit
           EXPORTING parent = me->splitter->bottom_right_container.
    ENDIF.
    get text
    CALL FUNCTION 'READ_TEXT'
            EXPORTING ID       = me->thead-tdid
                      LANGUAGE = me->thead-tdspras
                      NAME     = me->thead-tdname
                      OBJECT   = me->thead-tdobject
            TABLES    LINES    = t_lines
            EXCEPTIONS ID                      = 1
                       LANGUAGE                = 2
                       NAME                    = 3
                       NOT_FOUND               = 4
                       OBJECT                  = 5
                       REFERENCE_CHECK         = 6
                       WRONG_ACCESS_TO_ARCHIVE = 7
                       OTHERS                  = 8.
    *------- convert text to text editor format
    LOOP AT t_lines ASSIGNING <line>.
        IF <line>-tdformat = space OR <line>-tdformat = '=' OR sy-tabix = 1.
            v_line_temp = <line>-tdline.
            CONCATENATE v_text v_line_temp INTO v_text_temp.
        ELSE.
            CONCATENATE: cl_abap_char_utilities=>cr_lf <line>-tdline
                         INTO v_line_temp.
            CONCATENATE  v_text v_line_temp   INTO v_text_temp.
        ENDIF.
        IF sy-subrc = 0.
            v_text = v_text_temp.
        ELSE.
            APPEND v_text TO t_text.
            v_text = v_line_temp.
        ENDIF.
    ENDLOOP.
    IF sy-subrc = 0.
        APPEND v_text TO <b>t_text</b>.
    ENDIF.
    *------- display text
    CALL METHOD me->textedit->set_text_as_stream
             EXPORTING text = t_text.
    me->t_initial_text = t_text.
    endmethod.

    good book on ABAP objects(OOPS)
    http://www.esnips.com/doc/bc475662-82d6-4412-9083-28a7e7f1ce09/Abap-Objects---An-Introduction-To-Programming-Sap-Applications
    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/
    these links
    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
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Rewards if useful......................
    Minal

  • Best practice for linking fields from multiple entity objects

    I am currently transitioning from PHP to ADF. I'm looking for the best practice for linking data from multiple entity objects.
    Example:
    EO 'REQUESTS' has fields: req_id, name, dt, his_stat_id, her_stat_id
    EO 'STATUSES' has fields: stat_id, short_txt_descr
    'REQUESTS' is linked to EO 'STATUSES' on: STATUSES.stat_id = REQUESTS.his_status_id
    'REQUESTS' is also linked to EO 'STATUSES' on: STATUSES.stat_id = REQUESTS.her_status_id
    REQUESTS.his_status_id is independent of REQUESTS.her_status_id
    When I create a VO for REQUESTS, I want to display: REQUESTS.name, REQUESTS.dt, STATUSES.short_txt_descr (for his_stat_id), STATUS.short_txt_descr (for her_stat_id)
    What is the best practice for accomplishing this? It appears I could do it a few different ways:
    1. Create the REQUESTS VO with a LOV for his_stat_id and her_stat_id
    2. Create the REQUESTS VO with the join to STATUSES performed within the query for the VO. This would require joining on the STATUSES EO twice (his_stat_id, her_stat_id)
    3. I just started reading about View Links - would that somehow do what I'm looking for?
    I also need to be able to update his_status_id and her_status_id through the by selecting a STATUSES.short_txt_descr from a dropdown.
    Any suggestions on how to approach such a stupidly simple task?
    Using jDeveloper 11.1.2.2.0 if that makes a difference in the solution.
    Thanks ahead of time,
    CJ

    CJ,
    I vote for solution 1 as it's just your use case. As you said you what to update the his_status_id and her_status_id through the by selecting a STATUSES.short_txt_descr by a drop down. This is exactly the LOV solution.
    ViewLinks are used fro master detail navigation (which you don't do here) and Joining the data make it difficult to update (and you still need a LOV for the drop down box.
    Timo

  • Creating objects when count is greater than 1

    Hi
    I'm trying to create a runbook that checks service manager for incidents that have been created in the last 10 minutes of the same category. When the result of this check brings back more than 5 objects I want a problem to be created with the incidents linked
    to the problem. 
    I know a junction will be required somewhere in order to stop the create object running multiple times but when this occurs I cannot address the scobject guids in the create relationship step. I have attached a screenshot of the runbook below.
    Thanks

    Hi,
    Flatten the "Get Object Count" Activity so it triggers only once.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • View link between 2 public view object(PVO)

    Hi,
    Can we create a view link between 2 Public View Object(PVOs)? Is as same as creating view link b/w normal VOs.
    Regards,
    Suresh

    Hi,
    whats mean Public View Object? do you use BI?

  • Link from IS-U connection object to email from marketing campain

    Hi all,
    I've a problem with emails from marketing campains in WebUI.
    If you send an email from such a campain, it is linked at the contact historie of the receiving BP.
    But we need an additional link from the IS-U connection objects of this BP to this email.
    I implemented the badi CRM_MKT_MODIFY_ORDER to add the link in the docflow segment.
    but now there a two mistakes. from the contact history of the BP the link still starts BT126H_MAIL, but only the part "references" is filled with BP, contact, res.employee and header data of the marketing campain. The email block is empty although the mail was sent correctly. Why am I losing the reference to the the email/smartform?
    the second mistake is even more curious to me. in the contact history of the connection object is a link to the email created. But the link leads to component BT126H_APPT although its category is email.
    Any idea, what's my mistake?
    regards
    Martin
    Edited by: Martin Knittel on Aug 3, 2009 5:11 PM:
    I solved problem no 1. Forgot a partner dataset in the badi.
    But need still your help with problem no 2. Why is there a link to BT126H_APPT instead of BT126H_MAIL?

    Was a mistake in standard coding. Solved by sap note

  • Create Objects and Attachments

    Hi All,
    I want to know how to create Objects and Attachments  in Workflow as in case of Customized WF . As for Purchase Order Release I can see the Click on the Link and Display the Document. How it get done?
    Help Me
    Thanks

    Hello Munish,
    First goto SWO1 to create objects.(custom).
    Second you can copy std. WF and enhance it for your requiremet.
    in custom BO you can write method and in that you can call your form59.
    from swel you can find which std. B.O. is used for PO Release.
    Hope magic works,
    Regards,
    Purvesh.

  • ActiveX Component Can't Create Object

    Hi Frds,
    Getting this error when making a chances in change query global defination Error : Runtime Error '457': This key is Already is already assosiated with an element of this collection..When i was clik on then again i m getting message like Runtime Error ''429': ActiveX Component Can't Create Object.
    What is the excat prblem can any one let me know...
    Thanks,
    ALi

    Hi,
    For Runtime Error '457'-Pls Check SAP Note - 517232
    ForRuntime Error '429' You can refer SAP Note: 542933
    Pls chk this link also;
    https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=542933&_NLANG=E
    Hope this helps
    Regards
    CSM Reddy

  • Link Workflow Document to BKPF object

    I have a workflow document object (WF_DOC) that I created in my workflow that I want to attach/relate/link to a accounting document object (BKPF).
    Has anyone tried this?
    Standard workflow (SAP ver 4.6b) works great and attaches the WF_DOC to the task but I cannot find a way to create a link to it from the BKPF object.
    I have tried calling the method CREATE_RELATION from the BDN Navigator class CL_BDS_DOCUMENT_SET but all I get is a 'Nothing found' message.

    Check out the gos documentation (look for references to table VRBINRELATION and function BINARY_RELATION_CREATE)
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf
    and
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVGBT/BCSRVGBT_STRUCTURE.pdf
    There are two tasks set this up:
    Task 1: Create config for relation in table VRBINRELATION using SM34
    Task 2: submit the the two objects with the OBJECT ROLES as required by function module BINARY_RELATION_CREATE and the RELATION TYPE you defined in task 1.
    Dont forget to us the 'commit work' statement at the end.
    eg my function module
                                                                                    Import parameters :
    Value
    OBJKEYA '15000510251202005'                               OBJCLSSA 'BKPF'                                           BJCLSTYPA 'BO'                                           
    OBJKEYB '42EA7DD70630158CE1000000C0A8FB6EWF_FILE'        
    OBJCLSSB 'WF_DOC'                                         OBJCLSTYPB 'BO'
    RELTYP 'ZSUP'
    (ZSUP is the relation type from VRBINRELATION)                                                                               
    function z_create_binary_relation.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJKEYA) LIKE  SWEINSTCOU-OBJKEY
    *"     REFERENCE(OBJCLSSA) LIKE  SWEINSTCOU-OBJTYPE
    *"     REFERENCE(OBJCLSTYPA) LIKE  BAPIBDS01-CLASSTYPE
    *"     REFERENCE(OBJKEYB) LIKE  SWEINSTCOU-OBJKEY
    *"     REFERENCE(OBJCLSSB) LIKE  SWEINSTCOU-OBJTYPE
    *"     REFERENCE(OBJCLSTYPB) LIKE  BAPIBDS01-CLASSTYPE
    *"     REFERENCE(RELTYP) LIKE  VRBRELTYP-RELTYPE
      data: objrole_a         type borident,
            objrole_b         type borident,
          reltype           type binreltyp,
            binarel           type gbinrel,
      binrel_attrib  type brelattr occurs 0.
      if objclstypa = 'BO'.
        call function 'SWO_OBJTYPE_EXIST'
             exporting
                  objtype           = objclssa
             exceptions
                  objtype_not_found = 1
                  others            = 2.
        if sy-subrc <> 0.
          exit.
         message id sy-msgid type 'E' number sy-msgno
                    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
      endif.
      if objclstypb = 'BO'.
        call function 'SWO_OBJTYPE_EXIST'
             exporting
                  objtype           = objclssb
             exceptions
                  objtype_not_found = 1
                  others            = 2.
        if sy-subrc <> 0.
          exit.
         message id sy-msgid type 'E' number sy-msgno
                    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
      endif.
      objrole_a-objkey = objkeya.
      objrole_a-objtype = objclssa.
      objrole_b-objkey = objkeyb.
      objrole_b-objtype = objclssb.
      call function 'BINARY_RELATION_CREATE'
           exporting
                obj_rolea      = objrole_a
                obj_roleb      = objrole_b
                relationtype   = reltyp
           importing
                binrel         = binarel
           tables
                binrel_attrib  = binrel_attrib
           exceptions
                no_model       = 1
                internal_error = 2
                unknown        = 3
                others         = 4.
      if sy-subrc <> 0.
        exit.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      commit work.
    endfunction.

  • Create object by filter

    Hi Folks ,
    i got a litle problem with creation of objects.
    here's the story about .
    iv'e created an interface intf1 with filter and also several different classes that each one of them is implement the interface intf1 .
    let's say C1 ...Cn those are the classes .
    now i want to create one of them dynamically and therefore i use static function :
    CALL METHOD cl_exit_master=>create_obj_by_interface_filter
        EXPORTING
          inter_name   = 'INTF1'
          method_name  = 'LIKE_CONTRUCTOR'
          flt_val      = filter_value
        IMPORTING
          exit_obj_tab = lt_exit_obj.
    inside lt_exit_obj i got back from the function the name of interface and some data but the field "obj" which suppose to be the referance for newly created object is NULL .
    does someone have any tips hints or tricks how can this issue can be solved ?
    Thx ya all .

    HI
    GOOD
    GO THROUGH THIS LINKS
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/ed4f3e065de946e10000000a114084/content.htm
    http://www.intellicorp.com/support/NetProcess/TechNotes/lcom-filter-documentation-006.pdf
    THANKS
    MRUTYUN

  • "Create Object " statement gives error: statement is not accessible

    Hi All
    U must b doing good.
    I am new in ABAP Objects.
    I have writeen a simple Class definition n Implimentasion code.
    but whenever i write statement "Create object", it gives error.
    'm working on SAP Dev 4.7.
    the code was like this:-
    class counter definition.
      public section.
        METHODS: set IMPORTING VALUE(set_value) TYPE i,
                 increment,
                 get EXPORTING VALUE(get_value) TYPE i.
       private section.
       DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        count = count + 1.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA: cnt_1 TYPE REF TO counter.
    DATA number TYPE I VALUE 5.
    CREATE OBJECT cnt_1 .
    CALL METHOD cnt_1->set
      EXPORTING set_value = number.
    DO 3 TIMES.
       CALL METHOD cnt_1->increment.
    ENDDO.
    CALL METHOD cnt_1->get
      IMPORTING get_value = number.
    write: number.
    its giving error like:-"Statement is not accessible."
    plz tell me the way to resolve this error.
    thanx n regards
    Prashant tiwari

    hi prashant....
      this is the link to post your therads for abap objects:
      [ABAP Objects;.
      if you want to reward, on the left of every reply ther would be some radio buttons like answere, helpful answer,... so on. click the radio button which suits you. answered closes the thread and other points are displayed there itself.
    ---regards,
       alex b justin

Maybe you are looking for

  • Warning on "synchronize with database" in SSMA

    Hi, I am migration database from oracle to SQL using ssma. I get below warning on doing "synchronize with database". "The database owner SID recorded in master database differs from the database owner SID recorded in database XXXX (migrated SQL DB).

  • Cannot install itunes 12.1. getting error 7, windows error 193

    Have tried updating itunes to 12.1. getting message during installation that mobile services wont start. After completing installation, getting error message 7, windows error 193. Any suggestions would be helpful. thanks

  • Unable to select OLAP API metadata

    I am using oracle rdbms 9.2.0.5 Initially I was able to view BIBDEMO schema cubes using cubeviewer. I also created my own cubes using CWM2 API and was able to view through the bibeans. All of sudden it stopped working and I am currently unable to eve

  • Help! JDBC & Oracle Object Type

    Hi all? I use JDBC to connect to ORACLE 8i DB... it has various kind of New Features of Oracle 8( eg. Oject Type like REF, Nested Tables, VArray... ). So I'd like to retrieve some Table consisted of general Column and REF, Varray, Nested Tables... I

  • About CallByteMethodA Function

    Hi you all: I have some problem about CallByteMethodA function. This is what my java code looks like: public void setDS_INFO_mac(byte[] mac) { for( int i = 0; i < mac.length; ++i ) { this.ds_info.mac[i] = mac; This is what my c code looks like: jobje