SAP J_1B_NFE_PROCESS_OUTBOUND Function Module for Central outbound function for NFE









J_1B_NFE_PROCESS_OUTBOUND is a standard j 1b nfe process outbound SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Central outbound function for NFE processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for j 1b nfe process outbound FM, simply by entering the name J_1B_NFE_PROCESS_OUTBOUND into the relevant SAP transaction such as SE37 or SE38.

Function Group: J_1B_NFE
Program Name: SAPLJ_1B_NFE
Main Program: SAPLJ_1B_NFE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function J_1B_NFE_PROCESS_OUTBOUND pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'J_1B_NFE_PROCESS_OUTBOUND'"Central outbound function for NFE
EXPORTING
I_DOCNUM = "Document number
* I_VBELN = "Billing Document
* I_CHECKCONTING = ' ' "Check Contingency

IMPORTING
E_CANCEL_DOCNUM = "Document number

CHANGING
CS_HEADER = "Nota Fiscal Header

TABLES
* IT_NFLIN = "Nota Fiscal line items
* IT_CTE_RES = "Information about resource
* IT_CTE_DOCREF = "Reference to the NF-e being transported
* IT_TRANS_VOLUMES = "Transported Volumes
* IT_TRAILER_INFO = "Trailer Information
* IT_TRADE_NOTES = "Trade Notes
* IT_ADD_INFO = "Free Usage Fields for Additional Information
* IT_REF_PROC = "Additional Information: Referenced Processes
* IT_SUGAR_SUPPL = "Daily Supply of Sugarcane
* IT_SUGAR_DEDUC = "Taxes and Contributions on Sugarcane
* IT_VEHICLE = "Nota Fiscal: Vehicle Details
* IT_NFNAD = "Nota Fiscal partners
* IT_PHARMACEUT = "Nota Fiscal: Pharmaceutical
* IT_FUEL = "Nota Fiscal: Fuel Details
* IT_NFSTX = "Nota Fiscal tax per item
* IT_NFFTX = "Nota Fiscal header message
* IT_NFREF = "Nota Fiscal reference to header message
* IT_NFCPD = "Nota Fiscal one-time accounts
* IT_VBFA = "Reference Structure for XVBFA/YVBFA
* IT_IMPORT_DI = "Nota Fiscal Data for Import Documents
* IT_IMPORT_ADI = "Nota Fiscal Data for Additions to Import Documents

EXCEPTIONS
EX_CONTINGENCY = 1
.



IMPORTING Parameters details for J_1B_NFE_PROCESS_OUTBOUND

I_DOCNUM - Document number

Data type: J_1BDOCNUM
Optional: No
Call by Reference: Yes

I_VBELN - Billing Document

Data type: VBELN_VF
Optional: Yes
Call by Reference: Yes

I_CHECKCONTING - Check Contingency

Data type: FLAG
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for J_1B_NFE_PROCESS_OUTBOUND

E_CANCEL_DOCNUM - Document number

Data type: J_1BDOCNUM
Optional: No
Call by Reference: Yes

CHANGING Parameters details for J_1B_NFE_PROCESS_OUTBOUND

CS_HEADER - Nota Fiscal Header

Data type: J_1BNFDOC
Optional: No
Call by Reference: Yes

TABLES Parameters details for J_1B_NFE_PROCESS_OUTBOUND

IT_NFLIN - Nota Fiscal line items

Data type: J_1BNFLIN
Optional: Yes
Call by Reference: Yes

IT_CTE_RES - Information about resource

Data type: J_1BCTE_D_RES
Optional: Yes
Call by Reference: Yes

IT_CTE_DOCREF - Reference to the NF-e being transported

Data type: J_1BCTE_D_DOCREF
Optional: Yes
Call by Reference: Yes

IT_TRANS_VOLUMES - Transported Volumes

Data type: J_1BNFTRANSVOL
Optional: Yes
Call by Reference: Yes

IT_TRAILER_INFO - Trailer Information

Data type: J_1BNFTRAILER
Optional: Yes
Call by Reference: Yes

IT_TRADE_NOTES - Trade Notes

Data type: J_1BNFTRADENOTES
Optional: Yes
Call by Reference: Yes

IT_ADD_INFO - Free Usage Fields for Additional Information

Data type: J_1BNFADD_INFO
Optional: Yes
Call by Reference: Yes

IT_REF_PROC - Additional Information: Referenced Processes

Data type: J_1BNFREFPROC
Optional: Yes
Call by Reference: Yes

IT_SUGAR_SUPPL - Daily Supply of Sugarcane

Data type: J_1BNFSUGARSUPPL
Optional: Yes
Call by Reference: Yes

IT_SUGAR_DEDUC - Taxes and Contributions on Sugarcane

Data type: J_1BNFSUGARDEDUC
Optional: Yes
Call by Reference: Yes

IT_VEHICLE - Nota Fiscal: Vehicle Details

Data type: J_1BNFVEHICLE
Optional: Yes
Call by Reference: Yes

IT_NFNAD - Nota Fiscal partners

Data type: J_1BNFNAD
Optional: Yes
Call by Reference: Yes

IT_PHARMACEUT - Nota Fiscal: Pharmaceutical

Data type: J_1BNFPHARMACEUT
Optional: Yes
Call by Reference: Yes

IT_FUEL - Nota Fiscal: Fuel Details

Data type: J_1BNFFUEL
Optional: Yes
Call by Reference: Yes

IT_NFSTX - Nota Fiscal tax per item

Data type: J_1BNFSTX
Optional: Yes
Call by Reference: Yes

IT_NFFTX - Nota Fiscal header message

Data type: J_1BNFFTX
Optional: Yes
Call by Reference: Yes

IT_NFREF - Nota Fiscal reference to header message

Data type: J_1BNFREF
Optional: Yes
Call by Reference: Yes

IT_NFCPD - Nota Fiscal one-time accounts

Data type: J_1BNFCPD
Optional: Yes
Call by Reference: Yes

IT_VBFA - Reference Structure for XVBFA/YVBFA

Data type: VBFAVB
Optional: Yes
Call by Reference: Yes

IT_IMPORT_DI - Nota Fiscal Data for Import Documents

Data type: J_1BNFIMPORT_DI
Optional: Yes
Call by Reference: Yes

IT_IMPORT_ADI - Nota Fiscal Data for Additions to Import Documents

Data type: J_1BNFIMPORT_ADI
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

EX_CONTINGENCY - Contingency is set

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_1B_NFE_PROCESS_OUTBOUND Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_it_nflin  TYPE STANDARD TABLE OF J_1BNFLIN, "   
lv_i_docnum  TYPE J_1BDOCNUM, "   
lv_cs_header  TYPE J_1BNFDOC, "   
lv_ex_contingency  TYPE J_1BNFDOC, "   
lv_e_cancel_docnum  TYPE J_1BDOCNUM, "   
lt_it_cte_res  TYPE STANDARD TABLE OF J_1BCTE_D_RES, "   
lt_it_cte_docref  TYPE STANDARD TABLE OF J_1BCTE_D_DOCREF, "   
lt_it_trans_volumes  TYPE STANDARD TABLE OF J_1BNFTRANSVOL, "   
lt_it_trailer_info  TYPE STANDARD TABLE OF J_1BNFTRAILER, "   
lt_it_trade_notes  TYPE STANDARD TABLE OF J_1BNFTRADENOTES, "   
lt_it_add_info  TYPE STANDARD TABLE OF J_1BNFADD_INFO, "   
lt_it_ref_proc  TYPE STANDARD TABLE OF J_1BNFREFPROC, "   
lt_it_sugar_suppl  TYPE STANDARD TABLE OF J_1BNFSUGARSUPPL, "   
lt_it_sugar_deduc  TYPE STANDARD TABLE OF J_1BNFSUGARDEDUC, "   
lt_it_vehicle  TYPE STANDARD TABLE OF J_1BNFVEHICLE, "   
lv_i_vbeln  TYPE VBELN_VF, "   
lt_it_nfnad  TYPE STANDARD TABLE OF J_1BNFNAD, "   
lt_it_pharmaceut  TYPE STANDARD TABLE OF J_1BNFPHARMACEUT, "   
lt_it_fuel  TYPE STANDARD TABLE OF J_1BNFFUEL, "   
lt_it_nfstx  TYPE STANDARD TABLE OF J_1BNFSTX, "   
lv_i_checkconting  TYPE FLAG, "   SPACE
lt_it_nfftx  TYPE STANDARD TABLE OF J_1BNFFTX, "   
lt_it_nfref  TYPE STANDARD TABLE OF J_1BNFREF, "   
lt_it_nfcpd  TYPE STANDARD TABLE OF J_1BNFCPD, "   
lt_it_vbfa  TYPE STANDARD TABLE OF VBFAVB, "   
lt_it_import_di  TYPE STANDARD TABLE OF J_1BNFIMPORT_DI, "   
lt_it_import_adi  TYPE STANDARD TABLE OF J_1BNFIMPORT_ADI. "   

  CALL FUNCTION 'J_1B_NFE_PROCESS_OUTBOUND'  "Central outbound function for NFE
    EXPORTING
         I_DOCNUM = lv_i_docnum
         I_VBELN = lv_i_vbeln
         I_CHECKCONTING = lv_i_checkconting
    IMPORTING
         E_CANCEL_DOCNUM = lv_e_cancel_docnum
    CHANGING
         CS_HEADER = lv_cs_header
    TABLES
         IT_NFLIN = lt_it_nflin
         IT_CTE_RES = lt_it_cte_res
         IT_CTE_DOCREF = lt_it_cte_docref
         IT_TRANS_VOLUMES = lt_it_trans_volumes
         IT_TRAILER_INFO = lt_it_trailer_info
         IT_TRADE_NOTES = lt_it_trade_notes
         IT_ADD_INFO = lt_it_add_info
         IT_REF_PROC = lt_it_ref_proc
         IT_SUGAR_SUPPL = lt_it_sugar_suppl
         IT_SUGAR_DEDUC = lt_it_sugar_deduc
         IT_VEHICLE = lt_it_vehicle
         IT_NFNAD = lt_it_nfnad
         IT_PHARMACEUT = lt_it_pharmaceut
         IT_FUEL = lt_it_fuel
         IT_NFSTX = lt_it_nfstx
         IT_NFFTX = lt_it_nfftx
         IT_NFREF = lt_it_nfref
         IT_NFCPD = lt_it_nfcpd
         IT_VBFA = lt_it_vbfa
         IT_IMPORT_DI = lt_it_import_di
         IT_IMPORT_ADI = lt_it_import_adi
    EXCEPTIONS
        EX_CONTINGENCY = 1
. " J_1B_NFE_PROCESS_OUTBOUND




ABAP code using 7.40 inline data declarations to call FM J_1B_NFE_PROCESS_OUTBOUND

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_checkconting) = ' '.
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!