‎2009 Feb 17 1:19 PM
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
‎2009 Feb 17 1:48 PM
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
‎2009 Feb 17 2:00 PM
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.
‎2009 Feb 17 2:07 PM
‎2011 Nov 03 10:42 AM
‎2013 Jun 15 8:17 AM