cancel
Showing results for 
Search instead for 
Did you mean: 

Funtion Module in accounting document

Former Member
0 Kudos

Hi All,

Can someone tell what function module is called while creating the accounting document and what are its important import and export parameters?

Regards

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijay,

The most important funtion module responsible to creating accounting documentt is RV_ACCOUNTING_DOCUMENT_CREATE . Below are its important import and export parameters:

Import parameters

CASH_SALE_ACCOUNT : contains the cash clearing account, if this is not to be posted to the customer

CPD_ADRESS: must be filled if you are posting to a one-time customer

DOCUMENT_OLD : contains the $000000x number of the billing document, as VBRK-VBELN already has the final value, XVBRP and so on still contain $000000x

INVOICE_HEADER : Contains the billing header VBRK

I_COMP : Control parameter, if only CO is to be posted

I_COMP_CHECK : Control parameter if only CO is to be posted (check run)

CHECK : Controlling for error messages (issue immediately or in log)

MODE : Change mode ( A = old, B = new)

MODE_TYPES : Scope of change (1=rebate/2=VPRS)

Differences can occur due to the update of cost price conditions or rebate conditions in billing documents that have already been posted. These two fields (MODE and MODE_TYPES) are required to enable the posting of those differences to CO-PA.

RRREL: If this field is set, the billing document contains revenue recognition items

BOKRE : If this field is set, the billing document is rebate-relevant

These two fields (RRREL and BOKRE) are required for the new cancellation function as of Release 4.6A. This is because the new cancellation procedure cannot be implemented for revenue recognition or rebate relevant billing documents.

Export parameters

O_VBRK_RFBSK: This is set if an error has occured in account determination ( characteristic B)

O_KONV_CHANGED: This is set if XKOMV is changed in account determination

Regards

Roop

Answers (0)