Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

Regarding Tax Code display.

$
0
0

Hi all,

 

my requirement is to display the tax code from xkomv on VA01, va02 and Va03 transactions.

 

So i added a zfield in VBAP and VBAK table. then i added it to screen painter.

 

i coded in USEREXIT_MOVE_FIELD_TP_VBAP AS

 

FORM USEREXIT_MOVE_FIELD_TO_VBAP.

vbap-zz_mwsk1 = xkomv-mwsk1.

ENDFORM.

 

and in USEREXIT_MOVE_FIELD_TP_VBAK as


FORM USEREXIT_MOVE_FIELD_TO_VBAk.

vbak-zz_mwsk1 = xkomv-mwsk1.

ENDFORM.

 

 

Now when i enter the materials for the first material it is not showing tax code of VBAP(VBAP-zz_mwsk1), but for 2nd material it is showing tax code?

 

Can anybody please explain why?


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>