DIFFERENCE between Tabstrip control and tabstrin(with wizard)

difference between table control and table control wizard.
and what is all about custom control
give simple examples

Hi
Table Control
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/802338454211d189710000e8322d00/frameset.htm
Table Control Wizard
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/802338454211d189710000e8322d00/frameset.htm
Tab Strip
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm
Tab Strip wizard
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm
http://www.sapmaterial.com/tablecontrol_sap.html
Custom Controls
A custom control is an area on a screen. You create them in the Screen Painter, and, like all other screen objects, they have a unique name. You use custom controls to embed controls. A control is a software component on the presentation server, which can be either an ActiveX control or a JavaBean, depending on the SAPgui you are using. They allow you to perform tasks, such as editing texts, locally on the presentation server. The control is driven by the application logic, which still runs on the application server.
The SAP Control Framework
The controls on the presentation server and the ABAP application programs on the application server communicate using the Structure link SAP Control Framework. This is programmed in ABAP Objects, and contains a set of global classes that you can find in the Class Browser under Basis ® Frontend services. These classes encapsulate the communication between the application server and presentation server, which is implemented using Remote Function Call.
All application controls are encapsulated in a global class. You can find the SAP Basis controls in the Class Browser under Basis ® Frontend Services or Basis ® Component Integration. Programs that use controls on a screen work with the methods and events of the global classes that encapsulates them.
Container Controls
Before you can work with a custom control on a screen, you must assign a Structure link SAP Container Control to it. Container controls are instances of special global classes from the SAP Control Framework. The global class for custom controls is called CL_GUI_CUSTOM_CONTAINER. To link a custom control to a container control, pass the custom control name to the CONTAINER_NAME parameter of the container control constructor when you instantiate it.
As well as using custom containers, you can link controls to a screen using a SAP Docking Container. This is encapsulated in the global class CL_GUI_DOCKING_CONTAINER. The SAP Docking Container does not place the control within a screen. Instead, it attaches it to one of the four edges. You can nest containers. For example, you can use the SAP Splitter Container (classes CL_GUI_EASY_SPLITTER_CONTAINER or CL_GUI_SPLITTER_CONTAINER) within other containers. This allows you to split a custom control or docking control into more than one area, allowing you to embed more than one control.
One example,
program z.
Constants *
constants: c_me like trdir-cnam value 'VNDOVV',
c_myurl type scarr-url value
'http://www.brainbench.com/transcript.jsp?pid=147699',
c_width type i value 260,
c_height type i value 130.
Types *
types: begin of t_pgm,
year(4) type c,
name like trdir-name,
end of t_pgm,
begin of t_pgmkey,
id type i,
name like trdir-name,
end of t_pgmkey.
Data *
data: it_pgmkey type table of t_pgmkey.
Classes *
Definitions *
class screen_init definition create private.
public section.
class-methods init_screen returning value(this)
type ref to screen_init.
methods constructor.
private section.
class-data a_id type i.
data: splitter_h type ref to cl_gui_splitter_container,
splitter_v type ref to cl_gui_splitter_container,
picture type ref to cl_gui_picture,
tree type ref to cl_gui_simple_tree.
methods: fill_tree,
fill_picture.
endclass.
class screen_handler definition.
public section.
methods: constructor importing container
type ref to cl_gui_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key,
handle_picture_double_click
for event picture_dblclick
of cl_gui_picture.
private section.
data: html_viewer type ref to cl_gui_html_viewer,
editor type ref to cl_gui_textedit.
methods: fill_html,
fill_src importing programid type trdir-name.
endclass.
Implementations *
class screen_init implementation.
method init_screen.
data screen type ref to screen_init.
create object screen.
this = screen.
endmethod.
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler,
container_left type ref to cl_gui_container,
container_right type ref to cl_gui_container,
container_top type ref to cl_gui_container,
container_bottom type ref to cl_gui_container.
create object splitter_h
exporting
parent = cl_gui_container=>screen0
rows = 1
columns = 2.
call method splitter_h->set_border
exporting border = cl_gui_cfw=>false.
call method splitter_h->set_column_mode
exporting mode = splitter_h->mode_absolute.
call method splitter_h->set_column_width
exporting id = 1
width = c_width.
container_left = splitter_h->get_container( row = 1 column = 1 ).
container_right = splitter_h->get_container( row = 1 column = 2 ).
create object splitter_v
exporting
parent = container_left
rows = 2
columns = 1.
call method splitter_v->set_border
exporting border = cl_gui_cfw=>false.
call method splitter_v->set_row_mode
exporting mode = splitter_v->mode_absolute.
call method splitter_v->set_row_height
exporting id = 1
height = c_height.
container_top = splitter_v->get_container( row = 1 column = 1 ).
container_bottom = splitter_v->get_container( row = 2 column = 1 ).
create object picture
exporting parent = container_top.
create object tree
exporting parent = container_bottom
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_single.
create object event_handler
exporting container = container_right.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
clear: event, events[].
event-eventid = cl_gui_picture=>eventid_picture_dblclick.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method picture->set_registered_events
exporting events = events.
set handler: event_handler->handle_node_double_click for tree,
event_handler->handle_picture_double_click for picture.
call method: me->fill_picture,
me->fill_tree.
endmethod.
method fill_picture.
call method:
picture->load_picture_from_sap_icons exporting icon = '@J4@',
picture->set_display_mode
exporting display_mode = picture->display_mode_fit_center.
endmethod.
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode,
w_pgm type t_pgm,
w_cdat type rdir_cdate,
it_pgm type table of t_pgm,
w_pgmkey type t_pgmkey.
clear: a_id, it_pgmkey[].
select distinct name cdat from trdir into (w_pgm-name, w_cdat)
where cnam = c_me.
w_pgm-year = w_cdat(4).
append w_pgm to it_pgm.
clear w_pgm.
endselect.
sort it_pgm.
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign for expansion.
loop at it_pgm into w_pgm.
at new year.
node-node_key = w_pgm-year.
clear node-relatkey.
clear node-relatship.
node-text = w_pgm-year.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new name.
add 1 to a_id.
node-node_key = w_pgmkey-id = a_id.
w_pgmkey-name = w_pgm-name.
node-relatkey = w_pgm-year.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = w_pgm-name.
node-n_image = '@0P@'.
node-exp_image = '@0P@'.
append w_pgmkey to it_pgmkey.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
class screen_handler implementation.
method constructor.
create object: html_viewer exporting parent = container,
editor exporting parent = container
wordwrap_mode =
cl_gui_textedit=>wordwrap_at_fixed_position
wordwrap_position = 72.
call method: fill_html,
editor->set_readonly_mode exporting readonly_mode = 1.
endmethod.
method handle_node_double_click.
data: w_name type programm,
w_id type i,
w_year(4) type c,
w_pgmkey type t_pgmkey.
w_name = node_key+4.
w_id = w_name.
clear w_name.
read table it_pgmkey into w_pgmkey with key id = w_id
binary search.
if sy-subrc = 0.
w_name = w_pgmkey-name.
endif.
w_year = node_key(4).
if w_name is initial.
call method: fill_html,
html_viewer->set_visible exporting visible = 'X',
editor->set_visible exporting visible = ' '.
else.
call method: fill_src exporting programid = w_name,
editor->set_visible exporting visible = 'X',
html_viewer->set_visible exporting visible = ' '.
endif.
call method cl_gui_cfw=>flush.
endmethod.
method handle_picture_double_click.
call method: fill_html,
html_viewer->set_visible exporting visible = 'X',
editor->set_visible exporting visible = ' '.
call method cl_gui_cfw=>flush.
endmethod.
method fill_html.
call method html_viewer->show_url exporting url = c_myurl.
endmethod.
method fill_src.
types t_line(72) type c.
data src type table of t_line.
read report programid into src.
call method: editor->delete_text,
editor->set_text_as_r3table exporting table = src[].
endmethod.
endclass.
Data *
data this_screen type ref to screen_init.
Program execution *
load-of-program.
call screen 100.
Dialog Modules PBO *
module status_0100 output.
set pf-status 'SCREEN_100'.
set titlebar 'TIT_100'.
this_screen = screen_init=>init_screen( ).
endmodule.
Dialog Modules PAI *
module cancel input.
leave program.
endmodule.
Reward if usefull

Similar Messages

  • At least 6 differences between Oracle 9i and 10g with complete understan

    Hi 2.     
    At least 6 differences between Oracle 9i and 10g                    with complete understanding of each difference .
    cheers

    Hi,
    Forum thread already opened by you
    check what is the major difference between 9i and 10g
    regards,
    kaushal

  • Difference between Return Po and Retuning with 122 movement type

    Dear Experts,
    i need some clarification on Return Po and retuning goods with 122 movement type in the context of Excise invoice.
    in our previous company we used 122 movement we capture excise invoice with J1IS and referring the incoming excise
    and return the material to vendor.
    in present company we are directly doing return Po and capturing excise invoice with J1is,here we are not capturing against the
    incoming excise,please clarify me.
    Regards,
    Varun

    Hi,
    Refer the below thread:
    Difference between 102, 122 and 161
    In terms of stock movement, both 122 and 161 represents the return delivery to your vendor. The difference takes place in terms of how you are returning your delivery to your vendor - It is movement type 161 that SAP will automatically propose if your return PO is referenced. Otherwise, 122 movement type will be used instead.
    Regards,
    Prashant
    Edited by: Prashant Prasad on Apr 22, 2011 8:51 AM

  • Difference between data control and grid control

    Hello, All:
    When I installed my 10g database, the OEM data control was also installed, I can use it to manage my database perfectly. now I see there is a seperate product for OEM grid control that need to be installed from different CD, Can someone tell me what's the difference between this Data Control and Grid Control?
    Thanks in advance

    DBconrtrol is for monitor only one database but from Enter prise manager Grid Control you can monitor and manage all the database in your enterprise basically
    Oracle Enterprise Manager Grid Control is a single, integrated product for monitoring and managing Oracle software infrastructure as well as applications and business services in diverse IT environments

  • Difference between regular update and update with execute immediate

    Hi everyone, I have seen some code where developers have executed insert and update statement using execute immediate.
    for example :
    execute immediate ('Update employees set employee_salary = :x');
    I can update record using the following statement where x is a number (salary)
    update employee
    set employee_salary = x;
    It works fine as well
    Whats the difference? and what way is recommended
    Thanks

    My guess is that sqlplus does a commit on exit:
    In session 1:
    SQL> create table test (col1 number);
    Table created.
    SQL> begin
      2    execute immediate 'insert into test values (1)';
      3  end;
      4  /
    PL/SQL procedure successfully completed.In session 2:
    SQL> select * from test;
    no rows selectedIn session 1:
    SQL> exec execute immediate 'insert into test values (2)';
    PL/SQL procedure successfully completed.In session 2:
    SQL> select * from test;
    no rows selectedIn session 1:
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining optionsIn session 2:
    SQL> select * from test;
          COL1
             1
             2

  • Differences Between Grid Control and Application Server Console

    Hi,
    I have come across a situation where a customer has an OC4J container and has deplyed several applications in this container. When they access Application Server Control Console thay can stop and start these applications individually.
    However, the customer cannot monitor the status/state of these applications from withing Grid Control. We can see that the OC4J container is either up or down and will be alerted for the change of status. However, if a single application within the container is down they will not be alerted.
    We are using GC 10.2.0.5, iAS 10.1.2.2. Is there a way around this, or dies the Application Server Console have a little extra functionalitly in it compared to Grid Control?
    Tim.

    Hi,
    On your grid control, create a new Notification rule and select "Web Application" from the target drop down and then select your application then in availability tab, select up and down for which you want to receive notification.
    Salman

  • Difference between ActiveX Controls and JavaBeans

    Hi,
    I have just started programming Java Beans. Being from Microsoft background my first feel is that Java Beans are to Java what ActiveX is to Microsoft. Is this true? I hope that some of the gurus out there will be better able to explain.
    Thankx in adavance...

    This is pretty much true. ActiveX and JavaBeans fulfil similar roles, they just do it in completely different ways.
    ActiveX relies on COM, a JavaBean is just another class using specific naming conventions.
    But you now need to forget all about the similarities! Bringing an ActiveX knowledge to JavaBeans will likely get you in trouble. Learn Beans for what they are - Beans.
    The online training page at develope.java.sun.com ha lots of resources for finding your way around.
    Cheers

  • Re: Difference between user-exits and enhancements

    Hi ,
    Can any one explain the difference between user-exits and enhancements with an exmpale.
    I will give u full points.
    thanks&regards,
    Bhushan-karra.

    Hi,
    User exit - A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
    Customer exit - The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks. *-- Mani
    The following document is about exits in SAP :-
    The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications.
    SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
    Types of Exits
    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    Menu Exits
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    Function Module Exits
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits.
    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.
    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs.
    These calls have the following syntax:
    CALL CUSTOMER-FUNCTION ‘001’.
    Field Exits
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field. Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100.
    The field exit concept lets you create a special function module that contains this logic.
    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number.
    Check these links for more details -
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1978b543b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://sap.niraj.tripod.com/id21.html
    If this answers your question, please close the thread.
    Check this link also,
    https://forums.sdn.sap.com/click.jspa?searchID=5924777&messageID=3801056
    Thanks,
    Reward If Helpful.

  • What is difference between oracle 9i and 10g?

    Hi All,
    please explain difference between oracle 9i and 10g with example.
    your suggestion would be greatly appreciated.

    user13842301 wrote:
    Hi All,
    please explain difference between oracle 9i and 10g with example.
    your suggestion would be greatly appreciated.One letter and one number :)
    But seriously, they document this stuff (way too much to write in a forum reply).
    For 10.1
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10750/toc.htm
    and for the more popular 10.2
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm

  • What is the difference between SID,HOSTNAME and port number?

    I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?
    Thanks in advance.

    Raghavendra Rao J S V wrote:
    I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?http://bit.ly/PkIJfi
    http://bit.ly/PkIMri
    http://bit.ly/PkINvD
    Thanks,
    Hussein

  • Difference between PRIMARY KEY and UNIQUE KEY with NOT NULL

    What is the difference between PRIMARY KEY and UNIQUE KEY with NOT NULL constraint?
    Message was edited by:
    Nilesh Hole

    Answer for the master!!!
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8743855576462
    Thanks,
    Karthick

  • Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are? Also when I upgrade does it have to be with a monthly membership or can I just purch

    Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are?
    Also when I upgrade does it have to be with a monthly membership or can I just purchase the product out right like you use to be able?

    You cannot "update" from what you have to any of the applications you mention. It will have to be a straight purchase or subscription at full price.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Lightroom is all about volume, and very light editing.
    The Photoshop Elements forum is at:
    https://forums.adobe.com/community/photoshop_elements/content
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I do not know where there is such a comparison table as you seek, but someone else might, or you can google.

  • How can I tell the differences between the new MacBook Pro with retina display and the old MacBook Pro with retina display by looking

    I'm just wondering the differences between the new MacBook Pro with retina display which was just released in October 2013 and the old MacBook Pro with retina display.

    Thank you for the reply! As you said they looked exactly the same, so I'm not able to tell the differences just by looking, right? I'm thinking to buy a new 13-inch MacBook Pro with retina display, but I'm not buying the MacBook in Apple Store, I'm buying it in other shops, how can know whether they are not selling me the old model of MacBook Pro with retina display?

  • Difference between "IKM append" and "IKM Control append"

    Hi gurus,
    Please clarify me the difference between IKM append and IKM Control append mode.
    Thanks
    Anindya

    I believe you are talking about IKM SQL Control Append and IKM SQL to SQL Append . If yes then read further .
    IKM SQL Control Append :
    Integrates data in any SQL compliant target table in replace/append mode.
    To use this IKM, the staging area must be on the same data server as the target.
    IKM SQL to SQL Append :
    Integrates data in a target SQL compliant table from any SQL compliant staging area in replace mode.
    To use this IKM, the staging area must be different from the target.
    So the main difference is the location of staging area .
    Thanks,
    Sutirtha

  • Differences Between ECC5.0 and ECC6.0 in Controlling

    Sir.
    can you Explain?
    Differences Between ECC5.0 and ECC6.0 in Controlling
    Regards

    Hi There,
    Check the below link:-
    [http://solutionbrowser.erp.sap.fmpmedia.com/Search.aspx]
    here enter your source system and target system and the differences will be listed.
    Regards,
    Gaurav

Maybe you are looking for

  • Our webpage is getting version as 0 since updating to 31.0

    I access one of my company's webpage regularly, which is developed using html and have some kind of dynamic editing tools(cms-edit-form) embedded so that any one can edit a section of page by using all basic features available typically in MS Office.

  • Error writing to file: C:\Program Files\iPod\bin\iPodService.exe...Help!!!

    I recently installed the newest version of iTunes however after installing I did not restart my computer right away. Instead I just waited until the next time I was going to turn my comp off and then back on. So when I turned my comp on the next time

  • Invalid serial number when reinstalling Adobe CS2 on G4 Mac with OS 10.5.8.

    I have tried using the original serial numbers and the one found on the website to download the version that does not require an access code.  Nothing seems to work.  I am going to remove everything once again and try to reinstall but I am not very o

  • Music not download :lumia 920

    Hi when i try to download music from music store it give msg phone is already registered with nokia music for unlimited downloads WHAT I DO NOW HOW TO RESOLVE THIS

  • Using data collected on a form and updating a database

    I have created a form using Lifecycle Designer ES 8.2 to allow users to populate with information and send it to a central control point.  I would like to take the information from the pdf form and then allow the user at the control point to update d