How to make fields invisible dynamically in standard transaction?

When we visit T-Code FB60 there are tabs like Basic data, Payment , Details ,Tax ,Notes ,Local Currency.
In the Tax tab there are fields like Tax code, Rep. Date etc.
The Rep.Date has value from BKPF-VATDATE and value for tax code from RTAX1U12-MWSKZ.
The requirement is that in Tax tab if value for tax code is not selected then the Rep. Date field should become invisible i.e., if  tax code value is empty then the Rep. Date field should become invisible dynamically.
Is there any BADI/Enhancement Spots  to achieve this requirement?

1.In designer on tools menu  you have level security. Add what you want objects or groups or users level security.
2.In CMS Select the option universes then provide the security for the object level.
3. you create the below variables :
if CurrentUser()="@Varaible(BOUSER)" then " " else [Dimension]
Hope this is what you are looking out for.

Similar Messages

  • How to make fields grow dynamically within the same page and in column wise

    Hi,
    Like the newspaper format: Where contents of news are shown columns wise.
    We need to make the fields in a page grow column wise within that same page.
    For example, in a page:
    Column 1 Column 2
    ASDASDASDGKASHDGKAA | ASDFASGFHSJFAJKSD
    ASDFASDFASDJFASGJKDFHA | ASDFASDASDFASDFASD
    AFSDFASDFASDHGFKASDFASD | ASDFASDFASDFASDFASDFA
    ASDFSDGFJASHDGFJKASHDGKFAS |
    ASDFAGASDHFKASHDGFHASDJKFHASJKHF |
    ASDFHASGDKFASDJGHFASDFJKSDGFJKAGSDJ |
    If the Column 1 is full with the fields in the page it should start filling the column 2 which is also in the same page.
    If the Column 2 is also full then only it should move to the next page and should continue the same scenario.
    Please suggest a better way to do this in the Adobe Output Designer.
    Thanks and regards,
    Gurunath V.
    E-Mail: [email protected]
    P.S: Please also mail to my e-mail ID.

    Hi Gurunath, if you steel need a solution on this problem, I think this could help:
    1- place two fields on the form (JF01, JF02), one under each other.
    2- Make two subform with them (Sline1, Sline2)
    3- Make the field JF02 expand on same subform.
    4- Modify the preamble in this way:
    ^define group:D_line1 \field$POSITION\reserve"0.333",in\subformSline1.\positionsave,"first_line"
    ^define group:JF01!OnOverflow \groupG_Sline2.\fieldJF02.
    ^define group:G_Sline2!OnBOF \positionrestore,"first_line"\positionright,"3.65",in
    In the data file put all the text in JF01.
    -The first line say:
    When JF01 is called, save it's y position (\positionsave,"first_line")
    -The second line means:
    when the text overflow JF01 put it in JF02.
    (cause JF02 overflow on itself all the remaining data is overflowed in JF02)
    -The third line means:
    if JF02 arrives at the end of the page (OnBOF), restore the saved position ( \positionrestore,"first_line") and move to the right of "3,65" inches (\positionright,"3.65",in).
    In other words, when JF02 arrive at the and of the age, the next field JF02 is positioned at the same height of JF01 and is shifted on the right
    Take care that in this way JF02 cannot anymore go o a new page.
    Hope this help.
    Andrea

  • How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110

    hi
    How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110
    regards,
    Billa

    Hi,
    Standard transaction variant is not possible ,i dont want to use as zf110.
    Regards,
    Billa
    Edited by: Billa Mahe on Sep 3, 2010 3:14 PM

  • How to make links in dynamic text?

    Hi All,
    I need to know how to make links in dynamic text. I have
    created a
    table to hold the dynamic copy, and the copy is added through
    a CMS page
    that I created. This Admin page is accessed through a
    browser, and I
    don't know how to attach a link to selected text within a
    browser. Can
    anyone point the way? It's probably so easy I'll feel dumb.
    Thanks,
    Brett

    "Brett" <[email protected]> wrote in message
    news:fpf7j6$23m$[email protected]..
    > Thanks Hunter,
    >
    > Yes, I suppose a legend on the admin page would provide
    a solution. And
    > ultimately, if the client doesn't feel confident doing
    writing the HTML
    > they would have to pay me to do it for them. OK, that
    works for me.
    The only other thing might be to use something like FCK (or
    one of the many
    others... ContentSeed, I think is one Murray mentions often)
    for the CMS,
    that would give an easier option for the end user. WebAssist
    has an
    FCK-based plug-in called iRite that can give a more
    wordprocessing-like feel
    to the field (i.e., they could just highlight the text and
    then click a
    button to add the link).

  • How to add field value to the standard table

    Hi,
    How to add field value to the standard table?
    for example:
    when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.

    Hi Asif,
    I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
    If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
    Hope this is clear for u.
    Thanks,
    Vinod.

  • How to make fields required in an updateble multi line form?

    How to make fields required in an updateble multi line form?

    You need to create a validation item that is triggered when the user clicks the submit button.
    Set the validation type to "Function Returning Error Text".
    Then add your validation into the "Validation Expression 1" field. Something like:
    BEGIN
    FOR I IN 1.. HTMLDB_APPLICATION.G_F02.COUNT LOOP
    IF HTMLDB_APPLICATION.G_F02(I) IS NULL THEN
    RETURN 'Please enter in a value for xxxxx on line ' || TO_CHAR(I,'0');
    END IF;
    END LOOP;
    RETURN NULL;
    END;
    As long as the function returns a string, an error is generated - as there is no single field where this error can be displayed, it will need to be displayed "On Error Page".
    If the return value is NULL, then the fields are valid and the submit process can continue.
    Andy

  • How to make field is editable in ALV  CL_SALV_TABLE only)

    Hi,
    How to make field is editable in ALV  CL_SALV_TABLE only)
    Any one has tried to make field si editable by using CL_SALV_TABLE class.
    *I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
    Please reply only if you riedin CL_SALV_TABLE class method.
    Regards
    Rajesh V
    Moderator message: not supported, please read class documentation and search for previous discussions.
    Edited by: Thomas Zloch on Mar 17, 2011 2:07 PM

    Hi Chad,
    Please refer the link,
    Edit field in alv
    Regards,
    Hema.
    Reward points if it is useful.

  • How to make fields mandatory in cost center

    Hi Sap Experts,
    How to make fields mandatory in cost center.
    Please give me advise.
    Regards,
    Raj

    If you want to make "Profit Center" field as mandatory, then OBA5 transaction code
    Application Area - KS
    Number 096
    make this as error for online and batch input. Then profit center will become mandatory.

  • How to make Field "Period/Fiscal Year" dynamic in the program variant

    HI All,
    We have program called "RCRM_FM_ACL_ACCRUAL_RUN" which is used to calcukate accruals in CRM. This program has got a field "Period/Fiscal Year".
    We want this program to run every day at specific time. So we have created a variant in order to schedule a job with program so that it runs every day and calculates the accrual.
    when we create variant we need to maintain some values in the variant like fund plan id in fund plan id field and period/year in  "Period/Fiscal Year". Normally for date field we have an option to make a field dynamic by selecting value "D" (Dynamic) in selection variable, so it takes date every time as current date automatically and we do not have to change it every day.
    But in program *"RCRM_FM_ACL_ACCRUAL_RUN",* I could not find the option "D" for the field "Period/Fiscal Year". Because of this we have to change the "Period/Fiscal Year" manually every time when ever period/year gets changed. we want this to be done automatically.
    Can any onet tell me why we are not able to find the optin "D" (Dynamic) in the program "RCRM_FM_ACL_ACCRUAL_RUN". Do we need to do any settings for that.
    or
    Is there any other way to full fill my requirement i.e period/year get updated automatically with current period/year every time when period/year gets changed.
    Thanks in advance,
    JM.

    Hi,
    Using function-modules "RS_VARIANT_CONTENTS" and RS_CHANGE_CREATED_VARIANT and table tvarvc, you can make your variant dynamic. You just need to write a small piece of code using these FMs.

  • How to make field u201CMPN materialu201D visible in in transaction MEQ1

    Hi, All!
    In layout of screen 215 in transaction MEQ1 I see field u201CMPN materialu201D, but see this field is invisible for users. How to make this field visible?
    Thank's,
    Liza

    Hi,
    In SPRO there is no Field selection for QA. If you want to maintain QA based MPN( get the material number relevant to MPN). Press F4 and select the search criteria search by MPN, you will get the material relevant to that MPN.
    Malleswari

  • Make fields invisible in SAPLBBP_MON_SC 1200

    Dear SRM-gurus,
    for making fields unvisible in Shopping Cart Detail you can go to SE51 --> SAPLBBP_SC_UI_ITS --> e.g. 100 and set fields whether "Invisible" or in Screen Painter double-click on the specific field and enter "MOR" in the 4th group field.
    This works perfectly for SAPLBBP_SC_UI_ITS.
    Now we'd like make the same restriction of fields in "Monitor Shopping Cart" transaction.
    --> SE51 --> SAPLBBP_MON_SC --> 1200
    Here when I click on Layout and set the field as "Invisible" this works alright for the description of the fields (e.g. Description) BUT for all the fields where values can be entered there is no way to make them invisible in transaction BBP_MON_SC. No matter if I set Invisible and/or the value MOR in 4th group field.
    Do you have any idea how I can also make the dropdown and value fields invisible (not available)?
    Thanks a lot for your help.Points will be given!
    Best regards,
    Henning

    Hi Henning,
    The trick cannot work in SAPLBBP_MON_SC_1200, because in the application there is no handling for the modification group. That is the difference with SAPLBBP_SC_UI_ITS / 0100. We used the trick there to avoid modifications in HTML because HTML has no modification-assistent and ABAP does.
    In your case I would suggest to modify the HTML-template (service BBP_MON_SC, template SAPLBBP_MON_SC 1200 ) to hide the unwanted fields simply by deleting or commenting the unwanted tablerows.
    Regards,
    Hendrik-Jan

  • Make frame invisible dynamically

    hello,
    does somebody know how to make a frame invisible dynamically? Some items in the frame are confidential;
    confidential items are put invisble for certain users;
    if all items in the frame are invisible i want the frame to disappear. Today i'am messing with stacked canvasses on top of the frame. Isn't their an easier way to do?
    chris

    you're wright this is simplier than my approach but
    my purpose was to have 1 content page/ or tabpage and no stacked canvasses at all; and a simply way to say to the frame
    frame.visible = property_false
    Today my tabpage has a frame the can become invisible conditionally.Designing tabpages with stackedcanvasses on it is NOT easy in the design editor.
    chris

  • How to make fields editable in an alv tree

    hi
    there is an alv grid for which tree view shud also be made. The cells that are editable in the grid should also be editable in the tree.
    please let me know how to make the specific cells of the tree editable

    after setting the edit field in the field catalogue its bot working.
    i am posting the code snippet.
    please let me know what else should be done and how to add  INPUT field to the fieldcat.
      field-symbols: <fs_fieldcat> type lvc_s_fcat.
      data: l_tabix type sy-tabix.
      data: g_fieldcatalog type lvc_t_fcat,
            wa_fcat like line of g_fieldcatalog.
      data : hide type c value 'X'.
      call function 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'RSTHIE_M'
          i_client_never_display = 'X'
          i_bypassing_buffer     = 'X'
        CHANGING
          ct_fieldcat            = g_fieldcatalog.
    ***-set table header on middle width
      LOOP AT g_fieldcatalog ASSIGNING <fs_fieldcat>.
        <fs_fieldcat>-FIX_COLUMN = 'X'.
        <fs_fieldcat>-edit = 'X'.
      ENDLOOP.

  • How to make fields editable in an custom enhancement

    Hi Experts,
    My requirement is to perform some custom validations against a field FKONT(BSEG) at the line item level of FB60 and display appropriate message and make the incorrect field editable.
    I have implemented an implicit enhancement point in include MF05AFGENJ.
    The error messages are coming but I am unable to make the GL account, cost center and profit center fields editable.
    Please let me know how to make the above fields editable after displaying the error message.
    For reference, I have done the coding like this:
    IF sy-tcode = 'FB60' .
    CHECK GL_ITEMS IS NOT INITIAL.
    DATA: L_COUNT TYPE I,
          L_STRING TYPE STRING,
          L_FKONT TYPE FIPLS,
          L_TABIX TYPE SY-TABIX,
          G_FLAG TYPE C.
    DATA: WA_ZZFSTP LIKE ZZFSTP.          "Work area for ZZFSTP table
    CONSTANTS:C_MK TYPE TXJCD VALUE 'MK0000000'.
    *-- Validating the Financial budget item field
    IF GL_ITEMS-FKONT IS NOT INITIAL.
    SELECT SINGLE FKONT
                        INTO L_FKONT
                        FROM ZFSTP
                        WHERE FKONT = GL_ITEMS-FKONT.  "cost center
    IF SY-SUBRC NE 0.
       CLEAR: G_FLAG.
       G_FLAG = 'X'.
       MESSAGE W003(ZZFI) WITH 'Please enter 'Financial' 'Budget Item Field' DISPLAY LIKE 'E'.
       EXIT.
    ENDIF.
    *-- Copying the first line item financial budget item field to all the line items in the internal table
    DESCRIBE TABLE GL_ITEMS LINES L_COUNT.
    IF L_COUNT > 1.
      READ TABLE GL_ITEMS INDEX 1.
      IF SY-SUBRC = 0.
            CLEAR: L_FKONT.
            L_FKONT = GL_ITEMS-FKONT.
    *-- Assign the tax jurisdiction codes in all the line items
             LOOP AT GL_ITEMS.
               CLEAR: L_TABIX.
               L_TABIX = SY-TABIX.
               GL_ITEMS-FKONT = L_FKONT.
               GL_ITEMS-TXJCD = C_MK.
    *-- Copy the first financial budget item number and tax jurisdiction code MK0000000 in all line items
               MODIFY GL_ITEMS INDEX L_TABIX TRANSPORTING FKONT TXJCD.
    *-- Populate tax jurisdiction and FKONT financial budget item number in XBSEG table
               L_TABIX = L_TABIX + 1.  "top record in XBSEG is for header
               READ TABLE XBSEG INDEX L_TABIX.
               IF SY-SUBRC = 0.
                 XBSEG-FKONT = L_FKONT.
                 XBSEG-TXJCD = C_MK.
                 MODIFY XBSEG INDEX L_TABIX.
               ENDIF.
             ENDLOOP.
      ENDIF.
    ENDIF. "describe statement
    CLEAR: WA_ZZSTP.
    *-- Validate the amount and GL account against the FKONT(financial budget item) number
    SELECT SINGLE FKONT
                  ZZWRBTR
                  ZZHKONT
                  ZZKOSTL
                  ZZPRCTR
           INTO CORRESPONDING FIELDS OF WA_ZZFSTP
           FROM ZFSTP
           WHERE FKONT EQ GL_ITEMS-FKONT.
    IF sy-subrc EQ 0.
    IF BSEG-WRBTR > WA_ZZFSTP-ZWRBTR.
           CLEAR: G_FLAG.
           G_FLAG = 'X'.
           MESSAGE W003(ZZFI) WITH 'Amount entered' 'cannot be' 'greater than ' WA_ZFSTP-ZZWRBTR DISPLAY LIKE 'E'.
           EXIT.
    ELSE.
             CLEAR: G_FLAG.
            G_FLAG = 'X'.
            SET CURSOR FIELD 'GL_ITEMS-HKONT'.
            MESSAGE W003(ZZFI) WITH 'Incorrect GL account' 'number entered for' 'given financial' 'budget item number'.
            EXIT.
           ELSE.
    *-- Check for cost center and profit center at line item level
             LOOP AT GL_ITEMS.
    *-- Both cost center and profit center is initial.
                IF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
                    CLEAR: G_FLAG.
                    G_FLAG = 'X'.
                    SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
                    SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
                    MESSAGE W003(ZZFI) WITH 'Please enter' 'cost center' 'or' 'profit center'.
                    EXIT.
    *-- Either cost center or profit center is initial
                ELSEIF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS NOT INITIAL.
                    CHECK GL_ITEMS-PRCTR NE WA_ZZFSTP-ZPRCTR.
                      CLEAR: G_FLAG.
                      G_FLAG = 'X'.
                      SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
                      MESSAGE W003(ZZFI) WITH 'Incorrect profit' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
                      EXIT.
                ELSEIF GL_ITEMS-KOSTL IS NOT INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
                   CHECK GL_ITEMS-KOSTL NE WA_ZFSTP-ZKOSTL.
                      CLEAR: G_FLAG.
                      G_FLAG = 'X'.
                      SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
                      MESSAGE W003(ZZFI) WITH 'Incorrect cost' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
                      EXIT.
                ENDIF.
             ENDLOOP.
           ENDIF. "GL Account
    ENDIF. "Amount check
    ENDIF. "SY-SUBRC check
    ENDIF.
    EXPORT G_FLAG FROM G_FLAG TO MEMORY ID 'ZER'.
    Please let me know how to make GLaccount,cost center and profit center fields editable.
    Regards,
    Sangeeta.

    Hi.. chaek the below links. may be useful to u.
    Making Table control records Editable / Non-editable
    Table control with both Editable and non Editable fields
    Regards,
    KP.

  • How to make field editable in ALV tree in OOPs?

    Hi Gems,
    Again I need help from you all.
    I am writing a program using OOPs and the uotput will be in ALV tree. I need to make a field editable in a perticular row.
    I am doing it using layout but the program is giving error during
    CALL METHOD CL_GUI_CFW=>FLUSH
          EXCEPTIONS
            CNTL_SYSTEM_ERROR = 1
            CNTL_ERROR        = 2.
    This method is returning sy-subrc = 2 and I am unable to get the output.
    I am using below code to make the field editable:
    DATA: LT_LAYOUT_ITEM TYPE LVC_T_LAYI,
                LS_LAYOUT_ITEM TYPE LVC_S_LAYI.
      LS_LAYOUT_ITEM-FIELDNAME = 'ACPCKTWRT'.     "ACPCKTWRT is the field name in the Internal table
      LS_LAYOUT_ITEM-EDITABLE = 'X'.
      APPEND LS_LAYOUT_ITEM TO LT_LAYOUT_ITEM.
    CALL METHOD G_ALV_TREE->ADD_NODE
        EXPORTING
          I_RELAT_NODE_KEY     = FP_RELAT_KEY
          I_RELATIONSHIP       = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
          IS_OUTTAB_LINE       = LS_TMP_FINFCNO                                                "structure of the internal table
         IS_NODE_LAYOUT       =
          IT_ITEM_LAYOUT       = LT_LAYOUT_ITEM                                                "Added layout to make the field editable
          I_NODE_TEXT          = LV_NODE_TEXT                                                      "Node text
        IMPORTING
          E_NEW_NODE_KEY       = FP_NODE_KEY
        EXCEPTIONS
          RELAT_NODE_NOT_FOUND = 1
          NODE_NOT_FOUND       = 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.
    Please help me and let me know how to get the solution.

    Hello
    The ALV tree control is not intended for making values editable (e.g. see
    [How to make ALV tree columns editable|http://sap.ittoolbox.com/groups/technical-functional/sap-abap/how-to-make-alv-tree-columns-editable-2052414])
    However, if you need an editable tree control then you have to use a different class (e.g. CL_ITEM_TREE_MODEL or CL_COLUMN_TREE_MODEL) but you will not have the ALV functionality of the ALV tree control.
    Regards
      Uwe

Maybe you are looking for

  • Safari 5 crashes every time I try to launch it (just updated from Safari 4)

    Hi all, I read many posts and tried many of the work around suggested but unfortunately nothing seems to work. I created a new log in profile as well and it does not solve the problem. Since I updated from Safari 4 to Safari 5, every time I try to la

  • How to skip first screen in output

    hello, just look at standard report RM07MSAL then execute give any values a list comes then press cntrshiftf7 a new list comes. i copy this programm into z program here i want c first screen which is come after press cntrshiftf7 means i want first sc

  • CS5: Type tool entering text in a tiny transform box

    Everything else seems to be working correctly (at least those parts I use). At some point, several months ago, my sister and I were playing with transform (by phone, we are in different states) -- she had taken a Photoshop class and wanted to try to

  • How to drop a column

    Hi OTNeites, How does one drop a column in Oracle 7.2 or Oracle 8.0 Thanks in advance.

  • Background image stretch in html not working if 'never remember history' is choosen

    I have a problem that did not exist in previous mozilla versions. I found the problem after installing the most recent version and after setting firefox to "never remember history" The problem is related to the CSS code for stretching a background im