Z Program of subtype being incorrect??

Hi experts.
I've created a Z subtype of object BUS2009 and I have some problems regarding the containers.
Well, It's a little complicated so I'll try to expose it as easy as I can.
We have a problem with the Z-Object because of the "get_property" function on the original object program. As you know, when you create a subtype of some object, it requires a new program name, it's supposed that the code you write in this new program is added to the existing one (the one in the father object), so if you declare new methods, they are included on this new program, but you also have access to the methods of the father object.
Well, when I debug some of the methods of the original object, there is a table, "_eban", that is used to retrieve the atributes of the object in the "get_property" code. But when I debug my own method, this table seems to be empty...I don't know why because the "get property" is supposed to be executed even if I call de Z version of the program in the subtype. Isn`t it?
What do you think about that?
Thank you all.
Ismael

Hall Ismael,
the field <tablename> and the form get_table_property_xxx is generated when you create (new) object attributes with reference to a database table.
These attributes are then stored in <tablename> as a cache. This function is executed for the first attribute on reading. So when you want to ensure, that you have current data, use the following statment in your method:
swc_get_property self '<your-table-property>' prop.
If this call returns with sy-subrc = 0, the complete _eban is now filled.
Best wishes,
   Florin

Similar Messages

  • What is the program object is being created when we activate smartform?

    What is the program object is being created when we activate smartform?

    hi,
    while activate the smart form, a function module is being created.
    by using this function module we can pass the business data to the form.
    in print program we can simply call the function module which has been created by smart form while it activate and pass required parameters to it.
    for more information follow this link.
    http://sap.niraj.tripod.com/id67.html
    regards,
    Ashok Reddy

  • Find all Z programs which are being modified in last month

    hii all,
    I want to find all Z programs which are being modified in last months.Is this possible??.is there any standard or z-program which can give me the detail of all Z-program which are modified.
    It is possible if i get last month Request but suppose if there are more than 100 request per month then it is not possible to go through each individual Request and find Z-programs.
      Waiting for ur reply.
    <removed_by_moderator> ... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Thaking You.
    Edited by: Julius Bussche on Jul 17, 2008 7:16 PM

    Hello
    REPORT ZCHPROG.
    TABLES: D010SINF.
    DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: PROGTXT1(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA:
       BEGIN OF MT OCCURS 0,
    PROG LIKE D010SINF-PROG,
    EDTX LIKE D010SINF-EDTX,
    R3STATE LIKE D010SINF-R3STATE,
    UNAM LIKE D010SINF-UNAM,
    CNAM LIKE D010SINF-CNAM,
    UDAT LIKE D010SINF-UDAT,
    UTIME LIKE D010SINF-UTIME,
    END OF MT,
    N(4),
    PROG(20) TYPE C,
    MIN(10) TYPE C.
    RANGES: UDAT1 FOR D010SINF-UDAT.
    RANGES: UTIME1 FOR D010SINF-UTIME.
    SELECT-OPTIONS: PROG1 FOR D010SINF-PROG,      "
                    UNAM1 FOR D010SINF-UNAM,      "
                    CNAM1 FOR D010SINF-CNAM.      "
    PARAMETERS DEN(4) TYPE C DEFAULT '1'.
    PARAMETERS SEC(5) TYPE C DEFAULT '30'.
    PARAMETERS DOP AS CHECKBOX DEFAULT ' '.
    START-OF-SELECTION.
    IF DOP NE SPACE.
    MIN = SEC * 60.
          UTIME1-SIGN = 'I'.
          UTIME1-OPTION = 'BT'.
          UTIME1-LOW = SY-UZEIT - MIN.
          UTIME1-HIGH = SY-UZEIT.
       APPEND UTIME1.
    ENDIF.
          UDAT1-SIGN = 'I'.
          UDAT1-OPTION = 'BT'.
          UDAT1-LOW = SY-DATUM - DEN.
          UDAT1-HIGH = SY-DATUM.
       APPEND UDAT1.
    SELECT PROG UNAM UDAT UTIME R3STATE EDTX CNAM
    INTO (MT-PROG, MT-UNAM, MT-UDAT, MT-UTIME, MT-R3STATE, MT-EDTX,MT-CNAM )
             FROM D010SINF  WHERE PROG IN PROG1
                                         AND UDAT IN UDAT1
                                         AND UTIME IN UTIME1
                                         AND CNAM IN CNAM1
                                         AND UNAM IN UNAM1.
    APPEND MT.
    ENDSELECT.
    N = 1.
    WRITE: / 'from', UDAT1-LOW, 'to', UDAT1-HIGH.
    SORT MT BY UNAM UDAT UTIME.
    LOOP AT MT.
    WRITE: / MT-CNAM,MT-PROG,MT-UNAM,MT-UDAT, MT-UTIME,
    MT-R3STATE, MT-EDTX.
    N = N + 1.
    ENDLOOP.
    WRITE: / N.

  • Exchnage programming API interface being used by Outlook and OWA

    Hello,
    What Exchnage programming interface (RPC or EWS) is being used by versions of OWA 2007...2013?
    Similarly, what Exchnage programming interface (RPC or EWS) is being used by versions of Outlook 2003...2013?
    Thank you,

    OWA is a private application so the API's and methods it uses aren't publically documented or usable outside of OWA. What is documentd are the Exchange Protocols
    http://msdn.microsoft.com/en-us/library/cc425499(v=exchg.80).aspx .
    On Exchange 2013 if you have a look at how OWA work's with something like fiddler you'll see that EWS is being used but not directly it get's serialized as JSON . However as OWA does a number of things you can't do in EWS, so I would say it would be
    a combiniation of EWS and custom RPC libraries. Older version would be more towards RPC with EWS being used for somethings.
    The public API's you can use are EWS and MAPI
    Cheers
    Glen
     

  • I recently downloaded a book and it will not open due to being incorrectly formatted. Even though I downloaded this FROM iTunes!!!! What is going on, I have the latest OS and iBook version....??????????

    I recently downloaded a book "In a Pit with a Lion on a Snowy Day" and iBooks tells me its incorrectly formatted even though I downloaded this from iTunes and have the latest version of the iBooks app.  What is going on? I want a refund if this doesn't work.  My other books open fine.

    The Report a Problem link can also be found in iTunes/Store/View Account/Purchase History.
    Before asking for a refund, also try deleting the book and redownloading it.
    If you find that the iBookstore is does not meet your needs, you can try one of the others like Kindle, Nook, Kobo, Googlebooks, or Sony.
    To let Apple know your views on their apps or services, use
    http://www.apple.com/feedback

  • What can I do to get my ID to work.  The error code I get is Unable to verify email because it is already in use.  Where do I go to find out who or on what program it is being used?

    Christmas present a new ipad.  Refurbished.  I am not sure what the stats are.  All I do know is I sure could use some help and would be very appricative of it. 

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • VAT being incorrectly calculated

    Forum,
    I have noticed that when entering an AR Invoice the VAT being calculated is 19.5% and not 20%. This is despite the BP being marked as liable and the sales/purchase data tabs against the item are also 20%. I seem to have narrowed it down to being the payment term associated to the Business Partner. The payment terms is set up as follows:
    Customer 2.5% Settle disc.
    No. of installments = 0
    Open incoming payment = 0
    Cash discount Name: 2.5% 14Days
    Within the above cash discount is an amount of 2.5% - this is causing the issue. Upon reading the help file it doesn't mention discounting the VAT amount unless it's a country specific field?
    The localisation setting is UK.
    Has anyone come across this before?
    Regards,
    Juan

    Hi Juan.....
    Do you have any Rounding applied to Tax Formula.
    Try removing and then try to see the effect.
    Else
    Create new tax type and give appropriate Tax Rate and then take it into action........
    Regards,
    Rahul

  • Programs restarting without being prompted

    I have Microsoft Word and Safari on my computer. Whenever I log out and log back in they start up without being prompted. It also happens when I restart my computer. I have forced quit but I don't know why this is happening. Any help is appreciated!

    Hi Jessica
    Go to: Apple > System Preferences > Accounts > Login Items (tab) > and remove those App's from the list of items set to automatically startup when you log in.
    Dennis

  • When launching the programs I'm being asked to sign in for a trial version???

    Why, after using DWCS6 and FWCS6 for MONTHS, I'm not being asked to sign in to use a trial version???
    TIA.

    Asked to sign in after paying
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • Help with Outoing Email that is being incorrectly marked as spam by Verizon

    I'm trying to send my daughter's livejournal homepage link to a few people and Verizon keeps flagging it as spam.  When my daughter sent me the link on 1/4/10, her email ended up in my spam folder, even though she used her .edu email address as she usually does.  Is the problem with the link or has her email address suddenly been flagged as suspicious? HELP!!

    I suggest you take a look at the link provided in the error: www.verizon.net/spamfaq
    It is the content of the message that is being flagged as spam. If you feel that the content should not be blocked, you can forward the message to [email protected] as an attachment.
    As stated in the Spam FAQ page, you will not get any response when sending the message to [email protected] for review. You attach the message that you are unable to send, and they review it. Depending on the outcome of the investigation, the filter will either be updated to allow the content that was previously blocked, or it will be determined to be a legitimate block and no changes will be made.
    Some troubleshooting steps you can try:
    If you have a signature, try removing one line at a time from it and attempting to send the message again. Some signatures look like "ads" to the filters, apparently.
    If you are using a pop3 client (Outlook, Outlook Express, etc.) try sending your message from the verizon.net website. If this resolves the issue, then it is something that your client is adding to the message that is causing it to be blocked.
    If the Subject line of your message has a whole bunch of "Fwd: Fwd: Re: Fwd:" try removing some of them.
    Remove any links/URLs from the email one at a time to isolate if one of them is causing the block.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • When I try to sync my ipod to itunes I keep getting an error about the software being incorrect

    i cannot get itunes to recognize my ipod.  I get a software error.  I think I am missing Apple Mobile Device but have no idea where to go to install it

    This may help:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows
    Also try the driver section of:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • I keep getting an error when I launch, about the registry setting being incorrect. I have reinstalled several times. Also when I try to burn a disc, it says No recorder found

    I get an error about the registry settig when I try and launch Tunes. Also when I try to burn a playlist, it says "no recorder found"

    This may help:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows
    Also try the driver section of:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • The email program has started being very slow and posting a not responding message for the simplest task. Even deleting a message. It is so annoying I am thinki

    I do not use Mcafee and actually deleted it from my computer. I use Trend Micro.

    Sdelia21,
    Please start *Windows'* safe mode with networking enabled
    - win8 http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-safe-mode
    - win7 http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7
    - XP http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx
    Still In Windows safe mode, start thunderbird in safe mode
    - http://support.mozillamessaging.com/en-US/kb/safe-mode
    Does problem go away?
    Please post to let us know

  • SES release strategy being incorrectly triggered

    Dear All,
    We have maintained release strategy for Service Entry Sheet. In the SES release strategy class only the following characteristic is maintain
    a. Name of the person who creates the Service entry sheet
    In the release strategy only 'a', 'b' and 'c' users are maintained in the above characteristic. But in the system even if a user f creates the service entry sheet the system applied the release strategy on it too and asks for release code. The system should only ask for release code if a,b or c user creates SES.
    Thank you!

    Hi There
    Just a guess,,
    In CT04- for Name of Person who Created the SES (ERNAM)- in the values tab-
    Check the indicator-Additional Values is eanbled or not,, if enable remove it and try
    Thanks
    Senthil

  • Weird: changing file or link associated defaults then changes ALL defaults to the same program

    Y'know... I thought I'd possibly 'seen it all' but today someone brought me a laptop with something I don't believe I've ever seen...
    every link and file association is defaulted to the wrong program, and it is not possible to restore the association to the proper program for the respective file types.  And changing one
    association changes ALL other associations for every other link to a file or shortcut.
    For instance: 'right-clicking' on what I KNOW to be an Adobe Acrobat file and selecting 'open with...' from the context menu, Adobe Acrobat is not shown (even after un-installing and re-installing Acrobat).  So I 'browse' to the Program files (x86)
    folder and select Adobe Acrobat (AcroRd32.exe) from within the Adobe Acrobat program folder to 're-associate' .pdf files with Acrobat..  BUT - this then changes ALL associations for everything  (including shortcuts on the desktop) to Adobe Acrobat.
      And the same can be said if I attempt to change the file association for a "docx" file extension (MS Word document).  Change the 'association' for one single 'docx' file and this results in ALL files or shortcuts on the desktop to also
    change to MS Word.
    So - what the ...?  Anyone have a clue as to what he's done on this "brand new" installation of Windows Home Premium (64-bit)?  I only just (this past week) talked him into 'abandoning' XP in favor of a license of Windows 7 Home Premium,
    and afterwards everything was 100% and fully operational - but now one week later and he's done this...
    So...  A registry issue..? Something to do with 'file association' defaults? (and my suspicion is some sort of 'dll' problem with this performance and the issue of not being able to configure 'program defaults' for any given file type without also affecting
    all other associations...).
    So,short of backing up all his data (out of precaution) and trying to do a 're-installation' of Windows, my most immediate response with this would be to just 'blow it away' and re-install Windows again ... and then copy all of his data back to the corresponding
    locations.  But I would like to know what he's possibly done (for future reference) and maybe learn of some possibility that this can be 'fixed' and the correct 'associations' re-established without having to re-install Windows one more time...
    GAA! THIS is why I shave my head...

    Hi,
    According to the description, it seems that the issue is caused by some corrupted registry entry\keys, a corrupted registry key can be caused by an malware\virus, or an bad-coded program or just some incorrect operation by the user. it's hard to determin
    which is the culprit, but we can try to repair it as we could.
    Please refer to the following link and see if it helps, (backup your registry first before editing the registry)
    http://support.microsoft.com/kb/950505
    we can also create a new user profile instead and copy files and setting from the old profile
    http://windows.microsoft.com/en-in/windows/fix-corrupted-user-profile#1TC=windows-7
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Sharepoint (Public facing site) Project Guidance

    Hi friends , This is my first sharepoint project (SP 2013) for which I have been asked to develop a public facing internet site. I do have a basic idea about certain concepts of sharepoint but still I'm looking for a guidance to how to go about with

  • ValueChangeListener not invoked inside h:dataTable h:inpuText

    Hi, I'm creating a simple dataTable with an inputText in each row. Each inputText has a valueChangeListener that is never invoked. Does anyone know why this is happening ? Thanks in advance, - Juan

  • Internal Working of Indexes?

    Greetings All, I followed following link - http://docs.oracle.com/cd/E11882_01/server.112/e16508/indexiot.htm But did not proper idea of how actually indexes works for update/insert/select queries. For example, lets say there is a table employee (the

  • Airtunes stops working after upgrade to Leopard

    I have a 12" G4 and my wife has a Macbook. We've used airtunes/airport express connected to a netgear wireless router for years to play music over our stereo system. Ever since upgrading to Leopard, our airtunes has ceased to function. The airport ex

  • Documents in iwork apps are Invisble (Snow leopard upgrade)

    HI, I recently upgraded my five macs and since then i have opened up documents with in i work and they have become invisible. From what i am gathering from the web is that this has become a regular occurrence since the snow leopard update. It's not e