Suppressing an F4 help dynamically

Hi all,
I have a DDIC search help assigned to a field in a table control. Based on a condition, I would like to suppress this F4 help for some cases. I have tried loop at screen and setting value_help = 0 but I still get to see the F4 help for all cases. Is there something else to be done?
I do not want to use process on value request since my search help is already available.
Any help is greatly appreciated. Thank you.
Regards
Nithya

Hi..
This code works for ur req.
TABLES: SPFLI.
PARAMETERS : P_CARR TYPE SPFLI-CARRID.
SELECT-OPTIONS : S_CONNID FOR SPFLI-CONNID.
DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
<b>   IF SCREEN-NAME = 'S_CONNID-LOW'.
      SCREEN-VALUE_HELP = 0.
      MODIFY SCREEN.
   ENDIF.</b>
ENDLOOP. 
Are u using MODIFY SCREEN. Plz check.
Reward if it helps.

Similar Messages

  • Calling search helps dynamically in module pool program

    Hi Experts,
    I have created two search helps. I need to call these search helps in my module pool program dynamically for a single field (i.e ZMATNR).
    you might be known... if it is a single search help, we can assign that in field attributes.
    But here... I need to call different search helps for a single field based on the condition.
    Pls help me.
    Thanks
    Raghu

    Hi,
    Use the below function module and  pass the search help created in search help field according to the condition.
    Process on Value-request.
    if condition = A.
    call function " F4IF_FIELD_VALUE_REQUEST"
    TABNAME           =                                                         
    FIELDNAME        =                                                       
    SEARCHHELP     =  "Mention search help created                                                          
    Elseif  Conditon =B.
    call function " F4IF_FIELD_VALUE_REQUEST"
    TABNAME           =                                                         
    FIELDNAME        =                                                       
    SEARCHHELP     =  "Mention search help created      
    Endif.
    Regards,
    Prabhudas

  • ABAP Help: Dynamic Selection Screen

    Hi,
    I have a requirement to be able to pick the list of fields in a selection screen. (List processing)
    Similar to SE16 choosing "fields for selection".
    I've debugged SE16 and realized it deletes the report and regenerates a new report with the updated selection screen.
    I could not do the same as it will also delete all the variants users have created in the report.
    Has anyone done something similar before?
    What is the best approach for this scenario?
    Regards,
    Michael Pang

    Hi Michael
    Hoping you have solved your problems with ALVs, I think it may be helpful to inspect FMs <b>"FREE_SELECTIONS_INIT"</b> and <b>"FREE_SELECTIONS_DIALOG"</b> for this issue. They have some <i>Function Module Documentation</i>.
    If you are dealing with logical databases, then only in the INCLUDE program DB<i>ldb</i>SEL of logical database <i>ldb</i>, you can use some selection-screen definition variants as:
    1.SELECTION-SCREEN BEGIN OF VERSION vers TEXT-xxx.
    2.SELECTION-SCREEN END OF VERSION vers.
    3.SELECTION-SCREEN EXCLUDE ... .
    4.SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab.
    5.SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab.
    6.SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE node.
    7.SELECTION-SCREEN FIELD SELECTION FOR NODE node.
    You can get more info from SAPHelp for these...
    *--Serdar

  • Attaching Search helps dynamically to an attribute

    Hi ,
    I have a requirement where I would like to attach search help to an attribute dynamically in WD ABAP .
    Is it possible to attach a search help with respect to some condition dynamically at runtime .
    Best Regards
    Sid

    Hi Thomas,
    My scenario is as follows:
    I have a table control with around 5 columns. The first column has a F4, based on the value selected there the F4 attached to the second column needs to change dynamically. Eg: Initially the F4 attached initially is /kyk/h_ctr and then it should get changed to /kyk/h_order.
    These columns are mapped to Component Controller attributes.
    Based on your reply yesterday I implemented the same in one of my view methods. The value does get changed but it doesn't reflect in the front-end, it still shows the initially attached F4 instead of the new one. What else do I need to do?

  • Calling search helps dynamically

    Hi all,
    I have two search helps. I need to call these search helps in my Application dynamically for a single field (PARNR) based on PARVW.
    If it is a single search help, we can assign that in field attributes.
    But here... I need to call different search helps for a single field based on the condition.
    Pls help me.
    Thanks
    Kiran

    Hi Kiran,
    I Think by using OVS help u can acieve this, using WDR_OVS as used component.
    here examples... check
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac
    /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    Cheers,
    Kris.
    Edited by: kissnas on Mar 26, 2011 5:17 AM

  • Help: dynamic converter

    hi, expert stellent users,
    im new to oracle ucm,
    i already installed content server 10gr3 on windows 2003
    and i want to test the functionality of dynamic converter component.
    i already enabled the component and restarting content server and web server,
    but when click on context menu on some content,
    there is no link for "html rendition" as is described in the dynamic converter docs.
    and please can someone give me simple step by step guide,
    to test this feature. the scenario is that i've a word document
    and want to convert it to html.
    here's my proposed steps, correct if im wrong:
    -install a dc template, there's some samples there, but which file i should use, and how do i entered it to the system
    -making a rule for coversion mapping (is this needed ? )
    -check in a sample word document
    -preview the html version
    can someone help me with the detail steps
    thank you in advance.

    thanks jstortz for your explanation,
    i also have configured how to do it
    i hope this helps anyone who may have the same problem.
    enabling dynamic converter 10gR3:
    -install dc converter component using component wizard
    -enable it
    -restart content and web server
    -login to idc using sysadmin
    -go to adminstration > dc admin
    -check in existing template:
    select samples from [csinstall] folder: eg: C:\oracle\ucm\server\custom\DynamicConverter\samples
    note that you need to upload 2 type of template: GUI template and Layout template
    -go to template selection rules
    add new rule,
    set matching criteria based on file type
    and set the gui template and layout template using templates that previously checked in before.
    -go to dc configuration settings
    on conversion formats field: select file types (separated by comma) that
    you would like to enable dc with (this will set the "html rendition" feature enabled on that file).
    done..

  • Help Dynamic pdf generation

    please help to generate dynamic pdf which show data of database.

    Look at the URLS below:
    Creating PDF, RTF or HTML document from a Java class at runtime
    http://www.java-tips.org/content/view/130/29/
    How to connect MySql Server using JDBC
    http://www.java-tips.org/content/view/808/29/
    How to view database data in PDF format using servlets
    http://www.java-tips.org/content/view/850/74/
    The example in "How to view database data in PDF format using servlets" is for servlet, but you can easily replace that for desktop application.

  • Help - Dynamic ALV

    Dear all,
      I made some changes to this sample program from The specified item was not found.
    My requirement now is the field-symbol should be generated from the internal table.
          FORM CREATE_TABLE                                             *
          Create dynamic table                                          *
    FORM CREATE_TABLE USING MY_TAB TAB_NAME.
      DATA L_STUFF TYPE TY_STUFF.
      CREATE DATA DATAREF TYPE (MY_TAB).
      ASSIGN DATAREF->* TO <FS>.
      DESCR_STRUCT_REF ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <FS> ).
      CLEAN_TABLE IT_FIELDCATALOG.
      LOOP AT DESCR_STRUCT_REF->COMPONENTS ASSIGNING <COMPONENT>.
        WA_FCAT-FIELDNAME     = <COMPONENT>-NAME.
        WA_FCAT-REF_TABLE     = MY_TAB.
        WA_FCAT-REF_FIELD     = <COMPONENT>-NAME.
        APPEND WA_FCAT TO IT_FIELDCATALOG.
      ENDLOOP.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = IT_FIELDCATALOG
        IMPORTING
          EP_TABLE                  = DATAREF
        EXCEPTIONS
          OTHERS                    = 1.
      ASSIGN DATAREF->* TO <DYN_TABLE>.
      L_STUFF-TABNAME = TAB_NAME.
      CREATE DATA L_STUFF-TDREF LIKE LINE OF <DYN_TABLE>.
      ASSIGN L_STUFF-TDREF->* TO <DYN_WA>.
    ENDFORM.                    "CREATE_TABLE
    Anybody pls shows some light?
    i've tried using  LVC_FIELDCATALOG_MERGE , REUSE_ALV_FIELDCATALOG_MERGE ,LVC_TRANSFER_FROM_SLIS
    but to no avail.........pls help,thank you.

    DESCR_STRUCT_REF ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <FS> ).
    CLEAN_TABLE IT_FIELDCATALOG.
    "<--Are you getting the components in this, is the loop success....check it once also change the fieldcatalog code..
    LOOP AT DESCR_STRUCT_REF->COMPONENTS ASSIGNING <COMPONENT>.
    wa_fcat-fieldname = <component>-name .
        wa_fcat-datatype = <COMPONENT>-_kind.
        wa_fcat-inttype = <COMPONENT>--type_kind.
        wa_fcat-intlen = <COMPONENT>--length.
        wa_fcat-decimals = <COMPONENT>--decimals.
    APPEND WA_FCAT TO IT_FIELDCATALOG.
    ENDLOOP.

  • Please Help -- Dynamic Text Wont Load :-(

    Hi Gang,
    I've just written a quick mail form in Flash8Pro/PHP - the
    user enters their contact details & a message, and it sends it
    off to the specified email address.
    The feature works fine for the most part, but there's one
    little problem. The dynamic text field that confirms the message
    has been sent successfully isn't working properly. I'm using the
    following php code to send dynamic text back to the flash document
    saying the message has gone through OK:
    print "sendresult=Message Sent!";
    where sendresult is the name of the dynamic text field's
    variable.
    The strange thing is that the code works fine if the
    sendresult dynamic text field is inserted into the main flash
    document. It's only when I put the sendresult field into the movie
    clip that holds the flash mail form (including the button with the
    loadvariablesnum command), that the text won't update at all. I've
    tried:
    print "_root.enquirypage.sendresult=Data Sent!"
    and
    print "enquirypage.sendresult=Data Sent!", but neither of
    those make any difference.
    Any suggestions? Anybody know what's causing this problem?
    Any help would be very very appreciated - I know I could probably
    get around this by just setting the visibility of the dynamic text
    field on & off when necessary and keeping it in the main flash
    doc, but I'll be using this feature quite a lot and I'd really like
    a proper/versatile solution. In case it's necessary, the
    actionscript that sends the message off to the php is just:
    loadVariablesNum ("form.php", 0, "POST");
    Many thanks in advance gang,
    - Jay

    Your code loadVariablesNum ("form.php", 0, "POST"); will load
    your variable sendresult in level 0 - the main timeline. If you put
    the text field inside a movie clip it expects a local variable in
    that movie clip.
    Use _level0.sendresult or _root.sendresult as the dynamic
    field's variable.
    Or, instead of loadVariablesNum you could use loadVariables,
    like this:
    _root.enquirypage.loadVariables("form.php", "POST");
    or, if you make the call from a button inside the movie clip:
    this.loadVariables("form.php", "POST");
    /uamg

  • Set search help dynamically to SAP Standard Screen

    Hi,
    I have one issue where I have to Create f4 help For a field present on SAP standard screen.
    Please advice how to do that.
    Can i dynamically set Search help in any screen-exit of the standard screen?
    Please help.
    Screen No is 130
    and Program is SAPLQM03.
    Here I want to attach a Zsearch help to a standard   FIELD RQM01-LS_KDPOS.
    Thanks,
    Ishani

    Hi Ishani,
    The field that you mentioned here in structure RQM01 is having a check table VBUP. So if some values are there in that table, then that will appear as F4 help to you. Consult with your functional and check how values are coming to this table VBUP. Othertahn this, I am afraid you will not be able attach any help.
    Regards,
    Abijith

  • Help: Dynamic ALV from an dynamic Node

    Hi Expart,
    I have a question.  I need to create an dynamic context node, and depending upon that dynamic context node, I need to create an dynamic ALV in the View. Is it possible to create two level of dynamic implimentation in case of ALV ?
    if possibel in that case, can ayn one give some hint, how to create  ? or some document link to help me out. Any kind of help is mostly welcome.
    thanks in advance.
    Regards
    Satrajit.

    Yes it is possible.
    To create the dynamic node you can use the method ADD_NEW_CHILD_NODE of the node info object.  You can use a ddic structure/table or an RTTI instance to supply the information for the node attributes. 
    rootnode_info = wd_context->get_node_info( ).
    *   Create dynamic sub node name TEST1 of structure (tablename)
        dyn_node_info = rootnode_info->add_new_child_node(
              static_element_type          = tablename
              name                         = tablename ).   " Web Dynpro: Name of Context Node
    You can then bind to the dynamic context node like normal:
    *  get instance of new node
      dyn_node = wd_context->get_child_node( name = tablename ).
    *  Bind internal table to context node
      dyn_node->bind_table( <tab> ).
    Then connect the dynamic context node to an ALV component usage:
    * Connect to the component Usage of the ALV
      if wd_this->wd_cpuse_alv( )->has_active_component( ) is initial.
        wd_this->wd_cpuse_alv( )->create_component( ).
      endif.
    * Through the interface controller of the ALV Component set the DATA node dynamically
      wd_this->wd_cpifc_alv( )->set_data( r_node_data = dyn_node  ).

  • Need Help: Dynamically displaying parameter values for a procedure.

    Problem Statement: Generic Code should display the parameter values dynamically by taking "package name" and "procedure name" as inputs and the values needs to be obtained from the parameters of the wrapper procedure.
    Example:
    a) Let us assume that there is an application package called customer.
    create or replace package spec customer
    as
    begin
    TYPE cust_in_rec_type IS RECORD
    cust_id NUMBER,
    ,cust_name VARCHAR2(25) );
    TYPE cust_role_rec_type IS RECORD
    (cust_id NUMBER,
    role_type VARCHAR2(20)
    TYPE role_tbl_type IS TABLE OF cust_role_rec_type INDEX BY BINARY_INTEGER;
    Procedure create_customer
    p_code in varchar2
    ,p_cust_rec cust_in_rec_type
    ,p_cust_roles role_tbl_type
    end;
    b) Let us assume that we need to test the create customer procedure in the package.For that various test cases needs to be executed.
    c) We have created a testing package as mentioned below.
    create or replace package body customer_test
    as
    begin
    -- signature of this wrapper is exactly same as create_customer procedure.
    procedure create_customer_wrapper
    p_code in varchar2
    ,p_cust_rec customer.cust_in_rec_type
    ,p_cust_roles customer.role_tbl_type
    as
    begin
    //<<<<<---Need to display parameter values dynamically for each test case-->>>>>
    Since the signature of this wrapper procedure is similar to actual app procedure, we can get all the parameter definition for this procedure using ALL_ARGUMENTS table as mentioned below.
    //<<
    select * from ALL_ARGUMENTS where package_name = CUSTOMER' and object_name = 'CREATE_CUSTOMER'
    but the problem is there are other procedures exists inside customer package like update_customer, add_address so need to have generalized code that is independent of each procedure inside the package.
    Is there any way to achieve this.
    Any help is appreciated.
    // >>>>
    create_customer
    p_code => p_code
    ,p_cust_rec => p_cust_rec
    ,p_cust_roles => p_cust_roles
    end;
    procedure testcase1
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 1;
    l_cust_rec.cust_name := 'ABC';
    l_cust_roles(1).cust_id := 1;
    l_cust_roles(1).role_type := 'Role1';
    create_customer_wrapper
    p_code => 'code1'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    procedure testcase2
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 2;
    l_cust_rec.cust_name := 'DEF';
    l_cust_roles(1).cust_id := 2;
    l_cust_roles(1).role_type := 'Role2';
    create_customer_wrapper
    p_code => 'code2'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    end;

    Not possible to dynamically in a procedure, deal with the parameter values passed by a caller. There is no struct or interface that a procedure can use to ask the run-time to give it the value of the 1st or 2nd or n parameter.
    There could perhaps be some undocumented/unsupported method - as debugging code (<i>DBMS_DEBUG</i>) is able to dynamically reference a variable (see Get_Value() function). But debugging requires a primary session (the debug session) and the target session (session being debugged).
    So easy answer is no - the complex answer is.. well, complex as the basic functionality for this do exists in Oracle in its DBMS_DEBUG feature, but only from a special debug session.
    The easiest way would be to generate the wrapper itself, dynamically. This allows your to generate code that displays the parameter values and add whatever other code needed into the wrapper. The following example demonstrates the basics of this approach:
    SQL> -- // our application proc called FooProc
    SQL> create or replace procedure FooProc( d date, n number, s varchar2 ) is
      2  begin
      3          -- // do some stuff
      4          null;
      5  end;
      6  /
    Procedure created.
    SQL>
    SQL> create or replace type TArgument is object(
      2          name            varchar2(30),
      3          datatype        varchar2(30)
      4  );
      5  /
    Type created.
    SQL>
    SQL> create or replace type TArgumentList is table of TArgument;
      2  /
    Type created.
    SQL>
    SQL> -- // create a proc that creates wrappers dynamically
    SQL> create or replace procedure GenerateWrapper( procName varchar2 ) is
      2          procCode        varchar2(32767);
      3          argList         TArgumentList;
      4  begin
      5          select
      6                  TArgument( argument_name, data_type )
      7                          bulk collect into
      8                  argList
      9          from    user_arguments
    10          where   object_name = upper(procName)
    11          order by position;
    12 
    13          procCode := 'create or replace procedure Test'||procName||'( ';
    14          for i in 1..argList.Count
    15          loop
    16                  procCode := procCode||argList(i).name||' '||argList(i).datatype;
    17                  if i < argList.Count then
    18                          procCode := procCode||', ';
    19                  end if;
    20          end loop;
    21 
    22          procCode := procCode||') as begin ';
    23          procCode := procCode||'DBMS_OUTPUT.put_line( '''||procName||''' ); ';
    24 
    25          for i in 1..argList.Count
    26          loop
    27                  procCode := procCode||'DBMS_OUTPUT.put_line( '''||argList(i).name||'=''||'||argList(i).name||' ); ';
    28          end loop;
    29 
    30          -- // similarly, a call to the real proc can be added into the test wrapper
    31          procCode := procCode||'end;';
    32 
    33          execute immediate procCode;
    34  end;
    35  /
    Procedure created.
    SQL>
    SQL> -- // generate a wrapper for a FooProc
    SQL> exec GenerateWrapper( 'FooProc' );
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- // call the FooProc wrapper
    SQL> exec TestFooProc( sysdate, 100, 'Hello World' )
    FooProc
    D=2011-01-07 13:11:32
    N=100
    S=Hello World
    PL/SQL procedure successfully completed.
    SQL>

  • How to suppress “No Input help is available” message .

    HI Gurus,
    Am in a situation where BI queries are shown in Portal .
    While executing some of the BI queries am getting a message “<b>No Input help is available”</b> more then once  <b>in the variabale entry screen</b>
    But my queries are executing fine , no props atall.
    So my question is  Why i m getting this messages ,and how to suppress it.
    it's a problem with BI or Portal.
    am new to portal.plz suggest .
    thanks in adavance.
    regards,
    prasad

    Hi,
    I dont think that this is the problem associated with portal.You are working on BI queries in portal but BI screen that you are working on is of SAP R/3 correct me is i am wrong??And the message you are getting is of R/3 screen,BI screens are shown in an iview and an iview cant show any message..
    Regards,
    Ameya

  • Assign Search help dynamically

    Hi,
    I have two fields(issue_status and remarks)in a table control. I want to assign a search help to the 'REMARKS' field of the table control only when the user selects the value 'REJECTED' in the 'issue_status' field of the table control.
    could some one please help me in solving this problem.
    Regards,
    Makam

    If you are building a ABAP application you should post this in the ABAP Forum and if it's a BSP application you should post it in the BSP Forum.

  • Need help dynamically changing size of custom container in ALV

    I am designing a screen using using two custom containers to split the screen into two parts, very similar to how Microsoft Outlook has the detail lines of their Inbox (top container) and then a preview panel for the contents of the highlighted item (bottom container). I would like the user to be able to click on the line dividing the two containers and adjust the screen to show the screen split with whatever proportions they want.
    Does anyone know of a method that will help me do this? Has anyone done something similar to this and is willing to share how to accomplish it even if at a high level?
    Thanks.

    Hi,
    I reckon that using a splitter container (CL_GUI_SPLITTER_CONTAINER or CL_GUI_EASY_SPLITTER_CONTAINER) or a docking container CL_GUI_DOCKING_CONTAINER will be a easy solution to your requirement.
    If you are using the splitter container, then after creating the control, you need to call the method "set_row_sash" as
      CALL METHOD <your_splitter_ctrl>->set_row_sash
        EXPORTING
          id    = 1
          type  = <your_splitter_ctrl>->type_movable
          value = <your_splitter_ctrl>->true.
    This will enable the user to adjust both the controls.
    For examples on the splitter & dokcing containers, refer to package SCET.
    Edited by: Sharat Chandra on Jan 23, 2008 4:46 AM

Maybe you are looking for