Programme SAP RJFWBZ01 - Media Sales and Distribution - Print Invoices for WBZ

Description
This program is a print report that can be used to print an invoiceusing output control with a SAPscript form to be sent to the WBZcompany serving as payer.

Precondition
The report is started by an external call. The start routine is theform ENTRY, which must be entered in the customizing settings foroutput control. The program and routine must be specified for theappropriate condition type. You can also assign the form for printouthere.
Printing using collective processing is triggered by report RJNAST00.

Output
You can use the form to change the layout of output. The fieldsavailable are those from the billing document header (JFRK) and thebilling items (JFRP) and conditions (KOMVD).
Output of the bill-to party's address is performed based on extendedaddress management, which allows you to assign a print format for eachform and business partner role. The standard setting is outputcontaining 6 lines. The subscriber's address is displayed by means ofstructure JGTSADR.
Totals fields or other fields required can be obtained from thedictionary structure RJFSCRIPT.
The first page of the billing document header contains the number ofissues received. A page break is made for each publication and thetotals are also displayed for each one. If the billing documentcontains at least one condition type for 'bonus/discount', the data onthe bonus/discount is displayed on the second page of the billingdocument header for each subscriber. The total amounts/grand totals aredisplayed at the end.
The appendix to the billing document lists data on changes of asubscriber's status. The following distinctions are made:

  • Termination: The first issue for which billing is no longer performed
  • in a billing period is classed as a termination if there is no(partial) suspension.
    • New subscription: In the same way, a new subscription has been taken
    • out when billing is performed for the first time for an issue.
      • Delivery suspensions take place when a (partial) suspension is defined
      • for the subscriber.
        An appendix is always printed for new subscriptions or terminationscontaining totals. The item lines in the appendix contain data on theaffected subscribers with the relevant quantities. 'Copies' indicatesthe number of subscriptions a customer has.

        Performance
        Since the last billing document has to be read in order to determinethe terminations, you should create an index for field KUNRG in tableJFRK to improve performance (see note 49134).

525529M/SD: Invoice printout: Tax number for article 14