Skip to Content
Author's profile photo Former Member

Mapping for field finNFe for layout 3.10

Hey Guys,

In NF-e layout 3.10 the field finNFe ( NFe purpose ) has 4 valid values:

1=NF-e normal;

2=NF-e complementar;

3=NF-e de ajuste; ( Adjustment )

4=Devolução de mercadoria ( Goods Return )

There are two ways in SAP ERP to map this data to XML:

1ª- Using Nota Fiscal Document Type ( defined in view J_1BAAV ):

SPRO -> Cross-Application Components -> General Application Functions -> Nota fiscal -> Define Nota Fiscal Types

The possible values are defined below:

/wp-content/uploads/2014/09/finnfe3_549863.png

You can see a reference table with the SAP mapping from document type to FinNfe done inside the FORM BLOCK_B:

/wp-content/uploads/2014/09/finnfe1_549864.png

1 ou R  -> 1 – NF-e normal;

2 -> 2 – NF-e complementar;

8 -> 3 – NF-e de ajuste;

6 -> 4 – Devolução de mercadoria.

2ª- Using combination of CFOP and finNFe in the view J_1BAGNV (after implementing SAP Note “2057373 [3.10] Field finNFe is defined by CFOP )

SPRO -> Logistics – General -> Tax on Goods Movements -> Brazil -> CFOP Codes -> Define CFOP Codes and Assign Version

/wp-content/uploads/2014/09/finnfe2_549865.png

It’s important to highlight that the priority is the information from view J_1BAGNV. So, if you configure finNfe in this view for a specific CFOP the program will not use the Nota Fiscal Document type to determine finNfe.

Regards,

On behalf of Renan Correa

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Dear Experts,

      We have below issue for returns NFE.

      NFe-3.10:IPI values not populated in XML for Returns NFe  
          

      After the NF-e Upgrade to 3.10,the Values for IPI fields for the Return
      Documents in the Nota Fiscal XML are empty.
      In SAP all the IPI values are calculated and populated correctly.
      We want to know why the IPI values  are not populated in the XML even
      though it is calculated in SAP. Also these Nota fiscals are not getting
      rejected by SEFAZ.

      For the XML version 2.0 the IPI values were populated
      both in SAP and XML.

      After debugging the program J_BNFECALLRFC we found that, IPI tax value,
      Rate and base amounts are not getting populated in XML for fin_nfe as
      ‘4’
      (Returns scenario) in routine MAP_TAX (Include LJ_1B_NFEF80) as shown inbelow screen shot .

      This code was introduced through Note 1993209 - ( NFe 3.10 IPI Returns).

      IPI.jpg

      Can you please help further in this issue.

      Regards,

      Nishikant

      Author's profile photo Renan Correa
      Renan Correa

      Hello Nishikant,

      The ipi tags must not be filled for the vendor return scenarios ( done via MM ). For these scenarions only the IPIDEVOL tags are filled.

      It's a new requirement that was introduced with layout 3.00.

      Regards,

      Renan Correa

      Author's profile photo Former Member
      Former Member

      Hi Renan,

      Thank you for your reply.

      The scenario which we are creating is a Customer return scenario. i.e. Sales Return scenario. I remember in our earlier communication, you guided us on the Vendor return scenario for the IPIDEVOL fields and now its working fine.

      In this case I am referring the Sales Return scenario from Customer and the XML field is "IPI".

      Can you please go through the below comments from our technical team.

      "After debugging the program J_BNFECALLRFC we found that, IPI tax value,
      Rate and base amounts are not getting populated in XML for fin_nfe as
      ‘4’(Returns scenario) in routine MAP_TAX (Include LJ_1B_NFEF80) as shown in below screen shot . This code was introduced through Note 1993209 - ( NFe 3.10 IPI Returns)."

      IPI Error.png

      Regards,

      Nishikant

      Author's profile photo Renan Correa
      Renan Correa

      Hi Nishikant,

      You need to have SAP Note 2069238. This will change this code that is clearing  the IPI tags in your customer return scenario.

      Regards,

      Renan Correa