Skip to end of metadata
Go to start of metadata

Overview

Future delivery is the scenario of when you purchase goods but must pay before the vendor delivers the goods. 

This process involves two Notas Fiscais: one is the invoice, and the other is to accompany the goods.

The following section will explain the step-by-step of this process using Incoming Automation with SAP NFE (GRC).

Standard Process Flow

  1. Create purchase order
    1. Make sure GR-BSD-IV flag is not checked.
    2. In confirmation tab, you should select the option 0004 - inbound delivery.
  2. Create an outgoing Nota Fiscal, for the invoice receipt.
    1. The item type should be 41.
    2. Enter <The purchase order> and <Purchase order item number> in item detail tab fields <Purchase Order> and <PO Item>, respectively. 
  3. Go to your fiscal workplace, enter the Nota Fiscal just created.
    1. Assign this Nota Fiscal to your purchase order.
    2. Choose Simulate Invoice and NF-e in pulldown Execute Process Step;
    3. Choose Run Simulate pushbutton;
    4. Choose Save Results pushbutton;
    5. Choose Set Status to “OK” pushbutton;
    6. Choose Enter DANFE in pulldown Execute Process Step;
    7. Choose Set Status to “OK” pushbutton;
  4. Create a second outgoing Nota FIscal, for the goods receipt. 
    1. The item type should be 42.
    2. Enter <The purchase order> and <Purchase order item number> in item detail tab fields <Purchase Order> and <PO Item>, respectively. 
    3. Enter <The Invoice Document Number> in the field Orig.docum.num and enter <The Invoice Item Number> in the field NF ref.Item.
  5. Go to your fiscal workplace, enter the Nota Fiscal just created.
    1. Choose Simulate Goods Receipt and NF-e in pulldown Execute Process Step.
    2. Enter CFOP and tax code 
    3. Run the simulation, save results and set status to ok. 
    4. Enter DANFE, and set status to ok. 
  6. Go to your logistics workplace, enter the Nota Fiscal of the goods receipt.
    1. Choose Enter Goods Receipt Quantities in pulldown Execute Process Step;
    2. Choose Save Entered Quantities pushbutton;
    3. Choose Confirm Quantities and Set Status to “OK” pushbutton;
  7. Go back to your fiscal workplace.
    1. Choose Check Goods Receipt Quantities in pulldown Execute Process Step.
    2. Choose Confirm Quantities and Set Status to “OK” pushbutton.
  8. Go to your logistics workplace to finish this goods receipt process. 
    1. Choose Prepare Goods Receipt Posting in pulldown Execute Process Step.
    2. Choose Set Status to “OK” pushbutton.

**Keep in mind some of these steps may vary according to your settings. Some of them might be done manually, some of them might be done automatically. This is just one example of a possible scenario. 

 

Debug Tips

The future delivery process occurs in two flows as described below:

The first flow will be: FUTDELIV - invoice receipt

1. SIGNATUR Signature Check
2. AUTHORIZ Authorization Check
3. FDIVVALD Validation of invoice 
4. FDASSIGN Purchase order assignment
5. NSIMFDIV  Invoice/ NFE simulation
6. ACCNOTIF  Notification of Successful Processing
7. RECDANFE Enter Danfe
8. FDIVPOST  Posting of invoice and NFE
9. SENDOPCO Create operation confirmation


The second flow will be: FUTDELGR - goods receipt

1. SIGNATUR

Signature Check  
2. AUTHORIZ  Authorization Check     
3. FDELVALD Validation of invoice  
4. POASSREF Purchase order assignment
5. NSIMFDGR Simulation of goods receipt  
6. FDDELCRE Future inbound delivery creation
7. ACCNOTIF Notification of Successful Processing
8. RECDANFEEnter Danfe
9. AUTHGRPT Check Authorization After DANFE Receipt  
10. GRCONFQU Enter Goods Receipt Quantities    
11. GRFICHCK Check Goods Receipt Quantities   
12. GRMMCHCK Prepare Goods Receipt Posting   
13. FDGRPOST  Goods receipt posting     
14. SENDOPCOCreate operation confirmation   


**This info can be found for any scenario, on table /XNFE/PROCFLOW, on GRC.

The main steps, that usually causes error, are highlight above. 

You can simulate these steps on the fiscal workplace or via backend, as instructed below:

In the backend of you GRC, run program /XNFE/NFE_TEST_PROCESS_STEP and fill the parameters as shown below (this information that can be picked up from table /XNFE/INNFEHD).

**Keep in mind, in this scenario the process can be FUTDELGR or FUTDELIV.

The first thing you should do if you want to debug this scenario is to add a breakpoint on the RFC call. 

When you reach the RFC breakpoint, is when GRC will call ECC and this is where will start your debug based on your error.

Most error happens in ECC. GRC errors are mainly due to transformations and/or tags. 

Here are some points to debug this scenarios:

For tax calculation

  • Class CL_TAX_CALC_BR

Nota Fiscal Creation

  • Include: LJ1BFF01 
  • Form: CREATE_NOTA_FISCAL        

Material document creation

  • Function Module:  J_1B_IM_NF_DOCUMENT_GENERATE                

Related Documents

The manual process is described in WIKI - Future Delivery Overview Process.

Related Notes/KBAs


 


  • No labels