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

Adding custom fields to VA01 screen

stefan_kolev4
Participant
0 Likes
10,311

Hi Experts,

How can I add some fields to transaction VA01 screen in order to make some calculations requested by client? In theese fields user should input data,which will be used for calculations.

Best regards,

Stefan

5 REPLIES 5
Read only

Former Member
0 Likes
3,924

Hello Stefan,

first you should decide, on which level (header / position) you need these own fields.

If you need them on header level, you would append these fields to VBAK, on position it would be VBAP.

There are two dynpro's in SAPMV45A which are used for customer own fields - 8309 for header level and 8459 for item-level. They are delivered empty by SAP.

More: there are some Includes in SAPMV45A called MV45AFZZ, MV45AOZZ, MV45AIZZ where you can put in your own logic modules( check's etc) for your own fields.

You can find documentation to that in transaction SPRO -> Sales & Distribution -> system modification->user_exits in sales.

Since it's the SD-exits depend on an quite old technique, you'll have to get the object registrations.

Regards Wolfgang

Read only

Former Member
0 Likes
3,924

Hi Stefan,

The user exits which you can use for modifications in sales document processing are listed below.

The below user exit can be found in the program MV45AFZZ.

USEREXIT_FIELD_MODIFICATION

This user exit can be used to modify the attributes of the screen fields.

To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP. If a field has no field name, it cannot be allocated to a group.

The usage of the field groups (modification group 1-4) is as follows:

Modification group 1: Automatic modification with transaction MFAW

Modification group 2: It contains 'LOO' for step loop fields

Modification group 3: For modifications which depend on check tables or on other fixed information

Modification group 4: is not used

The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.

This FORM routine is called up by the module FELDAUSWAHL.

See the Screen Painter manual for further information on structuring the interface.

Regards,

SB.

Read only

faisalatsap
Active Contributor
0 Likes
3,924

Hi,

Please have a look at the following Threads Hope you will fine the answer,

[add field to Va01,va02 |]

[Custom field in VA01|]

[Changing the atributes of a field in VA01|]

Kind Regards,

Faisal

Read only

stefan_kolev4
Participant
0 Likes
3,924

Solved.

Read only

Former Member
0 Likes
3,924

This message was moderated.