Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

moving fields to VBAP from user_exits in MV45AFZZ.

Former Member
0 Kudos

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.

1 REPLY 1

atul_mohanty
Active Contributor
0 Kudos

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.