Ansicht
Dokumentation

J_5KV_INV - Print programm for SD invoice

J_5KV_INV - Print programm for SD invoice

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Description

The program J_3RVPF1 is designed for display/type-out of information on billing documents taken from SD Sales and Distribution module - in the form of original billing document generated in accordance with the legislation.

The program works together with the J_3RVINVOICE form for Russia, and the J_4KVINVOICE form - for Kazakhstan.

Requirements

The program automatically retrieves information from the company code data, customer master record, billing document for SD Sales and Distribution module, and from the material master record.

Output type

It is necessary to create your own output type or use the existing type.

Menu path: Customizing R/3: Implementation Guide (IMG): Sales and Distribution --> Basic Functions --> Output Control --> Output Output Determination --> Output Determination Using the Condition Technique --> Maintain Output Determination for Billing Documents

Assign the program and corresponding form to this output type in the "Maintain Output Types" --> "Processing routines" section.


Type Medium Program FORM routine Form
RD00 Invoice 1 Printer J_3RVPF1 ENTRY J_3RVINOICE

Restrictions for the pricing procedure

It is necessary to define the pricing procedure correctly (T683S-KZWIW table). The tax procedure in Financial Accounting (FI) module and the pricing procedure in Sales and Distribution (SD) should be adjusted.

Information from the pricing procedure is transferred into the program via intermediate pricing procedure amounts 1-6. The print indicator in the pricing procedure (T683S-DRUKZ field) should be activated for appropriate lines.

Menu path: Customizing R/3: Implementation Guide (IMG): Sales and Distribution --> Basic Functions -> Pricing -> Pricing Control -> Define And Assign Pricing Procedures (transaction V/08)

After customizing, it is recommended to check the correctness of intermediate amounts in the VBRP Billing Document: item data table.


Excise tax amount Field KZWI1 Condition subtotal 1 from the
calculation procedure
Net amount Field KZWI3 Condition subtotal 3 from the
calculation procedure
Gross amount including VAT Field KZWI4 Condition subtotal 4 from the
calculation procedure
VAT amount Field KZWI5 Condition subtotal 5 from the
calculation procedure
Sales tax amount Field KZWI6 Condition subtotal 6 from the
calculation procedure

Invoice number is transferred from the accounting document number created in the FI Financial Accounting module. The document should be posted in the system prior to printing.

Untaxable transactions

If the VAT code for transactions exempt from taxation is used in the billing document, a dash is entered in columns 7 ("Tax rate") and 8 ("Invoice tax amount"). This happens only if this very VAT code has been entered in the Table for Grouping Tax Basis Balances (T007K). The grouping version should be defined as PAY.

Menu path: Customizing R/3: Implementation Guide (IMG): -> General Ledger Accounting -> Business Transactions -> Closing -> Reporting -> Sales/Purchases Tax Returns -> Group Tax Base Balances

Example

Country code: RU

Tax grouping version: PAY

Tx Description Trs Tx.bs
B0 Output tax for transactions exempt from VAT MW1 4

In invoices on transactions exempt from VAT, you can print out the Exempt from VAT entry in the Addition row. For this purpose, the Form header text long header text of the SD invoice (the VBBK object, identifier '0001') is used.

Foreign trade data

According to the statutory requirements, data on the country of goods' origin and the cargo customs declaration number should be specified in the invoice upon goods shipping performed by the importing company.

To do this, use data from the EIPO Foreign Trade: Export/Import: Item Data table:

  • Field EIPO-HERKL Country of origin
  • Field EIPO-VORNU Preliminary document number

Data is entered in the SD Sales and Distribution module upon billing.

At the same time, the following is entered in the Foreign trade data for the billing document item section:

  • the cargo customs declaration number in the Preliminary document number field (the Preceding documents subsection)
  • the country of goods' origin in the Origin/Definition/Àarticipating Áountries section

Starting from version 4.6X, the cargo customs declaration number is entered in the Comment section (Field EIPO-TEXT3 Text for processing foreign trade transactions) since the Preceding documents section is unavailable.

If an invoice is issued on goods that are not imported, then:

  • Russia is entered in the Country of origin field
  • the dash is entered in the Preliminary document number field

Texts are used for the displaying data on the payment document number and date in the "For payment and settlement documents" field (the VBBK text object with identifiers 0013 and 0014, correspondingly).

Menu path: Customizing R/3: Implementation Guide (IMG): Sales and Distribution --> Basic functions --> Text Control --> Define Text Types

Output

A description of the "Billing Document Output" output is created for the processed document (transaction VF02 Change Billing Document.

Menu path: Billing Document --> Change --> Header --> Output

Printing documents is performed using the Output activity (transaction VF02 Change Billing Document).

Example






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 6310 Date: 20240531 Time: 145453     sap01-206 ( 87 ms )