Skip to Content
0
Sep 07, 2007 at 07:57 AM

Text determination for appended field to listing/exclusion structure KOMPG

120 Views

We have added a new field to the append structure of MARA and KOMPG

ZZLICCODE ZZLICCODE CHAR ZLICENCECD Explicit search help attachment to field ZLICENCE ZZLICCODE

It has the check table ZLICENCECD which has a field for the description of the licence code (ZZLICCODE).

The generating the condition table standard SAP creates an include which checks the check table to validation the field. The form in the include is called FORM ZZLICCODE_PRUEFEN however this form with standard SAP fields also determines the text that is displayed when the user runs VB01 does not determine the descriptive text for customer added fields only validation.

SAP for KOMG (Conditions) appended fields has a Business transaction event 00503306 Text Determination which can be used for this purpose. I thought the event would work with KOMPG structure but it does not.

I have check this by putting a breakpoint in our function module used for the event 00503306 and the breakpoint is called with VK11 (Create conditions) and our function module works and displays the text for fields appended to the KOMG structure but the function module is not called for fields appended to the KOMPG structure.

Is there another user exit or BTE event for this? Otherwise we will have to ammend the include generated by SAP when creating the condition table which is not ideal becuase it would have to be recoded every time we upgraded