Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

isuue on OOPS programing

madhupusala3
Explorer
0 Kudos

Hi,

i need simple program using classes, which should populate the pop up window.

Thanks,

Regards.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What popup window? A message? What?

Regards,

Rich Heilman

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What popup window? A message? What?

Regards,

Rich Heilman

0 Kudos

inputs as internal table

0 Kudos

Maybe something like this?



report  zrich_0005.

data: it001w type table of t001w with header line.

data: dialog_box  type ref to cl_gui_dialogbox_container,
      alv_bottom    type ref to cl_gui_alv_grid,
      alv_right     type ref to cl_gui_alv_grid,
      repid type syrepid.

parameters: p_check type c.

at selection-screen output.


  select * into corresponding fields of table it001w
              from t001w.



  create object dialog_box
    exporting
      width                       = 700
      height                      = 300.

  create object alv_right
              exporting i_parent = dialog_box.

  call method alv_right->set_table_for_first_display
     exporting
          i_structure_name       = 'T001W'
     changing
          it_outtab       = it001w[].

Regards,

Rich Heilman

0 Kudos

Hi Rich Heilman,

It looks good, but close button of that dailog bos not activated like minimize and maximize.

is it possible without using of alv grid.

it should be display as simple text

Thanks &

Regards

Former Member
0 Kudos

HI

GOOD

GO THROUGH THESE LINKS WHERE YOU CAN GET SOME GOOD EXAMPLES USING OO CONCEPT.

http://abap4.tripod.com/SAP_and_ABAP_Links.html

http://www.sapgenie.com/abap/OO/eg.htm

THANKS

MRUTYUN

Former Member
0 Kudos

hi Madhu

check the below links

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

Regards,

Naveen