How to change dinamically variable name?

Is it possible to change variable name dinamically into loop?
loop at itab.
move itab-item to field_x.
endloop.
I would copy my itab-item into field_1, field_2......field_x at each loop.
Thanks
Alfonso.

You have to use the field symbol for the field giornoX not for the structure
DATA: BEGIN OF wa_alv OCCURS 0,
        pernr            LIKE pa0001-pernr,
        persk            LIKE pa0001-persk,
        des_grado_abbrev LIKE zhr_descr_grado-des_grado_abbrev,
        vorna            LIKE pa0002-vorna,
        nachn            LIKE pa0002-nachn,
        giorno1          TYPE char12,
        giorno2          TYPE char12,
        giorno3          TYPE char12,
        giorno4          TYPE char12,
        giorno5          TYPE char12,
        giorno6          TYPE char12,
        giorno7          TYPE char12,
      END OF wa_alv.
data tb_alv like table of wa_alv.
field-symbols: <giorno> type any.
data: name_giorno(13).
LOOP AT tb_alv ASSIGNING wa_alv
  LOOP AT tb_orario.
   do 7 times.
    concatenate 'wa_alv-giorno'  sy-index into name_giorno.
     assign (name_giorno) to <giorno>.
     giorno  = tb_orario-orario.
    enddo.
    ENDLOOP.
ENDLOOP.
bye
enzo

Similar Messages

  • How to Change the Alias name for Internet user in SU01 tr code through cod?

    Hi Guys,
                 My req is we have to change the Alias name(SU01 tr code) for the existing users thru code.So can anybody tell me how to change the Alias name like which we do it in SU01 tr code thru code or FM.?
                Is there any FM for tha changing Alias Name?
    Thanks,
    Gopi.

    Hello Gopi Anne ,
                                 You can use the following FM / BAPI :
    BAPI_USER_CHANGE
    MY_BAPI_USER_CHANGE
    For BAPI_USER_CHANGE :
    You need to make use of the IMPORT parameter :
    ALIAS     TYPE     BAPIALIAS                               User Name Alias
    ALIASX     LIKE     BAPIALIASX                               User alias change flag
    Thanks,
    Greetson

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

  • How to change ASE server name in windows

    how to change the server name in Adaptive server enterprise running on windows

    Windows is going to require a few more steps if ASE is running as a service.
    Update all registry entries containing <servername> with <newservername>:
    HKLM\SOFTWARE\SYBASE\Server
    HKLM\SYSTEM\CurrentControlSet\Services\SYBSQL_<servername>[ _BS | _XP ]
    NOTE: Doing a registry search on <servername> will bring up a ton of other locations, eg, legacy entries, ControlSet00X, etc ... not sure if all of these have to be changed, too ...
    NOTE: Haven't installed any of the latest ASE packages in windows so don't know if SAP's gone an changed the HKLM\SOFTWARE sub-branch name from SYBASE to SAP
    =========================
    In addition to Ryan's notes:
    - any other sysservers entries that refer to the old servername (eg, loopback)
    - any remote servers would need to update their external/remote logins, remote servers and/or proxy definitions ... as appropriate
    - if the ASE is involved in replication then you're looking at whole 'nother can of worms ... off the top of my head ... rs_databases, rs_idnames, rs_repdbs ... and of course any repdefs/subs that include the ASE name ?
    - obviously (?) any monitoring/maintenance/operational jobs ... documentation ...

  • How to change an account name?

    Hello
    How to change my account name?
    Name is very old and needs an update.
    Thanks,
    Villem

    Unfortunately, you can't.
    Can I change my Skype Name in Skype for Windows desktop?
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • How to Change Journal Header name to Custom Header Name while GL Importing?

    Hello Experts,
    I am in situation where customer wanted to keep their own journal header naming conventions to imported journals in Oracle GL for custom Journal sources.
    As I know while importing journals, Oracle Creates the Journal Name based on the below mentioned logic.
    "Journal Import creates a default journal entry name using the following format:
    (Optional User-Entered REFERENCE4)(Category Name)(Currency)
    (Currency Conversion Type, if applicable)
    (Currency Conversion Rate, if applicable)
    (Currency Conversion Date, if applicable) (Encumbrance Type ID, if applicable)
    (Budget VersionID, if applicable). If you enter a journal entry name,
    Journal Import prepends the first 25 characters of your journal entry name to
    the above format"
    But then How it is possible to only allow journal header Name to be used present in REFERENCE4 excluding all other string provided by Oracle? Instead of using omitted string custmoer wanted to keep their own parameters. Example - REFERENCE4.A.B.C etc.
    Is it possible to solve this using seeded setup or modifying some hook packages or anything else?
    As far as I know there can be one workaround to be use of updating journal header name after journal import being completed successfully for custom journal source. But only fear is Oracle doesnt allow updating the base table without API. Am I rght?
    So it would be really great if anyone of you can suggest the best solution or best possible workaround.
    Thanks

    Duplicate - How to Change Journal Header name to Custom Header Name while GL Importing?

  • How to change the bluetooth name? in my pc,

    Hi there!
    How to change the Bluetooth name for my N70.
    I can change it in my N70, but the first installed name still pops up on my computer. Can't find it anywhere so i can have the same name in my phone as on the computer. Is there some kind of registry that keeps the first name maybe??
    Any ideas?
    Owned: Nokia 1600 - 3120 - 5110 - 6110 - 7110 - 6310i - N70 - N72.
    Using now: 6310i & N70 - N72

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • I have a MacBook Pro, how to change the computer name in the "Find Iphone"

    I have a MacBook Pro, how to change the computer name in the "Find Iphone"?

    Thank you for help! I was inattentive reading your answer. The thing which confused me was that I noted in blue. I had to just write in a red box and close the configuration window.

  • Has anybody found out how to change the workgroup name in 10.5?

    I have been trying to connect to XP machine shared folders and it is not working.
    I've tried using smb and it gives connection error or says Ithe user has not permission in the machine
    I've started in 10.4 from backup disk and it is working OK.
    I see that in 10.4 it asked for DOMAIN/ Workgroup name , and this option has disappeared in 10.5
    Has anybody found out how to change the workgroup name in 10.5?

    System Preferences - Networking

  • HT1428 How to change the account name in Mac OS X via a command line. I did a type-o on the account name. So instead of it saying "Company" it says "Comany"  for the account logon.

    How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
    None of these Macs have been used currently.
    Thank you,
    Brian

    If user account shortname, see Changing user account shortname

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

  • How to change your user name for the Ipod nano...

    Can anyone please explain how to change the user name on your Ipod nano?

    hiya!
    do you mean the nano's name in the ipod source list?
    if so, select the ipod in the itunes sourcelist. click on it once, and pause for a second or so. you should then be able to type in what you please.
    love, b

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • How to change the Home Name

    Hi,
    I'm on a a MacbookPro5.5 and for some reason, my Home name (that resides on the left sidebar) is still listed as 'Apple'.
    I want to change the Home name and so I've right-clicked it and gone into the 'Get Info' window. But the Name field is greyed out and won't let me enter a new name. I've tried changing all privledges to 'read and write' but that does not seem to help at all.
    I appreciate any pointers on this ...
    Many Thanks, Frank B.

    Mac OS X: How to change user short name or home directory name
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Macsimum News Associate Editor  Creator of 'Mac611 - Mobile Mac Support'

Maybe you are looking for

  • Basic line chart help

    I am relatively new Crystal reports 11 and am having problems creating a lsimple ine chart. I am trying to trend two types of network errors over time. The type of errors are in one field and the values are 1 or 2, I have two formulas, one converts a

  • SAP - Client would like to know of an alternate transaction (S_ALR_87012086

    Hi all, -client is attempting to run report looking up Vendors created on specific dates that include the following fields: Created on,             VAT registration no,    Tax info,                  Vendor number, C ompany Code,          Payment data

  • Serious issues building application(s)

    I've been trying to build an application but cannot get it to execute without giving very vague errors The simplest example of an exe with the problem is one including a numeric control, the Mean.vi from NI_AALBase.lvlib and a numeric indicator for t

  • Back-up and hard copy of tags etc for photos

    One of the things I use PE7 (and its predecessors) for is to keep track of the contact sheets I make of my film negatives.  Each sheet has a number, date and a number of tags that allow me to find all the photos taken on a particular date with a part

  • Dreamweaver interface on Mac

    Forgive me... I'm just switching over to Mac.  I don't see the red, yellow, green controls on the left hand top side in order to make the ui smaller or to minimize. Am I missing something, here? Also, the text in the coding takes a magnifying glass t