Can anyone explain me what is interface

hi gurus
can anyone explain me what is interface
tahnk you
regards
kals.

Hi
by using rs_selfield
ty to call dynamic subroutine..
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield. "#EC CALLED
read table rs-selfield with key cond = 'X'
endform.
see the below example
REPORT Z_GET_REFRESH no standard page heading.
type-pools : slis.
tables : makt,
mara.
data : i_fieldcat type slis_t_fieldcat_alv.
CONSTANTS :
gc_refresh TYPE syucomm VALUE '&REFRESH'.
data : begin of i_makt occurs 0,
matnr like makt-matnr,
maktx like makt-maktx,
end of i_makt.
data : v_repid like sy-repid,
g_user_command type slis_formname value 'USER_COMMAND',
g_status_set type slis_formname value 'SET_PF_STATUS',
lt_event_exit TYPE slis_t_event_exit,
ls_event_exit TYPE slis_event_exit.
DATA:LC_GLAY TYPE LVC_S_GLAY.
select-options s_matnr for mara-matnr .
start-of-selection.
select matnr maktx from makt into table i_makt
where matnr in s_matnr.
end-of-selection.
Fill the fieldcatlog
perform fill_field.
Call the FM
perform call_fm.
*& Form fill_field
text
--> p1 text
<-- p2 text
FORM fill_field.
data wa_fieldcat type slis_fieldcat_alv.
clear : wa_fieldcat.
wa_fieldcat-tabname = 'I_MAKT'.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-outputlen = '18'.
wa_fieldcat-seltext_l = 'Material #'.
wa_fieldcat-col_pos = '1'.
append wa_fieldcat to i_fieldcat.
clear : wa_fieldcat.
wa_fieldcat-tabname = 'I_MAKT'.
wa_fieldcat-fieldname = 'MAKTX'.
wa_fieldcat-outputlen = '40'.
wa_fieldcat-seltext_l = 'Material Desc'.
wa_fieldcat-col_pos = '2'.
append wa_fieldcat to i_fieldcat.
ENDFORM. " fill_field
*& Form call_fm
text
--> p1 text
<-- p2 text
FORM call_fm.
v_repid = sy-repid.
LC_GLAY-EDT_CLL_CB = 'X'.
CLEAR ls_event_exit.
ls_event_exit-ucomm = gc_refresh. " Refresh
ls_event_exit-after = 'X'.
APPEND ls_event_exit TO lt_event_exit.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = g_status_set
I_CALLBACK_USER_COMMAND = g_user_command
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS = LC_GLAY
IS_LAYOUT =
IT_FIELDCAT = i_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT = lt_event_exit
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_makt
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " call_fm
FORM USER_COMMAND *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield. "#EC CALLED
data i_RSPARAMS like RSPARAMS occurs 0.
CASE R_UCOMM.
WHEN '&IC1'.
read table i_makt index rs_selfield-tabindex.
SET PARAMETER ID 'MAT' FIELD i_makt-matnr.
if not i_makt-matnr is initial.
call transaction 'MM02' and skip first screen.
endif.
when '&REFRESH'.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = v_repid
IMPORTING
SP =
TABLES
SELECTION_TABLE = i_RSPARAMS
EXCEPTIONS
NOT_FOUND = 1
NO_REPORT = 2
OTHERS = 3
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
submit z_get_refresh with selection-table i_RSPARAMS.
rs_selfield-refresh = 'X'.
ENDCASE.
MOVE '&REFRESH' TO r_ucomm.
ENDFORM.
FORM set_pf_status *
FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
DELETE Rt_extab WHERE fcode = gc_refresh.
SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
EXCLUDING Rt_extab.
*SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
SET TITLEBAR sy-tcode.
ENDFORM.

Similar Messages

  • Can anybody explain me what is interface

    hi gurus
    can anyone explain me what is interface
    tahnk you
    regards
    kals.

    hi
    Interfaces are independent structures that allow you to enhance the class-specific public points of contact by implementing them in classes.
    Interfaces can be defined globally in the R/3 repository or locally in ABAP program
    Can define exactly same components in Interfaces as in Classes
    Unlike classes, Interfaces do not have instances, instead they are implemented by classes
    Implemented using INTERFACES statement in the declaration part of the class
    INTERFACES statement must be included in the PUBLIC SECTION of the class
    Different classes that implement the same interface can all be addressed in the same way.
    Interface references allow users to address different classes in the same manner.
    Interfaces can also be nested.
          Interfaces are the basis for polymorphism in classes, because they allow a single interface method to behave differently in different classes.
    If an interface is implemented in the class, the interface components are added in the public section of the class.
    A component comp of an interface intf, implemented in a class, becomes a fully-fledged member of that class, with the name intf~comp.
    Classes that implement interfaces must implement all of their methods.
         METHOD intf~meth.
         ENDMETHOD.
    Interfaces allow you to use different classes in a uniform way (polymorphism).
    Interface References
    Creating Interface Reference Variables
          DATA obj TYPE REF TO intf.
    Using this reference variable, you can access any of the components defined in the interface
    Nested Interfaces
    Interface can include one or more interfaces as components, which can contain interfaces themselves.
    Compound Interface : It includes other interface as its component.
    Elementary Interface : It does not include any interface as a component.
    All interface components of a compound interface have the same level
    A component interface exists only once even if it is used once more as a component of another component interface.
    Aliases : It can be used to assign alias names to the components of component interfaces, thus making them visible within the interface definition.
                  ALIASES <alias name> FOR intf~comp.
    Where, intf  = interface name and comp = Component name
    Accessing Objects using Interface References
    It is also possible to directly generate an object to which the interface reference
          variable points initially. In this case, the TYPE addition of the statement CREATE OBJECT must be used to specify a class that implements the interface.               CREATE OBJECT iref TYPE class.
    If the interface intf contains an attribute attr and an instance method meth, you can address them as follows:
    Using the class reference variable:
    Accessing an attribute attr: cref->intf~attr
    Calling a method meth: CALL METHOD cref->intf~meth
    Using the interface reference variable:
    Accessing an attribute attr: iref->attr
    Calling a method meth: CALL METHOD iref->meth
    Accessing Static Components of Interfaces
    Use the name of the interface to access constants within an interface. 
    Accessing a constant const: intf=>const.
    To access the other static components of an interface, use an object reference or the class class that is implementing the interface. 
    Accessing a static attribute attr: class=>intf~attr.
    Calling a static method meth: CALL METHOD class=>intf~meth.

  • I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    If your iPhone is locked to a wireless provider, only that wireless provider
    can unlock it. Contact the wireless provider in Hong Kong to see if they
    offer unlocking and if you qualify.
    If your iPhone is locked to an AppleID that you do not know, return it for
    a refund as it is useless. Only the person whose AppleID was used for
    activation can remove the lock. There is no workaround for Activation Lock.
    If neither of the above is what you are facing, provide more detail so someone
    may offer a solution.

  • Can anyone explain me what is Attribute Changerun, in detail, Urgent

    Can anyone explain me what is Attribute Changerun, in detail

    If you assign the process type Attribute Change run to a process chain you must define a variant. With this variant you have to define the InfoObjects for which you want to activate the master data. There are four different possibilities:
         HIERARCHY: direct selection of the hierarchy which need to be activated
         INFOOBJECT: direct selection of the infoobjects which need to be activated
         LOADING: indirect selection: reference to an InfoPackage, which must be loaded before in the process chain. Combined with the meta data of these objects and the instance information the system derives the affected InfoObjects and hierarchies. If the chosen LOADING object is not in the process chain, the system automatically inserts the chosen infopackage in process chain.
         REPORTVARIANT: indirect selection: reference to a change run variant which you can define with RSDDS_AGGREGATES_MAINTAIN (SE38) or TCode RSATTR  Executing the Attribute/hierarchy change run with Variant:
    Instead of applying the InfoObjects or hierarachies directly to the process variant in RSPC you can create a central variant for the report RSDDS_AGGREGATES_MAINTAIN. You can assign InfoObjects and hierarchies to this report variant. This central variant could be used by several process variants in RSPC. The benefits are central maintenance, ..

  • Can anyone explain briefly  What is LIS and LO?

    hai sapbw-gurus,
    Can anyone explain briefly  What is LIS and LO?
    what is the different b/w LIS and LO?
    how u will create these two in sap bw?

    hi,
      LIS is old technique through which we can load the data. Here we use typical delta and full up-loading techniques to get data from an logistics application, it uses V1 and V2 update, it means that it was a synchronous or asynchronous update from the application documents to LIS structures at the time when the application document was posted.
    LO Cockpit is new technique i think from bw 3.0 ( i am not sure) which uses V3 which is an update that you can schedule, so it does not update at the time when you process the application documents, but it will be posted at a later stage.
    Another big difference between LO and LIS is that,
    You have separate datasources for header level, item level and schedule line level available in LO, you can choose at which level you want to extract your data and switch off others, which results in reduced data.
    we do not have this flexibility with LIS structures
    with Plug-In 2001.2 S2xx-Structures have been replaced by Logistics Extraction Cockpit. However, R/3 releases 4.x support S2xx-Structures and Logistics Extraction Cockpit in parallel.
    With new LBWE extractors there are a lot of benefits:
    - Detailed Extraction: extraction can be deactivated (e.g. Schedule Line Data) leads to leaner extractors with less volume.
    Document Changes: only BW-relevant data changes will be updated (less upload volume).
    - LIS-Tables are not updated reduced data volume due to avoided redundancy.
    - Update with Batch-Process (V3) -> no load on daily business (but now there are available different delta methods as the direct delta...)
    - No LIS-Know How necessary.
    - Functional Enhancements easy to be done.
    - Central, uniform maintenance tool for logistics applications (LBWE)
    - No Delta-Tables (SnnnBIW1/-2) no double update, no double Data-Storage
    - A lot of flows are covered: Purchasing,Inventory Controlling, Shop Floor Control, Quality Management, Shipment, Sales, Shipping, Billing, Plant Maintenance, Customer Service, Retailing....
    LOGISTIC COCKPIT DELTA MECHANISM - Episode one: V3 Update, the ‘serializer’
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    LOGISTIC COCKPIT DELTA MECHANISM - Episode two: V3 Update, when some problems can occur...
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    LOGISTIC COCKPIT DELTA MECHANISM - Episode three: the new update methods
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    LOGISTIC COCKPIT - WHEN YOU NEED MORE - First option: enhance it !
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    differences between LO and LIS
    hope it helps,
    regards,
    partha

  • Can anyone explain me what is netweaver

    Hi All,
    what is netweaver....can anyone explain me..
    cheers,
    Raghavesh

    hi,
    just read this
    http://en.wikipedia.org/wiki/NetWeaver
    this is a basic explanation with all components
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Can anyone explain.. what happen?? to the error...

    C:\j2sdk1.4.1_01\bin>javac FileMenu.java
    FileMenu.java:5: package packages does not exist
    import packages.SplashScreen;
    ^
    .\SplashScreen.java:6: 'class' or 'interface' expected
    package packages;
    ^
    2 errors
    Referring -- I am trying to do a packages on both program... 1 file call.. FileMenu.java.. and the other one call.. SplashScreen.java
    Why could this happen?

    I believe you may have the package statement and your import statement in the wrong order.
    IIRC the package statement must come first.
    You don't need to import stuff in the same package anyway.

  • My ipod 60gb classic is showing as fully charged until I connect it to my pc when it comes up with the error message, 'please wait very low battery' and the little wheel goes round and nothing happens, can anyone explain why this is and what i can do?

    My ipod 60gb classic is showing as fully charged until I connect it to my pc when it comes up with the error message, 'please wait very low battery' and the little wheel goes round and nothing happens, can anyone explain why this is and what i can do?

    I have worked my way through the assistant and nothing works. I have tried connecting in disc mode but although the screen on the ipod is showing that the device is charged and that it is in disc mode as soon as I connect it to the computer it comes up with the error message 'please wait very low battery' and stays like that until I disconnect when it appears to be OK again. I have tried on both pc and mac.
    BTW the ipod is an ipod video not classic if that makes any difference.
    Thanks

  • Can anyone explain what the other section section in the HDD usage description is for ? I recently used iphoto to send a mail and this "other "section inrease the usage by about 1GB....any ideas why ?

    Can anyone explain what the "other" (yellow colour) section in the HDD usage description is for and what it does.It is under the about this mac section and storage option?
    I recently used iphoto to send mail with photos attached and this "other" section increased by about 1GB. The mail size was around 900KB.....any ideas ?

    Shurig wrote:
    Thanks gor replying,,,this is my first time on this site.
    Any idea why the "other" continues to increase. I have just got got my mac so no new apps installed yet only been using it for mail and web browsing. I tried the iphoto mail last night and noticed the the "other" section had increased by 1GB which I thought was rather larger. Do you know what this setion actually does ?
    Also do you know if it is possible to delete the iphoto emails.
    All of your 'stuff' that is not Music Movies Apps Backups or Photos is in Other, that means all your emails, all your files etc, why don't you just leave well enough alone, this is not windows and doesn't need tinkering with,

  • When trying to sync my iphone in itunes i keep getting the error message "itunes cannot sync apps because the apps installed on the iphone could not be determined." can anyone explain what this means?

    when trying to sync my iphone in itunes i keep getting the error message "itunes cannot sync apps because the apps installed on the iphone could not be determined." can anyone explain what this means?

    I received the same error message after I had recently updated iTunes to 10.5.1 and I had wirelessly updated 13 apps.  I had to go into iTunes and select Apps, on the bottom right it said I needed to update 13 apps.  I updated the apps via iTunes and then synced again without an issue.
    iPhone 4S / OSX 10.6.8 / iTunes 10.5.1

  • Can anyone explain what a condition type means in pricing.

    Hi,
    Can anyone explain what a condition type means in pricing. And how to create condition type and how it effects Pricing conditions.
    As I am new to this area. Detailed explanation is highly appreciated.
    Thanks a lot,
    Rasheed

    Hello Rasheed,
    Below mentioned are the few important things related to pricing.
    - You first define Condition Tables .
    - Define Access Sequence and assign condition tables to it.
    - Define Condition Type and assign Access Sequence to it.
    - Now define Pricing Procedure and assign Condition Type to it.
    - Now you define Pricing Procedure Determination using Sales Org, Distribution    Channel ,Division,Document  Pricing Procedure and Customer Pricing Procedure which are the key fields.
    The above steps can be done in SPRO.
    -Now maintain the Condition Records(for eg:For the specific material what is the cost or for a specific customer what is the cost of the specific material etc) using Txn:VK11.
    - Once you maintain the Condition Records , you can reflect the same values in Condition Type in SPRO.
    Hope this information is helpful for you to relate Condition Type in Pricing,
    Please reward with points if this information is helpful for you.
    Regards,
    Shanthala.

  • Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Welcome to Apple Support Communities
    "Other" refers to OS X files, caches, downloads, documents. See Other in this website > http://pondini.org/OSX/LionStorage.html
    I would not worry about Other because they contain files that you need, but if you want to decrease the size, start deleting downloads and documents

  • Can anyone explain what consume() actrually does?

    Can anyone explain what consume() actually does as it relates to a KeyEvent?
    I read about this but I just can't seem to to understand it.
    Thanks in advance.

    Yes I read your reply. Your reply though, simply copied the text from the documentation which I already stated I did not understand. I was looking for a clearer explaination.

  • Can anyone explain Space to me, what is does, what u use it for etc?

    Hi, can anyone explain what Spaces is, like what it does for u and what u would use it for?
    Tracy

    Put a different way: it helps you divide up your work by subject, helping to organize what you see in front of you.
    Before Spaces, all of your work was cluttered together on the screen. If at once you were using Safari, Entourage, Photoshop Elements, iPhoto, QuickTime Player, NetNewsWire (a RSS news aggregator), Finder itself, and whatever else you were using, all of the application windows were strewn around the screen. The only way to get rid of the mess was to quit an application, minimize windows, or hide the application.
    With Spaces, you can simply assign application to its own desktop--almost like having things grouped in different monitors. You could create a Space for your graphics applications, ones that you tended to use together: Photoshop Elements, iPhoto, maybe QuickTime Player. Your Internet applications in another: Safari, Entourage, and NetNewsWire. Some applications can belong to all the Spaces, such as Finder (however you choose).
    That way, when you're doing your graphics work, you only see windows and applications that pertain to that. Want to take a break and go on the Internet? Switching to any of the applications (and you do so by a key combination or a menu) quickly hides the graphics application windows and replaces them with what you use for the Internet. The range of applications you're not working with for now are hidden from you, helping you focus and avoid clutter, but are immediately available.
    I usually limit myself to two spaces (using a secondary space for applications used for writing, such as Scrivener, Dictionary, and the like), but you can make as many as you find helpful.

  • Can anyone explain to me what exactly "beats audio" is?

    Hi,
    Can anyone explain to me what exactly "beats audio" is?
    It says it is high end audio software...
    Is is part of a high end sound card?
    Are the speakers on the laptop better?

    Beats audio is a feature available in HP computers/laptops from the Manufacturer Beats  Audio Limited.  It is very good for the music applications.

Maybe you are looking for

  • Allowing a zero as the first digit in an insert record form field

    I have a form that has an insert record behavior applied to it. I would like to be able to put a number into one of the form fields that begins with the letter zero (i.e. 010507). The trouble is that when I insert any number beginning with a zero, th

  • Iphoto pictures  ---   Apple TV

    Hi, How iPhoto08 pictures are shown with ATV? Like is it : 1) they are copied (via itunes sync) to local ATV Hard disk ? 2) the files are streamed from my imac Iphoto ? Is it possible NOT to transfer (sync) the files to the AppleTV hard disk in order

  • My Safari browser is blocked by a virus warning.  What can I do?

    My Safari browser is blocked by a virus warning.  What can I do?

  • Hyper-V & Linux Integeration Services

    I've been hacking for the majority of the day at getting LIS working on Arch, and any tips would be helpful. I'm not fantastic at working with the under belly of linux, and usually I'm dependent on forums/guides.  This one has me stumped. From what I

  • One object of Scanner class?

    Hello, I was reviewing some posts and I found a very interesting question which was answered by db. I was hoping someone could answer this. The problem is that there can only be one instance of System.in. The OP posted code that has a instance in two