ABAP OO - Creating/copying interface

Dear,
I've lots of experience in 'native' ABAP, but I'm new to OO, hence these 2, perhaps somewhat strange questions.
1. When I look at a standard SAP interface using SE24 (e.g. IF_BCM_SAVE), I see it contains some methods, but I expect to be able to double-click and see the source-code of the method; why can't I get there?
2. When I want to copy this interface to one of my own (e.g.ZIF_BCM_SAVE) because I want to add some functionality, will the underlying code of the used methods be copied as well? If not, what is the way forward?
Thanx a lot for your reply!
Regards,
Marco

Hello Marco,
Interfaces is just the skeleton of the class definition.
If you want to have your own code for all or any of the methods that interface is havings then you can create an instance of that interface and implement those methods with you own code.
That is the advantage of object oriented programming. And if you want to use the standard method or original method's functionality then you have call the method along with the class which implemented it like below
class => method1
Thanks

Similar Messages

  • How to create web interface whose name includes _ (underscore)

    Hi Experts,
    In my project we are creating web interface. The steps are as below:
    1) Run transaction code upspm and copy the planning folder
    2) Save the planning folder as web enabled planning folder
    3) Generate web interface for step 2. Here I have to provide following details:
    Name of planning folder
    Web Application
    Package
    I have to create Web Application whose name should include _ like ztest_test
    The system is not allowing me to create web application whose name includes _
    Can you please how I can create web application whose name includes _
    I am not allowed to use the wizard or manual method to create web interface.
    Regards,

    Hi
    U can use the transaction BPS_WB to create u r web interface builder and for execute check another transaction BPS_wef (check once).
    UPSPM for planning folder not for web interface builder.
    Thanks,
    Debasish

  • How to create reference, when an instance is created through  interface

    Hi All,
    How to create reference, when an instance is created through  interface.
    Regards,
    Lisa

    hi
    good
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5f54f411d194a60000e8353423/content.htm
    /people/jocelyn.dart/blog/2006/06/28/getting-started-with-abap-oo-for-workflow-using-the-ifworkflow-interface
    THANKS
    MRUTYUN

  • E- Rec - Hiding links - Create / copy requisistions in Recruiter start page

    I use a MSS view for creating Requisitions and hence want to hide Create / Copy requisitions link in Recruiter start page --> maintain requisitions.
    Cn it be done with context changes. If yes, Can some one provide some info on the steps required.
    Thanks
    G Raj

    Hi,
    if you want to change the the appearance (grouping, links, texts) of a startpage this is completely done in customizing or better said you can define your own startpages and use some parts of the sap delivery if you like. The customizing for sartpages can be found in the IMG (T-Code SPRO) under SAP E-Recruiting -> Technical Settings -> User Interfaces -> (Settings for User Interfaces with Business Server Pages (BSP)) -> Start Pages.
    We usually define customer startpages in every project, this is really no big deal.
    If you want to remove a link from a page you should start by analysing the standard startpage as you will have to "rebuild" it. The standard startpage for the recruiter is 0003. Important to know is that IMG only contains customer customizing. The sap standard delivery is stored in own tables which can only be accessed using table tools e.g. SE11 or SE16.
    The tables for startpage customizing are named T77RCF_SP*:
    T77RCF_SP_ID(C) - Startpages
    T77RCF_SP_ID(C)T - Startpages texttable
    T77RCF_SP_GROUP(C) - Startpage groups (the blocks with a number of links)
    T77RCF_SP_GROUPT/GRPCT - Startpage groups texttable
    T77RCF_SP_LINK(C) - Links
    T77RCF_SP_LINK(C)T - Links texttable
    T77RCF_SP_ASID(C) - assignment of groups to startpages
    T77RCF_SP_ASGRP(C) - assignments of links to groups
    The table without C is the standard delivery, the one with C is the one for customer customizing.
    Just take a sheet of paper and start by getting all groups to the startpage 0003. This should be 1005, 1000, 1001, 2000, 1002, 1004, 1003 but could differ depending on release and support package. As you only want to change the 2nd group you will be able to reuse the others. Next get the links to the group you want to change. In my system it's group 1000 which contains links 1000, 1001, 1003 and 1004 according to T77RCF_SP_ASGRP.
    When you have this info you can start customizing your own startpage. you will need to create a new group in the IMG node -> Define Start Page Groups. Just use the information you find in the standard delivery and assign the 3 links you want to keep. Then create your startpage and assign the standard groups and instead of 1000 your own.
    Althought it is possible to use the same numbers for IDs like SAP I prefere using 9NNN for the ids so you always know if its standard or customer. furthermore do not forget to udate your authorization roles and add the new startpage.
    Best Regards
    Roman Weise  
    PS: of course it is your decision to hide links. But even if the managers create the requisitions using MSS the recruiters will work with their startpage only and they will have to be able to create and maintain requisitions so i am not sure if hiding the link is a good idea.

  • Importing to Library created "Copy To ...." Folders - Can I Delete Them ??

    I'm new to iTunes, and I'm usings Windows XP PRO SR3.
    I ripped some CDs to FLAC format (one folder per CD).
    Then converted FLAC to MP3 in a new folder tree
    (F:\Music\MP3\"one folder per CD")
    When I imported the sub-folders in the MP3 folder (my iTunes "root" folder), iTunes created a new subfolder F:\Music\MP3\"Copy To " folder for each of my original folders. This is a duplicate of a duplicate.
    Can I safely delete these "Copy To" subfolders ??
    How do I prevent iTunes from doing this in the future ??
    Advanced Setup Notes:
    "iTunes Media folder location" is: F:\Program Files\iTunes\iTunes Media
    "Keep iTunes Media folder organized" is Not Selected
    "Copy files to iTunes Media folder when adding to library" is Not selected.
    I prefer to manually control my folder/file usage.
    Thanks
    John

    I made the initial post .....
    Tried to reproduce the Importing to Library creating "Copy To ...." folders problem.
    But it didn't do it this time ??? I don't know why.
    Everything worked the way I thought it should.
    Thanks
    John

  • [Solved]How to create ADF interface View

    Hi All,
    I have a design problem that I need some help with.
    In one of the pages in our application, we have two drop down boxes one with account type and another with account name (label) and account number (value).
    The account types are Escrow, Credit and Misc (some other types). all three types are in three different tables.
    Now the problem is, in the page when the account type is selected, the second drop down box should be filled with respective account numbers.
    So my question is Can I create an interface view and implement in all three different account type views and use it for second drop down box.
    Thanks in advance for your help.
    Thanks
    Praveen
    Message was edited by:
    bpraveen
    Message was edited by:
    bpraveen

    You might do a VO with a union of the three tables - use a custom SELECT like this:
    SELECT 'Escrow' account_type, account_number, balance, ... FROM escrow_accounts
    UNION
    SELECT 'Credit', account_number, balance, ... FROM credit_accounts
    UNION
    SELECT 'Misc.', account_number, balance, ... FROM misc_accountsUse NULL for any column in a table that does not have that column. I'm not sure if you can use Entity Objects (one EO per table) with such a VO to make the data updatable - it might have to be a read-only VO.
    Or create a database view with this SELECT and base the VO on that view instead of a table. You can even make the view updatable with INSTEAD OF triggers and base an EO on the view.

  • Any abap program for copying transformation in bi 7.0

    Hi guys
    Could you please let us know is there any abap program to copy transformation in BI 7.0 as we used to have copying update rule in Bw 3.5 or is there any other way ! It is for same datasource , ODS but different source system...
    Advance thanks

    Hi,
      It is there in support packs. we use to have similar kind of problem but we applied and it works pretty neat.
    i think the support pack is sp17 or sp16.
    thanks
    syed

  • PI (ABAP+JAVA) system copy

    It's said that PI (ABAP+JAVA) system copy is different from pure JAVA system copy or pur ABAP system copy.
    Could you share your experience?  Thanks!

    Hi Christy,
    For Java there is exe file, so by clicking that the java is installed on the system.
    For PI check the below link
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=870863
    For ABAP
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=784931
    Java tools copy for SAP PI
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=784118
    Regards
    Ramesh

  • ABAP+JAVA system copy using 3rd party export/import tools

    Hi all,
    I am trying to do a homogenous system copy.  I am following the syscopy guide for SAP NW 7.0 SR3 ABAP+JAVA systems
    We are running AIX 5.L and Oracle.
    My question is this.  We are using an IBM XiV system for our disk storage, and we are able to restore from "snaps" which is their version of images.  Does anyone know if it is possible to restore or "import" the data in a system copy using an outside tool like this?  If so, do you have any information on how to?
    I know it is possible to restore the database from an offline backup using BRTools rather than r3load and jload, and I just wanted to see if I can restore from a snap as it would save a lot of time in the procedure.
    Any help or ideas would be much appreciated.
    Thanks!

    >My question is this.  We are using an IBM XiV system for our disk storage, and we are able to restore from "snaps" which is their version of images.  Does anyone know if it is possible to restore or "import" the data in a system copy using an outside tool like this?  If so, do you have any information on how to?
    That approach is not supported.
    The reason is: combined instances write the instance name and hostname in various places, on the filesystem in .properties files, in the JDBC configuration, depending on the java applications you run on top in various other places. What you're trying to do is effectively "renaming" an instance.
    Technically it's possible to do it and to get it run, yes, but the supported way is running sapinst and choose ABAP + Java system copy. This will prevent you from lots of (not really documented) manual work after the copy.
    Markus

  • How to create a interface with NTR from SAP XI?

    How to create a interface with NTR from SAP XI?

    Hi,
        What do you mean by NTR ?...
    What are the details you needed...Please be clear and more elaborative as far as possible..so that you will get straight forward answers...
    HTH
    Rajesh

  • How to get ABAP mapping option in Interface Mapping

    Hi
    experts
    How to get ABAP mapping option in Interface Mapping . i need to do abap mapping . i didnt find the option
    plz help me

    Hi,
    If u2018ABAP-classu2019 and u2018XSL(ABAP ENGINE)u2019 does not appear under the u2018Mapping Program Typeu2019 in Interface Mapping, one has to make an additional entry in the Exchange Profile. 
    Only a user with the J2EE security role (administrator) can make the following settings in the Exchange Profile.
    It is achieved in the following manner:
    1) Open http://<host>:<port>/exchangeProfile/index.html
    2)Choose IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes
    Add: R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
    To check whether the data has been successfully read from the exchange    profile:
    1- Open http://<host>:<port>/rep/support/admin/index.html
    2- Choose Administration of Properties -> All Properties
    3- If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not visible, press REFRESH button
    After doing above check in IR, if still don't find the option for ABAP mapping then refresh the cache.
    Award points if useful.

  • Creating/Copying a Work Centre,also a Production Scheduler and Cost Centre.

    Hi All,
    I am trying to create a new work centre based on the settings of a previous one? First of all,how I can do this?
    Secondly,after I have created the new work centre (having copied being copied from another),I need to create a new production Scheduler and Cost Centre? How I will be able to do so,also?Will the Production Scheduller and Cost Centre assignments fom the old work centre be copied,too,or I will need to create/copy these from scratch?
    All help greatly appreciated,will award points to all useful answers.
    PAPJ1.
    Edited by: PAPJ1 on May 20, 2011 11:01 AM

    Hello,
    You can create a new work center by copying an existing work center. in the cr01 screen in the copy from column put the plant name and Ref. work center name and put enter. all the existing data will be copied to the newly created work center. no need to create new assignment to  Production Scheduller and Cost Center.
    Hope it helps.
    Regards
    Alok

  • Regarding creating an interface in se24 and using in se38

    Hi,
       Plz could any body help me in creating an interface and using it in se38 with clear steps and saple code of se 38 how we write it.
    it is urgent plz help......
    Thanks,
    sana.

    You do know that in the context of SE24, interface is an object oriented term?
    DATA: my_obj TYPE REF TO zif_my_interface.
    CREATE DATA my_obj TYPE zcl_my_class.
    zcl_my_class implements zif_my_interface.
    matt

  • Customizing smartform copy interface /SMB40/SDDLN_A print prog RLE_DELNOTE

    customized a smartform to pring delivery notes(VL01) by Copying interface from SAP standard form /SMB40/SDDLN_A, and print it with standard print program:RLE_DELNOTE.
    but not item information can be displayed.
    the procdure:
    after enter tcode:vl03,and chose my output type, but in fact only the header information was printed, there is nothing about item information, even i change output type to standard smartform:
    1 Print output RLE_DELNOTE ENTRY /SMB40/SDDLN_A
    item information still can't be print out,in debug mod i find that: only header data was filled, there is no
    item data.
    did anyone had met this problem?
    is it due to the configuration or the package of smartforms?
    thanks

    Hi Ashok,
    can you look at the table <b>TNAPR</b>, here you will get all the standard forms
    Regards
    Sudheer

  • How to create class interface

    Hi all,
    How shud i create class interface.
    Does this have an impact with the activation of program in sicf txn.
    basically my problem is i did not create a class interface or implement it.
    when i go into sicf txn i cant my program.
    please help me out.
    Regards,
    varun

    Vadnala,
    Go to SE24 to create your class interface and take a look at the tutorials we have spread in the SAP help and SDN. Take a quick look at BSP aplications SBSPEXT_*.
    Regards,
    Alexandre

Maybe you are looking for

  • I'm trying to install iTunes on my Dell PC.

    I AGREE on the licensing page and, then, nothing happens

  • Bounce Management Report - CRM 5.0

    Hi, Is there any standard report provided by SAP for BOUNCE MANAGEMENT? If yes, please let me know. We basically want to see how many emails have hard bounced and how many soft. thanks Yash

  • BOM change history

    Dear all We are using change number to chang BOM. We want to develop a report for all BOM change history. Is there any function module can use? From table CDPOS is difficult to know what have been changed. Thanks Hailiang

  • Method.invoke() question

    I am trying to call, using reflection, the following method: public Object import(byte[] bytes);And, I can't figure out how to do it. Any help would be appreciated. Thanks!

  • How to view swf/html online ?

    I'm a bit confused about how to use the swf/html export. I can do it, and see the results, but only if I choose "make HTML file", in which case the html file with the flash content opens in the browser (locally). But when put online, the page doesn't