You are on page 1of 7

Manual Steps for SAP Note 1859126

NF-e: Storing Additional Data for DANFE & SPED EFD


Reporting – Phase 2
© 2013 by SAP AG. All rights reserved.
SAP and the SAP logo are registered trademarks of SAP AG in Germany and other countries. Business
Objects and the Business Objects logo are trademarks or registered trademarks of Business Objects
Software Ltd. Business Objects is an SAP company.
Sybase and the Sybase logo are registered trademarks of Sybase Inc. Sybase is an
SAP company.

Copyright/Trademark
Pre-requisites

Implement the SAP notes


1860433 – NF-e: Storing Additional Data for DANFE & SPED EFD Reporting
1877404 – NF-e: Enhancements NF Writer screen controls

I. Data Dictionary Changes

1. Change Structure J_1BNFLIN

At the end of the field list, after the include J_1BNFLIN_ADD, add the new field:
Field Data element
VTOTTRIB J_1BNF_VTOTTRIB

Save and activate the structure.

2. Change Structure BAPI_J_1BNFLIN

At the end of the field list, after the field COD_CTA, add the new field:
Field Data element
VTOTTRIB J_1BNF_VTOTTRIB

Save and activate the structure.

3. Change Structure J_1BNF_BADI_ITEM

At the end of the field list, after the field INFADPROD, add the new field:
Field Data element
VTOTTRIB J_1BNF_VTOTTRIB

Save and activate the structure.

4. Change Structure J_1BDYLIN

At the end of the field list, after the field REFYEAR, add four new fields:
Field Data element
IND_MOV_TXT VAL_TEXT
MODBC_TXT VAL_TEXT
MODBCST_TXT VAL_TEXT
MOTDESICMS_TXT VAL_TEXT

Save and activate the structure.

Copyright/Trademark
5. Change Structure J_1BDYTRAILER

At the end of the field list, after the field VEH_UF_TXT, add the new field:
Field Data element
BUTTONS SAP_BOOL

Save and activate the structure.

6. Change Structure J_1BDYTRANSVOL

At the end of the field list, after the field NLACRE, add the new field:
Field Data element
BUTTONS SAP_BOOL

Save and activate the structure.

7. Change Structure J_1BNFLIN_ADD

Add a search help for field COD_CTA:


Enter search help name SAKO.
Field assignment:
Search help paramenter Table name Field name
SAKNR J_1BNFLIN_ADD COD_CTA
SAKAN
BUKRS J_1BDYDOC BUKRS
KTOPL

Save and activate the structure.

8. Change Domain J_1B_VEHICLE_COND

Change the Data Type from ‘NUM’ to ‘CHAR’.

Save and activate the domain.

9. Change Domain J_1B_VEHICLE_TYPE

Change the Data Type from ‘NUM’ to ‘CHAR’.

Save and activate the domain.

10. Change Domain J_1B_VEHICLE_USAGE

Change the Data Type from ‘NUM’ to ‘CHAR’.

Save and activate the domain.

Copyright/Trademark
11. Change Domain J_1B_VEH_COLOR_CODE

Change the Data Type from ‘NUM’ to ‘CHAR’.

Save and activate the domain.

12. Change Domain J_1B_VEH_RESTRICTION

Change the Data Type from ‘NUM’ to ‘CHAR’.

Save and activate the domain.

13. Change Data Element J_1B_VEH_SERIAL_NUMBER

Change the Domain from ‘NUM9’ to ‘CHAR9’.

Save and activate the data element.

II. Report Texts

Call transaction SE38.


Enter SAPLJ1BB2 as the Program.
Select the Text Elements radio button.
Choose the Change push button.
On the Text Symbols tab page, enter the following values:

Symbol Text Length Max


119 Delete Medicines and Pharmaceutical Raw 56 70
Materials record
120 Delete Daily Supply 19 30
121 Delete Deductions 17 30
122 Delete Free Usage Fields 24 30
123 Delete Referenced Processes 27 30
124 Delete Trade Notes 18 30
203 Arrival 7 10
204 Departure 9 10

Save and activate your changes.

Enter the following Text Elements for program SAPLJ_1B_NF_LONGTEXT:

Symbol Text Length Max


1 Text Type 9 15
2 Available 9 15
201 Texts: Control error 20 20
202 Texts: Control error: Column Tree 33 33
301 0 1

Save and activate your changes.

Copyright/Trademark
III. Messages

Call transaction SE91 and create new messages:


Message Class Number Text
8B 016 Total of Approximate Taxes is too high
ICC_NF_WRITER 032 Counter number for Medicines and Pharmaceut. Raw Materials already
exists
ICC_NF_WRITER 033 Daily Supply for this day has already been maintained
ICC_NF_WRITER 034 Select at least one line to delete
ICC_NF_WRITER 035 Counter number for Deductions already exists
ICC_NF_WRITER 036 Please enter value for key field
ICC_NF_WRITER 037 Enter a valid day of the month
ICC_NF_WRITER 038 Combination of 'Usage' and 'Field Identification' already in use
ICC_NF_WRITER 039 Both fields, 'Usage' and 'Field Identification', must be maintained
ICC_NF_WRITER 040 Manufactoring date must be eralier than expiring date
ICC_NF_WRITER 042 Use date format MM/YYYY

IV. User Interface

Call transaction SE41.


Enter SAPLJ1BB2 and choose button “Copy Status”.

Copy from status


TRAN01 Nota Fiscal System - Transport (Cre/Cha)
to the new statuses:
ADIN01 Nota Fiscal System - Additional Information (Cre/Cha)
COLL01 Nota Fiscal System - Collection (Cre/Cha)
SUGA01 Nota Fiscal System - Sugarcane (Cre/Cha)

Copy from status


TRAN02 Nota Fiscal System - Transport (Dis)
to the new statuses:
ADIN02 Nota Fiscal System - Additional Information (Dis)
COLL02 Nota Fiscal System - Collection (Dis)
SUGA02 Nota Fiscal System - Sugarcane (Dis)

Copy from status


ITEM01 Nota Fiscal System - Item detail (Application)
to the new statuses:
FUEL01 Nota Fiscal System - Item detail Fuel (Application)
PHAR01 Nota Fiscal System - Item detail Pharmaceutics (Application)
VEH01 Nota Fiscal System - Item detail Vehicle (Application)

Copy from status


ITEM02 Nota Fiscal System - Item detail (Cre/Writer)
to the new statuses:
FUEL02 Nota Fiscal System - Item detail Fuel (Cre/Writer)
PHAR02 Nota Fiscal System - Item detail Pharmaceutics (Cre/Writer)
VEH02 Nota Fiscal System - Item detail Vehicle (Cre/Writer)

Copyright/Trademark
Copy from status
ITEM03 Nota Fiscal System - Item detail (Cha/Writer)
to the new statuses:
FUEL03 Nota Fiscal System - Item detail Fuel (Cha/Writer)
PHAR03 Nota Fiscal System - Item detail Pharmaceutics (Cha/Writer)
VEH03 Nota Fiscal System - Item detail Vehicle (Cha/Writer)

Copy from status


ITEM04 Nota Fiscal System - Item detail (Dis/Writer)
to the new statuses:
FUEL04 Nota Fiscal System - Item detail Fuel (Dis/Writer)
PHAR04 Nota Fiscal System - Item detail Pharmaceutics (Dis/Writer)
VEH04 Nota Fiscal System - Item detail Vehicle (Dis/Writer)

Save and activate your changes.

Copyright/Trademark

You might also like