cancel
Showing results for 
Search instead for 
Did you mean: 

Suppressing tabs at item level in sales order

Former Member
0 Kudos

16.07.2008

Hi friends,

How do i suppress tabs like say the condition tab or the billing plan tab at item level for a Sales document type and for certain users when the user is using transaction code va02?. My requirement is certain users should not be able to change date in these tabs.

Please suggest.

Regards,

Uday

Accepted Solutions (0)

Answers (2)

Answers (2)

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

You can control it through user-exit USEREXIT_FIELD_MODIFICATION in program MV45AFZZ by using following coding. You have to create database table <ztable> where you will maintain user who are not allowed to change the billing date.

 
  tables: <ztable>
  case screen-name .
    when 'VBKD-FKDAT'.
      if vbak-vbtyp eq 'C'.
        select * from <ztable>
           where user_name eq sy-uname.
           if sy-subrc eq 0.
              screen-input = 0.
           endif. 
      endif.
  endcase.

Former Member
0 Kudos

Hi,

Suppressing of tabs will be done through Transaction variant SHD0 t.code. By using this u create transaction variant ZVA02 and then enter it will take u throgh initial screen of VA02 then enter data there then enter then it will take u through VA02 change order overview screen then fill require fields then enter it will display all tabages there..Here u select what ever tabs do u want to hide then save.

After all this then assgin this transaction variant to VOV8 document type..

Please block authorization for user whom u dont want access to change mode of VA02. For this please take help from Basis team..

Regards

sankar