Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
bsivasankarreddy_reddy
Active Contributor
1,418

this all ready explain mozzam , in my explanation with out authorization group hiding some specific condition values



Business Requirement:

Sometime client asks for hiding some specific condition value like VPRS etc from condition tab of sale order or invoice. This is not possible in standard.  All process has been described step by step in this note. I am just explaining it with screen shots .

Now you need to add these includes in program LV69AFZZ. Here you have to take help of your ABAPER for implementing this Enhancement. Once its implemented, you can add your coding in it. Go to T-Code SE38 give program LV69AFZZ and click on display button.


&---------------------------------------------------------------------*

*&      Form  USEREXIT_FIELD_MODIFICATION

*&---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  -->  p1        text

*  <--  p2        text

*----------------------------------------------------------------------*

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Form USEREXIT_FIELD_MODIFICATION, End                                                                                                             A

*$*$-Start: (1)---------------------------------------------------------------------------------$*$*

ENHANCEMENT ZZ_FLOOR_PRICE_AUTH1.    "active version

        INCLUDE ZZ_FLOOR_PRICE_AUTH.

ENDENHANCEMENT.

*$*$-End:   (1)---------------------------------------------------------------------------------$*$*

endform.                               " USEREXIT_FIELD_MODIFICATION


include ZZ_FLOOR_PRICE_AUTH.logic


*&---------------------------------------------------------------------*

*&  Include           ZZ_FLOOR_PRICE_AUTH

*&---------------------------------------------------------------------*

    DATAlt_user_list   TYPE STANDARD TABLE OF tvarvc,

           lw_user_list   TYPE tvarvc,

           lr_user        TYPE RANGE OF syuname,

           lw_user        LIKE LINE OF lr_user.

**Get list of users who are allowed to See

    SELECT * FROM tvarvc

      INTO TABLE lt_user_list

      WHERE name = 'ZSD_FLOOR_PRICE_AUTH'

        AND type = 'S'.

    IF sy-subrc = 0.

      LOOP AT lt_user_list INTO lw_user_list.

        lw_user-sign = lw_user_list-sign.

        lw_user-option = lw_user_list-opti.

        lw_user-low    = lw_user_list-low.

        lw_user-high   = lw_user_list-high.

        APPEND lw_user TO lr_user.

        CLEAR lw_user.

      ENDLOOP.

    ENDIF.

    IF sy-uname NOT IN lr_user.

      IF ( komv-kschl eq 'ZBPP' or komv-kschl eq 'ZBFP' or komv-kschl eq 'ZFPA' or

           komv-kschl eq 'ZPPA' or komv-kschl eq 'ZEPA' ).

        IF                ( SCREEN-NAME = 'RV61A-SELKZ'

                            OR   SCREEN-NAME = 'KOMV-KAWRT'

                            OR   SCREEN-NAME = 'RV61A-AWEIN'

                            OR   SCREEN-NAME = 'KOMV-KBETR'

                            OR   SCREEN-NAME = 'RV61A-KOEIN'

                            OR   SCREEN-NAME = 'KOMV-KPEIN'

                            OR   SCREEN-NAME = 'KOMV-KMEIN'

                            OR   SCREEN-NAME = 'KOMV-KWERT'

                            OR   SCREEN-NAME = 'KOMV-KWERT_K'

                            OR   SCREEN-NAME = 'KOMV-KUMZA'

                            OR   SCREEN-NAME = 'RV61A-MEINS'

                            OR   SCREEN-NAME = 'KOMV-KUMNE'

                            OR   SCREEN-NAME = 'RV61A-KMEI1').

          SCREEN-ACTIVE = 0.

        ENDIF.

      ENDIF.

      MODIFY SCREEN.

    ENDIF.


include this logic and maintain the user ids in STVARV t code level varint name like this ZSD_FLOOR_PRICE_AUTH

here you maintain the which user ids display the condition values , those user only see the condition type values .


dear experts pl comment on this



3 Comments
Labels in this area