Skip to Content
avatar image
Former Member

how to get a puss button on the application tool bar

hi friends ,

i would like to know how to place a push button on application tool bar like puss button [vendor data] gets vendor related data , puss button [customer] gets customer related data

regards

syed akbar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 19, 2008 at 05:35 PM

    Hi,

    check this code:

    TABLES sscrfields.
    
    PARAMETERS: p_carrid TYPE s_carr_id,
    p_cityfr TYPE s_from_cit.
    
    SELECTION-SCREEN: FUNCTION KEY 1,
    FUNCTION KEY 2.
    
    INITIALIZATION.
    sscrfields-functxt_01 = 'LH'.
    sscrfields-functxt_02 = 'UA'.
    
    AT SELECTION-SCREEN.
    CASE sscrfields-ucomm.
    WHEN'FC01'.
    p_carrid = 'LH'.
    p_cityfr = 'Frankfurt'.
    WHEN 'FC02'.
    p_carrid = 'UA'.
    p_cityfr = 'Chicago'.
    ENDCASE.
    
    START-OF-SELECTION.
    WRITE / 'START-OF-SELECTION'.
    

    Regards,

    Karol

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2008 at 06:54 PM

    using SET PF-STATUS statement...check out the F1 documentaion for details.

    Add comment
    10|10000 characters needed characters exceeded