Programme SAP RNACRF02 - IS-H: Billing: Account Determination + Transfer to External System

Description
This program determines the corresponding invoice line items andcondition records for a predefined invoice selection which canoptionally be made via an invoice number interval or the invoicestatus. It carries out an account determination and completes thecondition records correspondingly. Furthermore, transferring thebilling records, the corresponding items and the condition recordscompleted with the redetermined accounts can also be carried out at thesame time.
Notes:

  • Please always run the program in the test mode first and check the
  • resulting list!
    This means that no communication should be activated and no updating ofthe condition records was chosen (these are the defaults of thecorresponding selection parameters).
    • Afterwards, you can start a production run (that is, update and
    • communication with external system required) which has the followingconsequences:
      Update of the found condition records in the database. In this case,redetermined accounts are put into the account fields which were emptyup to now. If the account field has already been filled, it is notoverwritten.
      Transfer of the invoice records, the corresponding items and thecondition records to the interface module entered in Customizing (eventRF0001). These records can then be processed again in the externalsystem.
      • If you only select via invoice status, the program searches the entire
      • database of the invoice headers, so very long runtimes can be caused.restriction via a billing number interval is therefore always to berecommended.
        • No update of the invoice status (field VBRK-RFBSK) occurs, since there
        • may be communication problems with the external system which prevent atransfer. However, a further selection would then no longer be possiblevia the status. This update should be carried out with your own programafter transferring was successful.
          • There is no kind of logic which for instance tests whether invoice
          • records have already been transferred, that is, an invoice can betransferred with this program as often as required, and therefore maypossibly cause inconsistencies in Financial Accounting in the externalsystem (due to negligent handling).

            Precondition
            Please ensure error-free communication for a production run. However,if the communication fails, you can start a renewed run, during which,for example, no update of the condition records was chosen, but onlycommunication.

            Output
            In each case, you receive a list with the following information:billing document number, billing status, number of the document term (=1st key field of the condition records for the current invoice) andalso the corresponding condition records. The last 4 columns, in whichthe redetermined and originally available accounts are specified, areimportant here (in each case, the 1st account is the revenue account,the 2nd is the accrual account).
            In addition, you are informed about the current mode and receivepossible communication errors at the end of the list if the productionmode is chosen (with communication).