Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exits

Former Member
0 Likes
968

I couldn't find exits in Sales order processing where I can deactivate certain function based on the order type.. Do we need to do this from SPRO? Or I am guessing from USEREXIT_FIELD_MODIFICATION..

9 REPLIES 9
Read only

Vinod_Chandran
Active Contributor
0 Likes
946

Hi,

Check the include MV45AFZZ. You can find many user exits here. These are subroutine exists and you need an access key to change this. One example from this is 'userexit_save_document'.

For more info pls refer this.

http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm

Cheers

Vinod

Read only

0 Likes
946

You should read consulting OSS 178328 for implementing this exit .

Cheers.

Read only

Former Member
0 Likes
946

Sanjay, For certain document types - I want certain functions to be inactive (the user should not be ableto navigate to that function).. how do I achieve this..

Read only

0 Likes
946

Hi

So you want to deactivate some menu options based on document type . You can create transaction variant in SHD0 ( for transaction VA01 ) and then assign it to the corresponding document type in customizing ( Table TVAK , field - VARIANT ). The path is SPRO -> Sales & Dist -> Sales -> Sales Documents -> Sales Document Header -> Sales Document types ( Or directly VOV8 ).

If you want to change the attributes ( output only / editable ) of ceratin fields at runtine you should use MV45AFZZ ( USEREXIT_FIELD_MODIFICATION ).

Also read OSS 207886 & 187270.

Cheers

Read only

0 Likes
946

Other than SHD0/config, no other approach is available?

Also can we create a transaction variant for VA03 and then attach it to document type in spro? will this ensure that the nexttime some body enters VA01, VA02 or VA03 for the sales document, the functions will be deactivated or will it achieve this only for VA03?

Read only

0 Likes
946

Why is USEREXIT_FIELD_MODIFICATION not sufficient for this?

Read only

0 Likes
946

What would be the screen name for a function code? Letz say I want to deactivate goto -> partners function or partners tab, how do I achieve this using the USEREXIT_FIELD_MODIFICATION?

Read only

0 Likes
946

I am sorry, I mistook your requirement to be field modification not menu function modification. Assuming that you can deactivate partner tab, will not be in conflict with the screen sequence requirements where you configured to have partners as required?

I know you took partners as an example, but disabling any of those menu functions, may be, just may be, will lead to inconsistencies. May be that is the reason why suchmodification is not provided.

Srinivas

Read only

Former Member
0 Likes
946

Hi.

Check GUIXT functionality.

I think that it will serve your purpose.

www.synactive.com