Ansicht
Dokumentation

CRMXIF_FBCINVOICE_SAVE - Interface Function Module for Interface Type:CRMXIF_FBCINVOICE_SAVE

CRMXIF_FBCINVOICE_SAVE - Interface Function Module for Interface Type:CRMXIF_FBCINVOICE_SAVE

ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module defines the interface for invoices/bills from Service Billing of Biller Consolidator.

The interface is realized as an adapter of CRM Middleware (XIF) and enables processing of XML/SOAP calls.

In the Billing Engine, (transaction /1BEA/FBCB_DL_01) billing due lists (cost events of Biller Consolidator) can be billed. The bills that are generated in this way are sent to external systems using CRM Middleware and the external billing interface (XIF) in SOAP/XML format.

The outbound function module (SOAP/XML: CRMXIF_FBCINVOICE_XML_SEND) sends the bill in the form of a complex data type of the structure /1BEA/BS_FBCB_BD that represents the external interface. All the data relevant to the bill is sent but no delta information.

The external interface has an extremely nested structure in which subsegments are hierarchically related to their parent segments or act as parent segments themselves.

Basically, the interface consists of a header with the table-like subsegment components: item, price and tax.

The hierarchy display of this structure will give you a good overview (transaction SE12, Hierarchy Display).

Example

Header

General information on a billing document is sent on header level, for example

  • Number assigned by the Billing Engine to the new bill (HEADNO_EXT 9000000036), bill type (BILL_TYPE F2 for bill)
  • Document currency assigned when the order is created (DOC_CURRENCY DEM); ISO code of currency (DOC_CURRENCY_ISODEM)
  • Reference currency of responsible organizational unit for which exchange rates exist in the System (REF_CURRENCY EUR)
  • Total net amounts of all items and quantities without tax ( NET_VALUE 80000.0000)
  • Total tax amount of all items (for example: TAX_VALUE 12800.0000 at 16% sales tax)
  • Bill date (BILL_DATE 20010809)
  • Payer (ID number from CRM Business Partner master record PAYER 0000273343)

Item

On the item level, information on the ordered product is sent such as

  • Product description (PRODUCT_DESCR Dialog step in workflow)
  • Ordered quantity of product (QUANTITY 1)
  • Unit of measure in which the product is purchased (QTY_UNIT ST)
  • Net amount of product multiplied by the number of products ordered (NET_VALUE80000.0000)
  • Tax amount multiplied by the number of products ordered (TAX_VALUE12800.0000)
  • Total amount (GROSS_VALUE 92800.0000)
  • Tax destination country (TAX_DEST_COUNTRYAUS, the tax departure country can be derived from the COUNTRY field contained in the tax component of the billing item)

Tax

Tax components of both billing header and billing items contain all tax values (for example AMOUNT 16.0000, CURRENCYUNIT %) for tax elements (TAXTYPE MWST).

Condition

Conditions on billing items contain the condition types used in the CRM System such as prices (COND_TYPE0PR0), markups and discounts, tax or shipping costs and related charges.

Notes

Further information

For more information on external interfaces, see SAP Service Marketplace at the following Internet address:

service.sap.com/CRM-CI.

Basic Settings

Monitoring Transactions





Parameters

DATA
RETURN

Exceptions

Function Group

CRMXIF_FBCINVOICE_GEN

Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5605 Date: 20240523 Time: 095754     sap01-206 ( 66 ms )