8/9/2019 Configuring CFOP on SAP.docx
1/20
Configuring CFOP on SAP
Posted on June 30, 2013by leandropia
Now that you know what does CFOP means and what is used for, it is time to know
how to configure the CFOP on SAP in 5 steps:
1 Define CFOP Version
The first actiity necessary is !"#F$N# CFOP %#&S$ONS' and you can do that either
maintaining the ta()e*iew +-.CFOP%#&% or ia $/0 path !Cross1App)ication
Components 2 0enera) App)ication Functions 2 Nota fisca) 2 CFOP Codes 2 "efine
CFOP %ersions'3
Now a days it is not necessary to maintain the o)d CFOP )ength ersion anymore,
then, enter the fo))owing data:
Version:-
Description for CFOP Version:N#4 CFOP "$0$TS
Redeterm.:Considering your SAP insta))ation is new, you don6t hae the o)d
CFOP format 7rep)aced in 899;, then, it is not necessary to actiate this check3
CFOP Lngth: CFOP
8/9/2019 Configuring CFOP on SAP.docx
2/20
Fo))ow the path !$/0 2 Cross1App)ication Components 2 0enera) App)ication
Functions 2 Nota fisca) 2 CFOP Codes 2 Assign %a)idity "ate to CFOP %ersions' or
use the S/9 to maintain the ta()e*iew +-.CFOP@N%3
Type %a)id1From, Country, %ersion3
& Define CFOP Codes #nd !ssign Version
ou can maintain the iew +-.A0N% or fo))ow the customiBing path: $/0 2 Cross1
App)ication Components 2 0enera) App)ication Functions 2 Nota fisca) 2 CFOP
Codes 2 "efine CFOP Codes and Assign %ersion
The CFOP codes and respectie descriptions are part of a )ega) system to define the
e=act)y operation for eery goods moement going from or coming to the p)ant or
company in .raBi)3
ou shou)d ask for a fu)) )ist of CFOP codes and description to the company Ta=es and
Fisca) department3 ou may want to ask me adding a comment here and $ wi))
forward it to you3
Check a samp)e (e)ow:
8/9/2019 Configuring CFOP on SAP.docx
3/20
' Define CFOP Determin#tion for (oods Receipts #nd ret)rns
$n this actiity, you define the entries in the CFOP determination ta()e for incoming
moements 7goods receipts; and their returns3 The system uses these entries in the
/ateria)s /anagement components
8/9/2019 Configuring CFOP on SAP.docx
4/20
ou can use the iew +-.AON% or the path $/0 2 Cross1App)ication Components 2
0enera) App)ication Functions 2 Nota fisca) 2 CFOP Codes 2 "efine CFOP
"etermination for 0oods &eceipts and &eturns 7%ersioned;
See (e)ow an e=amp)e:
* Define CFOP Determin#tion for (oods Iss)e #nd ret)rns
ou define the entries in the CFOP determination ta()e for outgoing moements
7goods issues; and their returns3 The system uses these entries in Sa)es and
"istri(ution and /ateria)s /anagement $nentory /anagement3 The ru)es from
this ta()e wi)) define automatica))y the correct CFOP for that specific operation during
the goods incoming3
ou can do it maintain the iew +-.APN% or ia customiBing menu: $/0 2 Cross1
App)ication Components 2 0enera) App)ication Functions 2 Nota fisca) 2 CFOP
Codes 2 "efine CFOP "etermination for 0oods $ssues and &eturns 7%ersioned;
See an e=amp)e (e)ow:
8/9/2019 Configuring CFOP on SAP.docx
5/20
ou can find more detai)s a(out CFOP checking SAP OSS Note 5D-EE3
CFOP Automatic Determination
Posted on July 7, 2013byleandropia
Now that you know what a CFOP stands for, it is time to understand how CFOP getautomatica))y assigns to an $ncoming or Outgoing Nota Fisca)3
CFOP Automatic "eterminationParameters
The fo))owing parameters are re)eant for CFOP determination:
-; "irection of the /oement
- $ncoming 7same state;
8 $ncoming 7different state;
$ncoming 7different Country;
5 Outgoing 7same state;
http://sapbrazil.wordpress.com/2013/07/07/cfop-automatic-determination/http://sapbrazil.wordpress.com/2013/07/07/cfop-automatic-determination/http://sapbrazil.wordpress.com/author/leandropia/http://sapbrazil.wordpress.com/2013/07/07/cfop-automatic-determination/http://sapbrazil.wordpress.com/2013/07/07/cfop-automatic-determination/http://sapbrazil.wordpress.com/author/leandropia/8/9/2019 Configuring CFOP on SAP.docx
6/20
Outgoing 7different state;
D Outgoing 7different country;
8; /ateria) Gsage 7assigned at the /ateria) /aster &ecords;
9 &esa)e
- $ndustria)iBation
8 Consumption
Fi=ed Asset
; /ateria) CFOP Category 7assigned at the /ateria) /aster &ecords;
9 /ateria) 7goods;
- #)ectricity
8 Communication
Transportation
Anima)s
; Nota Fisca) $tem Type 7assigned at +-.S"$CA, NF $ntegration $nto $/, NF Type,
8/9/2019 Configuring CFOP on SAP.docx
7/20
8 Future de)iery inoice item with $P$
Future de)iery inoice item without $C/S*$P$
Future de)iery inoice item with $C/S*$P$
5- Consignment inoice item
58 Consignment shipment item
- Third party inoice item from endor
8 Third party inoice item from supp)ier
Third party shipment item from supp)ier
Third party future de)iery inoice item from supp)ier
5 Third party future de)iery sym(o)ic shipment item from supp)ier
5; Produced $n >ouse $ndicator 7assigned at the /ateria) /aster &ecords;
= Produced in1house * /anufactured at the p)ant
non manufactured at the p)ant
; Customer CFOP Category 7on)y for S";
9 $ndustry 7cooperatie;
- e)ectric co3
8 communication co3
transport co3
serice co3
5 consumer industry 7cooperatie;
non1contri(uting customer
D agricu)tura) customer
8/9/2019 Configuring CFOP on SAP.docx
8/20
E trading company
H producer esta()ishment
D; NF Specia) Case for CFOP "etermination
1 CFOP "etermination 4ithout Su(stituicao Tri(utaria
- CFOP "etermination with Su(stituicao Tri(utaria
8 CFOP for Serices That Are Su(Iect to $SS Ta=
NF $tem Types
#en with a)) these possi()e standard de)iered parameters for com(inations, it is not
enough to coer a)) possi()e scenarios in .raBi), then it is necessary add new entries to
the e=isting parameters such as: Nota Fisca) $tem Types, /ateria) CFOP Category and
etc3
>ere $ wi)) e=p)ain you how to use the NF $tem type to he)p you getting the CFOP
code automatica))y determined at the $ncoming and Outgoing Nota Fisca)
The Nota Fisca) $tem type is assigned at:
- S" $tem Category ta()e 7+-.S"$CA;
8 //1$% Nota Fisca) &e)eance 7+-.$/98%;
NF Type
8/9/2019 Configuring CFOP on SAP.docx
9/20
codes and specify whether the system is to ca)cu)ate statistica))y the $C/S and $P$
ta=es3
8 //1$% Nota Fisca) &e)eance 7+-.$/98%;
>ere it is possi()e to assign to each //1$% moement type if it is re)eant for NotaFisca), the Nota Fisca) type and a)so the Nota Fisca) $tem Type3
8/9/2019 Configuring CFOP on SAP.docx
10/20
NF Type
8/9/2019 Configuring CFOP on SAP.docx
11/20
ere the a)ues from the Nota Fisca) item types are maintained depending on the
item category of the purchase order
8/9/2019 Configuring CFOP on SAP.docx
12/20
Once the NF $tem type is assigned to your process as a(oe, if a com(ination e=ists
for ta()es +-.APN or +-.AON, the CFOP code wi)) automatica))y (e assigned to
your process:
8/9/2019 Configuring CFOP on SAP.docx
13/20
On the ne=t posting you wi)) see how to create new NF $tem TypesJ
8/9/2019 Configuring CFOP on SAP.docx
14/20
Creating Nota Fiscal Item Types
Posted on July 7, 2013byleandropia
The Nota Fisca) $tem Type is used as one of the parameters to get automatica))y the
correct CFOP for each nota fisca)3
The CFOP 7CKdigo Fisca) de OperaLMo; means the operation that is represented (y
the Nota Fisca) "ocument, e=amp)e: &egu)ar Sa)es, Sa)es to Free Trade one, Free
Samp)e, Freight $noice, and etc3
To know more a(out CFOP, check the post: CFOP CKdigo Fisca) de OperaLMo e
PrestaLMo
SAP de)iers on)y few NF $tem Types and as there are more than 99 CFOP for
incoming and outgoing nota fisca), sometimes it is necessary create a new nota fisca)
item type to a))ow determine the correct CFOP automatica))y3
To create a new Nota Fisca) $tem Type, fo))ow the steps (e)ow:
- Create the NF $tem Type
Create the new NF $tem Type ia S/9 to the ta()e +-.$T#/TP#S
>ere you define the Nota Fisca) $tem Type, it can (e used a)phanumeric with - or 8
digits3
http://sapbrazil.wordpress.com/2013/07/07/creating-nota-fiscal-item-types/http://sapbrazil.wordpress.com/2013/07/07/creating-nota-fiscal-item-types/http://sapbrazil.wordpress.com/author/leandropia/http://sapbrazil.wordpress.com/2013/05/26/cfop-codigo-fiscal-de-operacao-e-prestacao/http://sapbrazil.wordpress.com/2013/05/26/cfop-codigo-fiscal-de-operacao-e-prestacao/http://sapbrazil.wordpress.com/2013/07/07/creating-nota-fiscal-item-types/http://sapbrazil.wordpress.com/2013/07/07/creating-nota-fiscal-item-types/http://sapbrazil.wordpress.com/author/leandropia/http://sapbrazil.wordpress.com/2013/05/26/cfop-codigo-fiscal-de-operacao-e-prestacao/http://sapbrazil.wordpress.com/2013/05/26/cfop-codigo-fiscal-de-operacao-e-prestacao/8/9/2019 Configuring CFOP on SAP.docx
15/20
ou a)so need to enter a description that identifies the NF $tem type * usage purpose3
8 Create the NF $tem Type ru)es
ou can maintain ia S/9 the ta()e +-.NF$T#/TP#S or fo))ow the customiBing
path: SP&O Cross1App)ication Components 0enera) App)ication Functions Nota
fisca) "efine Nota Fisca) $tem Types
ou can copy a simi)ar NF $tem Type as reference or enter manua))y the ru)es for the
new NF $tem type3
ou must type the same NF $tem type code that you created preious)y as e=p)ained
on the step -, maintaining the +-.NF$T#/TP#S ta()e3
+-.NF$T/&G
8/9/2019 Configuring CFOP on SAP.docx
16/20
The steps a(oe comp)etes the NF $tem Type creation3 ou wi)) hae to assign the
new NT $tem type to the ta()es +-.AON% or +-.APN% ta()es and create the ru)es
to get the CFOP automatica))y assigned3
How to find the missing CFOP rule entry
Posted on July 9, 2013byleandropia
Sometimes when you are creating a sa)es order, or posting inoice erification,
creating a nota fisca), you get the error that says: 8B115 It is not possible to determine
the CFOP automaticallyor 8B569 CFOP not found for X! in sales order X!and
etc
This wi)) happen when it is missing the correct assignments at the fo))owing ta()es:
+-.AON CFOP for $ncoming and returns of $ncoming
+-.APN CFOP for Outgoings and returns of Outgoings
http://sapbrazil.wordpress.com/2013/07/09/how-to-find-the-missing-cfop-rule-entry/http://sapbrazil.wordpress.com/2013/07/09/how-to-find-the-missing-cfop-rule-entry/http://sapbrazil.wordpress.com/author/leandropia/http://sapbrazil.wordpress.com/2013/07/09/how-to-find-the-missing-cfop-rule-entry/http://sapbrazil.wordpress.com/2013/07/09/how-to-find-the-missing-cfop-rule-entry/http://sapbrazil.wordpress.com/author/leandropia/8/9/2019 Configuring CFOP on SAP.docx
17/20
$f you sti)) can6t figure out what is the missing entry, you can put a (reakpoint to the
fo))owing functions according to the direction 7$ncoming*Outgoing;3
- For Outgoing and &eturns of Outgoing
- 0o to Transaction S#D
8 #nter Function +-.NFCFOP8"#T#&/$NAT$ON
"
# $he concept %ith &eneric read %as abandoned' Only the e(act )ersion
# is used*
# do + times'
##### select %ith all parameters
,-./ $.B0- itbapn I2$O %bapn 3I$4 -
direct cfopparameters7direct
dstcat cfopparameters7dstcat
indus cfopparameters7indus
itmtyp cfopparameters7itmtyp
spcsto cfopparameters7spcsto
o%npro cfopparameters7o%npro
matuse cfopparameters7matuse
indus1 cfopparameters7indus1
ori&in space
8/9/2019 Configuring CFOP on SAP.docx
18/20
)ersion i)ersion'
"
Add a (reakpoint at !,-./ $.B0- itbapn I2$O %bapn 3I$4 -'
Then check the a)ues on the structure cfopparameters for the fo))owing fie)ds:
direct
dstcat
indus
itmtyp
spcsto
ownpro
matuse
indus-
iersion
The resu)ts are the a)ues that must (e added to +-.APN3
8 For $ncoming and &eturns of $ncoming
- 0o to Transaction S#D
8 #nter Function +-.NFCFOP-"#T#&/$NAT$ON
"
#7
#: ,ead CFOP %ith )ersion of the re&ion
#7
8/9/2019 Configuring CFOP on SAP.docx
19/20
# access %ith all ;ey fields
P-,FO,< readcfop =>I2? cfopparameters7direct
cfopparameters7dstcat
cfopparameters7indus
cfopparameters7itmtyp
cfopparameters7spcsto
cfopparameters7matuse
cfopparameters7indus+
l))ersion
C4.2?I2? cfop'
"
Add a (reakpoint at !P-,FO,< readcfop =>I2? cfopparameters7direct'
Then, check the a)ues on the structure cfopparameters for the fo))owing fie)ds:
direct
dstcat
indus
itmtyp
spcsto
matuse
indus8
8/9/2019 Configuring CFOP on SAP.docx
20/20
The resu)ts are the a)ues that must (e added to +-.AON3