Skip to end of metadata
Go to start of metadata

Overview

Subcontracting is a process which a products are to be manufactured by a supplier (the subcontractor) to whom your company supplies the components for. 

You can receive the goods in one Nota Fiscal or two Notas Fiscais.

Standard Process Flow

The manual process is described in these WIKIs:

The incoming process is divided as follows:

NF-e for Subcontracting

SUBCON1A

  • Assign Purchase Order Items

  • Simulate Invoice and NF-e

  • Generate Inbound Delivery

  • Post Goods Receipt

  • Post Invoice and NF-e

NF-e for Symbolic Returns

SUBCON2C

  • Simulate Material Document and NF-e

  • Post Subsequent Adjustment and NF-e

NF-e for Returns of Components

SUBCON2D

  • Assign Purchase Order Items

  • Simulate Material Document and NF-e

  • Post Component Return and NF-e

Debug Tips

The subcontracting process occurs in three flows, as described below:

Process flow for SUBCON1A - NF-e for Subcontracting

1SIGNATUR Signature Check
2AUTHORIZ Authorization Check
3

SCONVALD

Validate - Subcontracting
4SCASSIGNAssign Items with Components
5NFESIMSCSimulate Invoice and NF-e
6

SCDELCRE

Create Delivery - Subcontracting
7ACCNOTIF Notification of Successful Processing
8RECDANFE Enter Danfe
9

AUTHGRPT 

Check Authorization After DANFE Receipt
10

GRCONFQU 

Enter Goods Receipt Quantities
11

GRFICHCK 

Check Goods Receipt Quantities
12GRMMCHCKPrepare Goods Receipt Posting
13

GRSCON1A 

Goods Receipt - Subcontracting
14

IVSCON1A 

Post Invoice and NF-e - Subcontracting
15SENDOPCO Create operation confirmation

Process Flow for SUBCON2C - Symbolic Return for Subcontracting Components

1SIGNATUR Signature Check
2AUTHORIZ Authorization Check
3

SCONVALD

Validate - Subcontracting
4

SCASSIGN

Assign Items with Components
5

NFESIMSA

Simulate Goods Movement and NF-e
6

GISCON2C

Goods Issue: Symbolic Return Subc. Comp.
7SENDOPCO Create operation confirmation


Process Flow for SUBCON2D - Return of Subcontracting Components

1SIGNATUR Signature Check
2AUTHORIZ Authorization Check
3

SCONVALD

Validate - Subcontracting
4

ASSUNITS

Check and Assign Units of Measure
5

NFESIMGR

Simulate Goods Receipt and NF-e
6ACCNOTIF Notification XML Accepted
7RECDANFE Enter DANFE
8

AUTHGRPT

Check Authorization After DANFE Receipt
9

GRCONFQU

Enter Goods Receipt Quantities
10

GRFICHCK

Check Goods Receipt Quantities
11

GRMMCHCK

Prepare Goods Receipt Posting
12

GRSCON2D

Goods Receipt Return - Subcontr. Comp.
13SENDOPCOCreate 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).

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  


Related Documents


Related Notes/KBAs


  • No labels