Dynamically move and create varaibles

Hi Gurus!
I have an internal table say itab, there is some data in it...structure if this itab is "INCLUDE STRUCTURE tline."
I need to move the first row of the itab-tdline to z1(type say string)
and second row to z2 and so on..
restrictions:
I cannot use describe table statement on this itab.
i am not willing to use Case statements..
not willing to move each field seperately
Looking for
declaring Z1 and Z2 dyamically as the loop on itab is going ahead..
Some thing to do with field  symbols.

Here SY_TABIX type is not supported in CONCATANATE statement. Create a counter type C.
DATA: l_count type char4.
FIELD-SYMBOLS: <FS1> TYPE ANY.
Loop at itab.
add 1 to l_count.
  CONCATENATE 'Z'  l_countINTO l_field_qty.
        ASSIGN:  l_field_qty TO <fs1>.
       <FS1> = ITAB-TLINE.
Endloop.
-Aman

Similar Messages

  • How do I dynamically name and create arrays?

    I need to create arrays dynamically based on user's input. For example, if user enters 5, I have to create 5 arrays. Can anyone please tell me how to name and create them?

    So, if you don't know how many arrays to create when you're writing the code, you wouldn't name them. You'd create an ArrayList (or some other collective data structure) and name that, and then put the 5 arrays into that structure.

  • Dynamic Proxy and OutOfMemoryError

    I ran into this problem before when working with Proxied objects.
    I am integrating iBatis into my framework and using Dynamic Proxies to allow a developer to pass in a DAO interface and the Dynamic Proxy will retrieve the correct iBatis SQL Map and run it according to the DAO interface method. Some of these DAO methods take parameters that are lists with 100,000s of records. When I run my batch process using Dynamic Proxies, I get OutOfMemoryError in WebLogic. When I remove the Dynamic Proxy and create a simple implementation for my DAO that I use instead of Proxying it, I get no error and my process runs fine.
    Any thoughts? Does sending huge amounts of data through a Proxy or doing quite a bit of activity inside a Proxied object cause OutOfMemoryErrors?
    Thanks,
    -jay blanton

    Check you don't have an infinite loop or recursion which is wrapping Proxies in Proxies in Proxies...

  • Aspect ratio problems when exporting from FCP and creating DVDs

    Hi there
    Can anyone help? I'm using FCP to edit material shot using a Sony z1 in SD 16:9 mode. My media displayed correctly in FCP with the 'anamorphic' option ticked in the browser.
    I then exported my short films as QuickTime movies and created a DVD in iDVD using those video assets.
    When I then viewed the films on a widescreen tv, the films did not display at the correct aspect ratio. They were horizontally elongated, as though they had been stretched twice over, so that objects, people and text appeared fatter than they should.
    Can anyone let me know whether there are any settings I could change in either FCP or iDVD to stop this happening?
    Many thanks!
    Jacqui

    this thread may help
    http://discussions.apple.com/thread.jspa?messageID=7422463

  • How to use folders in 'Movies'' and how to right click a file on the ipod?

    Does anyone know how to create folders in the Movies category on the ipod? I would like to get rid of the huge list of movies and create some structure in this category. Is there also a solution to this problem without the need to synchronize video between ipod and computer?
    How do I "right click" a song on my ipod for info? Probably a stupid question, but when I press forward (right click?) on the ipod it just starts playing the next song...

    The "right click" refers to using the mouse on a song displayed in either the iTunes library or the iPod song list in iTunes when it's connected to your PC. It doesn't mean click on the right side of the click wheel.

  • Trying to create a new movie.  It tells me to name my movie, and the only event choice is the last movie I made.  I don't want it there.  I'm lost and I'm just starting.  Not sure I like the new version.  Any help out there?

    I'm trying to create a new movie.  It tells me to name my movie, and the only event choice in the drop down menu is the last movie I made. IMovie Library is greyed out. I'm lost and I'm just starting.  Not sure I like the new version.  Any help out there?

    peggy818 wrote:
    … I'm lost and I'm just starting.  Not sure I like the new version.  …
    have a read in the Manual:
    http://help.apple.com/imovie/mac/10.0/?lang=en#mov755717b21

  • How do I use a usb portable drive to let me add or move files and create folders

    I have a 256 gb porable smart drive  USB and need to move some files to another USB 1 TB drive and create a folder on the 1 TB drive for the data off of the smaller one.  When I try to create a folder and using finder it has the new folder grayed out.  using Info it tells me that I only have permission to read the drives but they both worked fine on the windows Laptop.  I guess I need to learn more about Finder.

    I guess you're trying to create the folder on the 1TB drive.
    Question: Are you OK initializing that drive on your Mac?
    If so, you can use Disk Utility (in Applications > Utilities) to do so.

  • I tried to install windows 7 in my macbook pro late 2011 but i tried to create partions after it installed and it turn to dynamic disks and ican't access mac or win 7 what should I do i cant format it because i dont have a backup

    I tried to install windows 7 in my macbook pro late 2011 but i tried to create partions after it installed and it turn to dynamic disks and i can't access mac or win 7 what should I do i cant format it because i dont have a backup

    It's not that you can't format it because you have no backup, it's because you'll lose everything when you do. Lesson learned. Always have a backup.

  • My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created with a older mac os x (lion) and converted them to import into fce. after doing this as well as putting clips on the fce timeline when playing back t.h

    My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created on a older mac os x (lion) and when I wanted to import them into fce, a quicktime conversion window opened up and converted them (I haven't experienced this in the past). I then imported the converted quicktime clips into my fce project.  After doing this I took selected clips and put those edited clips on the fce timeline.  When playing the video back in the fce timeline,I noticed
    1) the video wasn't playing back smoothly like the original content
    2) when looking at the timecode reading of the timeline, the timecode was sputtering as well as the video and audio.  I exported to quicktime just to see if that was consistent, it was.
    When I play the converted quicktime content independently of fce,  it plays normally (no sputtering of timecode, video and audio.  Need help to resolve the sputtering playback of converted video content in the fce timeline.  I've never experienced this before.  Any suggestions?

    When you say you converted the clips before importing them into FCE, did you convert to AIC or DV and do the converted clips match your FCE Sequence settings exactly?  If not, go back and convert the original files again, using the intended Sequence settings as a guide.
    -DH

  • I have an hd movie on final cut pro x; i want to create an sd disk of that movie. compressor created 2 files: dolby.... and mpeg2. How do I get these files burned to disc to create my sd movie?

    I have an hd movie on final cut pro x; i want to create an sd disk of that movie. compressor created 2 files: dolby.... and mpeg2. How do I get these files burned to disc to create my sd movie?

    These are elementary streams and they would be used by DVD authoring apps that use them for reasons like foreign language capability. Examples would be DVD Studio Pro, Adobe Encore, Toast.
    The most straightforward way to burn your DVD is either to use the Share feature in FCP or the Batch Template feature in Compressor.
    If you can find a boxed copy of iLife (try Amazon), it should have iDVD as part of the suite of apps. iDVD offers far more complete authoring capability than FCP or C4. iDVD  doesn't work with elementary streams; you'd just drag in your HD movie and you'd be good to go.
    Good lluck.
    Russ

  • HT201177 I am trying to create home movies and each time there is no sound when I play back the disc. The sound is there when I play back in imovie and also after I've shared with idvd and played back. Not sure what else to do???

    I am trying to create home movies, and do not have sound on the final disc. The sound is there in imovie and after sharing to idvd. This has only happened a couple of times before and I have made a lot of movies. I have just gone through about 8 discs, all with no audio when I play them!!!

    You need to ask for support in the iMovie forum.

  • I have downloaded the iOS6 software on my iPhone4 and now I can't delete/move or create new mail. The bar at the bottom has disappeared. Does anyone have any solutions

    I have downloaded the iOS6 software on my iPhone4 and now I can't delete/move or create new mail. The bar at the bottom has disappeared. Does anyone have any solutions?

    Hold Power and Home buttons until iPhone restarts. Ignore "Slide to Power off".

  • Dynamic Action-Delimiting a record and creating new record

    Hi ,
    My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
    Iam able to delimit all records in the Subtype but , Iam not able to create new records.
    My code for delimiting is as given below, in T588Z,
    9901     2          06     801     P     P9901-SUBTY='2'
    9901     2          06     802     P     PSYST-IOPER='MOD'
    9901     2          06     803     P     P9901-STATS='X'
    9901     2          06     804     P     P9901-PREAS='91'
    9901     2          06     805     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     2          06     806     W     P9901-ENDDA=RP50D-ZZDATE3
    9901     2          06     807     I     MOD,9901,3
    9901     3          06     808     P     SY-UCOMM='UPD'
    9901     3          06     809     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     3          06     810     W     P9901-ENDDA=RP50D-ZZDATE3
    The above code is working fine.
    My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
    9901     3          06     811     P     SY-UCOMM='UPD'
    9901     3          06     812     P     PSAVE-ENDDA<>P9901-ENDDA
    9901     3          06     813     P     P9901-STATS<>'X'
    9901     3          06     814     I     INS,9901,3
    9901     3          06     815     F     BEGIN_DATE(ZHSRAS_T588Z_9901)
    9901     3          06     816     W     P9901-BEGDA=RP50D-ZZDATE3
    9901     3          06     817     W     P9901-ENDDA='99991231'
    Kindly help me on this.

    Hi shahana,
    1. I have not worked on this dynamic action.
    2. But instead of doing in 2 steps,
       it is usually done in 1 step only, manually.
    3. If we CREATE record from some date,
       then the OLD will AUTOMATICALLY get Delimited.
    (We don't have to do anything specially for delimiting
      the old record)
    regards,
    amit m.

  • Has anyone been able to create a HtmlDataTable with dynamic col and rows?

    Has anyone been able to create a HtmlDataTable with dynamic col and rows?
    If so please explain. I am successfully able to dynamically add columns using the getChildren method of the htmldatatable object
    BUT for each new column created no data is displayed.
    I am only able to display data for columns originally created when i clicked and dragged the dataTable icon from the pallette in netbeans visual web kit.
    Any help on this is greatly appreciated. I have been searching the web and these forums for around 8 hours and no one seems to have a working example of this. Lots of similar posts asking how to do it though :(
    Thanks in advance.

    This might be useful: http://balusc.xs4all.nl/srv/dev-jep-dat.html

  • I created a movie and can't open it.  It says media offline when I try to open.

    I created a movie and can't open it.  It says media offline when I try to open it.  I have another video saved in the same place that opens just fine.  What do I do to open my movie?

    This is nothing to do with Adobe Reader. Please ask your question in the correct forum.

Maybe you are looking for

  • Recovering data from Time Capsule after conversion from Snow Leopard to Lion

    Had a problem with my iMac, which was running Snow Leopard O/S.  Data was backed up on Time Capsule using Time Machine, although recent back-ups had failed (but earlier back-ups had been OK).  Apple support determined that I needed to re-install the

  • Play count for imported items

    Here's a new one for me... Starting with this latest version, when I burn a CD, it automatically marks the Play Count for those items at 1. Anyone else encounter this? Is there a fix?

  • Hyperion 11.1.2  - Ruleset name with '&' has issue

    Hi We are migrating from Hyperion 9.3.1 to 11.1.2... We migrated a Sequence from 9.3.1 to calc manager Ruleset in 11.1.2. I have a Ruleset name "Profit&Loss" When I open the webfrom using planning URL , when I launch this ruleset, i get the below err

  • My (wife's) iPad Mini loses included email photo images

    My (wife's) iPad Mini loses some included photo images when emails are sent to her.  We use a GMail server and iOS 8.1.2 . The email structure and text content are fine, but a series of imbedded images shows some images correctly, while some are show

  • CO88- Account settings.

    Hi Gurus, In case of Settlement or production orders to post the gl accounts, which account key i need to maintain GL's in OBYC screen. What is the General Modification is to use and what are the gl's i need to assign in case of Moving average Price.