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: 

How to fetch the subtotal value in to smartform from V/08(Pricing procedures) transaction

Former Member
0 Kudos

Hi Experts,

I have a requirement like this.

Functional consultant will update the Subtotal value in V/08(Pricing procedures) transaction.

From there I need to fetch that sub total value into Smartform (Invoice form).

could you please tell me how to fetch the Sub total value maintained in V/08 transaction into Smartform.

Could you please tell me how to fetch the XWORKG, XWORKF, XWORKE etc field values into Smartform (Invoice).

Thanks in advance.

Regards,

Nagireddy Alavala

2 REPLIES 2

Former Member
0 Kudos

Hi,

In Tcode V/08 functional people write sequence of pricing condition for a Sales order(there are others too). They do not provide the subtotal value there. There may be a pricing condition or a logic to come to a subtotal. Consult to your functional guy again and ask him to provide the condition type which will store the subtotal value. In your driver program you can read table KONV to read the same.

Hope this helps.

Former Member
0 Kudos

Please use this FM - CALL FUNCTION 'LB_BIL_INV_OUTP_READ_PRTDATA'

you can collect all the data of invoice at the time of print program.

CS_BIL_INVOICE-IT_PRICE-KZWI5 - subtotal value.

Thanks,

Kalyan.