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: 

FM - condition technique

Former Member
0 Kudos

Hi,

Is there a function module that will take as input a billing document number + line item number, perform the necessary calculations (net value + values for relevant condition items from KONV-KWERT) and return the amount that is going to be passed along into the FI module when the accounting document is created with reference to the billing document?

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Dan,

sounds like you would like to select the accounting document itself.

Have a look at BKPF, with index 4 you can have a fast access with known invoice number. Positions can be found in BSEG.

If you like to discover differences between calculation and result in BKPF / BSEG, you have to run invoice transaction again. There might be user exits changing condition values.

Simple sum of KONV is not necessary correct, since not all components have to be stored - that's a question of customizing.

Regards,

Christian