You are on page 1of 24

Manual Steps for Correction Note 1893503

TDF: Nota Fiscal writer with accounting

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.

Contents
Manual Pre-Implementation Steps ............................................................................................................ 3 Create Data element (ITMF_HDISH)............................................................................................................ 3 Create Data element (ITMF_HDISS) ............................................................................................................ 3 Create Data element (ITMF_HFREH)........................................................................................................... 4 Create Data element (ITMF_HFRES) ........................................................................................................... 4 Create Data element (ITMF_HISUH)............................................................................................................ 5 Create Data element (ITMF_HISUS) ............................................................................................................ 5 Create Data element (ITMF_HOTHH) .......................................................................................................... 6 Create Data element (ITMF_HOTHS) .......................................................................................................... 7 Create Data element (ITMF_HTOTH)........................................................................................................... 7 Create Data element (ITMF_HTOTS) ........................................................................................................... 8 Create Data element (ITMF_HKONT_H_KK) ............................................................................................... 8 Create Data element (ITMF_HKONT_S_KK)................................................................................................ 9 Create Structure (ITMF_S_J_1BNFLIN) ....................................................................................................... 9 Create Structure (ITMF_S_NFACC_SIMU) .................................................................................................10 Create Structure (ITMF_S_NFLIN_ACC).....................................................................................................11 Create Table Type (ITMF_T_J_1BDYSTX) .................................................................................................12 Create Table Type (ITMF_T_J_1BNFLIN) ...................................................................................................13 Create Table Type (ITMF_T_NFACC_SIMU) ..............................................................................................13 Create Table (ITMF_D_NFACCT) ...............................................................................................................13 Create Table (ITMF_D_NFACCTTAX) ........................................................................................................17 Generate Maintenance Dialog (ITMF_D_NFACCT) .....................................................................................22 Generate Maintenance Dialog (ITMF_D_NFACCTTAX) ..............................................................................23 Create Messages (ITMF1 error messages from 020 to 034) .....................................................................24

Copyright/Trademark

MANUAL PRE-IMPLEMENTATION STEPS


Create Data element (ITMF_HDISH) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HDISH" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Discount account (Credit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Discount Medium (Length): 20 Medium (Field Label): Discount (C) Long (Length): 35 Long (Field Label): Discount account (Credit) Heading (Length): 35 Heading (Field Label): Discount (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HDISS) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HDISS " in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Discount account (Debit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Discount Medium (Length): 20 Medium (Field Label): Discount (D) Long (Length): 35 Long (Field Label): Discount account (Debit) Heading (Length): 35
Copyright/Trademark

Heading (Field Label): Discount (D) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element.

Create Data element (ITMF_HFREH) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HFREH" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Freight account (Credit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Freight Medium (Length): 20 Medium (Field Label): Freight (C) Long (Length): 35 Long (Field Label): Freight account (Credit) Heading (Length): 35 Heading (Field Label): Freight (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HFRES) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HFRES" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Freight account (Debit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Freight Medium (Length): 20
Copyright/Trademark

Medium (Field Label): Freight (D) Long (Length): 35 Long (Field Label): Freight account (Debit) Heading (Length): 35 Heading (Field Label): Freight (D) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HISUH) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HISUH" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Insurance account (Credit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Insurance Medium (Length): 20 Medium (Field Label): Insurance (C) Long (Length): 35 Long (Field Label): Insurance account (Credit) Heading (Length): 35 Heading (Field Label): Insurance (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element.

Create Data element (ITMF_HISUS) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HISUS" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton.

Copyright/Trademark

6. 7. 8. 9.

Enter Insurance account (Debit) in the "Short Description" field. Enter SAKNR in the "Domain" field. Select the "Field Label" tab. Enter the information as follows: Short (Length): 10 Short (Field Label): Insurance Medium (Length): 20 Medium (Field Label): Insurance (D) Long (Length): 35 Long (Field Label): Insurance account (Debit) Heading (Length): 35 Heading (Field Label): Insurance (D)

10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HOTHH) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HOTHH" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Other value account (Credit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Other val. Medium (Length): 20 Medium (Field Label): Other value (C) Long (Length): 35 Long (Field Label): Other value account (Credit) Heading (Length): 35 Heading (Field Label): Other value (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element.

Copyright/Trademark

Create Data element (ITMF_HOTHS) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HOTHS" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Other value account (Debit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Other val. Medium (Length): 20 Medium (Field Label): Other value (D) Long (Length): 35 Long (Field Label): Other value account (Debit) Heading (Length): 35 Heading (Field Label): Other value (D) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element.

Create Data element (ITMF_HTOTH) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HTOTH" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Total account (Credit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Total Medium (Length): 20 Medium (Field Label): Total (C) Long (Length): 35 Long (Field Label): Total account (Credit)

Copyright/Trademark

Heading (Length): 35 Heading (Field Label): Total (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HTOTS) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HTOTS" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Total account (Debit) in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Total Medium (Length): 20 Medium (Field Label): Total (D) Long (Length): 35 Long (Field Label): Total account (Debit) Heading (Length): 35 Heading (Field Label): Total (D) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HKONT_H_KK) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HKONT_H_KK" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Account for Credit Posting in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Acc. Cred.

Copyright/Trademark

Medium (Length): 20 Medium (Field Label): Account (C) Long (Length): 35 Long (Field Label): Account for Credit Posting Heading (Length): 35 Heading (Field Label): Account (C) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Data element (ITMF_HKONT_S_KK) 1. Execute transaction SE11. 2. Select the radio button "Data type". 3. Enter "ITMF_HKONT_S_KK" in the proper field. 4. Choose the "Create" pushbutton. 5. Choose the "Data element" radio button and then choose the "OK" pushbutton. 6. Enter Account for Debit Posting in the "Short Description" field. 7. Enter SAKNR in the "Domain" field. 8. Select the "Field Label" tab. 9. Enter the information as follows: Short (Length): 10 Short (Field Label): Acc. Debit Medium (Length): 20 Medium (Field Label): Account (D) Long (Length): 35 Long (Field Label): Account for Debit Posting Heading (Length): 35 Heading (Field Label): Account (D) 10. Select the Further Characteristics tab. 11. Select the Change Document checkbox. 12. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new data element. Create Structure (ITMF_S_J_1BNFLIN) 1. Execute transaction SE11. 2. Select the radio button Data type. 3. Enter ITMF_S_J_1BNFLIN in the proper field. 4. Choose the Create pushbutton. 5. Choose the "Structure" radio button and then choose the "OK" pushbutton.

Copyright/Trademark

6. Enter TMF: Structure for communication with Writer transaction in the Short Description field. 7. Select the "Components" tab. 8. Enter the information as follows: Component: .INCLUDE Typing Method: Types Component Type: J_1BNFLIN Component: SELKZ Typing Method: Types Component Type: SELKZ 9. When asked which Enhancement Category should be used, select Can be enhanced (character-type). 10. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new structure.

Create Structure (ITMF_S_NFACC_SIMU) 1. Execute transaction SE11. 2. Select the radio button Data type. 3. Enter ITMF_S_NFACC_SIMU in the proper field. 4. Choose the Create pushbutton. 5. Choose the "Structure" radio button and then choose the "OK" pushbutton. 6. Enter Struture for simulation screen of NF ACCT in the Short Description field. 7. Select the "Components" tab. 8. Enter the information as follows: Component: BUKRS Typing Method: Types Component Type: BUKRS Component: POSNR Typing Method: Types Component Type: POSNR_ACC Component: HKONT Typing Method: Types Component Type: HKONT Component: MAKTX Typing Method: Types Component Type: TXT50 Component: WRBTR Typing Method: Types Component Type: RFSHB_F152 Component: WAERS Typing Method: Types Component Type: WAERS
Copyright/Trademark

Component: MWSKZ Typing Method: Types Component Type: MWSKZ Component: TXJCD Typing Method: Types Component Type: TXJCD Component: KOSTL Typing Method: Types Component Type: J_1BKOSTL Component: AUFNR Typing Method: Types Component Type: J_1BAUFNR Component: KSTRG Typing Method: Types Component Type: J_1BKSTRG Component: PRCTR Typing Method: Types Component Type: J_1BPRCTR Component: PS_PSP_PNR Typing Method: Types Component Type: PS_PSP_PNR Component: NPLNR Typing Method: Types Component Type: J_1BNPLNR Component: SEGMENT Typing Method: Types Component Type: FB_SEGMENT Component: WERKS Typing Method: Types Component Type: WERKS_D 9. When asked which Enhancement Category should be used, select Can be enhanced (character-type). 10. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new structure. Create Structure (ITMF_S_NFLIN_ACC) 1. Execute transaction SE11. 2. Select the radio button Data type.

Copyright/Trademark

3. 4. 5. 6. 7. 8.

Enter ITMF_S_NFLIN_ACC in the proper field. Choose the Create pushbutton. Choose the "Structure" radio button and then choose the "OK" pushbutton. Enter Nota fiscal writer cost information of posting in the Short Description field. Select the "Components" tab. Enter the information as follows: Component: KOSTL Typing Method: Types Component Type: J_1BKOSTL Component: AUFNR Typing Method: Types Component Type: J_1BAUFNR Component: PRCTR Typing Method: Types Component Type: J_1BPRCTR Component: PS_PSP_PNR Typing Method: Types Component Type: PS_PSP_PNR Component: KSTRG Typing Method: Types Component Type: J_1BKSTRG Component: NPLNR Typing Method: Types Component Type: J_1BNPLNR

Component: SEGMENT Typing Method: Types Component Type: FB_SEGMENT 9. When asked which Enhancement Category should be used, select Can be enhanced (character-type). 10. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new structure.

Create Table Type (ITMF_T_J_1BDYSTX) 1. Execute transaction SE11. 2. Select the Data type radio button. 3. Enter ITMF_T_J_1BDYSTX in the proper field. 4. Choose the Create pushbutton. 5. Choose the "Table type" radio button and then choose the "OK" pushbutton. 6. Enter Table Dynpro fields for Nota Fiscal tax per item (Edit func) in the Short Description field. 7. Enter J_1BDYSTX in the Line Type field 8. Save and activate.
Copyright/Trademark

Obs.: Choose package INT_TMF_NF_ACCT for this new table type.

Create Table Type (ITMF_T_J_1BNFLIN) 1. Execute transaction SE11. 2. Select the Data type radio button. 3. Enter ITMF_T_J_1BNFLIN in the proper field. 4. Choose the Create pushbutton. 5. Choose the "Table type" radio button and then choose the "OK" pushbutton. 6. Enter TMF: Structure of communication between writer and acc class in the Short Description field. 7. Enter ITMF_S_J_1BNFLIN in the Line Type field 8. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new table type. Create Table Type (ITMF_T_NFACC_SIMU) 1. Execute transaction SE11. 2. Select the Data type radio button. 3. Enter ITMF_T_NFACC_SIMU in the proper field. 4. Choose the Create pushbutton. 5. Choose the "Table type" radio button and then choose the "OK" pushbutton. 6. Enter Table for simulation of NF ACCT in the Short Description field. 7. Enter ITMF_S_NFACC_SIMU in the Line Type field 8. Save and activate. Obs.: Choose package INT_TMF_NF_ACCT for this new table type. Create Table (ITMF_D_NFACCT) 1. Execute transaction SE11. 2. Select the radio button "Database table". 3. Enter " ITMF_D_NFACCT" in the proper field. 4. Choose the "Create" pushbutton. 5. Enter " Nota fiscal writer configurable accounts" in the field Short Description. 6. Enter "C" in the field "Delivery Class". 7. Choose "Display/Maintenance Allowed" in the pull-down "Data Browser/Table View Maint.". 8. Select the "Fields" tab. 9. Enter the information as follows: Field: MANDT Data element: MANDT Select the "Key" checkbox Field: NFTYPE Data element: J_1BNFTYPE Select the "Key" checkbox Field: ITMTYP Data element: J_1BITMTYP Select the "Key" checkbox

Copyright/Trademark

Field: BUKRS Data element: BUKRS Select the "Key" checkbox Field: BRANCH Data element: J_1BBRANC_ Select the "Key" checkbox Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: Field: Data element: KTOPL KTOPL HDISS ITMF_HDISS HDISH ITMF_HDISH HFRES ITMF_HFRES HFREH ITMF_HFREH HISUS ITMF_HISUS HISUH ITMF_HISUH HOTHS ITMF_HOTHS HOTHH ITMF_HOTHH HTOTS ITMF_HTOTS HTOTH ITMF_HTOTH

10. Select the NFTYPE field line and then choose the Foreign Keys pushbutton. 11. If a proposal of foreign key appears, select the No option 12. In the Create Foreign Key screen, enter the following value: 13. Check Table: J_1BAA. 14. Press Enter. 15. Accept the proposal of field assignment by selecting the Yes pushbutton. 16. Verify that the proposal is as follows: Check table: J_1BAA
Copyright/Trademark

ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: J_1BAA ChkTabFld: NFTYPE For.key table: ITMF_D_NFACCT Foreign Key field: NFTYPE 17. Select the Check required checkbox. 18. Choose Not Specified for the Foreign key field type radio button. 19. Select the Copy pushbutton. 20. Select the ITMTYP field line and then choose the Foreign Keys pushbutton. 21. If a proposal of foreign key appears, select the No option 22. In the Create Foreign Key screen, enter the following value: 23. Check Table: J_1BITEMTYPES. 24. Press Enter. 25. Accept the proposal of field assignment by selecting the Yes pushbutton. 26. Verify that the proposal is as follows: Check table: J_1BITEMTYPES ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: J_1BITEMTYPES ChkTabFld: ITMTYP For.key table: ITMF_D_NFACCT Foreign Key field: ITMTYP 27. Select the Check required checkbox. 28. Choose Not Specified for the Foreign key field type radio button. 29. Select the Copy pushbutton. 30. Select the BUKRS field line and then choose the Foreign Keys pushbutton. 31. If a proposal of foreign key appears, select the No option 32. In the Create Foreign Key screen, enter the following value: 33. Check Table: T001. 34. Press Enter. 35. Accept the proposal of field assignment by selecting the Yes pushbutton. 36. Verify that the proposal is as follows: Check table: T001 ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: T001 ChkTabFld: BUKRS For.key table: ITMF_D_NFACCT Foreign Key field: BUKRS 37. Select the Check required checkbox.
Copyright/Trademark

38. Choose Not Specified for the Foreign key field type radio button. 39. Select the Copy pushbutton. 40. Select the BRANCH field line and then choose the Foreign Keys pushbutton. 41. If a proposal of foreign key appears, select the No option 42. In the Create Foreign Key screen, enter the following value: 43. Check Table: J_1BBRANCH. 44. Press Enter. 45. Accept the proposal of field assignment by selecting the Yes pushbutton. 46. Verify that the proposal is as follows: Check table: J_1BBRANCH ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: J_1BBRANCH ChkTabFld: BUKRS For.key table: ITMF_D_NFACCT Foreign Key field: BUKRS Check table: J_1BBRANCH ChkTabFld: BRANCH For.key table: ITMF_D_NFACCT Foreign Key field: BRANCH 47. Select the Check required checkbox. 48. Choose Not Specified for the Foreign key field type radio button. 49. Select the Copy pushbutton. 50. Select the KTOPL field line and then choose the Foreign Keys pushbutton. 51. If a proposal of foreign key appears, select the No option 52. In the Create Foreign Key screen, enter the following value: 53. Check Table: T004. 54. Press Enter. 55. Accept the proposal of field assignment by selecting the Yes pushbutton. 56. Verify that the proposal is as follows: Check table: T004 ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: T004 ChkTabFld: KTOPL For.key table: ITMF_D_NFACCT Foreign Key field: KTOPL 57. Select the Check required checkbox. 58. Choose Not Specified for the Foreign key field type radio button. 59. Select the Copy pushbutton. 60. Select the HDISS field line and then choose the Foreign Keys pushbutton.
Copyright/Trademark

61. If a proposal of foreign key appears, select the No option 62. In the Create Foreign Key screen, enter the following value: 63. Check Table: SKA1. 64. Press Enter. 65. Accept the proposal of field assignment by selecting the Yes pushbutton. 66. Verify that the proposal is as follows: Check table: SKA1 ChkTabFld: MANDT For.key table: ITMF_D_NFACCT Foreign Key field: MANDT Check table: SKA1 ChkTabFld: KTOPL For.key table: ITMF_D_NFACCT Foreign Key field: KTOPL Check table: SKA1 ChkTabFld: SAKNR For.key table: ITMF_D_NFACCT Foreign Key field: HDISS 67. Select the Check required checkbox. 68. Choose Not Specified for the Foreign key field type radio button. 69. Select the Copy pushbutton. 70. Repeat process made for field HDISS for other account fields HDISH, HFRES, HFREH, HISUS, HISUH, HOTHS, HOTHH, HTOTS and HTOTH. 71. In the "Goto" menu, select "Technical Settings". 72. Save the changes. 73. In the popup/window "Maintenance Enhancement Category", choose the "Can be enhanced (character-type or numeric)" option. 74. In the "Dictionary: Maintain Technical Settings" screen enter the information as follows: Field group "Local storage parameters": Data class: APPL2. Size category: 0. Field group "Buffering": Select the "Buffering switched on" radio button. Field group "Buffering type": Select the "Fully Buffered" checkbox. 75. Save and activate the changes. Obs.: Choose package INT_TMF_NF_ACCT for this new table.

Create Table (ITMF_D_NFACCTTAX) 1. Execute transaction SE11.

Copyright/Trademark

2. 3. 4. 5. 6. 7. 8. 9.

Select the radio button "Database table". Enter "ITMF_D_ NFACCTTAX" in the proper field. Choose the "Create" pushbutton. Enter "Nota fiscal writer configurable accounts for taxes" in the field Short Description. Enter "C" in the field "Delivery Class". Choose "Display/Maintenance Allowed" in the pull-down "Data Browser/Table View Maint.". Select the "Fields" tab. Enter the information as follows: Field: MANDT Data element: MANDT Select the "Key" checkbox Field: NFTYPE Data element: J_1BNFTYPE Select the "Key" checkbox Field: ITMTYP Data element: J_1BITMTYP Select the "Key" checkbox Field: TAXGRP Data element: J_1BTAXGRP Select the "Key" checkbox Field: BUKRS Data element: BUKRS Select the "Key" checkbox Field: BRANCH Data element: J_1BBRANC_ Select the "Key" checkbox Field: MATUSE Data element: J_1BMATUSE Select the "Key" checkbox Field: Data element: Field: Data element: Field: Data element: Field: Data element: KTOPL KTOPL MWSKZ MWSKZ KONTS ITMF_HKONT_S_KK KONTH ITMF_HKONT_H_KK
Copyright/Trademark

10. Select the NFTYPE field line and then choose the Foreign Keys pushbutton. 11. If a proposal of foreign key appears, select the No option 12. In the Create Foreign Key screen, enter the following value: 13. Check Table: J_1BAA. 14. Press Enter. 15. Accept the proposal of field assignment by selecting the Yes pushbutton. 16. Verify that the proposal is as follows: Check table: J_1BAA ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: J_1BAA ChkTabFld: NFTYPE For.key table: ITMF_D_NFACCTTAX Foreign Key field: NFTYPE 17. Select the Check required checkbox. 18. Choose Not Specified for the Foreign key field type radio button. 19. Select the Copy pushbutton. 20. Select the ITMTYP field line and then choose the Foreign Keys pushbutton. 21. If a proposal of foreign key appears, select the No option 22. In the Create Foreign Key screen, enter the following value: 23. Check Table: J_1BITEMTYPES. 24. Press Enter. 25. Accept the proposal of field assignment by selecting the Yes pushbutton. 26. Verify that the proposal is as follows: Check table: J_1BITEMTYPES ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: J_1BITEMTYPES ChkTabFld: ITMTYP For.key table: ITMF_D_NFACCTTAX Foreign Key field: ITMTYP 27. Select the Check required checkbox. 28. Choose Not Specified for the Foreign key field type radio button. 29. Select the Copy pushbutton. 30. Select the BUKRS field line and then choose the Foreign Keys pushbutton. 31. If a proposal of foreign key appears, select the No option 32. In the Create Foreign Key screen, enter the following value: 33. Check Table: T001. 34. Press Enter. 35. Accept the proposal of field assignment by selecting the Yes pushbutton. 36. Verify that the proposal is as follows: Check table: T001

Copyright/Trademark

ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: T001 ChkTabFld: BUKRS For.key table: ITMF_D_NFACCTTAX Foreign Key field: BUKRS 37. Select the Check required checkbox. 38. Choose Not Specified for the Foreign key field type radio button. 39. Select the Copy pushbutton. 40. Select the BRANCH field line and then choose the Foreign Keys pushbutton. 41. If a proposal of foreign key appears, select the No option 42. In the Create Foreign Key screen, enter the following value: 43. Check Table: J_1BBRANCH. 44. Press Enter. 45. Accept the proposal of field assignment by selecting the Yes pushbutton. 46. Verify that the proposal is as follows: Check table: J_1BBRANCH ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: J_1BBRANCH ChkTabFld: BUKRS For.key table: ITMF_D_NFACCTTAX Foreign Key field: BUKRS Check table: J_1BBRANCH ChkTabFld: BRANCH For.key table: ITMF_D_NFACCTTAX Foreign Key field: BRANCH 47. Select the Check required checkbox. 48. Choose Not Specified for the Foreign key field type radio button. 49. Select the Copy pushbutton. 50. Select the KTOPL field line and then choose the Foreign Keys pushbutton. 51. If a proposal of foreign key appears, select the No option 52. In the Create Foreign Key screen, enter the following value: 53. Check Table: T004. 54. Press Enter. 55. Accept the proposal of field assignment by selecting the Yes pushbutton. 56. Verify that the proposal is as follows: Check table: T004 ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT

Copyright/Trademark

Check table: T004 ChkTabFld: KTOPL For.key table: ITMF_D_NFACCTTAX Foreign Key field: KTOPL 57. Select the Check required checkbox. 58. Choose Not Specified for the Foreign key field type radio button. 59. Select the Copy pushbutton. 60. Select the KONTS field line and then choose the Foreign Keys pushbutton. 61. If a proposal of foreign key appears, select the No option 62. In the Create Foreign Key screen, enter the following value: 63. Check Table: SKA1. 64. Press Enter. 65. Accept the proposal of field assignment by selecting the Yes pushbutton. 66. Verify that the proposal is as follows: Check table: SKA1 ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: SKA1 ChkTabFld: KTOPL For.key table: ITMF_D_NFACCTTAX Foreign Key field: KTOPL Check table: SKA1 ChkTabFld: SAKNR For.key table: ITMF_D_NFACCTTAX Foreign Key field: KONTS 67. Select the Check required checkbox. 68. Choose Not Specified for the Foreign key field type radio button. 69. Select the Copy pushbutton. 70. Select the KONTH field line and then choose the Foreign Keys pushbutton. 71. If a proposal of foreign key appears, select the No option 72. In the Create Foreign Key screen, enter the following value: 73. Check Table: SKA1. 74. Press Enter. 75. Accept the proposal of field assignment by selecting the Yes pushbutton. 76. Verify that the proposal is as follows: Check table: SKA1 ChkTabFld: MANDT For.key table: ITMF_D_NFACCTTAX Foreign Key field: MANDT Check table: SKA1 ChkTabFld: KTOPL For.key table: ITMF_D_NFACCTTAX Foreign Key field: KTOPL
Copyright/Trademark

Check table: SKA1 ChkTabFld: SAKNR For.key table: ITMF_D_NFACCTTAX Foreign Key field: KONTH 77. Select the Check required checkbox. 78. Choose Not Specified for the Foreign key field type radio button. 79. Select the Copy pushbutton. 80. In the "Goto" menu, select "Technical Settings". 81. Save the changes. 82. In the popup/window "Maintenance Enhancement Category", choose the "Can be enhanced (character-type or numeric)" option. 83. In the "Dictionary: Maintain Technical Settings" screen enter the information as follows: Field group "Local storage parameters": Data class: APPL2. Size category: 0. Field group "Buffering": Select the "Buffering switched on" radio button. Field group "Buffering type": Select the "Fully Buffered" checkbox. 84. Save and activate the changes. Obs.: Choose package INT_TMF_NF_ACCT for this new table. Generate Maintenance Dialog (ITMF_D_NFACCT) 1. Execute transaction SE54. 2. Enter ITMF_D_NFACCT in the Table/View field. 3. Select the radio button Generated Objects. 4. Choose Create/Change pushbutton. 5. Choose Yes on the Create maintenance module screen. 6. Enter the information as follows: Authorization Group: &NC& (Validate this information with your Basis team) Function Group: ITMF_VIEWS Package: INT_TMF_NF_ACCT Maintenance type: two step Overview screen: 6 Overview screen: 7 Recording routine: Standard Recording routine Compare flag Checkbox: Automatically Adjustable 7. Choose the Create pushbutton. 8. Save. 9. In the Environment menu, select Modification, then Maintenance Screens. 10. Select the screen number 6. 11. Choose Copy pushbutton. 12. Choose Display/Change pushbutton. 13. Select the Element List tab.

Copyright/Trademark

14. Select the Special attr. tab. 15. In the ITMF_D_NFACCT-KTOPL line, choose Required in the pull-down Input. 16. Back to screen options and select the screen number 7. 17. Choose Copy pushbutton. 18. Choose Display/Change pushbutton. 19. Select the Element List tab. 20. Select the Special attr. tab. 21. In the ITMF_D_NFACCT-NFTYPE line, choose Required in the pull-down Input. 22. In the ITMF_D_NFACCT-ITMTYP line, choose Required in the pull-down Input. 23. Save and activate the changes. Generate Maintenance Dialog (ITMF_D_NFACCTTAX) 1. Execute transaction SE54. 2. Enter ITMF_D_NFACCTTAX in the Table/View field. 3. Select the radio button Generated Objects. 4. Choose Create/Change pushbutton. 5. Choose Yes on the Create maintenance module screen. 6. Enter the information as follows: Authorization Group: &NC& (Validate this information with your Basis team) Function Group: ITMF_VIEWS Package: INT_TMF_NF_ACCT Maintenance type: two step Overview screen: 8 Overview screen: 9 Recording routine: Standard Recording routine Compare flag Checkbox: Automatically Adjustable 7. Choose the Create pushbutton. 8. Save. 9. In the Environment menu, select Modification, then Maintenance Screens. 10. Select the screen number 8. 11. Choose Copy pushbutton. 12. Choose Display/Change pushbutton. 13. Select the Element List tab. 14. Select the Special attr. tab. 15. In the ITMF_D_NFACCTTAX-KTOPL line, choose Required in the pull-down Input. 16. Back to screen options and select the screen number 9. 17. Choose Copy pushbutton. 18. Choose Display/Change pushbutton. 19. Select the Element List tab. 20. Select the Special attr. tab. 21. In the ITMF_D_NFACCTTAX-NFTYPE line, choose Required in the pull-down Input. 22. In the ITMF_D_NFACCTTAX-ITMTYP line, choose Required in the pull-down Input. 23. Save and activate the changes.

Copyright/Trademark

Create Messages (ITMF1 error messages from 020 to 034) 1. Execute transaction SE91. 2. Enter ITMF1 on Message class field. 3. Choose the Change pushbutton. 4. Enter the number and description as below: 020 No account customizing found for item &1 (key=&2) 021 No account customizing for tax found for item &1 (key=&2) 022 Nota fiscal is not manual 023 Nota fiscal is cancelled 024 NF-e is not numbered 025 Nota fiscal is not numbered 026 Document is already set with a reference (&1 &2) 027 Missing or invalid data to post accounting document (See simulation) 028 Nota fiscal must be cancelled to reversal 029 Document was not posted with automatic accounting for NFW 030 Nota fiscal not saved or not found 031 No documents found to process 032 Switch for Nota Fiscal accounting is turned off 033 Quantity/value update active for material &1 on plant &2 034 Nota fiscal is a cancellation document and can't be use on accounting 5. Click on Save.

Copyright/Trademark

You might also like