Make invisible a field in PAI

Hi guys,
my problem is, that i need to make invisible some fields after the user clicks on one button, i know how to make invisible a field, but is not working because i put my code in the PAI event, any ideas? (is in the same dynpro)
tks in advance
Message was edited by:
        javier  santana

Hi ,
THINK THIS WAY,
IF YOU ARE IN PAI OF SCREEN 101 AND YOU HAVE A BACK BUTTON THAT TAKES YOU TO SCREEN TO 100 AND IN 100 YOU WANT THE FIELDS TO DISABLE.
THEN YOU CAN WRITE THE CODE IN PAI OF 100 OR PAI OF 101
YOU ARE IN PAI OF 101 THAT'S MEANT FOR SCEEN 101 AND  IF YOU WRITE CODE IN HERE ITS FO SCREEN AND IF YOU WRITE THE SAME CODE IN PAI OF 100 THEN ALSO IT DOESN'T WORK BECOZ WHEN YOU PRESS ITS DIRECTLY GOES TO PBO OF SCREEN 100
Thats the reason fo writing the code in PBO
LET ME KNOW IF YOU NEED ANYTHING ELSE
THANKS
VENKI

Similar Messages

  • How to make material number field invisible in MM60?

    Dear expert,
    Is there any way to make material number field invisible in MM60 for one user?
    Best regards

    Hello,
    You may create a transaction variant for MM60 and hide Material code using SHD0. Then create Variant group and assign users to this group.
    Thanks,
    Venu

  • How to make a screen field invisible?

    Hi
    My problem is the following one : I use th screen painter to create a screen.
    I would like one of the screen fields to be invisible for the user but I would like to be able to write and read values in this field using 'C14Z_DYNP_READ_FIELD' and 'DYNP_VALUES_UPDATE'
    I tried to set the value of screen-active to 0 in the PBO module but it doesn't solve the problem cause if I do it, I can't specify a value for the field.
    Please help,
    Kind Regards
    Morgan

    hi
    good
    ACTIVE, INPUT, OUTPUT, and INVISIBLE
    There are certain hierarchy rules between the components ACTIVE, INPUT, OUTPUT, and INVISIBLE. They also have different effects depending on their respective static settings.
    The ACTIVE component has no equivalent in the element attributes. Instead, it changes the components INPUT, OUTPUT, and INVISIBLE.
    At the beginning of the PBO, ACTIVE is always set to 1, regardless of the static attribute settings. Setting ACTIVE to 0 automatically sets INPUT = 0, OUTPUT = 0, and INVISIBLE = 1. Any other changes to the settings of INPUT; OUTPUT, and INVISIBLE to the current screen element are ignored. Conversely, setting INPUT = 0, OUTPUT = 0, and INVISIBLE = 1 automatically sets ACTIVE to 0, and any further assignment to ACTIVE for the current screen element will be ignored. The setting ACTIVE = 1 has no other effect on the attributes. The only purpose of the ACTIVE component is to allow you to make a screen field inactive through a single assignment. You should particularly note that a module call linked to a FIELD statement in the screen flow logic is always executed, even when SCREEN-ACTIVE = 0 for the field in question. If you want to prevent a module from being processed for an inactive field, you must specify the FIELD- and MODULE statements separately.
    go through this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/loop_a03.htm
    thanks
    mrutyun^

  • How to make  a particular field in table control invisible?

    i have a field in my table control but im not able to make it invisible
    im using the following code
    PBO
    LOOP AT itab_ctrl INTO wa2_ctrl WITH CONTROL ztabctrl
        CURSOR Ztabctrl-current_line.
        MODULE modify_scrn_100.
      ENDLOOP.
    module modify_scrn_100.
    LOOP AT SCREEN.
       IF SCREEN-NAME = 'WA_CTRL-ZITEM'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
       ENDIF.
         ENDLOOP.
    endmodule
    ...here WA_CTRL-ZITEM is my table control field name
    ...even if i make invisible = 1 or 0 the field is not getting invisible

    Hi,
    Check the Demo Program <b>RSDEMO02</b>.here you can have option to make the column invisible.
    also check these..
    How to Hide a entire column in a Table Control?
    Hiding table control columns along with header
    Hiding of Table control
    Regards
    Vijay

  • Based on DDL value ,How to make few other fields visible in Adobe forms in SAP CRM??

    Hi All,
            I need to make few fields visible in adobe forms, based on the dropdown value which user selects.....

    Hi Vignesh,
         In the "EXIT" or "CLICK"event of the particular Drop down field you can write the below code(in Java script).
    if (this.rawvalue == <value> )
          <field name>.presence = "invisible";
    else
        <field name>.presence = "visible";
    Thanks,
    Ashok N.

  • How make Invisible a particular Cell in the TAble Control.

    Dear Freinds,
           I have requirement where in on a particular conditon i have to close one of the fields in the TAble contorl . That is i have to make it as invisible ....iam able only to make only display (greyed out) only iam not able to make invisible.
    Please could any one let me know how can we make invisible a particular field.
    regards
    divya.

    Hi,
    Try this it works,
    LOOP AT tc_release_ord-cols INTO wa_cols.   "tc_release_ord-----> table control
          CASE wa_cols-screen-name.
            WHEN 'ZRELEASE_ORDER-SPOTS1'.
              IF spots1 = ' '.                                            > use your condition here
                wa_cols-invisible = 'X'.                           > set property to invisible
                MODIFY tc_release_ord-cols FROM wa_cols.  >modify table control
              ENDIF.
            WHEN 'ZRELEASE_ORDER-SPOTS2'.
              IF spots2 = ' '.
                wa_cols-invisible = 'X'.
                MODIFY tc_release_ord-cols FROM wa_cols.
              ENDIF.
            WHEN 'ZRELEASE_ORDER-SPOTS3'.
              IF spots3 = ' '.
                wa_cols-invisible = 'X'.
                MODIFY tc_release_ord-cols FROM wa_cols.
              ENDIF.
    endcase.
    Endloop.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • How to make a table field Required

    Hi,
    I tried to make a table field as 'Required'. It works fine. But it gives unexpected results. Imagine the table has 10 rows. when the user make an entry in the first row, the system gives the error messages for the required field in the remaining rows as well. How can we restrict it so that it checks for the required field only for the row with entries. How to specify the condition type?
    Kind Regards
    Shahul

    Hi,
    check this :
    don't set table field as 'Required'.If your table data contains in a internal table , then use Below code under <b>PAI</b> event.
      LOOP AT i_data.
        CHAIN.
          FIELD:  i_data-fld1.
          MODULE validate_field.
        ENDCHAIN.
      ENDLOOP.
    MODULE validate_field INPUT.
    write the code to validate the each line of the table control, if validation fails , cursor will stop at the table control row
    ENDMODULE.
    Regards
    Appana

  • Making button with invisible clicking field?

    Hi,
    I just got DVD studio pro. Im dealing with a looping video background that has the button text pre-rendered into it.
    As my highlight, I just basically want a rectangle underneath the text. For each option you choose, the text will be underlined.
    This works great except for when its in the computer. When its in a computer using a mouse, you have to click the little line to choose that option. How do I make an invisible clicking field over my pre rendered text?
    Also how to I get the rectangle to have slightly rounded edges? By the way I don't have enough space to import the library.
    Currently I am just messing around with default button and messing with the colors and stuff there.
    Thanks

    Thanks for the reply,
    I am new to DVD Studio Pro, because I was originally using Encore for this project, but it was too buggy. So I thought it would be best to make the switch.
    I am rather sure I'm not using layered menu's. Here's my tree:
    I checked out the link, although it was a little confusing how he set the colors to something else first, like green, and then switched.
    Here's my .psd to show my red underline, and as you can see there is an alpha:
    Once again, my menu is a looping video, and the text is pre rendered into it. I am just overlaying a button that is an underline, and the alpha will go over the text, so you can click on a computer.
    Here is a pic of all the buttons overlaying, without overlapping:
    I tried messing with the chroma states - For normal had everything 0 opacity -but- will this take out my clicking field if I do this??
    Heres my selected stated - as you can see the red is full opacity, and everything else 0%:
    Here's my activated state, the same as the selected one:
    When I do a simulate preview, they all show up!
    I am going for this:
    I also saw on the link it was mentioning setting overlays. I was confused about the single choice because I have 4 buttons.
    What should I do to achieve my results I'm going for?
    Thankyou,
    - Mike

  • How to make  a Password Field in a Dynpro?

    Hi Folks,
    as the subject says i need to make a password field in my dynpro. i know how to do it with parameters but thats not what i need. i made a dynpro with a field in which Users can type a Password and i need it to be shown like this "********".
    how can i do this?
    thanks in advance.

    heh... its really annoying that i just can't find such easy things with google and have to post it in the forums -.-
    anyway. thanks a lot.

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

  • Interactive PDF form on Android, can I make a form field to open camera and use photo in field?

    If I have an interactive PDF form on Android, is there any way to make a form field that will open the camera and insert the photo in the field?

    One alternative would be to create a web form in FormsCentral and use the attachment feature.

  • How to make read only field in Task list?

    Hi All,
    How to make read only field in Task list?

    This can be done one of two ways:
    1. Customize the form in Infopath, right click your field and disable the control.
    2. Use JavaScript/jQuery on the page to disable the element.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Make the 'ASSIGNMENT FIELD' of particular financial Doc type non-editable

    Hi Experts,
    We have an done an Z development, where we are populating critical data in the 'ASSIGNMENT FIELD OF gl account' of a newly created  financial document type (ZD).This document is created through BAPI.
    Now our requirment is to make this 'Assignment field' non-editable .
    Thanks & Regards,
    Vishal

    Go to OB32
    Select Account type and select table with field name ZUONR and double click
    Uncheck the check box Field can be changed
    Srinivas

  • Make Item level field Non-Editable in VA01

    Dear Experts,
            I have a requirment to make ITEM Category field in item level of VA01
            make Non-editable based on the value of Sale order Type in the main screen
      i am using Program MV45AFZZ to make necessary changes i am able change any thing on the header level but i am not geting the control of item level Please suggest me how to change or make fields non-editable in Item level.

    Hi,
    Try writing code in FORM userexit_field_modification.
    *** Lock field pricing date in SO if delivery occured
      IF   screen-name = 'VBAP-PSTYV'  AND
           sy-tcode NE 'VA01' AND l VBAK-AUART EQ 'your document type'.
          screen-input = 0.
      ENDIF.
    ENDFORM.                    "USEREXIT_FIELD_MODIFICATION
    KR Jaideep,

  • Need to Make end customer field mandatory in sales order form.

    I need to make end customer field mandatory when sales channel entered as some value...
    for this i have used when validate record on order form
    when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
    but my requirement is to make field mandatory and then to save the order.
    let me know the sequence how it works if any one knows.

    Sanni,
    >
    when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
    but my requirement is to make field mandatory and then to save the order.
    >
    Which trigger are you using to do the "getting saved automatically'?
    Does this trigger fire before the trigger that is making the field mandatory?
    Regards,
    PS: Is this an Oracle EBS query? If yes, this is the wrong forum
    Edited by: Prabodh on Jun 14, 2012 4:48 PM

Maybe you are looking for