Application Development and Automation 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: 
Read only

smartforms tax issue

Former Member
0 Likes
972

Hi exports,

I struck in po print form by using calculate_tax_item I get the base value and tax total amount but

I want display tax pricing elements for ex : go me23n---> invoice----->Taxes heare we get .

but I want to table about the logic.

1 ACCEPTED SOLUTION
Read only

tharu
Contributor
0 Likes
885

HI Praveen,

use "BAPI_PO_GETDETAIL1" to get all details of a PO Number and in that these pricing conditions are in POCONDHEADER and POCOND tables.

go to se37 --> enter "BAPI_PO_GETDETAIL1 " --> Execute -->  Enter your PO number in "Purchase Order " --> Execute. You will get all details for particular PO .

Or else,

These Pricing Conditions are stored in KONV table. Take KNUMV from EKKO table against your PO number and pass this KNUMV to KONV table.

You will get all pricing conditions (Ex : BSBB, JSVD, ZVTT ...) against KNUMV value.

KONV table - KSCHL is the pricing conditions name (Ex : BSBB, JSVD, ZVTT ...)



You may execute these table in SE16n and see.

KONV Table - Conditions (Transaction Data).

KONH - Conditions (Header)

KONP  - Conditions ( Item )

Thanks

Tharaka

Hi exports,

I struck in po print form by using calculate_tax_item I get the base value and tax total amount but

I want display tax pricing elements for ex : go me23n---> invoice----->Taxes heare we get .

but I want to table about the logic.

3 REPLIES 3
Read only

tharu
Contributor
0 Likes
886

HI Praveen,

use "BAPI_PO_GETDETAIL1" to get all details of a PO Number and in that these pricing conditions are in POCONDHEADER and POCOND tables.

go to se37 --> enter "BAPI_PO_GETDETAIL1 " --> Execute -->  Enter your PO number in "Purchase Order " --> Execute. You will get all details for particular PO .

Or else,

These Pricing Conditions are stored in KONV table. Take KNUMV from EKKO table against your PO number and pass this KNUMV to KONV table.

You will get all pricing conditions (Ex : BSBB, JSVD, ZVTT ...) against KNUMV value.

KONV table - KSCHL is the pricing conditions name (Ex : BSBB, JSVD, ZVTT ...)



You may execute these table in SE16n and see.

KONV Table - Conditions (Transaction Data).

KONH - Conditions (Header)

KONP  - Conditions ( Item )

Thanks

Tharaka

Read only

Former Member
0 Likes
885

Call Table EKKO - Purchasing header data where key file for condition records are KNUMV.

This KNUMV value pass in condition record table KONV and you will get all the conditions there and logic set according to fields for calculation.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
885

If not already performed, call FM ME_READ_PO_FOR_PRINTING to initialize many data.

Then fill an internal table of type komv from komv with key knumv = ekko-knumv.

select * into table lt_komv from konv
             where knumv = ekko-knumv.

Last you could perform some calculation update thru

call function 'PRICING_REFRESH'
   tables
     tkomk = lt_komk
     tkomv = lt_komv.
call function 'RV_PRICE_PRINT_REFRESH'
   tables
     tkomv = lt_komv.

Then use those internal tables.


Regards,

Raymond