Expand Field Catalog in Message Determination For Purchasing
Expand Field Catalog in Message Determination For Purchasing
Symptom
In the message determination for purchasing, the field catalog in Transaction M/60 should be
enhanced, for example, with a field for the user ID.
Other Terms
USNAM, condition table
Solution
1. You must include field ZZUSNAM in communication structure KOMKBEA.In this structure
there is an include that is provided for additional fields.In this Include KOMKBZ you
must include the field with the name ZZUSNAM. ERNAM can be used as the domain in this
case.
2. The same field must also be included in structure KOMB in Include KOMBZ (the same
procedure as under point 1).
3. In table T681F use Transaction SM31 with key B, EF to add the same field. You can do
this by overwriting an existing field.
As of Release 4. 0 you can use view V_T681F in Transaction SM30 for that
purpose. Enter usage 'B', your application and field group '001'.
4. In the message determination, the system runs perform USEREXIT_KOMKBEA_FILL. This
perform is in program RVCOMFZZ.
The source code should be changed as follows:
FORM_USEREXIT_KOMKBEA_FILL.
COM_KBEA-ZZUSNAM = SY-UNAME.
ENDFORM.
Use the current user for SY-UNAME.Any EKKO field with the following syntax can be
used.COM_KBEA-ZZFIELD1 = COM_EKKO-field.
5. After making this change, you must create a new condition table and an access
sequence that contains the new field.If a new access sequence and condition table have
already been created before changing the communication structure, this must now be
deleted again.Points 1 to 5 must be carried out in sequence.
6. Note that the syntax check in Include RVCOMFZZ can deliver errors.Check the entire
function group (according to Note 2152).
Attributes
Key Value
Other Components Materials Management > Purchasing > Basic Functions > Message determination and printing (MM-PUR-GF-OC)
33187