cancel
Showing results for 
Search instead for 
Did you mean: 

Validation cost accounting

Former Member
0 Kudos

Hi,

I need help,

I have validation in cost accounting line item using transaction GGB0.

Prerequisite:

COBL-HKONT = '5XXXXXX'  AND  SYST-TCODE = 'ME21N'

Check :

U005

details user exits U005 :

IF AFVC-MATKL <> '2011'.
   B_RESULT = B_TRUE.
ELSEIF
   B_RESULT = B_FALSE.
   ENDIF.

Value from AFVC-MATKL always blank. It isn't working.


So.. How can get field MATKL-material group when running create PO?

if display technical information using F1, field name : WGBEZ, program name : SAPLMEGUI, Data element : MEPO_MATKL.

I try to addtional MATKL, using transaction SM30 : VWTYGB01. Addtional in structure table COBL, but still not working.

any suggestion ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ajay,

Primary key for table MARA is field MATNR. But my problem because PO without part number (MATNR). User only select material group.

thanks,

ajaycwa1981
Active Contributor
0 Kudos

Hi

MATKL can be fetched from MARA Table

br, Ajay M