Dynamic programming issue: store typed ref in generic ref and back

Hi All,
Im working on a generic 'Snapshot' functionality for Class objects.
Some background info:
The basic idea is that when the class implements the snapshot interface, a 'snapshot' can be taken of that object and its attributes. At a later point the object can be restored to its previous state by recovering all of its attributes values from the snapshot.
All types of attributes work well (data, ref to Class, ref to data, structs, tables, tables with refs, etc etc) except the typed data references ( TYPE REF TO [Type] ).
The issue:
What i try to acomplish is the following:
I want to store a typed data reference (TYPE REF TO Mandt) into an untyped data reference (TYPE REF TO Data) and back.
The goals is to, in the end, have the data refrence point to the same address as in the beginning, not necesseraly the same value.
The problem is in the last step where i move back the reference from the untyped to the typed reference.
here i keep getting Dumps caused by type incompatability. The weird thing is that in debug i see that both TECHNICAL TYPES are equal (MANDT) but the Absolute types differ. This still understandable because in fact both data types are unequal (REF TO Mandt vs. REF TO Data).
I've tried dozens of things but i can not get it to work properly. Ive looked into type casting, using helper refs, trying to dynamically create the store data object with type specified, etc , etc.
Please see the sample code below for better understanding.
Hope you guys can help me out here. Any other solution to accomplish my goal is welcome as well ofcourse!
Thanks in advance!
Joris Bots
REPORT  ztestjbo3.
* Store a typed data reference into generic 'Store'.
* and restore from that store.
* Phase 1: Store/Save data reference in store
* Phase 2: Change location our datref points to
* Phase 3: Restore our dataref from the store
* The generic data store (untyped)
DATA g_datastore TYPE REF TO data.
* Simple data
DATA lv_mandt1 TYPE mandt VALUE '100'.
DATA lv_mandt2 TYPE mandt VALUE '200'.
* Our data reference (typed)
DATA lr_mandt TYPE REF TO mandt.
************************* Phase 1 Store/Save data reference in store
GET REFERENCE OF lv_mandt1 INTO lr_mandt.
* our data ref lr_mandt now points to lv_mandt, containing '0100'
*create data g_datastore like lr_mandt.
g_datastore = lr_mandt.
* store/save this ref to '0100'.
************************* Phase 2 Change location our datref points to
* Get other ref into LR_MANDT
GET REFERENCE OF lv_mandt2 INTO lr_mandt.
************************* PART 3 Restore our dataref from the store
FIELD-SYMBOLS <fs> TYPE any.
ASSIGN g_datastore TO <fs>.
* This is where it all goes bad.
lr_mandt = <fs>.
* Shortdumps caused by type incompatability
* In debug it shows that technical Types are equal (MANDT)
* but The Absulote types (%_T00004S00000038O0000022592, etc) differ.
* Below code is NOT the solution since lv_Mandt1 then overwrites lv_Mandt2
*ASSIGN g_datastore->* TO <fs>.
*lr_mandt->* = <fs>.
Edited by: Joris Bots on Jan 13, 2011 5:06 PM

Hi ..
Your last statement was wrong.
Just add the below line instead of
*****ASSIGN g_datastore TO <fs>.     " Here <FS> is type od DATA which is generic type
This is where it all goes bad.
****lr_mandt = <fs>.                            " here you try to assign one data type directly to particular data type MATNR which is not possible
ASSIGN g_datastore->* to <fs>.
GET REFERENCE OF <fs> INTO lr_mandt.
IF sy-subrc = 0.
ENDIF.
Thanks
Subhankar

Similar Messages

  • Problems trying to store iTunes on external hard drive and back up iPhone to internal hard drive?

    Hi
    I have been tirelessly trying to relocate my entire iTunes function to an external hard drive to free space on my laptop. I have migrated the iTunes library (from the 'My Music' location on laptop) to ext hard drive and also reinstalled iTunes, asking to save all files during set up to the ext drive (not in default 'Program Files' on laptop). I have also pointed iTunes to the library's new location on the ext hard drive. I did this after reading a recommendation on here that it is better to have both my library and all other iTunes files in the same place.
    One of the problems is when I have moved the library, it has for some reason created two iTunes folders on the ext drive with different music in each, but the library database file is only available in one of them, and I am not sure if all the music from both folders is available in iTunes.
    Another huge issue is that when I have tried to back up my iPhone to the computer (as recommended to do after migrating the iTunes program to another location), it is not letting the process complete; I get an error message saying it cannot save to the computer. It seems the location of the back ups (C:\Users\username\AppData\Roaming\Apple Computer\MobileSync\Backup) isn't compatible with the new location of my library etc (on my ext drive)and from searching the internet for a solution, it seems you can't change the location of where back ups of an iPhone are stored.
    So, does anyoine know if there is a fix-all solution to these dilemmas? Or should I just keep my library on one drive and the iTunes program on my int drive?
    Thanks in advance
    VR

    Hmm.
    I'm sure I'd successfully tested the command line version of the move instructions at one point, but I'm getting the same "access denied" error when I try. Maybe "Move" doesn't like working with folders when the path contains sections with hidden or system flags. Anyway herewith version 3 which I've just tested works as described...
    Relocate iOS device backups
    Assuming you're running Windows Vista or later you can use the following steps:
    Using Windows Explorer move the current Mobile Sync Backup folder from C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup to your chosen location, e.g. as  X:\Backup where <User> is your Windows user name and X: is your preferred drive.
    To make iTunes look for the data in the new location open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, then type in this command and press <Enter>
    MkLink /J "C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup" "X:\Backup"
    If your external drive has a different letter or you already have a folder called "Backup" then edit "X:\Backup" accordingly.
    If you're still running Windows XP you can use Junction (cmd line tool) or NTFSLink (shell ext). In both cases you move the existing folder to a new location, create an empty folder where the old one used to be, then use the tools to get the operating system to link the two together and silently redirect any file operation on the old location through to the new one.
    Note that while this method works for iOS device backups it cannot be used to redirect sections of the media library. iTunes will break the connection the first time it tries to write a file to the target folder.
    What happens when you want to sync the device? If you're getting a warning about erasing and reloading the device with media from the current library then something is wrong. If you moved the library files correctly and then reconnected them to iTunes this should still be the "home" library of the device and it should sync as if nothing had changed. If not then revist the make a split library portable post for advice. See also Recover your iTunes library from your iPod or iOS device if for some reason you accidentally erased the original library files and all backups thereof.
    tt2

  • Ibooks will not open the featured books page and gives an error message can't connect to iTunes Store. I have logged out and back in again and have restarted neither have worked. Any other suggestions?

    ibooks will not open the featured page on my ipad and gives an error message that it can't connect to iTunes Store, despite the other tabs working. I have signed out and back in again I have restarted neither worked . What else can I do?

    Hello Tm115,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Best of luck,
    Mario

  • On 3 machines now the Windows Store is broken. The Install and Back buttons don't work

    Originally reported here:  http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/on-3-machines-now-the-windows-store-is-broken-the/8bafdc7a-a708-4012-a4f1-b98ab8788c28
    Advised to post here instead.
    Hi there
    On three separate Windows 8.1 Professional machines now, I've had an issue where the Store stops working properly for no apparent reason (no error messages or anything).  The store opens, and I can browse apps, and view individual apps, but
    once in the app view I cannot click on the Install button or the back buttons.
    They "light up" as if being pressed, but they don't actually do anything.
    I've tried all the various troubleshooting, including the Windows App troubleshooter, wsreset, re-registering the store files using powershell, and renaming the cache folder in my user profile. No effect.
    If I sign into the PCs as another user, then I don't get the issue. As such something is getting corrupted in the profile.
    We only have around 9 or 10 Windows 8.1 PCs deployed at our organisation for testing, and three of them have had this fault, which doesn't inspire confidence. As such, we cannot progress with further deployment until we have a fix in place that
    doesn't involve wiping the user profile.
    Any ideas please?

    Hi FangZhou CHEN
    I've discovered the cause of this error after much searching.
    Based on your suggestion, I checked the Event Viewer and found a string of "Application Error" entries similar to this:
    Faulting application name: WSHost.exe, version: 6.3.9600.17093, time stamp: 0x534765e9
    Faulting module name: sxwmon64.dll, version: 4.5.2608.0, time stamp: 0x52b2a853
    Exception code: 0xc0000005
    Fault offset: 0x00000000000257ff
    Faulting process id: 0xf40
    Faulting application start time: 0x01cfeeb1cc6d035e
    Faulting application path: C:\WINDOWS\WinStore\WSHost.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\sxwmon64.dll
    Report Id: 19ee9a1c-5aa5-11e4-8259-600292638f85
    Faulting package full name:
    Faulting package-relative application ID:
    Presumably the WSHost,exe process is critical to the Store and "Metro" apps?
    The offending dll file causing this process to fail, sxwmon64.dll belongs to a peice of security software on our machines called Lumension Endpoint Security (we're running version 4.5 SR2). We use this to control removable media (USB) and CDRW access for
    our employees.
    If I rename that particular DLL file, the store and the calendar app which I was also having issues with (it was blank), spring back into life.

  • Issue with fill in the blank field and back button.

    I am working in CP4 AS2.  I have create a page of fill in the blank fields to simulate filling in a form.  On the next slide, I show the answers by extracting the variables into text boxes.  I have a back and a next button and instruct the user to review their answers and if incorrect, to select the back button in order to reenter the data.  I have the back button set to jump to the previous slide by number (i've tried previous, last slide, etc...)
    The flash movie freezes when I select the back button.  I think flash is having trouble going back to the fill in the blank fields from the displayed variables.  Any ideas? or work arounds for this.  The idea solution would take them back to the page with the data already in the fields so they could correct the errors only and then return to the review page.
    Thanks
    Scott

    Hi there
    Is scoring enabled on these? If so, perhaps your quiz settings are preventing backward movement.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Wda dynamic programming

    Hi,
    How can we dynamically set the properties of the ui elements in wed dynpro abap?

    Check out this great blogs about the subject:
    Dynamic Programming in Web Dynpro ABAP - Introduction and Part I:
    Understanding UI Elements
    /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    Dynamic Programming in Web Dynpro ABAP - Part II: Handling ViewElements
    /people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
    Dynamic Programming in Web Dynpro ABAP - Part III: Aggregations and
    DDIC-Binding of ViewElements
    /people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
    Regards

  • Dynamic programing  in WD4ABAP ?

    Hello Sap experts ,
    Please any body can explain about  dynamic programing in wd4abap, for writing the business logic in wd4abap.
    Thanks & Regards
    Chandu..

    Hi Chandra,
    Kindly go through the following links
    1. Dynamic Programming in Web Dynpro ABAP - Introduction and Part I: Understanding UI Elements
               /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    2. Dynamic Programming in Web Dynpro ABAP - Part II: Handling ViewElements
               /people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
    3. Dynamic Programming in Web Dynpro ABAP - Part III: Aggregations and DDIC-Binding of ViewElements
               /people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
    Dynamic Programming - SAP Help
               http://help.sap.com/saphelp_nw70ehp1/Helpdata/EN/94/29984197eb2e7be10000000a1550b0/content.htm
    SAP NetWeaver Developers Guide Release 2004s (Page - 74)
              http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706?quicklink=index&overridelayout=true
    Thanks,
    Prashant

  • Slow program response, crashes when creating titles and dynamic link issues

    Dear reader,
    I am now trialling Adobe CC OSX with Premiere Pro and After Effects before deciding to subscribe but I am experiencing a lot of issues while working.
    I am now working on an animation, but editing raw mxf files also gives crashes and slow responses/ program refreshes.
    1) Slow mouse response
    2) Slow program refresh while key framing visuals
    3) Rendering in PP is extremely slow when AE is open in the background, when closing AE and re-initiate the render in PP it renders super fast
    4) Crashes. When I overlay titles in my time line PP regularly crashes
    5) Dynamic Link issues when working combined in AE and PP where file connections in the time line get lost when the AE project has too many sequences
    I am curious to find out if other people are also experiencing these issues.
    I am indecisive in getting the paid yearly plan or move to FCPX instead? Or should I get a new MacPro and is this model too old?
    It worked fine 2 months ago, however I was still working on FCP7. After updating it is really bad working with it...
    My system consist of:
    MacPro mid-2010
    OSX 10.9.5 (13F34) (new installation)
    2x2,66Ghz 6-core Intel Xeon
    24GB DDR3 ECC
    Nvidia Quadro K5000, 4GB
    2x PCIe SSD 1TB
    2x HDD 3TB
    2x HDD 2TB
    Feedback is much appreciated! Best regards, Alexander

    this does work for basic colour correction but not when trying to grade an entire suqence to achieve a specific style, applying a vingette or certain effects have to be done in after effects.
    I want to try and get my whole sequence into after effects but preserve the edits and effects added in permier pro, is there any way to do this?
    rich

  • When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    after perusing other subjects with playback issues: 
    this is the fix: 
    -Launch Control Panel - Double click Quicktime, If you do not see quicktime, look on the top left side of control panel and switch to classic view. This will then allow you to see Quicktime.
    -Now click the advanced tab and click on Safe Mode GDI Only, Apply, then ok.

  • Download a special kind of internal table (dynamic programming)

    Hi guys,
    with dynamic programming, i've created a complex internal table of this type :
    KNA1                          |
    KNB1                          |                         
    GS_CUSTOMERADDRESS            |               
    GS_CUSTOMERGENERALDETAIL      |
    The declaration of the internal table is :
    TYPES: BEGIN OF gty_record,
            table TYPE tabname,
            dataref  TYPE REF TO data,
           END OF gty_record.
    This means that each line, has a different line-type. In the first field of the table, i have the name of the structure. In the second, the data-part (in debug double click on leads to structure contents - field by field).
    The structure KNA1 contains C and packed (P) fields also so when i pass the internal table to FM GUI_DOWNLOAD, i have this short-dump : UC_OBJECTS_NOT_CONVERTIBLE.
    Is there a way to solve this problem quickly?
    The goals is download all data of a customer into a local file. Data is distribuited on different structures, readed by standard bapi 'BAPI_CUSTOMER_GETDETAIL2'. This file will be read in another program, of another system.
    Any hints/suggestion will be appreciated.
    Thanks a lot.
    Andrea

    Hi Sandra,
    thx for you suggestions.
    About your answer :
    " Or use a DO. ASSIGN COMPONENT sy-index OF STRUCTURE ... to loop at each field, and do whatever you want with them (using WRITE ... TO ... for example, to convert numbers into text)."
    I cannot use this approach to the problem, because i should keep in mind the dimension of single fields and the blanks should be concatenated also, but RESPECTING BLANK switch of concatenate instruction doesen't exists in 4.7 abap.
    Sure, i can use a workaround, but i'll have a lot of programming.
    "you could use XML for instance. It's rather standard! By using CALL TRANSFORMATION ID SOURCE dataObject RESULT XML string."
    This could be the solution. I've already read some posts about it before write mine. I should test it: i don't know if in 4.7 release works. So i could transform the internal table to xml and save to text file.
    But then, how i can read xml string and mapping again in this special kind of table ?
    Is CALL TRANSFORMATION ID SOURCE XML String RESULT Dataobject instruction sufficient to perform this task?
    Thanks a lot
    Andrea
    BR
    Sandra

  • Dynamic Programming

    Hi All
    Can anyone send me some good documents in the below topics, it is urgent
    1) Dynamic Programming
    2) ABAP Objects
    A Good documents will get rewarded.
    Thanks Prasad

    Parameter mapping
    normal ABAP is process oriented, where is OOP-ABAP is a new methodology in ABAP which uses object oriented programming.
    we have C++, java, C#, etc as OOP languages.
    ABAP has also implemented the OOP technology.
    it uses classes, methods and interfaces instead of functiongroups and function modules.
    As part of SAP’s long-standing commitment to object technology, Release 4.0
    of R/3 will contain object-oriented enhancements to the ABAP programming
    language. SAP’s object strategy is based on SAP Business Objects and now
    covers modeling, programming, interfacing, and workflow. By using principles
    like encapsulation, inheritance, and polymorphism, the object-oriented
    extensions of ABAP will support real object-oriented development. This will
    result in improvements in the areas of reusability, maintenance, and quality of
    code. SAP offers an evolutionary approach toward objects which leverages
    SAP’s own and its customers’ investments in existing business processes,
    functionality and data.
    follow this link ABAP OBJECTS with good examples.......
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    check the below links lot of info and examples r there
    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
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    these are the links
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    http://www.sapdevelopment.co.uk/reporting/alvhome.htm
    http://www.sap-img.com/abap/what-is-alv-programming.htm
    http://www.sap-img.com/abap-function.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree%5Calvtree_basic.htm
    http://esnips.com/doc/ad20dca9-6182-4903-8d8f-96a66dc8590c/ALV.pdf
    http://www.sap-img.com/abap-function.htm
    Classical ALV:
    http://www.geocities.com/mpioud/Abap_programs.html
    OOPS ALV:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Also Chk this standard Programs.
    ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
    ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
    DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
    DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
    DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
    DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
    DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
    DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
    DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
    Reward points if found helpful

  • DYNAMIC PROGRAMMING IN WEBDYNPRO ABAP.

    Hi Experts
    How to create input field dynamical and when i click on the input field drop down ui  should display,If i click n time the input field that many drop down should be displayed this should be done using dynamic programming.
    Waiting for Reply.
    Thanks & Regards.
    kittu

    Hi,
    Please search before posting.. discussed many times.
    To create Input field dynamically, follow like this...
    DATA LR_CONTAINER TYPE REF TO CL_WD_UIELEMENT_CONTAINER.
    DATA LR_INPUT TYPE REF TO CL_WD_INPUT_FIELD.
    DATA LR_LABEL TYPE REF TO CL_WD_LABEL.
    DATA LR_TABLE TYPE REF TO CL_WD_TABLE.
    DATA LR_BUTTON TYPE REF TO CL_WD_BUTTON.
    DATA LR_GRID_DATA TYPE REF TO CL_WD_GRID_DATA.
    DATA LR_FLOW_DATA TYPE REF TO CL_WD_FLOW_DATA.
    DATA LR_MATRIX TYPE REF TO CL_WD_MATRIX_HEAD_DATA.
    LR_CONTAINER ?= VIEW->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
    CALL METHOD CL_WD_INPUT_FIELD=>NEW_INPUT_FIELD
    EXPORTING
    BIND_VALUE = ATTRIBUTE
    ID = ATTRIBUTE
    RECEIVING
    CONTROL = LR_INPUT.
    lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_input ).
    lr_input->set_layout_data( lr_matrix ).
    LR_CONTAINER->ADD_CHILD( LR_INPUT ).
    ENDIF.
    Cheers,
    Kris.

  • Dynamic Link issues between Pr and Ae

    Hey Guys -
    We have had issues with our dynamic link since the last update to Premiere CC 45 days ago. Two different iMacs, one 2010 and the other late 2012 are both having these issues. Regardless of system, we weren't having the issue before the most recent update.
    The issue we are having is as follows:
    If we create a composition in Ae and bring it into Pr using dynamic link, it's completely fine, you can see it in the Source window as you should. But as soon as we drop it on the timeline in a sequence, it requires us to render both in Pr and back in Ae before it will display in the sequence. And ironically, you don't have to render the exact dynamic linked composition back in Ae, but any old render of any of your compositions will then allow you push through the stumbling render in Pr and so you can display the composition on the Pr timeline.
    The problem furthers when you begin to edit again and have to redo the entire rendering process if you make one move anywhere on your timeline. We've found this renders dynamic link useless as it's more time effective to just render out the composition in Ae everytime you make a change than have to deal with these troubles. Really frustrating as we love DL and used it constantly before the most recent Pr update.
    And as an FYI, we are not doing big effects, these are simple lower thirds and titles that we are doing here. Very little processing power required.
    Is there any fix in the works or is anyone else struggling with this? Seems too ironic that two separate systems are dealing with the same issue...

    I had the same issue with dynamic link...the files would become unlinked and required a manual re-linking of each clip.  Mostly happened with MXF media from my Panasonic P2 camera, Here is a workaround that so far has worked:
    1. Use Raylight (I use this software all the time when I edit with fcp 7) to create a QT reference file from MXF media.  It's super quick too...takes about 15 seconds to generate the aliases from a 64 GB card with tons of clips.
    2. Import these QT ref files into PP CC and edit like normal.  It seems to trick the software into thinking you are working with .MOV files and not MXF media which seem to be problematic in Premiere/After Effects.
    Hope this helps....

  • Key shortcut, issue, typing something in editing code and changing language going directly to snippets.

    Key shortcut, issue, typing something in editing code and changing language going directly to snippets.
    So the problem is that I have to click in the editing code again to write in different language, which it didn't happened before.
    Just in case of shortcut keys collision I completly removed the shortcut of snippets from shift+F9, nothing changed. I really can't understand why when I press Alt+Shift to change language it goes straight to the snippets.
    If anyone can help would save me from nervous breakdown! 
    Thanks,
    GKD

    Since this appears to be a "just started happening" issue, have you tried clearing the program cache?
    Deleting a corrupted cache file
    That tends to catch a lot of weird behaviors and straighten them out.

  • Dynamic Programing : WebDynPro ABAP

    Hi expert ,
                      I need to create UI element (Text_view) dynamically ,
                      can anyone send the code for that one .
    Thanks & Regards
    Sankar.M

    Hi,
    Refer to this link -
    Dynamic Programing
    Regards,
    Lekha.

Maybe you are looking for

  • The Home button on my iPod Touch is stuck in!

    Hi, Dropped my iPod this morning. The home button is stuck in. It was bought for me as a Christmas Present. Is it still covered with warranty? Hope it is, if it's not how much roughly? Or is it just a simple DIY 10 min job? Thanks in advance, Freely2

  • HP Mini 210-1110TV

    Hi ... my laptop have a problem in hard disk . When i open it it shown Boot Device Not Found .  What should i Do?

  • Browser Javascript call Acrobat Javascript function

    What I want to do is call a function in Acrobat Javascript by clicking a button in my browser. So if you click the browser button it executes a javascript function that calls an acrobat javascript function. I found this example: Browser javascript fu

  • Speed between Switches & IDF MDF

    Hello, I had a question reguarding the types of speed and cable one should use when connecting switches in an IDF togeather, and then connecting those swtiches back to an MDF. If I connect each switch in the idf togeather with gigabit ethernet, proba

  • Enterprise Manager login authentication

    Hello, All, Is there a way to authenticate login using LDAP? If there is a prior discussion on this topic, I would appreciate being directed to that. Otherwise, any thoughts on how this can be implemented would be appreciated. Thanks.