Show TOC

 Communication Structures

Use

Sample report RVAFSS00 supplies communication structures XKOMFKGN and XKOMFKKO with data from the sequential file and initiates the billing process.

The following fields in the sequential file’s main record must be maintained:

Field name

Field length

Field description

MANDT

3

Client

AUART

4

Sales document type

VKORG

4

Sales organization

VTWEG

2

Distribution channel

SPART

2

Division

FKDAT

8

Billing Data

KUNAG

10

Sold-to party

MATNR

and

WERKS

or

LAND1

18

4

3

Material number

and

Plant

or

Country key

PSTYV

4

Item category

KWMENG

8

Cumulative order quantity

The following fields do not have to be maintained but it is recommended that you do so as it gives information on document flow.

VGBEL

10

Document number of the reference document

VGPOS

6

Item number

If you are also transferring pricing elements, you must maintain the following fields in the sequential file’s secondary record:

Field name

Field length

Field description

MANDT

3

Client in main record

KNUMV

10

VGBEL in main record

KPOSN

6

VGPOS in main record

KSCHL

4

Condition type

KBETR

6

Condition amount

All other fields in both communication structures KOMFKGN and KOMFKKO are optional. You may fill them with data from the system as necessary during the billing run (the payer field, for example).

Once the communication structures have been maintained, the system initiates billing with function module GN_INVOICE_CREATE.