How to hide/Inactive a Module in vanilla model(ex-Production)

Hi
Help me out how to do it using coding.

This is not recommended using coding.
You can use form settings to hide a module or make it inactive.It is standard feature.
Hopes this will be helpful.Go to form settings directly after login.
Regards,
Suresh kannan

Similar Messages

  • How to hide subscreen in module pool

    hello expert.
    i created one Box, and inside box i created one subscreen in Module pool ->layout.and  two radio button out side of the Box.
    if i select 2nd radio button , want to hide subscreen.
    how to hide subscreen. could you please send me the solution asap , it's urgent.
    i written below code but not working.
    LOOP AT SCREEN.
      IF rad2 Eq  'X'
         IF SCREEN-NAME = 'SUB1' .
                SCREEN-INPUT  = 0.
                SCREEN-INVISIBLE = 1.
                MODIFY SCREEN.
         ENDIF.
      ENDIF.
    ENDLOOP.
    Regards
    srinivas

    example:
      BOX1
            MATNR [                          ]  (Normal screen)
      BOX2
            BOM  [ BOM-OW]  TO [BOM-HIGH] (subscreen)
    BOX3
           radio buttons
           push button
           selection screnn etc..
    if i selection 2nd radio button i will get.
      BOX1
            MATNR [                          ]  (Normal screen)
      BOX2
            empty
    BOX3
           radio buttons
           push button
           selection screnn etc..
    my requirement is:
    BOX1
            MATNR [                          ]  (Normal screen)
    BOX3
           radio buttons
           push button
           selection screnn etc..

  • How to hide PUSHBUTTON on Module pool .

    Hi Experts,
    In my module pool program has 2 pushbuttons, in some cases both of those are been  needed to hide in the screen. How can i achieve this?
    Anybody can help me to resolve this problem?
    Thanks in advance..
    Regards,
    Ranjith

    Hi Ranjith,
    Try this code in the PBO of the Screen.
    IF "CONDITION".
    LOOP AT SCREEN.
           IF screen-group1 = 'IV0'.     " Give the Group name"
             screen-invisible = '1'.        "Set the Screen element as Invisible".
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ENDIF.

  • How to use BAPI function module for maintaing product type to material

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

  • How to hide toolbar in Safari 7.0? Link is inactive

    How to hide toolbar (with address bar) in Safari 7.0 (OS X Mavericks)? Link "Menu > View > Hide Toolbar" is inactive.

    i use firefox and install hide tabs extention to use in full screen without anything, just web page. hide everything else in view/toolbar. sorry safari, but you should have made that option.
    https://addons.mozilla.org/en-US/firefox/addon/hide-tab-bar-with-one-tab/

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11.
    What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
    What I did was modify the XML of the page to add the field and then extended the original AM.
    I added the extended view into the custom AM to prevent that fail with the field that i insert.
    I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
    I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
    I Try to customize the driver involved with the page, but nothing happened.
    First try it on the controller Father and after the son.
    The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
    The code that attempts to hide the field is:
    OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
    if (oaviewobject1 != null)
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String vCustomType = (String)row.getAttribute("TypeName");
    if (vCustomType.equals("Blanket Agreement"))
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    else
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    Can anyone help me?
    If im grong other solution that i think is:
    How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
    Thanks!!!

    Hi Yichao,
    Chk these links
    https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
    thanks and regards
    srikanth.p

  • How to hide fields in Infotype 16 for Molga 28

    Hi Guys,
    I need to hide some fields for IT0016 for Molga 28. Earlier we have assigned different screen for this molga .But now we have assigned the standard  screen to IT0016 i.e. View-3211. But when i go to node Change Screen Modifications, i m unable to find MP321100. I have checked through PA30 for chinese employee the Program is MP321100 and screen is 2000.
    COuld you guide how to hide some of the fields for Chinese Molga 28 in IT0016.
    Regards,
    Navneet

    Hi Harish,
    I havent got the chance to check with BASIS yet....they are lil busy .....meanwhile i have created an entry in t588m with Module pool mp321100 and feature p0016. As u told i have created entry with Molga 28 and return key 28 in P0016 feature.
    Could you confirm that i need to Create mP321100 or i could have done it via mp001600 as told by other guy.
    And now if i go the fields are hidden except for two fields which strangely are coming "ER Notice Period" and
    "EE Notice Period". I have hidden all fields still these two fields are cming any idea why?
    Regards,
    Navneet

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • How to hide table control in a screen

    Hi, Gems,
    I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
    Can anyone tell me how to hide table control in a screen?
    Any help will be appreciated.
    -Thanks
    Surajit.

    Hi,
    In the PBO (in a module outside to the LOOP...ENDLOOP), use this
    MODULE status_0100 OUTPUT.
    IF sy-ucomm EQ space.   "Give the function code on which you want to make your table control go invisible
                                              "Give a space if you want your table control to remail invisible on display of the screen
        CLEAR: t_header[].
        LOOP AT tabcontrol1-cols[] INTO wa_control1.
          wa_control1-invisible = '1'.
          MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
        ENDLOOP.
    ENDMODULE. 

  • How to hide OM infotype screen field

    Hello Experts.
    Please let me know how to hide OM infotype Screen field ? i want to hide Percentage field on IT1011.
    I know i can create alternative screen "Z" and hide the field and attach alternative screen to the Module pool.
    Please let me know if i can do this using BADI so there will not be any change to standard.
    Regards,
    Saurabh

    Hi Shiva,
    To get the detail about a table filed you can use DDIF* function module.
    Here in this particular case you can use FM   DDIF_FIELDINFO_GET.
    Pass the table name & field name.
    After executing that FM you can check   DFIES_TAB  in Tables parameter. i t will be having an entry.
    Check for filed name as   KEYFLAG  , if it is not initial ie.  X then supplied filed is Primary Key.
    If KEYFLAG is initial then supplied filed is not a primary key.
    Thanks & Regards
    Satyam

  • How to hide a data column in a planning Layout

    Hi experts,
    we use BW-BPS and I need some datacolums in planning layout, which should be calculated.
    Rest Volume = Forecast - Actual
    The customer wants to see only the "Rest Volume".
    But i need for calculation Forecast and Actual values, which are available in Infocube.
    Do you know how to hide some colums in planning layout ?
    thanks a lot.

    Write a one line macro in SAPAfterDataPut sub module and check the option in the tab MS Excel Settings in the last screen of the layout.
    Sample macro:
    suppose the column you want to hide is 4.
    columns(4).hidden = true

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • How to hide some select-option of Logical Database in report?

    How to hide select-option of  Logical Database in report?eg . In Logical Database 'PNP' , my code is 'GET  PERNR' , excute the report , select-screen is displayed . I want to hide some select-options , such as PNPPERNR-LOW .
    Edited by: rongrong wang  on Mar 26, 2008 9:31 AM

    U need to write code in initialization as
    initialization.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW'.
    screen-active = '0'.
    modify screen.
    endif.
    if screen-name = 'PNPPERNR-HIGH'.
    screen-active = '0'.
    modify screen.
    endif.
    endloop.

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • How to use read_text function module

    Hi how to use read_text function module to read purchase order header text .what are all tht things to pass in ID,Name and Object
    thanks,
    Mahe

    Dear,
    Use below code.
    DATA:IT_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE,
    V_TDNAME LIKE THEAD-TDNAME.
    V_TDNAME = PO_NUMBER.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        ID                            = 'F01'
        LANGUAGE                      = 'EN'
        NAME                          = V_TDNAME
        OBJECT                        = 'EKKO'
      TABLES
        LINES                         = IT_LINE.
    Thanks and Regards,

Maybe you are looking for

  • CPF contribution is not deducting on AWS amount for retried employee.

    Hi, Issue reported: - CPF contribution is not deducting on AWS amount for retried employee. fyi -even though employee is separated his bonus will be paid in month of December I have checked the AWS wage type, the culmination class 3 is checked, as it

  • PowerPivot button grayed out for existing .xlsx files

    Hi, I have been working with PowerPivot in Excel 2010 for some time now with no issue till this morning when any existing report (.xlsx) file does not allow me to go to the PowerPivot window (grayed out mostly. sometimes it shows up and when I click

  • Mail  - repeatable crash on address book search

    Mavericks 10.9.2 w/ Apple Mail Version 7.2  2012 iMac 3.4GHz i7 32GB All I have to do it type the letter "c" (no quotes) in the To: field and Apple Mail crashes.  Quitting Mail, restarting the Mac doesn't resolve.  Same problem reappears. DISCLAIMER

  • One smart playlist displays wrong songs on iphone 5 since ios7 / itunes 11.1.4.62

    About a month ago I updated my iPhone 5 to ios7 and this week I updated my iTunes to 11.1.4.62. Yesterday I noticed that one of my playlists I haven’t listened to on my iPhone in a long time was not working properly at all. It is a smart playlist tha

  • Dowwnload purchased items...

    Hey guys, no one seems to be able to help me Re: Not being able to download my purchases music, but does does anyone have an idea of another forum or support I could try??? Any info would be much appreciated.. I'm a very green computer user.