Menu

SAP Function Module BBP_ICC_NF_GET_DOCREF

Get original NF number

The Function Module BBP_ICC_NF_GET_DOCREF (Get original NF number) is a standard Function Module in SAP ERP and is part of the function group BBP_ICC_BR_NOTA_FISCAL within the package BBP_ADDON_46C.

Technical Information

Function Module BBP_ICC_NF_GET_DOCREF
Short Text Get original NF number
Function Group BBP_ICC_BR_NOTA_FISCAL
Package BBP_ADDON_46C
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IV_GR_NUMBER TYPE LFBNR Document number of a reference document
IV_GR_YEAR TYPE LFGJA Fiscal year of current period
IV_PO_ITEM TYPE EBELP Item number of purchasing document
IV_PO_NUMBER TYPE EBELN Purchasing document number

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ET_NFDOC TYPE PI_NFDOC_T PlugIn: Table of Nota Fiscal Headers

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
GR_NOT_FOUND Goods receipt not found in PO history
IV_NOT_FOUND No invoice found in PO history
NF_DB_INCONSISTENT Inconsistency in NF database
NF_NOT_FOUND No nota fiscal of invoice found
PO_NOT_FOUND Error reading PO history