Supressing F4 dialog Box

Hi All,
I have an external application in .NET which calls RFC "RHF4_RFC_FIELD_VALUE_REQUEST" to get the F4 help for the required field in SAP.
Following import paramters are supplied to get help values of material:
TABNAME                         RMMG1
FIELDNAME                       MATNR
SEARCHHELP                    MAT1
SHLPPARAM
DYNPPROG                        SAPLMGMM
DYNPNR                              0060
DYNPROFIELD                     RMMG1-MATNR
STEPL                                  0
SUPPRESS_RECORDLIST   X
My question is executing this RFC, gives out a selection pop-up, clicking Ok gives back the results. I do not need this pop-up. How can i do that, is there any other known FM to you which can give back the list without selection pop-up?
Regards
Munish Garg

My requirement is not to have custom coding. I need standard RFC/RFM which can solve the purpose.
I am supplying following paramters to RFM - RHF4_RFC_FIELD_VALUE_REQUEST
TABNAME                =         RMMG1
FIELDNAME              =         MATNR
SEARCHHELP          =          MAT1
DYNPPROG             =          SAPLMGMM
DYNPNR                  =          0060
DYNPROFIELD         =         RMMG1-MATNR
STEPL                      =         0
SUPPRESS_RECORDLIST     =     X
CALLBACK_PROGRAM        =    YZ_MG_TEST11
RETURN_ALL_FIELDS           =    *
This is supressing the output list but not the pop-up which comes for selection. Please help
Regards
Munish Garg

Similar Messages

  • To supress print dialog box

    HI all,
    here i kept my smartform in a loop.
    i have to supress my print preview dialog box .
    can any one please give me the parameters to pass
    wtih regards
    anand

    Hi,
    please check this
    In the SSF_OPEN function module,
    Set the OUTPUT OPTIONS paramter TDDEST to your printer name.
    Set the CONTROL PARAMETERS and control parameters as shown below,
    control-preview = 'X'.
    control-no_open = 'X'.
    control-no_close = 'X'.
    control-no_dialog = 'X'.
    control-device = 'LP01'.
    control_parameters-no_dialog = 'X'.
    control_parameters-no_open = 'X'.
    control_parameters-no_close = 'X'.
    OUTPUT_OPTIONS-TDDEST = 'LP01'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    CALL FUNCTION 'SSF_OPEN' 
    EXPORTING   
    output_options     = output_options   
    control_parameters = control  
    user_settings      = ' '
    EXCEPTIONS   
    formatting_error   = 1   
    internal_error     = 2   
    send_error         = 3   
    user_canceled      = 4   
    OTHERS             = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Best regards,
    raam

  • Supressing Parameter dialog box on Refresh Report

    After some tinkering, I've figured out how to get a parameter passed from a VB.NET form to a Crystal Report:
    Dim paramFields As New CrystalDecisions.Shared.ParameterFields()
    Dim paramField As New CrystalDecisions.Shared.ParameterField()
    Dim discreteVal As New CrystalDecisions.Shared.ParameterDiscreteValue()
    paramField.ParameterFieldName = "MyDateRange"
    discreteVal.Value = Common.MyDates
    paramField.CurrentValues.Add(discreteVal)
    paramFields.Add(paramField)
    crvBalances.ParameterFieldInfo = paramFields
    This works just fine when the report is first opened in the Crystal Report Viewer.  If I open the report a second time, however, using a different parameter, the old data is still on the report, and when I click the Refresh button in the report viewer, up pops that Parameter dialog box.  I set the option to discard any saved data when loading the report, but that didn't help at all.  Is there a way to KEEP the parameter dialog box suppressed and be able to refresh the report?
    I'm running Visual Studio 2008, and using the version of Crystal that comes with same.  Any help anyone can provide would be greatly appreciated.

    I am not sure I quite understand the flow, but here is my view of it:
    Load report
    Enter parameters
    View report
    Close report
    Re-load the same report
    Re-use the parameters entered in (2) above
    View report
    For ensuring that the previous data is not on the report (e.g.; step (3)), make sure that the report is disposed correctly ( use .close and .dispose on the report object). As long as the "Saved Data" option is not enabled (see KBA 1984381), the report should not have any data on re-use.
    Re-using the same parameters as you used in (2) will require that you somehow save what the user entered and on second load of the report, step (5) you enter those parameters in your code. There are no CR APIs that will do this for you.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to supress the dialog box in smartforms

    Hi Experts,
    Can any body tell how to supress the dailog box while executing the smarform.
    valid answers will be rewarded.
    Thanks,
    Satish.

    data p_out like ssfcompop.
    Look at smartform function module,there could be option like
    p_out-tdnoprev = 'X'.
    pass p_out to smartform function module

  • Supress Printer Dialog box (Operating System) in Payslip Printing

    Hi All,
    I have design the smartform to print the payslip. In the main window i have created the loop and then  desing the templates to display the details of employee and the wage types.I have only one page in it. I have develop the print program to call the smartfform. But when i try to print the payslip for number of employees the printer dialog box (Operating system Level) is appearing for the number of times the employees i have selected.I am able to suppress the Print Preview dialog box from SAP it is not showing and i have given the parameters to print immediately.But the Problem i am facing is if i select 3 employees the printer dialog box is coming 3 times. i have to click 3 times to print the payslips .
    Mustafa

    Hi,
    Please find the code below. I have made the changes but agian it is asking for the printer dialog box for the number of times the employees i have selected.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
       formname                 = 'ZHR_F_MMG_PAYSLIP'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = V_FM_NAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    loop at i_payslip_details.
      gv_control-no_dialog = 'X'.
      gv_control-no_open   = 'X'.
      gv_control-no_close  = 'X'.
      I_SSFCOMPOP-TDDEST = 'ZMMG_Print'.
    I_SSFCOMPOP-TDNEWID = ''.
    I_SSFCOMPOP-TDNOPREV = 'X'.
      AT FIRST.
        gv_control-no_open = ''.
        endat.
        AT LAST.
          gv_control-no_close = ''.
          ENDAT.
    CALL FUNCTION V_FM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = gv_control
       OUTPUT_OPTIONS             = I_SSFCOMPOP
      TABLES
        I_PAYSLIP_DETAILS          = I_PAYSLIP_DETAILS
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.

  • How to supress dialog box when calling smartforms and just create a spool..

    Hello Experts,
    I want to supress the dialog box where you can print preview or print your smartforms. What
    I want is to just create a spool file for this one. Think of it as smartforms running in background.
    Thank you guys and take care!

    Hi again Vishwa,
    I modified my code according to your last reply but it still wouldn't work. The dialog still pops up without the print and print preview buttons. Below is my code:
    MOVE 'X'    TO ltyc_control-no_open.
        MOVE 'X'    TO ltyc_control-no_close.
        MOVE 'X'    TO ltyc_control-no_dialog.
        MOVE 'X'    TO ltyc_options-tdnewid.
        MOVE 'X'    TO ltyc_options-tdnoprev.
        MOVE 'X'    TO ltyc_options-tdnoprint.
        MOVE 'LOCL' TO ltyc_options-tddest.
        MOVE space  TO ltyc_options-tdimmed.
        CALL FUNCTION 'SSF_SHOW_DIALOG'
          EXPORTING
    *        ARCHIVE_PARAMETERS         =
            user_settings              = ''
            output_options             = ltyc_options
            control_parameters         = ltyc_control
    *        OK_BUTTON                  = ''
          IMPORTING
    *        E_ARCHIVE_PARAMETERS       =
            e_output_options           = ltyc_options
            e_control_parameters       = ltyc_control
          EXCEPTIONS
            formatting_error           = 1
            internal_error             = 2
            send_error                 = 3
            user_canceled              = 4
            OTHERS                     = 5.
        IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname                 = lcc_z2574ffi_ra_cimb
    *        VARIANT                  = ' '
    *        DIRECT_CALL              = ' '
          IMPORTING
            fm_name                  = ltyc_function
          EXCEPTIONS
            no_form                  = 1
            no_function_module       = 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.
        CALL FUNCTION ltyc_function
          EXPORTING
            control_parameters = ltyc_control
            output_options     = ltyc_options
            user_settings      = ''
            im_adrnr           = gtyc_adrnr
            im_name1           = gtyc_name1
            im_name2           = gtyc_name2
            im_str_suppl1      = gtyc_str_suppl1
            im_str_suppl2      = gtyc_str_suppl2
            im_str_suppl3      = gtyc_str_suppl3
            im_post_code1      = gtyc_post_code1
            im_city1           = gtyc_city1
            im_vblnr           = gtyc_vblnr
            im_zaldt           = gtyc_zaldt
            im_swnes           = gtyc_swnes
          TABLES
            im_regup           = gt_regup
          EXCEPTIONS
            formatting_error   = 1
            internal_error     = 2
            send_error         = 3
            user_canceled      = 4
            OTHERS             = 5.
        IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Edited by: Viraylab on Nov 26, 2008 10:55 AM

  • How to supress dialog box in SUBMIT (Program_name) clause

    Hello Experts,
    statement like this:
    SUBMIT RKACOR04  using SELECTION-SET 'TEST' EXPORTING LIST TO MEMORY
                  AND RETURN .
    but during the process there is a dialog box which prevend automatic processing. is it possible to supress the dialog box via additional clause?
    Thanks

    Are you sure you want to use this report, it is not intended for a regular/periodic use, this program adjusts total and detail records in CO tables in case of difference
    Use RKACOR04 only with support from the SAP Hotline service or from an expert consultant for CO data structures.
    also
    SAP recommends running the report in the background.
    You should correct the cause of dysfunction, and then only run once this report when actually needed, also read the OSS notes on this report.
    Regards,
    Raymond

  • FTP Upload - Replace File Dialog Box

    Hi,
    Am running LR3 on Vista 64, and using FTP export via the FTP Publisher plugin now available.
    In principle everything is working fine, but if I am updating existing files, then for each and every file a LR dialog box pops up asking if I want to replace the file on the server.
    There is no option for 'Replace all' so it becomes a rather tedious task of sitting in front of the PC whilst the upload takes place and accepting each file - not much fun with around 400 files.
    Does anyone know if there is a way to supress this dialog box? Have tried using Passive, Enhanced Passive and Not Passive n the FTP settings, but makes no difference.
    Thanks for any help,
    Andy.

    If using the LR FTP to overwrite an existing gallery the usual behaviour should be for LR to ask once if you intend to overwrite the whole gallery, not for each separate file. Perhaps you should try resetting the warning dialogs in the preferences menu and see if this returns the warning to its usual function.

  • How to suprress the dialog box when we run the URL in the IE

    Hi,
      Is there any way to supress the dialog box which will ask for userid and pwd of the current SAP Box from where its being executed.  Even if we enter the URL of the BSP application in the internet explorer I am getting the popup box for userid and pwd.
    Regards
    Ganesh

    Hi,
    You can supress the dialog box by entering default user ID and password in the application node in your SICF transaction. This is hardcoding sort of method.
    Other way is like this,
    Go to the BSP application SYSTEM. Execute the the page "sso2test.htm " to test the Single Sign on.
    Pass on the User name & password via the URL as follows,
    http://<host>:<port>/sap/bc/bsp/sap/system/sso2test.htm?sap-user=myName&sap-password=myPassword&sap-client=myClient
    If single Sign on is enabled then the BSP page will not ask for a password.
    The same thing you can follow in your own BSP application.
    If SSO is not enabled then you need to go to the RZ10 transaction change the following parameters.
    login/create_sso2_ticket
    login/accept_sso2_ticket
    login/ticket_expiration_time
    Look at this link it would be helpful,
    http://help.sap.com/saphelp_webas620/helpdata/en/5c/b7d53ae8ab9248e10000000a114084/frameset.htm
    Hope this solves the problem. For further quiries pls revert back.
    Regards,
    Ravikiran.C

  • How can I supress a Windows dialog box programmatically in LabView?

    I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that results from the crash. Does anyone know how to do this?
    Thanks so much for your time!

    The program rarely crashes - it is running in the background for the entire day and we just want to ensure that it is monitored and restarted in case of a crash. We also don't want the user to be bothered with the program error messagebox that pops up saying that an error log is being created. The program crashes when too many programs are running at the same time - so the problem isn't a huge one. I was just wondering if it was possible to stop this program error message from appearing by programmatically selecting the okay button or by suppressing the message entirely?

  • How to remove the default icons from the toolbar of modal dialog box screen

    Hello Friends,
    Iam calling a screen from function module using CALL SCREEN statement.
    The screen is of type Modal Dialog Box. I created some input fields and buttons in the screen. When the screen is displayed, I can see the tool bar at the bottom along with the input fields and buttons in the screen.
    These icons are Continue(Enter), Check, Cancel. How can I supress this??
    I mean in my screeen I want only my input fields and buttons but not the default toolbar. How to do that?
    Regards,
    Raju

    Hi Raju,
    Try this...
    First try to capture the F-codes of ur button apppearing on the dialog box and then exclude it from the PF-status by passing it to itab.
    types: begin of tab_type,
            fcode like rsmpe-func,
           end of tab_type.
    data: tab type standard table of tab_type with
                   non-unique default key initial size 10,
          wa_tab type tab_type.
    clear tab.
    move 'DELE' to wa_tab-fcode.
    append wa_tab to tab.
    move 'PRIN' to wa_tab-fcode.
    append wa_tab to tab.
    set pf-status 'STA3' excluding tab.
    Cheers,
    Simha.
    Reward all the helpful answers..

  • Can the save as dialog box be over-ridden?

    Is it possible to use the SDK to supress the Save As dialog box that appears when doing a digital signature?
    Over-riding the regular Save As menu via replacing the AVDocDoSaveAsSEL HFT doesn't seem to have that effect.

    Our company does online Document Management for accounting firms. One of the firms uses signatures to mark a return as finished / reviewed by a partner before going out to the IRS. They wanted to have an option to have the Save As skipped because they're going to upload the document afterwards anyway.

  • Duplicate layer dialog box

    in config. i want to have a DUPLICATE LAYER button just
    immediately create a duplicate layer, so its a oneclick process,
    but instead it pops up a dialog box for me to name the new layer,
    which i dont want to do, and it makes config. not be more efficient
    then dragging a layer to the new layer icon in my layers panel to
    create a duplicate layer.
    does someone know what extra coding i could add, or whatever
    it takes so that a DUPLICATE LAYER button in config. will
    immediately add a dup layer?
    tx for any input
    gg

    ahh, thats perfect! thank you greatly, so now i know anytime
    i want to supress dialogs just to change the DialogModes
    thats handy and i hope it helps others anytime they need to
    supress dialogs (perhaps a checkbox option to automatically enable
    things in configurator to show dialogs or supress them would be
    handy).
    now if you can figure the puzzle of how to add extra
    keystrokes to commands as i am now trying to get the MERGE VISIBLE
    to work with an extra ALT keystroke so i can have it do a MERGE
    VISIBLE ON NEW LAYER instead of MERGE VISIBLE (converting a
    sht+ctl+e into a sht+ctl+alt+e which i use alot)
    thanks again!
    gg

  • How to dispose the modal dialog box

    hi all
    can any one please tell me how to supress the modal dialog box.
    Means iam triggering the a new pop up (modal dialog box) after this
    when iam click ok or cancel buttons on this modal dialog box it is not returing to
    the screen from where it is tiggering. Can any one tell how to achieve this.
    what r the statements i have to write for this in the PAI.

    HI,
    in PAI u have to write like..
    CASE OK_CODE.
    WHEN 'OK'.
    UR CODE.........
    WHEN 'CANC'.
       SET SCREEN 0.
       LEAVE SCREEN.
    OR
       LEAVE TO SCREEN XXX. " UR CALLING SCREEN NUMBER
    ENDCASE.
    Pls close the thread if the problem is solved and reward to all helpful answers.
    Regards
    SAB

  • Any way to see ICONS in Open and Close Dialog boxes?

    Is there any way to see ICONS in Open and Close Dialog boxes, instead of just lists of items names?
    I know you can preview one at a time, but I'd love to see all my artwork as picture icons, just as you can in a finder window.
    Windows does this, but not OSX that I know of. Is there a third party app that enables you to see icon view in the Open and Close Dialogs?

    Thank you Steve Jobs. I guess that feature has been added in Leopard. Now there really is nothing that I'll miss from Windoze.

Maybe you are looking for