2014 May 26 12:09 PM
Hi all,
I want to display KONP-MWSK1 field in VA01,02 and 03 transactions.
I have added it to screen painter, coded as below in PBO module.
Data wa type konp.
SELECT SINGLE * FROM konp INTO wa .
konp-mwsk1 = wa-mwsk1.
Now it is displaying the same tax code all the time when i see in VA01, 02 and 03 transactions even for different materials, soldto party and ship to party.
what condition i must write to get the correct tax code for the creating va01 transaction.
Thanks in advance,
regards,
Cheruku.
Hi all,
I want to display KONP-MWSK1 field in VA01,02 and 03 transactions.
I have added it to screen painter, coded as below in PBO module.
Data wa type konp.
SELECT SINGLE * FROM konp INTO wa .
konp-mwsk1 = wa-mwsk1.
Now it is displaying the same tax code all the time when i see in VA01, 02 and 03 transactions even for different materials, soldto party and ship to party.
what condition i must write to get the correct tax code for the creating va01 transaction.
Thanks in advance,
regards,
Cheruku.
2014 May 26 12:20 PM
In VA01, so before creation, you will have some serious problem to read this information from database...
Better try to access to internal table TKOMP of the main program (READ TABLE) put the module code in one of the include provided MV45AOZZ.
Regards,
Raymond
2014 May 26 12:24 PM
2014 May 26 12:41 PM
Both includes are used in the same main program(s) so yes, but that is not "best practices" (click on hyperlink for reference)
Regards,
Raymond