21.5.10

Note 10100 - Master data check with T830x tables

Symptom

Key word: Master data
No valid combinations are found during the master data check when the table used contains object numbers and master data for fields is in the T830x tables.
Affects: allocation, planning

Cause and prerequisites

In table T800D (integrated master data), BUKRS was used as a superior field for the company code instead of RBUKRS .

Solution

Advance correction:
Make the following changes to Include LGUMDF20, FORM routine READ_T800D.

ELSE.
SELECT SINGLE * FROM T800D WHERE TAB = TABELLE
AND FELD = FELDNAME.
IF SY-SUBRC = 0.
IF T800D-MASTTAB+0(1) NE '='.
SELECT SINGLE * FROM T800A WHERE TAB = T800D-MASTTAB.
IF SY-SUBRC = 0.
IF T800A-COMPTAB = ' '.
SELECT SINGLE * FROM T800A WHERE TAB = TABELLE. <-new
IF SY-SUBRC = 0. < -new
IF T800A-OBJTABLE = SPACE. <---------- new
T800D-RFIELD1 = 'BUKRS'.
ELSE. <-new
T800D-RFIELD1 = 'RBUKRS'. < -new
ENDIF. <-new
ENDIF. <-new
ELSE.
T800D-RFIELD1 = 'RCOMP'.
ENDIF.
ENDIF.

Keywords

GA715, Allocation

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,

No comments:

Post a Comment