Save push button in varient.

Hello experts,
            I have a pushbutton on my selection screen. When i will click on that button then only i can enter
the values in other paramtere. After entering all values i will save it in varient. When i will call that varient for next time
push button will not be pressed( i should have to press it manually) How i can save the pressed push button in varient.

Hi,
Go to Tcode SHD0 to create a transaction variant that active your paramenters. Then go to SE93 to create a new transaction Type Trasaction Variant, enter your old transaction and variant. Then save.
Hope it help.
Regards,

Similar Messages

  • How to enable the SAVE LAYOUT button?

    When using CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY, how do I enable the SAVE LAYOUT push button?
    It shows the Change layout button but does not allow me to save the layout as the SAVE LAYOUT button is not available.
    I am using the following code but it does not show the SAVE LAYOUT button.
      CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          I_SAVE                        = L_SAVE
          IS_VARIANT                    = LS_VARIANT
          IS_LAYOUT                     = LS_LAYOUT
          IS_PRINT                      = LS_PRINT
          IT_TOOLBAR_EXCLUDING          = I_EXCLUDE
        CHANGING
          IT_SORT                       = I_SORT_HDR
          IT_OUTTAB                     = I_OUTTAB_HDR[]
          IT_FIELDCATALOG               = I_FCAT_HDR
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          OTHERS                        = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Pl advise.
    Thanks,
    Ven

    pass the variant and enable is_save = 'A'.
    in my case I had to upgrade the gui also.

  • HDL node not picking up push button signals

    Hello,
    I am trying to design a vending machine using sbRIO and Labview HDL node. But my HDL node doesn't seem to pick signals from push button (latched when released). I have successfully done the same thing using labview blocks but not geting desired results by HDL node. I could use labview blocks only and not HDL node but I have to give a presentation to my class about how we can integrate VHDL code in labview. I have attached my VI with following VHDL code living inside HDL node. 
    process( clk, reset )
    begin
    if( reset = '1' ) then
    state_reg <= idle;
    enable_out <= '0';
    elsif rising_edge(clk) then
    state_reg <= state_next; -- result and enable_out follow input by 1 clock cycle
    if( enable_clr = '1' ) then
    enable_out <= '0';
    elsif( enable_in = '1' ) then
    enable_out <= '1';
    end if;
    end if;
    end process;
    process(state_reg,Five,Ten)
    begin
    case state_reg is
    when idle=>
    if (Five="0"and Ten="0") then
    state_next<=idle;
    elsif (Five="1" and Ten="0") then
    state_next<=statefive;
    elsif (Five="0" and Ten="1") then
    state_next<=stateten;
    elsif (Five="1" and Ten="1") then
    state_next<=statedone;
    end if;
    when statefive=>
    if (Five="0" and Ten="0") then
    state_next<=statefive;
    elsif (Five="0" and Ten="1") then
    state_next<=statedone;
    elsif (Five="1" and Ten="0") then
    state_next<=stateten;
    elsif (Five="1" and Ten="1") then
    state_next<=statedone;
    end if;
    when stateten=>
    if (Five="0" and Ten="0") then
    state_next<=stateten;
    elsif (Five="0" and Ten="1") then
    state_next<=statedone;
    elsif (Five="1" and Ten="0") then
    state_next<=statedone;
    elsif (Five="1" and Ten="1") then
    state_next<=statedone;
    end if;
    when statedone=>
    state_next<=idle;
    end case;
    end process;
    process (state_reg)
    begin
    Ten_Deposited<="0";
    Five_Deposited<="0";
    case state_reg is
    when idle=>
    Ten_Deposited<="0";
    Five_Deposited<="0";
    done<="0";
    when statefive=>
    Five_Deposited<="1";
    when stateten=>
    Ten_Deposited<="1";
    Done<="0";
    when statedone=>
    Ten_Deposited<="1";
    Five_Deposited<="1";
    done<="1";
    end case;
    end process;
    Attachments:
    Untitled 3.vi ‏14 KB

    Thanks, NapDynamite. However, you just included your Project (not the actual VI) on the attachment. A good way to include all of the dependencies is to create a source distribution (LLB). 
    Right-click on Build Specifications, select New»Source Distribution
    Under Distribution Settings, select Custom as your Packaging Option
    Check the Destination is LLB box and click OK on the warning.
    Choose the Destination Path where you would like the LLB to be saved
    Click Build to create the LLB, or click OK to save the Build Specifications.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Pop up window with yes & no push buttons

    hi
    i want to display a pop up window with yes & no push buttons
    can anyone help for this

    Hi,
    call function POPUP_TO_CONFIRM
    exporting
    TITLEBAR = pop_up' (for pop-up header)
    TEXT_QUESTION = 'do you want to save data'
    TEXT_BUTTON_1 = 'Yes'
    ICON_BUTTON_1 = ' '
    TEXT_BUTTON_2 = 'No'
    ICON_BUTTON_2 = ' '
    DEFAULT_BUTTON = '1'
    DISPLAY_CANCEL_BUTTON = ' '
    USERDEFINED_F1_HELP = ' '
    START_COLUMN = 25
    START_ROW = 6
    POPUP_TYPE = ' '
    IV_QUICKINFO_BUTTON_1 = ' '
    IV_QUICKINFO_BUTTON_2 = ' '
    importing
    ANSWER = ANS
    OR.
    Use POPUP_TO_DECIDE.
    call function 'POPUP_TO_DECIDE'
           exporting
                defaultoption  = '1'
                textline1      = text1
                textline2      = ' '
                textline3      = text-202
                text_option1   = 'YES'
                text_option2   = 'NO'
                titel          = text-114
                start_column   = 15
                start_row      = 6
                cancel_display = ' '
           importing
                answer         = zanswer.
    hope this helps.
    plz take a look on this function modules also:
    POPUP_TO_CONFIRM_LOSS_OF_DATA Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.
    POPUP_TO_CONFIRM_STEP Create a dialog box in which you make a question whether the user wishes to perform the step.
    POPUP_TO_CONFIRM_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point during an action.
    POPUP_TO_CONFIRM_WITH_VALUE Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.
    POPUP_TO_DECIDE Provide user with several choices as radio buttons
    POPUP_TO_DECIDE_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.
    POPUP_TO_DISPLAY_TEXT Create a dialog box in which you display a two line message
    thanx,
    dhanashri.
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:20 PM
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:25 PM
    Edited by: Dhanashri Pawar on Aug 19, 2008 2:26 PM

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

  • Add custom Push button in ME21N T-Code?

    Dear ABAP Experts,
                    I have a requirement , when the user will create PO(in Standard ME21N t-code) Delivery/Invoice tab user want to add new push button 'NEW_DATA' . When the user click on 'NEW_DATA' Push button then one new screen will appear. In that new screen(which had some input and check box fields which are field manually).
    At the end ,whenever the user click on SAVE Icon then all these new screen details will save in custom (Z or Y) table. 
    How can i do this Issue ?
    Thanks & Regards,
    K.Chinna..

    Dear Sreekanth,
    In SAPLMEGUI program you suggested me that do SHD0 and add GUIXT to add new button.
    What is SHD0 and GUIXT ?
    How can i do this ? please explain me step by step ?
    Regards,
    K.Chinna

  • Push button in one of the columns of Table Control

    Hi,
    I have a requirement, where i have to display a push button in one of the columns of table control for long text. When user clicks on the control, a pop up has to be appeared in which user should be able to enter some meaning ful description and save it. please suggest me how to do this requirement.
    Best Regards,
    Phani Kumar. S

    Hai,
      You can drag n drop a button to the required column in the table control and give the required parameters like ok_code , name etc.
    You can now place a text field as the heading of the column.
    Now when the user clicks the the button in a row, read the corresponding line in which he has clicked.For that u can use
    get cursor lines wrk_line.
    now u'll  get the data in that row using
    Read table it_tab into wa_tab index wrk_line.
    now u can call the text editor (using FM's READ_TEXT ,EDIT_TEXT and CREATE_TEXT in which the user can enter the meaningful description and save it.
    When u save the text entered save it with a key part of the row that was read earlier(keep it as the text name).
    So now if u need to get the description which was entered earlier u can easily read the text (using READ_TEXT ).
    I hope this will be helpful for u .
    Thanks
    Neeraj

  • Can we disable the default push buttons on the ALV Grid

    Hi,
        Can we disable the default push buttons on the ALV
    Grid Control...
        If so, pls send me the procedure...
    thanks and regards
       raghu

    Hi,
    In the PBO:
      PERFORM f9100_exclude_functions USING :
                             i_exclude[]  '&CHECK',
                             i_exclude[]  '&REFRESH',
                             i_exclude[]  '&LOCAL&CUT' ,
                             i_exclude[]  '&LOCAL&COPY',
                             i_exclude[]  '&LOCAL&PASTE',
                             i_exclude[]  '&LOCAL&PASTE_NEW_ROW',
                             i_exclude[]  '&LOCAL&UNDO' ,
                             i_exclude[]  '&LOCAL&APPEND',
                             i_exclude[]  '&LOCAL&INSERT_ROW',
                             i_exclude[]  '&LOCAL&DELETE_ROW',
                             i_exclude[]  '&SORT_ASC',
                             i_exclude[]  '&SORT_DSC',
                             i_exclude[]  '&FIND',
                             i_exclude[]  '&SUMC',
                             i_exclude[]  '&SUBTOT',
                             i_exclude[]  '&MINIMUM',
                             i_exclude[]  '&MAXIMUM' ,
                             i_exclude[]  '&VGRID' ,
                             i_exclude[]  '&VEXCEL' ,
                             i_exclude[]  '&VCRYSTAL',
                             i_exclude[]  '&HTML',
                             i_exclude[]  '&MAINTAIN',
                             i_exclude[]  '&SAVE',
                             i_exclude[]  '&GRAPH',
                             i_exclude[]  '&HELP',
                             i_exclude[]  '&ALL' ,
                             i_exclude[]  '&SAL' .
    *                         i_exclude[]  '&EXCLALLFC'.
    *&      Form  f9100_exclude_functions
    * This form exclude buttons  from the toolbar.
    *      -->P_IEXCLUDE  text
    *      -->P_1150   text
    FORM f9100_exclude_functions USING   pexclude LIKE i_exclude
                                   value(pfunction).
      DATA: l_exclude TYPE ui_func.
      l_exclude = pfunction.
      APPEND l_exclude TO pexclude.
    ENDFORM.                    " f9100_exclude_functions
    This will exculde the default push buttons.
    Let us know if it works for you.
    Regards,
    Anjali

  • How to edit a particular row in the table ctrl when a push button is clickd

    Hi Experts,
    How to edit a particular row (except the Primary keys) after selecting it in the TABLE CONTROL when a
    push button is clicked in the table control.
    For Eg. If you have a push button say "Modify", the particular row what we select in the table control should be in a
    editable mode after clicking "Modify" Push button.
    Please help me out.
    Thanks in advance.

    Hey Ram,
    Thanks a ton.
    Its working fine...sorry for the late reply.
    The reason behind the delay is because i had modified my code as per your logic it worked fine but the thing is that the whole column was in editable mode but not a single row.
    For E.g  If i want to edit a particular row, first i select the row and then  click on "Modify" button. After i click on the button, the whole column gets in a editable mode including the one which i intentionally selected.
    Here, the solution is that you have to set a flag in PBO so that once it is done with PBO then it need not come back again after we click on "Modify" button.
    And one more query is that after you modify a particular row in the table control ( When it is in editable mode) and click on the "Save" button, it is not getting updated to database.
    To update the database, we need to select the row once again after modifying it and click on the "Save" button.
    Here, database is updating only when it is selected again. If it is not selected, it is not getting updated.
    If you have any alternative solution, then please help me out.( I hope i am clear with the question.)
    Thanks,
    Ananth.

  • Push Button on Output Screen

    Hi,
    I am having a requirement in which, I need to display the report, in the output screen I should  have a push button which when pressed the report output should be stored in the Application Layer.
    Thanks and Regards,
      V.K.

    HI Vikram,
    You can create push button in the output list. You have to use SET PF-STATUS statement.
    Just follow these stepts for creation of PUSH BUTTON.
    1. write SET PF-STATUS 'TEST'.
    2. double click on TEST.
    3. It will ask you to create status object. click on YES.
    4. give the short description and press enter.
    5. next screen you will find three things like... MENU BAR, APPLICATION TOOL BAR and FUNCTION KEYS.
    6. click on the down arrow that appears next to APPLICATION TOOL BAR.
    7. in the items, in first box write your name and press down the text. one popup box will come. press enter.
    8. give the function text and press enter.
    9. assign key for your push button. and press enter.
    10. press enter and activate.
    and run your program. you will get push button on output list.
    Adding event for the PUSHBUTTON
    For the pushbutton use an sy-ucomm ie SAVE to appln toolbar
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'SAVE'.
    write your code here to save in the appln server
    Edited by: Raj on Jun 26, 2008 7:32 PM

  • Event in ALV For Extra  Push Button Added

    Hello Guys,
    I have created an ALV and with the help of u people I have successfull to add new button (push button) in it with following procdure.
    a) New PF-STATUS is required , say 'ABCD'.
    b) Handle user_commmand
    2. First of all, from Function group SALV,
    copy the STANDARD gui status to your program,
    from SE80, by right clicking.
    3. come to your program.
    start-of-selection.
    SET PF-STATUS 'ABCD'.
    4. Double click ABCD and activate the gui status.
    4. In gui status,
    add/change your own buttons
    Save and activate.
    after that, you should be passing the name of the pf-status in the alv grid fm..
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SAT_REPID
    I_CALLBACK_PF_STATUS_SET = 'abcd'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    IS_LAYOUT = SAT_LAYOUT
    IT_FIELDCAT = SAT_FIELDCATALOG[]
    IT_EVENTS = SAT_EVENTS[]
    TABLES
    T_OUTTAB = ITAB_FINAL
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    make sure there is a form ABCD in your program...
    FORM abcd USING P_EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'abcd' EXCLUDING P_EXTAB.
    ENDFORM. 
    Now I have given name of push button as show . My requirement is when users select one row (First I have to identify any row selected or not , if not Error message should be display) and with respect to the selected row I have to show one more ALV contain the billing details of the sales order Row Selected.
    My question is ..
    1.  Is is possible to add a option button with respect to each sales order to  identify    the which row is selected.
    2. How I code to get the event of show push button.
    3. At the event I required the Selected Row data, not first column only.
    Please do the needful.
    Thanks
    Swati....

    Hello Shiba ,
    Really Thanks for Code, Porgram is actviated but after pressing the show button it giving dump.
    the message in the dump is <b>Type conflict when calling a FORM.</b>
    I have define field catalog like this.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
       I_CALLBACK_PROGRAM                 =  w_repid
       I_CALLBACK_PF_STATUS_SET           = 'STANDARD'
       I_CALLBACK_USER_COMMAND            = 'USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = 'p_header1'(001)
       I_CALLBACK_HTML_TOP_OF_PAGE       = 'p_header1'(001)
       I_GRID_TITLE                      = 'Outstanding Agewise Customer Report'
       IT_FIELDCAT                       = IT_FIELDCAT
       it_events                         =  it_events
    TABLES
          T_OUTTAB                          = t_fit
    and form i have define like this
    FORM USER_COMMAND using pucom like sy-ucomm extab type slis_extab.
    data : selfield type slis_selfield .
      CASE pucom.
      WHEN 'SHOW'.  "(this is the function code of ur button)
      if selfield-fieldname = 'VBELN'.
          Perform Show_data using selfield-value.
      elseif selfield-fieldname  = ' '.
          MESSAGE E015(ZMO) WITH 'Please select One Row'.
      endif.
      ENDCASE.
    ENDFORM.
    When i have debug the program, I found it will not executing my code , the progrm goes to execute one Stranded code with following name..
    form user_command using r_ucomm type sy-ucomm
                            r_refresh
                            r_exit
                            rs_stable type lvc_s_stbl.
      data: ls_selfield type slis_selfield.
    On this form my program is giving me dump on following line.
    >>>>>   rs_stable-row = ls_selfield-row_stable.
    1103   rs_stable-col = ls_selfield-col_stable.
    Please tell me what the problem and how to resolve the same.
    Regards
    Swati...

  • Displaying internal image on a push button

    Hi,
    I am running oracle forms 11.1.2.0.0.
    I create a push button and under object property make it an iconic yes
    and under iconic file name I have "java/oracle/forms/icons/save.gif"
    During run-time it displays a image but it is not of save, it is an image of badimage.gif
    Even if I change save.gif to print.gif it is same result.
    What am I missing?
    Thanks
    Munish

    Munish wrote:
    Hi,
    I am running oracle forms 11.1.2.0.0.
    I create a push button and under object property make it an iconic yes
    and under iconic file name I have "java/oracle/forms/icons/save.gif"
    During run-time it displays a image but it is not of save, it is an image of badimage.gif
    Even if I change save.gif to print.gif it is same result.
    What am I missing?
    Hi Munish
    Do you read {thread:id=2513867}

  • Report Out put by Push Button ???

    Hi SAP-ABAP Experts .
    Boss Please suggest me that i have to create a Screen in which only one Push Buton ,
    As user Click this Push Button , a report should run and give it's output , the point is how selection screen will get a
    perticular input when user will click this Push Button .
    How to do this Boss .?
    For Ex : program's Selection Screen has two input parameters
                                                             A = 5
                                                             B = 4
                                  output of the report : C = 10 .
    Requirement is when user click Puch Button , it will get out put C = 10 .
    My Best Regards : rajneesh .

    Hi,
    Use Module pool program for this.
    SAP ABAP Tutorial: Module Pool Programming. Part 2
    Once the program 'ZSALESORDSCREEN' is created Saved and Activated, run Transaction SE51.
    Enter screen number '9000'
    Screen numbers can be up to 4 characters long, all of which must be digits. Screen numbers from 9000 are reserved for customer-specific screens.
    In the Screen Painter enter a short Description and Activate the screen.
    Once this is done you will be presented with a screen that will have three tabs, namely Attributes/Element List/Flow Logic
    Click on Element List and type Ok_Code and Activate.
    Now click on Flow Logic.
    You should see the following code in the Flow Logic.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9000.
    Create MODULE STATUS_9000 by double clicking on it.  The following code will be automatically created.
    INCLUDE ZSALESORDERTOP                          .                      "
    INCLUDE ZSALESORDERO01                        .                    *
    INCLUDE ZSALESORDERI01                          .                    *
    INCLUDE ZSALESORDERF01                          .                    *
    *&      Module  STATUS_9000  OUTPUT
          text
    MODULE STATUS_9000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_9000  OUTPUT
    Uncomment the following code.
      SET PF-STATUS 'ZSALES'. -
    Menu Bar for the custom Sales Order Screen.
      SET TITLEBAR 'ZSL'.       -
    Title.
    Give appropriate names to PF-STATUS and TITLE BAR. Once the code is uncommented and the appropriate names are given. Double click on the name ZSALES. Once you see the prompt click on create object.
    You will see the following three options in the resulting screen.
                                                                                    Menu bar                                     Status for Sales Order Screen                                          
    Application toolbar                      Status for Sales Order Screen                                          
    Function keys                              Status for Sales Order Screen
    Click on the Function Keys Drop Down Box. You will see the Standard Tool Bar with Icons that you normally see in the SAP Screen.
    Enter the following values in the empty fields.
    Standard Toolbar                                                                               
    Ente     SAVE     BACK     EXIT     CANCEL    PRINT     FIND     FINDNEXT   FIRSTPAGE  PREVP     NEXT    LAST
    Activate the PF-STATUS.
    You will be prompted to enter the Function Text and Info Text for the button Enter.
    Please enter the following values.
    Function Text   'Ente'
    Info Text          'Enter'
    Execute Transaction SE80 and Activate the complete program by right clicking on it.
    We will now create a transaction code for our program. To create a transaction code right click on the main program and from the pop-up menu select Create-----Transaction.
    In the dialog box enter the following values.
    Transaction Code     'ZSALESORD'
    Short Description     'Create Sales Order'
    And Click on Save.
    You will now be asked to enter Program name and Screen Number. Enter the following values.
    Program         ZSALESORDSCREEN
    Screen            9000  
    Save and Activate the Program
    Now we need to enter code to create the Sales order. We also need to create the Screen Elements.
    In transaction SE80 in the left pane click on Screens and then double click on 9000.
    Now from the menu click on LAYOUT button.
    We need to create Labels and Text Boxes for the following fields.
    Filed  (Label Display)          Label Name              TextBox Name         Def Length
    Order Type                           lblordtyp                     txtordtyp                               2
    Sales Org                             lblsalesorg                  txtsalesorg                            4
    Distribution Channel            lbldistchnl                   txtdistchnl                             2
    Division                                lbldiv                           txtdiv                                    2
    Sold-to Party                        lblsoldto                     txtsoldto                            10
    Ship-to Party                        lblshipto                      txtshipto                            10
    Purchase Ord                       lblpurchord                 txtpurchord                        10
    Material                                lblmat                          txtmat                                18
    Quantity                               lblqty                           txtqty                                 13
    We also need to create a command button as follows
    Label                                 Name
    Create Order                     lblcreateord
    We will now look at the property box which is displayed after double clicking on each screen element.
    Order Type (Label)
                       Name                  lblordtyp
                       Text                    Order_Type
    Order Type (Text Box)
                       Name                  txtordtyp
                       Text                   
                       Def. Length         2
    Similarly fill the Property box for other fileds
    Important
    Property Box for Command Button in this case the Function Code is important
    Create Order  
                               Name                  cmdord
                               Text                    Create Order           
                               Fct Code             ORDE

  • Text Items And Push Buttons Created on a customized form does not appear.

    Hi,
    I created a custom form and attached it to ebs. The form opens without any error.
    I had 3 text items and 2 push buttons with proper property class applied to them. But I am only able to see the prompt of the first text item. All the other widgets are not visible. What could be the possible cause for this.
    Deepak

    How are you running the form? Have you deployed it properly and attached it to a menu/form function and are viewing it within EBS?
    Did you open the TEMPLATE.fmb form and save a copy of it as the starting point for your custom form?
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Adding more Push buttons in Status Flow of Objective Settings & Appraisals

    Hi,
    In my Template Design, under status flow tab, we are able to create new push buttons.
    SAP is allowing, to create only upto 3 push buttons per outbound status/sub-status combination.
    In our application, we need 5 push buttons in one of the outbound status/sub-status.
    Can any expert suggest me what should I do?
    Advanced thanks
    Regards
    Raghu K

    Raghu,
    The "NEXT STATUS" field specifies the status(save &leave or save &display), but you're talking about the status flow change, which is very much possible with in the same tab "Status Flow".
    There is a filed called Pushbutton, this is where you select the pushbutton for the form to change the status flow. This staus flow change you can define in the field "TARGET STATUS", if you have any substatus in that status you can define that in " TARGET SUBSTATUS".
    I hope this helps.Award points if this resolves your issue.
    Regards
    Ramakrishna Ramadurgam

Maybe you are looking for

  • There is a billing problem with a family member's previous purchase

    I recently updated my credit card expiration date and CID.  This credit card is the authorized shared payment medium for my "family" group. I am the family organizer and two other individuals are "adults". Now, when attempting to update applications

  • Can't get rid of the # when adding text

    I'm trying to edit a document in Indesign. I started by doing a Pre-Flight to correct errors and have one left I can't get rid of. Originally the Text Error was for a font that ID could not find so I changed the font to what was already being used fo

  • Converting XML string to Element Type

    Im receiving an XML document as a String. I have defined an element whose message type is of the same schema as the XML String. How can i assign this string to this element in BPEL? im using the setVariable function as follows: setVariableData("Custo

  • Scheduling Agreement u2013 Subcontracting

    Hi All, I have Issue for following process. 1. I Created Scheduling Agreement with item category L (Subcontracting) for Material Fin001 2. I also created BOM for Fin001and Fin001 BOM component is sem001.  3. When I issuing a material sem001 to subcon

  • ICloud service send schedule invitation without my permission.

    iCloud service send schedule invitationwithout my permission. Yesterday was the first time using iCloudand it was the worst experience on it. It actually scared me.  I wantedto sync up my office schedule other than iTune because sometimes I forgot pl