Changing the order of fields in an internal table

Hi all,
I'm using field symbol as internal table. this table has got a standard database structure.
I want to make the 3rd column of this internal table as 1st colums keeping rest of the columns as it is.
Is there any way to do this?
Thanks,
Anil.

Hi
    Instead of directly taking the type as a standard structure , declare the FS  internal table as type of types structure.
Data: fs_scarr like type_s_scarr.
FIELD-SYMBOLS <scarr2> TYPE fs_scarr
In the types put the third column as first one and use into corresponding in select query
or else
while displaying the internal table change the order of the columns
Loop at itab into fs_itab.
write : col3
col2
col4
endloop.
Thanks,
Viquar Iqbal

Similar Messages

  • Change the Order of Fields in the Search Lookup Form

    Hi guys,
    The end user has requested me to change the order of the fields in the Search Lookup Form. I haven't found any configuration to change this order, so I changed the JSP (tjspLookupFormTiles.jsp) as below:
    <bean:define id="colIDsObj" name="lookupFieldForm" property="columnIDs"/>
    <%
    //Sort Column IDs
    String[] colIDs = (String[]) pageContext.getAttribute("colIDsObj");
    colIDs[0] = "Lookup Definition.Lookup Code Information.Decode";
    colIDs[1] = "Lookup Definition.Lookup Code Information.Code Key";
    %>
    Is there any property where I can change this order without change the JSP File?
    Thanks,
    Renato.

    I had a similar requirement in the past, but could not find any other way for doing this. It does not reverse the order even for lookup fields on USR forms, for which the encode and decode values are defined in formmetadata.xml. Changing jsp seems to be the only way, unless someone else knows better.

  • Facing data type error when changing the order of fields in a query

    Hello Experts
    I am working on E sourcing 5.1.
    I have a query with some filters . I want to change the position of a particular filter.
    Basically I want to move a filter of type date to the top , so that it is the 1st parameter.
    I was able to do this by reorder option.
    However at runtime it gives me an error saying that "error  u201CORA-00932:  inconsistent datatypes:  expected NUMBER got date."
    Later I reverted back my changes so that the date filed is at its original position and faced no issues.
    Query worked fine.
    Is the order of filters important when executing a query.
    Please suggest how can I move the date filter to the top of the query's filter list.
    Regards
    Vikas

    Hello Vikas,
    Its not the SELECT statements that you need to change. You have to change the WHERE caluse.
    In the WHERE clause, some of the conditions will have some table column equated to a '?' symbol. This symbol is a place-holder for a filter prompt. There is a one-to-one correspondence between the '?' symbols and the filter prompts created in the query(under the Filter Prompt tab). This means that the first '?' corresponds to the first filter prompt, second '?' to the second filter prompt and so on.
    Keeping the above information in mind, you can attempt to make changes to your query. You can duplicate your existing query and try your hands at it.
    One more point worth mentioning : It is evident that if you need to use the same filter prompt at more than once place in the query definition, you have to create more than one instance of that query prompt.(Here by another instance I mean that the two filter prompts should have same values in their fields when you define them.) But even when you create more than one instance of a filter prompt, on the UI it will appear just as a single instance.
    If things have become more confusing than before (of which there is a high probability ) then please go through the online help for Queries. It has got an extensive documenation and will be surely be of some help to you.
    Good luck!!
    Devesh

  • How to change the order of fields when exported to csv

    I am using LiveCycle Designer 8 and have created a great form with the correct tab order.
    However, when the form is filled in and returned to me, the fields in the CSV file are all over the place. How can I make sure the fields in the CSV file are displayed in the same order as the tab order?

    The actual requirment is to re-arrange the elements of the queryoutput node, to look more organised
    say for ex.
    Seq 1:
    c code                            company name                          g/l ac                g/l ac description  
    Seq2 :
    g/l ac description             c code                                       g/l ac                company name  
    Seq 1 way of representation is more organised that Seq2. How can we achieve this re-arranging of ordering in the queryoutputnode.

  • Report Painter-How to change the order of fields on selectn screen.

    I have a custom Report Painter report that has 2 fiscal years 1 current FY and 1 Comparison FY.  This also includes 2 sets of periods.  I want the period fields to group together by Fiscal Year and Comparison Year. As shown below.
    Fiscal Year From Period___
    Fiscal Year To Period____
    Comparison Year From Period____
    Comparison Year To Period____
    Instead it  displays as follows:
    Fiscal Year From Period___
    Comparison Year From Period____
    Fiscal Year To Period____
    Comparison Year To Period____
    Any assistance would be greatly appreciated.

    I have a custom Report Painter report that has 2 fiscal years 1 current FY and 1 Comparison FY.  This also includes 2 sets of periods.  I want the period fields to group together by Fiscal Year and Comparison Year. As shown below.
    Fiscal Year From Period___
    Fiscal Year To Period____
    Comparison Year From Period____
    Comparison Year To Period____
    Instead it  displays as follows:
    Fiscal Year From Period___
    Comparison Year From Period____
    Fiscal Year To Period____
    Comparison Year To Period____
    Any assistance would be greatly appreciated.

  • Is it possible to change the order of the fields in the int table?

    Hello
    Is it possible to change the order of the fields in the int table?
    Lets say itab has the following fields :
    F1, F2, F3
    I would like to see it as F2 F3 F1
    Thanks

    >
    Comandante Che Guevara wrote:
    > Lets say itab has the following fields : F1, F2, F3
    >
    > I would like to see it as F2 F3 F1
    What do you mean by "like to see" ? You can WRITE the fields in any order you want. If you want to display the internal table in an ALV you can manipulate the fieldcatalog.
    If you want something else other than display the field, you have to explain your req. in detail.
    BR,
    Suhas

  • How do I change the order of the fields in my pdf form?

    I am using pdf. form I made in Acrobat and distributing with Adobe FormsCentral.  We use a table format for our teachers to fill out their field trip schedules and therefore use many different fields.
    How can I change the order of the fields (not for tabbing, we figured that out)...so that when we receive our notification email, I can see the inforamtion in a specific order (Date, Time, School, Program, etc).
    We would also like this same order to appear in the "View Responses" table.  I know you can drag and drop the order in the table but we have over 100 fields and that is going to take a really long time.
    Please help???
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

    What do you mean by the "order they appear in the pdf structure"?  What is the "Pdf structure"? 
    thank you for your help... this is really upsetting, as I thought we finally found a solution with Adobe Forms : (
    We really need the fields to report back in a specific order and wouldn't have time to rearrange over 100 fields with every form that is submitted. We receive about 10-20 different forms a day (same form layout, just some of the fields will have to be prefilled depending on school/teacher reservation... so we have to name each form a different name, for each school).
    Thank you again and maybe one day they will change that.  Is there anyway to set it up in the web verison of Adobe FormsCentral to look similar to the table we have created?
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

  • How do I change the value of the Order By field in an MP3 file?

    good day Guys,
    I'm new here in the forum and I have a question that is "breaking" the order of my songs and my head too ...
    How do I change the value of the Order By field in an MP3 file?
    for example, in the photo below, the song "The Bad Touch" is coming BEFORE the song "A Little Respect", this happens because of the Name field to Order ...
    My "problem" is in the photo below, the "tab" Order, iTunes will not let me erase what is written in the "Sort As" ...
    I've been "collecting" several songs over SEVERAL years
    I'm currently with more than 1,500 songs on HD and several backups on DVDs and external hard drives and I think, download it again, will be a "little" laborious and boring
    I DON'T WANT to be filling the tags of songs (name, singer, CD, year, etc.)
    I have used the program Mp3tag to remove the music tags
    I've tried to download the song again and go through Mp3tag program as if it were a new song
    I've changed the music access permissions, folder and even entire hard drive (my Windows has only one user)
    I've tried to catch the song again, from a previous backup
    I've tried to create a copy of the file at iTunes own
    I've tried to create a new music file in a music recording program
    NOTHING of what I did above resolved
    -> I'm using Windows 7 64-bit Ultimate
    -> I'm using iTunes 12.1.1.4 for 64-bit Windows
    -> My iPad is the third generation (a little old, I know) with Wi-Fi and 3G, but it has served me VERY WELL
    -> The iPad is updated with iOS 8.1.3 and is not unlocked
    I'm sorry for the GIANT post, but well, I think I could explain as much as possible and for my English, too bad, by the way, I'm from Brazil and I'm using Google translator
    Hugs and await answers,
    Paulo Ricardo

    hello turingtest2,
    my language is Brazilian Portuguese (there are some little differences between Brazilian Portuguese and the Portuguese of Portugal, but nothing that interferes with the script)
    at this time, I'm managing songs manually, I don't know if this will interfere with the execution of a script or command
    as I picked up this iPad recently, I still don't understand how to set up the iTunes Music Library and the person who gave me, told me it was easier to put the songs manually
    as you said, in my iTunes, 95% of the songs are with ALL the blank fields, including the Name to Sort field, only songs that begin with a/an/the standing with the Name to Sort field filled with name of the song, without the a/the
    I do not know what to do...
    I want to learn to ride the iTunes Music Library, that my work is less
    you know any site that teaches create/manage my iTunes Music Library?
    this site/forum may be in English, no problem
    thanks for all your help and the help of others who responded to my request

  • How to change the order of the fields in the queryoutputnode in OVS.

    How to change the order of the fields in the queryoutputnode in OVS.

    The actual requirment is to re-arrange the elements of the queryoutput node, to look more organised
    say for ex.
    Seq 1:
    c code                            company name                          g/l ac                g/l ac description  
    Seq2 :
    g/l ac description             c code                                       g/l ac                company name  
    Seq 1 way of representation is more organised that Seq2. How can we achieve this re-arranging of ordering in the queryoutputnode.

  • Changing the Event View Field Display Order on a Calendar

    We'd like to change the display of a calendar event to show the Title on top and the time below. This is how it currently looks below. Is there a way to change it?
    Orange County District Attorney

    Hi,
    According to your post, my understanding is that you wanted to change the Event View Field display order on a Calendar.
    You need to insert the code below into a Content Editor Web Part.
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    function changeCalendarOrder() {
    $(".ms-acal-sdiv").each(function () {
    var arr = $(this).find('div').toArray();
    var temp;
    temp = arr[0];
    arr[0] = arr[2];
    arr[2] = temp;
    $(this).html(arr);
    //alert($(this).html());
    _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept');
    // hook into the existing SharePoint calendar load function
    function calendarEventLinkIntercept() {
    var OldCalendarNotify4a = SP.UI.ApplicationPages.CalendarNotify.$4b;
    SP.UI.ApplicationPages.CalendarNotify.$4b = function () {
    OldCalendarNotify4a();
    changeCalendarOrder();
    </script>
    The result is as below:
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Change the Accounting document fields cost center and profit center

    Dear Experts,
    User has posted document with wrong profit center
    For that we subjected that he can go to the profit center actual posting T.Code 9ke0 but with that he can only change the Profit center document with that there is no accounting side updating
    I have tried with Document Change Rules, Line Item for fields cost center and profit center  in that while configuring I did not get any error message,
    But in the document I am unable to changing the same fields cost center and profit center  
    Can any body please guide me to resolve the issue?
    Essentially I want to change the Accounting document fields cost center and profit center   
    Thanks in Advance,
    Wiswanath

    Hello,
    Once the documents are posted in FI module, the system doesn't allow anybody to change the cost objects (cost center, profit center, internal order). The only fields you can change through FB02 transaction are the Line item text (BSEG-SGTXT) and the assignment (BSEG-ZUONR).
    If you want to get a change to the cost object to be reflected from FI to CO, you should reverse the FI documents with wrong cost objects and post new documents with correct cost center, profit center.
    Hope it helps you.
    Cheers,
    Daniel.

  • Changing the order for printing portfolio files in adobe acrobat 9 pro

    Does anyone know how to change the order for printing pdf files that are part of a portfolio in adobe acrobat 9 pro?  The documentation seems to say that it prints files alphabetically by filename rather than by the internal sort order.  This won't work for me. Any ideas? Thanks.

    Question1: No.
    Question2: No.

  • Change the order of photos in an event

    Hi
    How do I change the order of my photos that are in an event in other words I would like to move one photo to the other side (left or right) of the photos that are in the event.
    Ta

    Type in the name of the city/town where the picture was taken in the Assign a Place field and it will automatically give you a list of possible locations. Select the one closest to the exact location.
    Click to view full size
    Then use the Windows ➙ Manage my Places menu option to go to the map where you click on the location in the list at the left and then can precisely move the pin to where it needs to be.
    Click to view full size
    OT

  • How can I change the order of tracks in iTunes?

    When I changed the information of certain tracks such as the track title, album name etc. on some of my books on audio (because the information did not import with the audio, except to name them "track 1", "track 2" etc. or I changed the genre or whatever) the order of the tracks were changed in the iTunes lirary and subsequently on the iPod as well. Now of cource the chapters of the books play in an obscure order. Not good for audio books! I tried to "drag and drop" the tracks in the desired order, but that does not seem to work. Next I cleared them from iTunes altogether and sent them to the recycle bin and then restored them. Before I put them back into iTunes (when they were still just a file in a folder and not associated with any particular player) I even alphabetized the titles beginning with "1 of 5", "2 of 5" etc. but now the volumes of books are in different orders. As an example, in the "Left Behind" series by LaHaye and Jenkins now the book Apollyon plays first instead of it's correct order in the series which would be fifth. There must be a simple way to change the order of the way a book in a series of books or tracks of a book plays within iTunes without creating a seperate playlist for every book or series of books this happens to but I'll be darned if I can figure it out. Can someone please help me?
    Intel 3.4 Ghz. with ht technology   Windows XP Pro  

    No, iTunes does not put these in order when the top "Album" or "Name" tabs are clicked.
    I tried that first of all, but failed to mention it in my original message. I appologize.
    For instance, there are twelve books in the left behind series and each book (exept for two of them) has 5 tracks each, the two exceptions have four tracks each.
    Using "get Info" and clicking the "Info" tab, all tracks of all books are labeled "Left Behind Series" in the field titled "Album".
    On the right side of the dialoge box all tracks associated with the first book are labeled 1 of 12, second book, 2 of 12 and so on in the two boxes marked "Disc Number".
    In the two boxes marked "Track Number" each track is labeled 1,2,3,4, or 5 of 5 for the corresponding track.
    In the "Name" field for each track I use, for Example, Volume 2, Tribulation Force: Part 1 of 5.
    The fourth book in the series is called "Soul Harvest" and is recorded on five rather lengthy tracks. The information for the third track of this book is labeled as follows:
    Track Number: 3 of 5
    Disc Number: 4 of 12
    Name: Volume 4, Soul Harvest: Part 3 of 5
    Artist: Tim LaHaye and Jerry B. Jenkins
    Album: Left Behind Series
    I am using the latest version of iTunes, Ver:6.0.4.2, for Windows xp. I am resonabaly adept at moving around in the program and was certain that by changing the information as I did, I would not only make the information easier to see and use on my iPod but that the books would finaly play in order as they never have been in proper order before.
    For the life of me I can not seem to figure this one out and find myself spending far too much time on this.
    Intel 3.4 Ghz.   Windows XP Pro  

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

Maybe you are looking for

  • IPod won't go online

    Fix for iPod Touch when it says you are connected to wifi but won't go on-line: Got this from Apple Phone help... unplug router under Settings/General tap reset restart router after a few minutes Under Setting/wifi select the network you are on and t

  • Adobe Acrobat X - convert outlook email to pdf and include attachments as pdf

    Is there a way to save an Outlook email as a PDF and include attachments as extra pages within the same PDF? I know I can convert an email to PDF and it will include the attachments as links.  My end users feel that their clients won't understand the

  • Moving an image-  defining the movement speed

    Alright. I have the whole code set up to display the tiled image, and move the tiled image when you click. The only problem is that It moves however far it is told to instantly. I need it to move at a fixed rate of around 20~40 pixels a second. I hav

  • Quicktime UI doesn't "catch"

    Since upgrading to Lion (and later on to ML) Quicktime has stopped reacting to mouse input. Well, almost. Basically, I can only access the playhead/timeline – the rest of the UI acts as if it doesn't exist. It shows up just fine, the problem is that

  • Role of a developer

    Hi, What is the role of a devloper involved in ESA of SAP. To what extent is he expected to understand business processes? What are the tools he would be using. How much coding he would have to do, and besides web services , what else he would be wor