SAP Note 8583 - Transferring SD bill.doc. no. as external doc. no.

Component : Account Assignment -

Solution : https://service.sap.com/sap/support/notes/8583 (SAP Service marketplace login required)

Summary :
In SAP FI module, billing document numbers can be transferred to accounting as external document numbers, ensuring both document numbers are identical. With Release 2.2A, focus on points 4 and 5. An advance correction is available from Release 2.1C. Report LV60BTOP must be updated to include new fields and enable external number assignment. For report LV60BU01, update the FUNCTION 'RF_DOCUMENT_CREATE'. Report LV60BF00 needs changes in forms ACCOUNTING_DOCUMENT_HEADER and ACCOUNTING_DOCUMENT_ITEM to align billing and accounting documents. In report RV60BFZA, implement user exit modifications. Customize document type 'RX' in VOFA and set document number range "RX" in Transaction FBN1 and type in OBA7.

Key words :
line      tables    t_komk1        = xkomk1                t_komk2        = xkomk2                t_komk3        = xkomk3                t_komk4        = xkomk4      exceptions error_message = 01, call function 'rf_document_create'      exporting i_awtyp        = awtyp                i_belex        = belex, form accounting_document_header       form accounting_document_item       form accounting_tax       form txjcd_aufbereiten, prerequisites consulting note solution partially implemented, define document type blart = 'rx' directly, billing document number = accounting document number, line  xkomk1-xblnr = vbrk-vbeln, number      current number   ext rx  9999   0090000000      0099999999, line    xkomk3-hkont = cash_sale_account, xkomk4-belnr = vbrk-vbeln

Related Notes :

381660FBWE:file in CSB58 format with reference information
301077User exits for the interface for accounting
170183
84532Revenue Recognition: External document number