What is needed for sorting on two fields in a table control

Hi Everybody
I am going to certification in a couple of days. I need some help and was hopeing that you  guys could help.
What is needed for sorting on two fields in a table control?
     One sorted table and two processing blocks
     Two standard tables and one processing blocks
     Two standard tables and two processing
Which one is corret??
//Script

Hi Kimallan
I am not sure what is meant by a "processing block". However, it seems the question wants the original table order to be preserved. If so; as far as I understood the problem we need:
itab_proxy[] = itab_main[] .
"two standard tables"
SORT itab_proxy BY field1 field2 .
If we have a sorted table, then it is always sorted by its keys. So, the question seems to become obsolete for that option.
Hope I've understood correct...
Regards
*--Serdar
[email protected]

Similar Messages

  • I purchased PDF Converter, it isn't what I needed for my files.  Can I get a refund?

    After I purchased a PDF Converter, it isn't what I needed for my files.  Can I get a refund or a credit on my account?

    Apple considers all sales as final. Apple expects folks to do theoir homework before purchasing. You will receive a receipt in your email for the purchase 24 to 48 hours later and you can use the Report a problem link to initiate a conversation with iTunes Support about a refund. Apple sometimes gives a one-time refund. The question for you is do you want to use this one-time refund on this app or save it for a more costly app in the future?

  • [WNTFIX]Enabling Chromium password sync, what's needed for it to work?

    Hello, I'm using Google Chrome in multiple machines, some of them running Windows OSs. In my Arch machines I'm using Chromium from the extra repository, I have different environments but my Gnome based one is quite complete yet I still can't sync passwords.
    What's needed for it to be able to sync passwords? Maybe some compile time flag?
    Here is a list of all the packages I have installed in the Gnome machine, in case I'm missing something: http://pastebin.com/19AQhQsj
    Last edited by MickST (2011-03-20 23:27:57)

    Huh, that's strange. I checked it on my browser and there's doesn't seem to be a password sync option under the sync settings. A short Google expedition reveals that I'm not the only one. Luckily, the first comment explains it. It was recently disabled by default because it doesn't play nice with GNOME Keyring. To enable it, start chromium with the --enable-password-sync and --password-store=basic flags. Haven't tried it my self, though, as I don't really need that particular feature.

  • How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    I have a 13" MacPro.  How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    You don't need to create an account.   Your use your Apple ID to log into Facetime.
    If you haven't already you will need to download the Facetime App from the Mac App Store.
    https://itunes.apple.com/us/app/facetime/id414307850?mt=12&ls=1
    FaceTime for Mac: Troubleshooting FaceTime - Apple Support

  • Hi!  I cant conect The face time betwen my iPad ,iPod and iPhone, please help me,what i need for this issue?

    Hi!  I cant conect The face time betwen my iPad ,iPod and iPhone, please help me,what i need for this issue?

    What is it doing when you try to facetime? also if you are using the same apple Id/email on each device, it wont work.

  • What privileges needed for producing explain plan for other user's object ?

    Hi there,
    What privileges needed for producing explain plan for other user's object (tables) ?
    Cheers
    Soheil

    Experiment: (public plan table exists)
    create user bob identified by bob;
    grant create session to bob;
    connect bob/bob
    start sample_plan
    If will error off on the table being read in the plan
    connect dba_or_privileged_user
    grant select on the referenced_table(s) to bob;
    connect bob/bob
    start sample_plan
    It will now work providing a public plan table exists or you give bob create table and create a bob.plan_table
    I ran the experiment on Oracle version 9.2.0.6 running on AIX 5.3. Select privilege on all referenced tables in the explained SQL must exist
    HTH -- Mark D Powell --

  • Two Fields in AFKO Table...

    Hi Friends,
    Could you please tell me what is the difference between the 2 fields in AFKO Table.
    those two fieds are: <b>PLNBEZ and STLBEZ.</b>
    My question is: how do we know which field to use and when to use it appropriately.
    thnx for the help..

    Hi Dev,
    Please note that in AFKO tabke
    Please check MRP Controller and Planner group AFKO-PLNNR'.
    If PLANNR is not maintained entry will bein STLBEZ
    Other wise in PLNBEZ.
    Hope this will help you.
    Lanka
    Message was edited by: Lanka Murthy

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • Compare two fields of one table in selection.

    Dear Experts,
    I want to compare two fields of a table and make selection according to this.
    Ex: simply i want to select the rows from table mard where mard-labst>mard-insme. Could you write me the code to make this selection.

    Yes, Thomas,
    Its working:
    Sample code:
    data: begin of itab occurs 0,
          matnr type matnr,
          ernam type ernam,
          end of itab.
    select matnr ernam
           into table itab
           from mara where brgew > mara~ntgew.
    loop at itab.
      write: itab-matnr.
    endloop.
    Or,
    Try with inner join once.
    Its working: Sample code.
    data: begin of itab occurs 0,
          matnr type matnr,
          ernam type ernam,
          end of itab.
    select p~matnr q~ernam
           into table itab
           from mara as p
           inner join mara as q
           on p~brgew > q~ntgew.
    loop at itab.
      write: itab-matnr.
    endloop.
    Thanks,
    Naveen.I

  • How to deactivate the fields in a table control of a standard screen

    Hi,
       I have an requirement to deactivate the fields in a table control of a standard screen in ME22n transaction.I am using a BADI "ME_PROCESS_PO" and in item mathod i am looping at screen for the screen field name in the table control.But it is not working. Can anyone give me the possible solution . Thanx in advance.
    With Regards,
    Ajit.

    >
    Vivek Joshi wrote:
    > Hello Router ,
    >                      I do not want to set the focus , I want to get focus . User can click on any cell in the table and then press a button in the toolbar . Now in the event handler of the button i want to under which column User has set the focus .
    > I hope , I am clear now .
    > Thanks for your help
    > Regards
    > Vivek
    An yet you keep getting suggestions of how to set the focus.   I looked through the API documentation and I don't see anything that would suggest you can request to see where the current focus is.  Perhaps someone might still come along with a solution, but my hopes wouldn't be too high at this point.  I can pass the requirement onto Product Definition, as the use case does seem interesting.  Perhaps it is something we have even considered in the past. 
    But for now, there might be a better way to solve your problem.  It will probably mean redesign the interaction.  What exactly are your requirements?  Do you need to be able to get the data in a particular cell of table when a button is clicked?  Just throwing out some ideas here, but maybe just use the lead selection to select the row, but then have a button choice to choose the action associated with the column you want. A hack for sure - but it might work.  Also it doesn't help you right now, but in the near future update to NetWeaver 7.0, WDA does have a onColSelect event for the table.

  • How to add new fields  to a table control in a standard transaction JHA3X

    Hi All,
            We have a requirement where we have to add two new fields  to  a table control
            in a standard transaction JHA3X .
           We don't want any changes into our standard code and also we don't have any USER EXIT for that
           screen.
           Please provide with some solutions for the same .
           Thanks in advance .

    You will need add this to the /var/clientlibs/libs/cq/security/widgets.js and add the field under the 'CQ.security.UserProperties'.  For example, if you wanted to add a field to show the 'Middle Name' under the 'First Name' field, you can try adding the following:
                "items":[{
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Login"),
                        "anchor":"100%",
                        "disabled":true,
                        "allowBlank":false,
                        "name":"rep:userId"
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("First Name"),
                        "anchor":"100%",
                        "name":"givenName"
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Middle Name"),
                        "anchor":"100%",
                        "name":"middleName",
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Last Name"),
                        "anchor":"100%",
                        "name":"familyName",
                        "allowBlank":false
    Hope this helps.
    -Ron

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • Adding a field to a table control of a standard screen

    Hi,
    I need to add a field to a table control of a standard screen (Transaction CAT2).
    Could anybody please tell me how i could go about doing this?
    Also, what customization would be required to display the field because there are way too many fields and only a few are being displyed as of now.
    I will get the access(SSCR) key to modify the screen.
    Regards,
    Monica.

    Hi Monica,
    Did you name you customer field also "FIELD1_W", because the field should get updated then without any modification as in screen 2100 a "move-corresponding" is performed from CATSDB to these fields.
    Regards,
    John.

  • Adding a new field in QM02 table control

    Hi Gurus,
    I have the requirement to add a new field in a table control in QM02.I have added the field in the view VIQMMA but I dont know how it can be added in screen.
    Is it possible through some SPRO customization?
    Regards,
    Rajat

    Hi Rajat,
    Welcome to SCN. I am not sure add to table control . Please have a look to add custom fields
    1. QQMA0001-incorporate additional data in notification header
    2.QQMA0008-additional data on the details screen fro notification item
    3.QQMA0010 QM/PM/SM: User Subscreen for Additional Data on Cause
    4.QQMA0011 QM/PM/SM: User Subscreen for Additional Data on Task
    5.QQMA0012 QM/PM/SM: User Subscreen for Additional Data on Activit
    If you need a custom tab then this is the procedure
    1) SPRO,Quality management,Notification,Overview of notification types, Select the notification  and 90 give the customer specific screen area
    2) function group XQQM ,create the screen under screens tab number 0090.
    Check this if need this and check and post.
    Regards,
    Madhu.

  • How to read the field value from Table Control

    Hello Experts,
    I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
    When Clicked on 'SAVE' the data (MATNR) from a previous screen (101)  and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
    Internal table t_data has 3 fields.
    MATNR
    A_QTY
    B_QTY.
    Table Control TC_RACK was declared like this:
    controls tc_rack type tableview using screen 0102.
    I/0 Fields:
    A_QTY type ZQTY.
    B_QTY type ZQTY.
    The screen Flow Logic:
    process before output.
    module status_0102.
      loop at t_data into w_data with control tc_rack.
      endloop.
    process after input.
      module exit_0102 at exit-command.
      loop at tc_rack.
      endloop.
    module user_command_0102.
    module status_0102output.
      set pf-status 'STATUS_102'.
      set titlebar 'TITLE_102'.
      describe table t_rack lines tc_rack-lines.
    endmodule.                 "status_0102 output
    process after input.
    module user_command_0615 input.
    case ok_code.
       when 'SAVE_RK'.
       when others.
    endcase.
    endmodule.                 "user_command_0102 input
    Now for eg, when the users enter values for A_QTY and B_QTY like this:
    A_QTY     B_QTY
    1000         2000
    3000         4000
    How can I read these values and pass them to T_DATA so that I can save it into Z-table?
    I greatly appreciate your help.
    I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
    Thanks a lot.
    Could you please let me know
    Edited by: dev a on Jan 13, 2010 2:46 PM

    Hi dev a
    You should use
      DATA: lv_name(30) TYPE c.
      FIELD-SYMBOLS: <QTY> type ZQTY.
    GET CURSOR FIELD lv_name.   "Get the field name in table control
    check sy-subrc = 0.
    assign  (lv_name) to <QTY>.  "Here you get the value in <QTY>
    check sy-subrc = 0.
    Also use <your table control>-current_line to get the table index uo're currently on.
    Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
    Good luck
    Dean Q.
    Edited by: Dean Q on Jan 13, 2010 11:11 PM

Maybe you are looking for

  • Syncing a single calendar to multiple iPhones

    I have a situation that Im hoping has an easy solution... My fiance and I both have 3G iPhones. My phone is synced to my work computer as well as our home machine via MobileMe while my fiance's is linked solely to the home computer via USB sync. We e

  • Update a text field based on a SelectOneChoice field

    Hi, I have a set of Create, Confirm and Thankyou screens. These screens are bound to a global view object. The create screen has a SelectOneChoice element which allows the user to pick an employee. When the selection is made, I need to display the em

  • Safe to run on 220 with a converter?

    Hi all - moving to Europe and was wondering if it is safe to run my macbook off 220 current using a converter. I heard you can potentially fry your motor. Anyone know if it is safe to do this?

  • Apple TV first generation remote problems

    Hello, my ATV has been working fine since I have had it.  This morning, I tried to listen to radio and well it is not cooperating.  I choose with either its remote or my harmony one to go from left to right or right to left and well I can't choose an

  • Move a shape through a line

    Dear all, i post my question. I have to pick a shape (already done), move it (already done) through / along a line. Example: i have a small rectangle and it has to follow the line in a "S" shape. What do you suggest me? is there any class that can he