10-16-2015 6:24 AM
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
10-16-2015 6:49 AM
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.
10-16-2015 9:52 AM
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.