05-23-2014 3:56 PM
Hi all,
To Display fields on VA01, VA02 and VA03 transactions.
1. I need to take stceg from KOMK structure. So in
FORM USEREXIT_MOVE_FIELD_TO_VBAK. i wrote code as:
vbak-zz_stceg = tkomk-stceg.
2. for MWSKZ(TAX code) from KOMP structure. i coded as
FORM USEREXIT_MOVE_FIELD_TO_VBAP.
vbap-zz_mwskz = tkomp-mwskz.
STCEG is working fine but MWSKZ tax code is showing empty field.
i have added zz_stceg and zz_mwskz to vbak and vbap tables respectively. then added these fields to screen.
Please suggest me where i went wrong.
Thanks & regards,
Cheruku.
05-23-2014 4:05 PM
Hi
Please put a break point the statement - vbap-zz_mwskz = tkomp-mwskz.
and check tkomp-mwskz has any value or not. TKOMP is an internal table. Check which line value you can assign to it if TKOMP[] is not initial.