SORT butttons on custom screen for custom fields

Hi all,
I have a dedveloped a custom screen in which there are 5-6 fields.Nowi need to put Sort buttons below these fields so that I can sort these fields.
How do i do this???Is there std FM i can use to achieve the sort functionality?

Hi Rob,
I dont have a table control in which I have the custom fields.The custom fields are placed in a subscreen within acustom tab in standard screen in tcode VL31N. as shown below:
Plant:
Carrier:
Bill of lading:
Packaging list:
Damage
Now below these 5 fields ,I need to display the 2 SORT buttons/icons to change the display in ASCENDING OR DESCENDING  order.
How do i do this???Is there any std FM ?

Similar Messages

  • XD01 Custom screen for custom fields,need to update tables kna1,knvv

    Hi all,
             I have designed a custim screen for XD01 with four custom fields five from kna1 other one from knvv table.  i need to update the respective tables with these fields in badi GET_DATA of method IF_EX_CUSTOMER_ADD_DATA how to update the database table. Please help me in the same.

    see the help
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
    Regards
    Kiran Sure

  • Custom screen for vendor master xk01

    Hi Experts,
       Any one suggest how to add custom screen with custom fields to transaction XK01. Also i want to display this screen by clicking on some custom button. so that user can enter the custom values and should capable to store this information on custom table.
    XK01->vendor details with check box General choosed->Press enter->click on the custom button-> custom screen will display ->provide the values->save this details to custom table.
    Thanks in advance.

    Look at BAdi : VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
    Expected result :
    Regards,
    Raymond

  • Custom screen for attribute BP relationship (t-code: BUBA)

    Dear experts,
    It is possible to create custom screen for attribute BP Relationship (t-code: BUBA)?
    any document for this case?
    (Go to t-code: BUBA -> Block BP Relationship Type -> Click BP Views)
    Need your response...
    Thanks and Regards,

    Dear experts,
    any updated for this case???
    Need your response..
    Thanks and regards,

  • User presses F4 on the selection screen for the field ''Transport Request"

    Dear ALL,
                     I want to build up a functionality in my report where if the user presses F4 on the selection screen for the field ''Transport Request", then it will display all the Transport Requests involving that particular User...
    What I mean is the normal process that is provided by SAP on saving an object in a package & assigning it to TR...
    How do we Achieve it ?

    Hi.
    First we need to give the client after that client number related requestes display in second parameter F4 help for that purpose i used two function modules.First for read the client no dynamically after that pass the client number second function module.
    then u can get all the request for that client.
    DFIELD-FIELDNAME = 'P_MANDT'.
    APPEND DFIELD.
    CALL FUNCTION 'DYNP_VALUES_READ'
      EXPORTING
        dyname                               = 'Y9EZ_TR_COPYCLIENT'
        dynumb                               = SY-DYNNR
      tables
        dynpfields                           = DFIELD
    READ TABLE DFIELD INDEX 1 ."WITH KEY DFIELD-FIELDVALUE = 'P_MANDT'.
    V_MANDT = DFIELD-FIELDVALUE.
    CALL FUNCTION 'TR_F4_REQUESTS'
    EXPORTING
      IV_USERNAME                   = SY-UNAME
      IV_TRKORR_PATTERN             =
      IV_TRFUNCTIONS                =
       IV_TRSTATUS                   = 'RNDL'
      IV_FROM_DATE                  =
      IV_TO_DATE                    =
       IV_CLIENT                     = V_MANDT
      IV_PROJECT                    =
      IV_TITLE                      =
      IV_VIA_SELECTION_SCREEN       = 'X'
      IV_COMPLETE_REQUESTS          = 'X'
      IT_EXCLUDE_REQUESTS           =
    IMPORTING
       EV_SELECTED_REQUEST           = S_TRKORR-LOW.
      ES_SELECTED_REQUEST           =
    'TR_F4_REQUESTS' This function module for request
    Regards
    muralii

  • Custom iterator for custom list.

    I'm trying to write a custom iterator for custom linked list. What I don't understand is, whether the iterator should be in the link(node) inner-class or in the linked-list outer-class.
    I seem to be getting errors in the outer-class, but in the inner-class it compiles fine. Whether or not it works is another story.
    The code below is without errors in eclipse, however it doesn't make much sense to me to have the next() and hasNext() methods in the Node when the Iterator needs to iterate the list.
    import java.util.*;
    public class OctoList<T> extends AbstractCollection<T> implements Iterable<T>
        // Inner Class
        private class Octo<E>
            // Octo will be a Node with 8 elements not including size, and links.
            public Octo<T> next()
              if (!hasNext())
                throw new NoSuchElementException();
              current = current.next();
              return current;
            public boolean hasNext()
              return (current.next() != null);
        // outer class
        private Octo<T> head;
        private Octo<T> tail;
        private Octo<T> current = head;
        private final int ARRAY_SIZE = 8;
        @Override
        public Iterator<T> iterator()
            return null;
        @Override
        public int size()
            return 0;
        @Override
        public boolean isEmpty()
            return size() == 0;
    }

    Gcampton wrote:
    I'm trying to write a custom iterator for custom linked list. What I don't understand is, whether the iterator should be in the link(node) inner-class or in the linked-list outer-class.In the list class. After all, you're iterating a list, not a node.
    I seem to be getting errors in the outer-class, but in the inner-class it compiles fine. Whether or not it works is another story.Then you'll have to fix those errors so it both compiles and works as intended.
    You can create the iterator as an inner class in the list.

  • Scroll bar visible but not able to scroll in custom screen for IW21

    Hi,
    We are using custom tab (screen exit) in transaction for creating notifications (TCode IW21). Two subscreens are configured to be embedded in the tab, combined area of which is exceeding screen size vertically. The scroll bar is visible in the tab but is not able to scroll using mouse scroll, but can be dragged up and down.
    Does anyone know how to make it scrollable or make the scroll bar visible at application level (not in tab) and make it working?
    Thank you,
    Deepak

    Hello,
    Would you please implement the Methods GET_DATA to get th data from Databas to screen fields and SET_dATA to update thedata from custom screen fields to Data base table in u r case LFB1.
    Regards,

  • How to make a field in custom screen as display field in screen exit

    Hi ,
    I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
    Code which i have used .
    in PBO
    if sy-tcode = 'CO03'.
    loop at screen .
    if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
    ( subscreen - screen name given in screen editor and   resb-potx1 field name given in screen editor )
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    and even i tried in PAI too .....
    if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
    update resb set POTX1 = RESB-POTX1
    where aufnr = i_aufnr.
    elseif sy-tcode = 'CO03'.
    *oop at screen .
    *f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    but itshows as input field only ........how to make that custom field as display field in CO03

    HI Andy,
    Try this out.
    FIrst check the sy-dynnr, if it is same as your custom screen number
    in PBO of your custom screen
    if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
    loop at screen
    if screen-name = 'YOUR_SCREEN_NAME'
    screen-input = 0.
    modify screen
    endif
    endloop.
    endif.
    if it wont work they try using Tcode SHD0
    Hope this will serve your purpose.
    Regards
    Ramchander Rao.K

  • Selection screen for custom table

    We have developed a custom table and user want to have a selection selection screen similar to SE16. There are 9 fields in the table and user can enter data to the selection screen with any combination. My question is how do I filter based on the user input ? DO I need to write multiple SQL for different combination of selection screen parameter within IF ELSEIF statement ? If so then there will be huge number of SQL within IF & ELSEIF statment for 9 selection parameter. Please suggest if you have any better ideas.

    Even after using select-option along with IN statement in where clause , it did not work.
    I used following selection screen defination :
    SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS: P_PCBUS FOR MARA-ZZPC_BUSINESS NO-EXTENSION NO INTERVALS,
                    P_PCBUS1 FOR MARA-ZZPC_BUS_SUB1 NO-EXTENSION NO INTERVALS,
                    P_PLNFMT FOR MARA-ZZPLNG_FORMAT NO-EXTENSION NO INTERVALS,
                    P_PRDB FOR MARA-ZZPROD_BRAND NO-EXTENSION NO INTERVALS,
                    P_SEASCD FOR MARA-ZZSEASON_CODE NO-EXTENSION NO INTERVALS,
                    P_SNP FOR MARA-ZZSUP_NET_PATH NO-EXTENSION NO INTERVALS,
                    P_MAT_DC FOR MARA-MATNR NO-EXTENSION NO INTERVALS,
                    P_MAT_MG FOR MARA-MATNR NO-EXTENSION NO INTERVALS.
    SELECTION-SCREEN: END OF BLOCK B2.
    and SQL statement :
    SELECT ZZPC_BUSINESS
          FROM ZTB_RTL_TO_WHS
          INTO TABLE TA_ZZPCBUS
          WHERE ZZPC_BUSINESS =  P_PCBUS
          AND  ZZPC_BUS_SUB1  IN  P_PCBUS1
          AND   ZZPROD_BRAND   IN  P_PRDB
          AND  ZZPLNG_FORMAT   IN  P_PLNFMT
          AND  ZZSEASON_CODE   IN  P_SEASCD
          AND  ZZSUP_NET_PATH  IN  P_SNP
          AND  ZZD_MATNR       IN  P_MAT_DC
          AND  ZZM_MATNR       IN  P_MAT_MG.
    While executing program, I only enterd value for the field P_PCBUS. Though record present for that value, I rcvd SY-SUBRC = 4.
    ANy Idea?
    Edited by: J. Bakshi on Jul 14, 2009 10:17 AM

  • Custom F4 for a field in ALV GRID

    I am want to provide a custom f4 fro a field in alv gird
    similiar to the functionality of process on value request
    on a normal screen

    Hi Kaushik
    You can find some information at page 37 of the document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for alv grid control.pdf
    *--Serdar

  • Custom screen for Payment card information in Sales Order

    Hi All,
    I want to know if its possible to develop a custom screen to accept multiple payment card information in Additional data tab and save it in normal payment card information at the time of saving sales order. This sounds little
    Nilesh

    Hi Nilesh,
    Please, see SAP Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Here you have the relevant notes related with this topic, so, in point 4, the note says:
    4. Payment cards in the order (with billing plan)
    - 914811 FAQ: Authorisation Problems - Why?
    - 915193 No authorization in the order
    - 313416 Installment plan payment with payment cards
    - 361790 No Authorization or only pre-authorization executed
    - 701569 Incorrect value to be authorized in the order
    I hope this helps you
    Regards
    Eduardo

  • Values in variable screen for customer hierarchy

    Hello,
    We are working with 7.0. In the query's variable screen we have a variable for Customer Hierachy level 3, but when we push F4 in it, all values for Cust Sales appear. How can we filter this?
    Thanks in advance.

    hai,
    how to u create hierarchy in bw7....would u plz send that document....i hear that is not possible in bw7...
    thanks.
    prakasu.

  • Customized entries for ACTVT field

    Dear Gurus,
    I have created customized Authorization object with the help of post on forum but I am unable to figure out to create customized entries for ACTVT. 
    Eg: Instead of activity 01, 02, 03 ....ect I want to create Z1, Z2 & Z3.
    How can I create this entries ? what are the steps involved and how to I assign it to my customized Auth object ?
    Thanks in advance,
    Soyunee

    The original requirement from functional consultant is to create a customised Authorization with 2 fields 1. Company code 2. Activity.
    And the second requirement is to add activity entries Z1 - Extract invoice & Z2 - Approve invoice.
    Since you mentioned you are creating a custom authorization object, I believe the auth check would be made by a customized program or a BADI too.
    If my assumption is correct, you don't need to create custom field values for SAP standard field ACTVT, rather you can have the custom program logic designed in such a way that it triggers desired action while checking the already existing SAP delivered field values for ACTVT.
    For  instance:
    Logic is designed so that a value ACTVT= 01 would trigger action Extract Invoice and ACTVT= 02 would trigger action Approve Invoice
    To summarize, you can use any standard field values for ACTVT and have desired action defined for that value in your program logic. I have come across such scenerios in the past and quite sure this concept works!
    Try it out:)
    P.S: While creating the custom object, it would be a good idea to document the relevant action that your custom program will trigger for each of the standard values for field ACTVT ( which you are going to use) in the object documentation section of tcode SU21 for future reference.
    Thanks,
    Sandipan

  • Custom Screen for Z program in HRABAP

    Hi Techies,
    I want to develop report in HR ABAP which has my own selectins screen fields Company Code and Cost Center and Activity, coz i dont want default selection screen provided by the pnp logical database.
    How do i go for that screen.
    Regards.
    Raju Mummidi

    Hi Sikinder,
    Thank you for Answering.
    but What i want to develop hr abap z report using logical database, here thing is i dont want the default selection which have been given by the ldb,
    I want my own selection screen with my fields and normal reports in which we didnt specify the ldb.
    Thanks & Regards,
    Raju Mummidi.

  • Custom Screen for Search Help

    HI,
    I have designed the Search Help in SE11.
    Its working fine.
    When executed, it pops up the screen for input search criteria.
    My question is : is it possible to have this popup screen as our own customised screen.
    Can we add some Heading and Subheadings to it?
    If yes, please let me know how can we do this.
    Thanks in advance.

    HI,
    I have designed the Search Help in SE11.
    Its working fine.
    When executed, it pops up the screen for input search criteria.
    My question is : is it possible to have this popup screen as our own customised screen.
    Can we add some Heading and Subheadings to it?
    If yes, please let me know how can we do this.
    Thanks in advance.

Maybe you are looking for