Solution : https://service.sap.com/sap/support/notes/25144 (SAP Service marketplace login required)
Key words :
15840 call function 'pricing_copy'15850 exporting15860 currency_new = vbrk-waerk15870 currency_new_date = vbrk-fkdat15880 currency_new_local = t001-waers15890 currency_new_rate = vbrk-kurrf15900 currency_new_type = vbrk-kurst15910 currency_old = vbak-waerk15920 vbtyp_new = vbrk-vbtyp15930 document_number_from = vbak-knumv15940 document_number_to = beleg15950 item_number_from = vbap-posnr15960 item_number_to = xposnr15970 mode = tvcpf-knprs15980 quantity_new = vbrp-fklmg15990 quantity_old = vbrp-lmeng16000 order_number = vbak-vbeln <--------16010 tables16020 tkomv = xkomv, call function 'convert_to_local_currency' exporting date = currency_new_date foreign_amount = xkwert foreign_currency = konv-waers local_currency = currency_new_local rate = konv-kkurs type_of_rate = kurstyp importing local_amount = xkwert exceptions no_rate_found = 4, call function 'convert_to_foreign_currency' exporting date = currency_new_date local_amount = xkwert foreign_currency = currency_new local_currency = currency_new_local rate = currency_new_rate type_of_rate = kurstyp importing foreign_amount = xkwert exceptions no_rate_found = 4, 013820 ---------------------------------------------------------------013830 form fakturaposi_lieferbezogen013840 ---------------------------------------------------------------013850 erzeugen fakturakopf und -position aus lieferposition013860 ---------------------------------------------------------------013870 --> likp lieferscheinkopf013880 --> lips lieferscheinposition013890 <-- xvbrk, vbrk-vbeln ne vbfa-vbeln, vbak vbrk, function module pricing_copy, vbrk-vbtyp default ' '-----> order_number, function pricing_copy, zitabkey_b-fkbel = vbrk-sfakn
Related Notes :
434526 | Shipment costs for milestone billing II |
381348 | Using user exit, customer exit, VOFM in SD |