Standard logical Analysis of sap Financial voucher allocation Field
Business scenario analysis of consignment business mb1b 411k generates material vouchers, accounting vouchers, corresponding accounting voucher allocation fields in the cycle table X156W, which is associated with the configuration T156W configuration table
Program MM07MFF9_F_SEGMENT_ERZEUGEN, subroutine F_SEGMENT_ERZEUGEN
IF F_VORSL = VORSL_KON. When VORSL is KON, MKPF-MJAHR is 2020 as an example to assign XACCIT-ZUONR * 2020
XACCIT-ZUONR = STERN.
XACCIT-ZUONR+10 (4) = MKPF-MJAHR.
ENDIF.
Add to the inner table xaccit
In the program LFACIF5D
Circular table xbseg line 205company = title company, year = title year voucher number is equal to title year call subroutine subst_zuonr
LFACIF58 subroutine SUBST_ZUONR
When the assignment field begins with a * sign and KTOSL = KON, the assignment field is assigned to the top 10 digits of BKPF-AWKEY.
IF XBSEG-ZUONR (1) ='* 'AND
XBSEG-KTOSL = 'KON'.
XBSEG-ZUONR (10) = XBKPF-AWKEY (10).
ENDIF.
If it is empty and XBSEZ-ZUAWA is not empty, XBSEZ-ZUAWA is assigned according to the allocation code of the master data and the sum of the family master data.
IF E_ZUONR IS INITIAL
AND NOT XBSEZ-ZUAWA IS INITIAL.
PERFORM ZUORDNUG_AUFBAUEN (RSZUN000)
USING XBSEZ-ZUAWA E_ZUONR.
ENDIF.
There is an assignment field assignment corresponding to the allocation code in the program RSZUN000.