1677119 - ct-e #2

26
 Implementation steps for Note 1677119 

Upload: diogolfm27

Post on 19-Oct-2015

118 views

Category:

Documents


2 download

TRANSCRIPT

  • Implementation steps for Note 1677119

  • NOTE 1677119 - MANUAL STEPS

    2

    TABLE OF CONTENT

    1 PREFACE ................................................................................................................................ 3

    2 PRE-IMPLEMENTATION STEPS ........................................................................................... 4 2.1 Domains ............................................................................................................................................ 4 2.1.1 Special item for CFOP determination ................................................................................................. 4 2.2 Data Elements ................................................................................................................................... 4 2.3 Structures ......................................................................................................................................... 8 2.3.1 BAdI CT-e Header information ........................................................................................................... 8 2.3.2 BAdI CT-e References Information .................................................................................................. 10 2.3.3 BAdI CT-e Resources Information ................................................................................................... 10 2.4 Table Type ....................................................................................................................................... 11 2.4.1 BAdI CT-e References Information .................................................................................................. 11 2.4.2 BAdI CT-e Resources Information ................................................................................................... 11 2.5 Tables .............................................................................................................................................. 12 2.6 Dynpro Structures .......................................................................................................................... 12 2.6.1 Dynpro reference to the NFs ............................................................................................................ 12 2.7 Screen Controls .............................................................................................................................. 12 2.7.1 Field Assignment .............................................................................................................................. 12 2.7.2 Screen Control Groups..................................................................................................................... 13 2.8 Brazilian Taxes Setup .................................................................................................................... 16 2.8.1 Creating internal codes .................................................................................................................... 16 2.8.2 Creating condition types for MM ...................................................................................................... 16 2.8.3 Creating condition types for SD ....................................................................................................... 18 2.8.4 Creating condition types for Conhecimento determination .............................................................. 20 2.8.5 Assigning Condition Types to Internal Codes .................................................................................. 21 2.8.6 Changing TAXBRA ........................................................................................................................... 22 2.8.7 Changing RVABRA .......................................................................................................................... 22 2.8.8 Creating new Tax types.................................................................................................................... 23 2.8.9 Moving tax values to Nota Fiscal ..................................................................................................... 23

    3 POST-IMPLEMENTATION STEPS ....................................................................................... 24 3.1 Text Elements ................................................................................................................................. 24 3.2 Message Class ................................................................................................................................ 24

  • NOTE 1677119 - MANUAL STEPS

    3

    1 PREFACE

    This document describes necessary implementation steps to make available the CT-e on SD and MM modules. Read the long text of note 1677119 before start the pre-implementation steps. The document has 2 parts, pre and post implementation steps. The pre-implementation steps describe all necessary changes that have to be done before the implementation of the source code correction instructions. The main changes are:

    Data Dictionary Changes;

    Screen control;

    Taxes Setup. For the post-implementation, the main changes are:

    Text Elements;

    Messages;

  • NOTE 1677119 - MANUAL STEPS

    4

    2 PRE-IMPLEMENTATION STEPS

    2.1 Domains 2.1.1 Special item for CFOP determination

    - Login in the system using the language DE German.

    - Execute transaction SE11;

    - Select the "Domne (Domain) radio button;

    - Enter " J_1BSPCSTO" in the proper field;

    - Choose the " ndern (Change)" pushbutton;

    - Select the Wertebereich (Value Range) tab;

    - Enter the information as follows in the table Single Vals:

    Festwert Kurbeschreibung

    03 Annullierung des Betrages von Transport-Dienstleistungen

    New special item 03 means Nullification of the Transport Services Amount.

    - Save and activate the changes.

    2.2 Data Elements Execute these steps to all data elements displayed in the table 4.1.

    - Execute transaction SE11;

    - Select the "Data type radio button;

    - Enter the name of the data element in the proper field accordingly to the table 4.1;

    - Choose the "Create" pushbutton;

    - Select the Data Element radio button;

    - Choose the Continue icon;

    - Enter the value from column Short Description from table 4.1 in the field Short Description;

    - Select the Data Type tab;

    - Select the Domain radio button if the Data Element refers to a Domain accordingly to the table 4.1;

    o Enter the value from column Domain in the field Domain;

    - Select the Predefined Type radio button if the Data Element refers to a Type accordingly to the table 4.1;

    o Enter the value from column Type in the field Data Type;

    o Enter the value from column Length in the field Length;

    Attention: All the objects shall be created in the J1BA package. All the steps mentioned in this document shall be executed in an EN-English language, except for when explicitly requested.

  • NOTE 1677119 - MANUAL STEPS

    5

    - Select the Field Label tab;

    - Enter the values from the columns Field labels from table 4.1 in the proper field;

    - Save and activate the changes.

  • Table 4.1

    Name Short description Domain Type Lenght Decimal Places

    Length Field Label

    J_1BCTE_EJCD Jurisdiction Code of the Final Destination J_1BTXJCD

    Short Medium Long Heading

    10 15 23 42

    Final JurC Final Jur.Code Final Jurisdiction Code Jurisdiction Code of the Final Destination

    J_1BCTE_FTL_IND Full Truck Load Indicator XFELD

    Short Medium Long Heading

    3 15 20 15

    FTL Full Truck Load Full Truck Load Full Truck Load

    J_1BCTE_ICMS_BV ICMS Base Value J_1BBASE

    Short Medium Long Heading

    10 15 20 20

    ICMS Base ICMS Base Value ICMS Base Value ICMS Base Value

    J_1BCTE_ICMS_VAL ICMS Tax Value J_1BTAXVAL

    Short Medium Long Heading

    10 15 20 20

    ICMS Tax ICMS Tax Value ICMS Tax Value ICMS Tax Value

    J_1BCTE_MAIN_PROD Main Product Transported CHAR60

    Short Medium Long Heading

    10 15 24 55

    Main Prod Main Product Main Product Transported Main Product Transported

    J_1BCTE_PLN_DT_DLV Estimated Date of Delivery DATUM

    Short Medium Long Heading

    10 15 26 26

    Est. Date Estimated Date Estimated Date of Delivery Estimated Date of Delivery

    J_1BCTE_RCVR_WDW Receiver Collection Indicator XFELD

    Short Medium Long Heading

    10 20 29 29

    Collection Receiver Collect Ind Receiver Collection Indicator Receiver Collection Indicator

    J_1BCTE_REF_TOT_VAL Total Amount of Goods WERT8

    Short Medium Long Heading

    10 15 22 22

    Amount Total Amount Total Amount of Goods Total Amount of Goods

    J_1BCTE_REF_VAL Document Amount WERT8 Short 10 Amount

  • NOTE 1677119 - MANUAL STEPS

    7

    Name Short description Domain Type Lenght Decimal Places

    Length Field Label

    Medium Long Heading

    15 15 20

    Doc. Amount Document Amount Document Amount

    J_1BCTE_RES_CAPA_KG Capacity in Kg NUMC 6

    Short Medium Long Heading

    10 14 14 14

    Capa Kg Capacity in Kg Capacity in Kg Capacity in Kg

    J_1BCTE_RES_CAPA_M Capacity in m3 NUMC 3

    Short Medium Long Heading

    10 14 14 14

    Capa m3 Capacity in m3 Capacity in m3 Capacity in m3

    J_1BCTE_RES_COUNTER Resource Counter NUMC 3

    Short Medium Long Heading

    8 8 16 16

    Resource Resource Resource Counter Resource Counter

    J_1BCTE_RES_OWNER_TP Vehicle Ownership Type J_1BCTE_RES_OWNER_TP

    Short Medium Long Heading

    10 15 22 14

    Ownership Ownership Type Vehicle Ownership Type Ownership Type

    J_1BCTE_STIC_BV SubTrib Base Value J_1BBASE

    Short Medium Long Heading

    10 15 20 20

    SubTribBas SubTrib Base SubTrib Base Value SubTrib Base Value

    J_1BCTE_STIC_VAL SubTrib Tax Value J_1BTAXVAL

    Short Medium Long Heading

    10 15 20 20

    SubTribTax SubTrib Tax SubTrib Tax Value SubTrib Tax Value

    J_1BCTE_VOL_TRANSP Transported Volume DEC 13 3

    Short Medium Long Heading

    10 15 20 25

    Volume Transp.Volume Transported Volume Transported Volume

    J_1BTMISS Service Tax XFELD

    Short Medium Long Heading

    10 20 20 1

    Service Service Tax Service Tax S

  • 2.3 Structures 2.3.1 BAdI CT-e Header information

    - Execute transaction SE11;

    - Select the "Data Type" radio button;

    - Enter "J_1BCTE_S_HEADER" in the proper field;

    - Choose the "Create" pushbutton;

    - Select the Structure radio button;

    - Choose the Continue icon;

    - Enter " BAdI CT-e header data" in the field Short Description;

    - Select the Components tab;

    - Enter the information as follows:

    Component Reference Type Component Type

    SERV_TP Types J_1BCTE_SERV_TP

    CTE_STRT_LCT Types J_1BCTE_SJCD

    CTE_END_LCT Types J_1BCTE_EJCD

    MAIN_PRODUCT Types J_1BCTE_MAIN_PROD

    RCVR_WDW Types J_1BCTE_RCVR_WDW

    PLN_DT_DLV Types J_1BCTE_PLN_DT_DLV

    FTL_IND Types J_1BCTE_FTL_IND

    VOL_TRANSP Types J_1BCTE_VOL_TRANSP

    VOL_UNIT Types J_1BCTE_VOL_UNIT

    TOTAL_REF_AMT Types J_1BCTE_REF_TOT_VAL

    TRANSP_MODE Types J_1BCTE_TRANSPTN_MODE

    - Select the Entry help/check tab;

    - Select the table line with Component = CTE_STRT_LCT;

    - Choose the icon Foreign Keys;

    - In the popup/window Create Foreign Key:

    o Choose the Yes option to create a foreign key proposal;

    o Choose the Continue pushbutton in the information popup to specify the full foreign key;

    o Verify the generated fields based on the table below:

  • NOTE 1677119 - MANUAL STEPS

    9

    o Select the Check required checkbox;

    o Select the Not Specified radio button in the Foreign key field type field;

    o Choose the Copy pushbutton;

    - Select the table line with Component = CTE_END_LCT;

    - Choose the icon Foreign Keys;

    - In the popup/window Create Foreign Key:

    o Choose the Yes option to create a foreign key proposal;

    o Choose the Continue pushbutton in the information popup to specify the full foreign key;

    o Verify the generated fields based on the table below:

    o Select the Check required checkbox;

    o Select the Not Specified radio button in the Foreign key field type field;

    o Choose the Copy pushbutton;

    - Select the table line with Component = VOL_UNIT;

    - Choose the icon Foreign Keys;

    - In the popup/window Create Foreign Key:

    o Choose the Yes option to create a foreign key proposal;

    o Choose the Continue pushbutton in the information popup to specify the full foreign key;

    o Verify the generated fields based on the table below:

    o Select the Check required checkbox;

    o Select the Not Specified radio button in the Foreign key field type field;

    o Choose the Copy pushbutton;

    Check Table ChkTablFld For. key table Foreign Key Field Generic Constant

    J_1BTXJUR CLIENT SYST MANDT

    J_1BTXJUR COUNTRY X

    J_1BTXJUR TAXJURCODE J_1BCTE_S_BADI_HEADER CTE_STRT_LCT

    Check Table ChkTablFld For. key table Foreign Key Field Generic Constant

    J_1BTXJUR CLIENT SYST MANDT

    J_1BTXJUR COUNTRY X

    J_1BTXJUR TAXJURCODE J_1BCTE_S_BADI_HEADER CTE_END_LCT

    Check Table ChkTablFld For. key table Foreign Key Field Generic Constant

    T006 MANDT J_1BNFDOC MANDT

    T006 MSEHI J_1BCTE_S_BADI_HEADER VOL_UNIT

  • NOTE 1677119 - MANUAL STEPS

    10

    - Select the Currency/quantity fields tab;

    - Select the table line with Component = TOTAL_REF_AMT;

    o Enter the Reference table as J_1BNFDOC;

    o Enter the Ref. field as WAERK;

    - In the menu "Extras", choose "Enhancement Category";

    o Choose the Continue pushbutton in the information popup;

    o Choose the "Cannot be Enhanced" option;

    - Save and activate the changes. 2.3.2 BAdI CT-e References Information

    - Execute transaction SE11;

    - Select the "Data Type" radio button;

    - Enter " J_1BCTE_S_BADI_DOCREF" in the proper field;

    - Choose the "Create" pushbutton;

    - Select the Structure radio button;

    - Choose the Continue icon;

    - Enter "BAdI CT-e references data" in the field Short Description;

    - Select the Components tab;

    - Enter the information as follows:

    Field Key Initial Data Element

    DOCVAL J_1BCTE_REF_VAL

    .INCLUDE J_1B_NFE_ACCESS_KEY

    .INCLUDE J_1BCTE_S_REF_NF

    - In the menu "Extras", choose "Enhancement Category";

    o Choose the Continue pushbutton in the information popup;

    o Choose the "Cannot be Enhanced" option;

    - Save and activate the changes. 2.3.3 BAdI CT-e Resources Information

    - Execute transaction SE11;

    - Select the "Data Type" radio button;

    - Enter "J_1BCTE_S_BADI_RES" in the proper field;

    - Choose the "Create" pushbutton;

    - Select the Structure radio button;

    - Enter "BAdI CT-e Resources data" in the field Short Description;

  • NOTE 1677119 - MANUAL STEPS

    11

    - Select the Components tab;

    - Enter the information as follows:

    Field Key Initial Data Element

    RENAVAM J_1BCTE_RES_RENAVAM

    PLATE J_1BCTE_RES_PLATE

    TARE_KG J_1BCTE_RES_TARE_KG

    CAPA_KG J_1BCTE_RES_CAPA_KG

    CAPA_M J_1BCTE_RES_CAPA_M

    OWNER_TP J_1BCTE_RES_OWNER_TP

    RES_TYPE J_1BCTE_RES_TYPE

    RODADO_TP J_1BCTE_RES_RODADO_TP

    CAR_TP J_1BCTE_RES_CAR_TP

    STATE J_1BCTE_RES_STATE

    SEAL_NR J_1BCTE_RES_SEAL_NR

    - In the menu "Extras", choose "Enhancement Category";

    o Choose the Continue pushbutton in the information popup;

    o Choose the "Cannot be Enhanced" option;

    - Save and activate the changes.

    2.4 Table Type 2.4.1 BAdI CT-e References Information

    - Execute transaction SE11;

    - Select the "Data Type" radio button;

    - Enter " J_1BCTE_T_BADI_DOCREF" in the proper field;

    - Choose the "Create" pushbutton;

    - Select the Table Type radio button;

    - Enter " BAdI CT-e References table type" in the field Short Description;

    - Select the Line Type tab;

    - Enter the J_1BCTE_S_BADI_DOCREF in the field Line Type;

    - Save and activate the changes. 2.4.2 BAdI CT-e Resources Information

    - Execute transaction SE11;

  • NOTE 1677119 - MANUAL STEPS

    12

    - Select the "Data Type" radio button;

    - Enter "J_1BCTE_T_BADI_RES" in the proper field;

    - Choose the "Create" pushbutton;

    - Select the Table Type radio button;

    - Enter " BAdI CT-e Resources table type" in the field Short Description;

    - Select the Line Type tab;

    - Enter the J_1BCTE_S_BADI_RES in the field Line Type;

    - Save and activate the changes. 2.5 Tables 2.6 Dynpro Structures 2.6.1 Dynpro reference to the NFs

    - Execute transaction SE11;

    - Select the "Data Type" radio button;

    - Enter "J_1BDY_CTEDOCREF" in the proper field;

    - Choose the "Change" pushbutton;

    - Choose the Continue icon;

    - Select the Components tab;

    - Enter the information as follows:

    Component Reference Type Component Type

    DOCNUM8 Types J_1BDOCNUM8

    - Save and activate the changes. 2.7 Screen Controls 2.7.1 Field Assignment

    - Execute transaction SM30;

    - Enter J_1BAKV in the field Table/View;

    - Choose the Maintain pushbutton;

    - Choose the New Entries pushbutton;

    - Enter the information as follows:

    Table Name Field Name FGr

    J_1BDY_CTEDOCREF DOCNUM8 100

  • NOTE 1677119 - MANUAL STEPS

    13

    - Select the following entry and then choose the Delete icon to remove the entry:

    Table Name Field Name FGr

    J_1BDY_CTEDOCREF DOCNUM9 100

    2.7.2 Screen Control Groups ATTENTION: Only Field Group 100 (CT-e Fields) is being created in this Note. If some field groups are missing you probably miss implementation steps in older Note(s).

    - Execute transaction SM30;

    - Enter J_1BAMV in the field Table/View;

    - Choose the Maintain pushbutton;

    - Edit 23 Create application generated CT-e (via MM-IV) in the field Scr.contr.ref.;

    - Select the radio buttons as follows:

    Field Group Display Optional Obligatory Hide

    1 Document date X

    2 Posting date X

    3 Form of Nota Fiscal X

    4 Nota Fiscal number X

    5 Selection indicator partners X

    6 Fatura X

    7 Terms of payment key X

    8 Document currency X

    9 Branch X

    10 Series and sub-series X

    11 Reference to NF X

    12 Tax situation X

    13 Partner identification X

    14 Means of transport ID X

    15 Incoterms X

    16 Shipping unit X

    17 Tot.number shipping unit deliv X

    18 Mark of the shipping unit X

  • NOTE 1677119 - MANUAL STEPS

    14

    19 Number of shipping unit X

    20 Weight X

    21 Freight value without taxes X

    22 Insurance value without taxes X

    23 Expenses without taxes X

    24 Selection indicator lines X

    25 Material Number X

    26 Material group X

    27 Material description X

    28 Reference to NF X

    29 Valuation area X

    30 CFOP code X

    31 Valuation type X

    32 NBM code X

    33 Origin of the material X

    34 Produced in-house indicator X

    35 Usage of material X

    36 Selection indicator msg link X

    37 Quantity X

    38 Unit of measure X

    39 Value of lines X

    40 Financial document reference X

    41 Calculate ISS for material X

    42 Selection indicator taxas X

    43 Tax type X

    44 Base amount X

    45 Tax rate X

    46 Tax value X

    47 Excluded base amount X

    48 Other base amount X

    49 Selection indicator message X

    50 Message X

  • NOTE 1677119 - MANUAL STEPS

    15

    51 Model of Nota Fiscal X

    52 Tax law ICMS X

    53 Tax law IPI X

    54 Partner function ID X

    55 Partner function for matchcode X

    56 Discount value without taxes X

    57 Reference source document X

    58 Transportation category X

    59 Item type X

    60 Net value X

    61 Observations X

    62 Statistical postings X

    63 Reference type (source doc.) X

    64 Shipping point X

    65 Batch X

    66 Tax law ISS X

    67 Tax Jurisdiction Code X

    68 Service Type (Incoming) X

    69 Service Type (Outgoing) X

    70 Withholding tax flag X

    71 Flag: Tax included in net val. X

    72 Tax Law Cofins X

    73 Tax Law PIS X

    74 Service NF-e X

    75 Access Key - NF-e Doc. Number X

    76 NF-e: Authorization Code X

    77 NF-e Number X

    78 Creation date X

    79 NF-e Check Digit X

    80 Contingency X

    81 Authorization Date X

    82 Authorization Time X

  • NOTE 1677119 - MANUAL STEPS

    16

    83 NF-e Issuing Type X

    84 Partner State Inscription X

    85 NF-e: XML Version X

    86 Import Documents and Additions X

    87 Tax Rate with 4 Decimals X

    100 CT-e Fields X

    - Save the changes; 2.8 Brazilian Taxes Setup 2.8.1 Creating internal codes

    Log in the system using the language DE German.

    1. Execute transaction J1BTAX;

    2. Enter BR in the field Land;

    3. Choose Weiter (Enter) pushbutton;

    4. In the Konditions-Setup menu, select Konditionszuordnung, then Interne Nummern;

    5. Create new entries with the following data:

    Int. Steuerkond.-Code Bezeichnung

    NF_CONHECIMENTO_ICMS_AMOUNT Result of Tax Calculation: ICMS Amount on Conhecimento

    NF_CONHECIMENTO_ICMS_NBASE Result of Tax Calculation: ICMS Conhecimento Normal Base

    NF_CONHECIMENTO_ICMS_OBASE Result of Tax Calculation: ICMS Conhecimento Other Base

    NF_CONHECIMENTO_SUBTRIB_AMOUNT Result of Tax Calculation: ICMS Sub.Trib. Amount on Conhec.

    NF_CONHECIMENTO_SUBTRIB_BASE Result of Tax Calculation: ICMS Sub.Trib.Conhecimento Base

    6. Choose Sichern (Save).

    2.8.2 Creating condition types for MM

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup menu, select Konditionsarten, then Konditionsarten MM;

    3. Choose the line with value ICM1 in the column KArt;

    4. Choose Kopieren als (Copy As);

    5. Enter CIC1 - Conhecimento ICMS in the field Konditionsart;

    6. Press Enter;

    7. Choose the line with value ICM2 in the column KArt";

    8. Choose Copy As (F6);

    9. Enter CIC2 and Conhe. ICMS Non.Ded. in the field Konditionsart;

  • NOTE 1677119 - MANUAL STEPS

    17

    10. Press Enter;

    11. Choose the line with value ICM3 in the column KArt";

    12. Choose Kopieren als (Copy As);

    13. Enter CIC3 and Conhe. ICMS from SD in the field Konditionsart;

    14. Press Enter;

    15. Choose the line with value ICS1 in the column KArt";

    16. Choose Kopieren als (Copy As);

    17. Enter CST1 and Conhe. SubTrib in the field Konditionsart;

    18. Press Enter;

    19. Choose the line with value ICS2 in the column KArt";

    20. Choose Kopieren als (Copy As);

    21. Enter CST2 and Conhe. SubTr N.Deduc in the field Konditionsart;

    22. Press Enter;

    23. Choose the line with value ICS3 in the column KArt";

    24. Choose Kopieren als (Copy As);

    25. Enter CST3 and Conhe. SubTrib SD in the field Konditionsart;

    26. Press Enter;

    27. Choose New Entries (F5);

    28. Enter BX17 and BR ICMS Conhe Base in the field Konditionsart (Condit. type);

    29. Enter A in the field Kond. Klasse (Cond. Class);

    30. Enter B in the field Rechenregel (Calculat.type);

    31. Enter 1 in the field Konditionstyp (Cond.category);

    32. Select the Betrag/Prozent (Amount/percent) checkbox;

    33. Select the Wert (Value) checkbox;

    34. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    35. Choose Save;

    36. Choose Back;

    37. Choose New Entries (F5);

    38. Enter BX18 and BR ICMS Conhe O. Bas in the field Konditionsart (Condit. type);

    39. Enter A in the field Kond. Klasse (Cond. Class);

    40. Enter B in the field Rechenregel (Calculat.type);

    41. Enter 1 in the field Konditionstyp (Cond.category);

    42. Select the Betrag/Prozent (Amount/percent) checkbox;

    43. Select the Wert (Value) checkbox;

    44. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    45. Choose Save;

    46. Choose Back;

    47. Choose New Entries (F5);

    48. Enter BX19 and BR ICMS Conhe Amount in the field Konditionsart (Condit. type);

    49. Enter A in the field Kond. Klasse (Cond. Class);

    50. Enter B in the field Rechenregel (Calculat.type);

  • NOTE 1677119 - MANUAL STEPS

    18

    51. Enter 1 in the field Konditionstyp (Cond.category);

    52. Select the Betrag/Prozent (Amount/percent) checkbox;

    53. Select the Wert (Value) checkbox;

    54. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    55. Choose Save;

    56. Choose Back;

    57. Choose New Entries (F5);

    58. Enter BX47 and BR SubTrib Conh Basein the field Konditionsart (Condit. type);

    59. Enter A in the field Kond. Klasse (Cond. Class);

    60. Enter B in the field Rechenregel (Calculat.type);

    61. Enter 1 in the field Konditionstyp (Cond.category);

    62. Select the Betrag/Prozent (Amount/percent) checkbox;

    63. Select the Wert (Value) checkbox;

    64. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    65. Choose Save;

    66. Choose Back;

    67. Choose New Entries (F5);

    68. Enter Enter BX49 and BR SubTrib Conh Amnt in the field Konditionsart (Condit. type);

    69. Enter A in the field Kond. Klasse (Cond. Class);

    70. Enter B in the field Rechenregel (Calculat.type);

    71. Enter 1 in the field Konditionstyp (Cond.category);

    72. Select the Betrag/Prozent (Amount/percent) checkbox;

    73. Select the Wert (Value) checkbox;

    74. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    75. Choose Save;

    76. Choose Back;

    2.8.3 Creating condition types for SD

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup menu, select Konditionsarten, then Konditionsarten SD;

    1. Choose the line with value ICM3 in the column KArt";

    2. Choose Kopieren als (Copy As);

    3. Enter CIC3 and Conhecimento ICMS in the field Konditionsart;

    4. Press Enter;

    5. Choose the line with value ICS3 in the column KArt";

    6. Choose Kopieren als (Copy As);

    7. Enter CST3 and Conhe. SubTrib in the field Konditionsart;

    8. Press Enter;

    9. Choose New Entries (F5);

    10. Enter BX17 and BR ICMS Conhe Base in the field Konditionsart (Condit. type);

    11. Enter A in the field Kond. Klasse (Cond. Class);

  • NOTE 1677119 - MANUAL STEPS

    19

    12. Enter B in the field Rechenregel (Calculat.type);

    13. Enter 1 in the field Konditionstyp (Cond.category);

    14. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    15. Enter D in the field Manuelle Eingaben (Manual Entries);

    16. Select the Betrag/Prozent (Amount/percent) checkbox;

    17. Select the Wert (Value) checkbox;

    18. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    19. Choose Save;

    20. Choose Back;

    21. Choose New Entries (F5);

    22. Enter BX19 and BR ICMS Conhe Amount in the field Konditionsart (Condit. type);

    23. Enter IBRX in the field Zugriffsfolge (Acess seq.);

    24. Enter D in the field Kond. Klasse (Cond. Class);

    25. Enter B in the field Rechenregel (Calculat.type);

    26. Enter D in the field Konditionstyp (Cond.category);

    27. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    28. Enter D in the field Manuelle Eingaben (Manual Entries);

    29. Select the Betrag/Prozent (Amount/percent) checkbox;

    30. Select the Wert (Value) checkbox;

    31. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    32. Enter IBRX in the field ReferenzKondA (RefConType);

    33. Enter V in the field RefApplikatio (RefApplicatio);

    34. Choose Save;

    35. Choose Back;

    36. Choose New Entries (F5);

    37. Enter BX47 and BR SubTrib Conh Base in the field Konditionsart (Condit. type);

    38. Enter A in the field Kond. Klasse (Cond. Class);

    39. Enter B in the field Rechenregel (Calculat.type);

    40. Enter 1 in the field Konditionstyp (Cond.category);

    41. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    42. Enter D in the field Manuelle Eingaben (Manual Entries);

    43. Select the Betrag/Prozent (Amount/percent) checkbox;

    44. Select the Wert (Value) checkbox;

    45. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    46. Choose Save;

    47. Choose Back;

    48. Choose New Entries (F5);

    49. Enter BX49 and BR SubTrib Conh Amnt in the field Konditionsart (Condit. type);

    50. Enter A in the field Kond. Klasse (Cond. Class);

    51. Enter B in the field Rechenregel (Calculat.type);

    52. Enter 1 in the field Konditionstyp (Cond.category);

    53. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    54. Enter D in the field Manuelle Eingaben (Manual Entries);

    55. Select the Betrag/Prozent (Amount/percent) checkbox;

  • NOTE 1677119 - MANUAL STEPS

    20

    56. Select the Wert (Value) checkbox;

    57. Choose B Ohne Popup (B without popup) in the pulldown auf DB Lsche (delete fr. DB);

    58. Choose Save;

    59. Choose Back;

    60. Choose New Entries (F5);

    61. Enter CICO and Conhe. ICMS offset in the field Konditionsart (Condit. type);

    62. Enter IBRR in the field Zugriffsfolge (Acess seq.);

    63. Enter A in the field Kond. Klasse (Cond. Class);

    64. Enter A in the field Rechenregel (Calculat.type);

    65. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    66. Enter D in the field Manuelle Eingaben (Manual Entries);

    67. Select the Betrag/Prozent (Amount/percent) checkbox;

    68. Choose (Do not delete) in the pulldown auf DB Lsche (delete fr. DB);

    69. Enter ICMO in the field ReferenzKondA (RefConType);

    70. Enter V in the field RefApplikatio (RefApplicatio);

    71. Choose Save;

    72. Choose Back;

    73. Choose New Entries (F5);

    74. Enter CSTO and Conhe SubTrib offset in the field Konditionsart (Condit. type);

    75. Enter IBRR in the field Zugriffsfolge (Acess seq.);

    76. Enter A in the field Kond. Klasse (Cond. Class);

    77. Enter A in the field Rechenregel (Calculat.type);

    78. Choose (Condition Technique) in the pulldown Ds-Quelle (DataRecSrc);

    79. Enter D in the field Manuelle Eingaben (Manual Entries);

    80. Select the Betrag/Prozent (Amount/percent) checkbox;

    81. Choose (Do not delete) in the pulldown auf DB Lsche (delete fr. DB);

    82. Enter ICMO in the field ReferenzKondA (RefConType);

    83. Enter V in the field RefApplikatio (RefApplicatio);

    84. Choose Save;

    85. Choose Back;

    86. Choose Sichern (Save);

    2.8.4 Creating condition types for Conhecimento determination

    1. Execute transaction SPRO;

    2. In then Materialwirtschaft (Materials Management) menu, select Einkauf (Purchasing), then

    Konditionen (Conditions), then Preisfindug festlegen (Define Price Determination Process), then

    Konditionsarten festlegen (Define Condition Types);

    3. Choose Konditionsart definieren (Define Condition Type) Activity;

    4. Create a new entry with the following data:

    Field Value

    Konditionsart CONH Conhecimento

    Zugriffsfolge Choose an access sequence according to your business needs.

  • NOTE 1677119 - MANUAL STEPS

    21

    Kond.Klasse D Taxes

    Rechenrege A Percentage

    Pos.kondition Yes

    5. Press Enter; 6. Choose Sichern (Save);

    7. Execute transaction J1BTAX;

    8. In the Konditions-Setup menu, select Konditionsarten, then Konditionsarten SD;

    9. Create a new entry with the following data:

    Field Value

    Konditionsart CONH Conhecimento

    Zugriffsfolge Choose an access sequence according to your business needs.

    Kond.Klasse D Taxes

    Calculat.type A Percentage

    10. Press Enter; 11. Choose Sichern (Save);

    2.8.5 Assigning Condition Types to Internal Codes

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup (Condition Setup) menu, select Konditionszuordnung (Condition

    Mapping), then Konditionen zu internen Codes zuordnen (Assign Conditions to Internal Codes);

    3. Create new entries with the following data:

    Int. Steuerkond.-Code Applikation Konditionsart

    NF_CONHECIMENTO_ICMS_AMOUNT TX BX19

    NF_CONHECIMENTO_ICMS_AMOUNT V BX19

    NF_CONHECIMENTO_ICMS_NBASE TX BX17

    NF_CONHECIMENTO_ICMS_NBASE V BX17

    NF_CONHECIMENTO_ICMS_OBASE TX BX18

    NF_CONHECIMENTO_SUBTRIB_AMOUNT TX BX49

    NF_CONHECIMENTO_SUBTRIB_AMOUNT V BX49

    NF_CONHECIMENTO_SUBTRIB_BASE TX BX47

    NF_CONHECIMENTO_SUBTRIB_BASE V BX47

  • NOTE 1677119 - MANUAL STEPS

    22

    Int. Steuerkond.-Code Applikation Konditionsart

    NF_CONHECIMENTO_ICMS_AMOUNT TX BX19

    CONHECIMENTO M CONH

    CONHECIMENTO V CONH

    4. Press Enter;

    5. Choose Sichern (Save);

    2.8.6 Changing TAXBRA

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup (Condition setup) menu, select Berechnungsverfahren (Calc.

    Procedures), then Berechnungsverfahren MM (Calc. Procedures MM);

    3. Choose the line with value TAXBRA in the column Schema (Procedure);

    4. Open Steuerung (Control Data) in the Dialogstruktur (Dialog Structure);

    5. Create new entries with the following data:

    Stufe KArt Von Bis Statisch RchFrm BasTyp KtoSl

    221 BX17 320

    222 BX18 Yes 320

    228 BX19 Yes 320

    287 BX47 Yes 320

    289 BX49 320

    419 CIC1 228 1 VS2

    436 CST1 289 VS3

    517 CIC2 228 1 NVV

    521 CST2 289 NVV

    618 CIC3 228 1 MW3

    621 CST3 289 MW2

    6. Choose Sichern (Save).

    2.8.7 Changing RVABRA

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup (Condition setup) menu, select Berechnungsverfahren (Calc.

    Procedures), then Berechnungsverfahren SD (Calc. Procedures SD);

    3. Choose the line with value RVABRA in the column Schema (Procedure);

    4. Open Steuerung (Control Data) in the Dialogstruktur (Dialog Structure);

  • NOTE 1677119 - MANUAL STEPS

    23

    5. Create new entries with the following data:

    Stufe KArt Von Statisch RchFrm BasFrm KtoSl

    222 CONH Yes 160

    615 BX17 Yes 320

    623 BX19 320 MW2

    637 BX47 Yes 320

    645 BX49 Yes 320

    716 CIC3 1 Yes

    717 CST3 1 Yes

    721 CICO 623 BRI

    722 CSTO 645 BRI

    6. Choose Sichern (Save). 2.8.8 Creating new Tax types

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup menu, select Steuerarten;

    3. Create new entries with the following data:

    Steuerart Steuergruppe Beschreibung

    CIC1 ICMS ICMS on Conhecimento

    CIC2 ICMS ICMS Non-Deduc on Conhecimento

    CIC3 ICMS ICMS on Conhecimento from SD

    CST1 ICST Sub.Trib. on Conhecimento

    CST2 ICST Sub.Trib. Non-Deduc. on Conhe.

    CST3 ICST Sub.Trib. on Conhe. from SD

    4. Choose Sichern (Save).

    2.8.9 Moving tax values to Nota Fiscal

    1. Execute transaction J1BTAX;

    2. In the Konditions-Setup menu, select Nota-Fiscal-Zuordnung, then Steuerwerte MM;

    3. Enter TAXBRA in the field Kalkulationsschema;

    4. Choose bernehmen (Continue);

    5. Create new entries with the following data:

  • NOTE 1677119 - MANUAL STEPS

    24

    Steuerart Kond. Steuersatz Mapping Felder Kond Steuerbetr Kond Steuerbasis Kond And. Basis

    CIC1 IFR1 1 Condition Rate BX19 BX17 BX18

    CIC2 IFR1 1 Condition Rate BX19 BX17 BX18

    CST1 IFR1 1 Condition Rate BX49 BX47

    CST2 IFR1 1 Condition Rate BX49 BX47

    6. Choose Sichern (Save).

    7. Execute transaction J1BTAX;

    8. In the Konditions-Setup menu, select Nota-Fiscal-Zuordnung, then Steuerwerte SD;

    9. Enter RVABRA in the field Kalkulationsschema;

    10. Choose bernehmen (Continue);

    11. Create new entries with the following data:

    Steuerart Kond. Steuersatz

    Mapping Felder

    Kond Steuerbetr

    Kond Gesmtbasis

    Kond Steuerbasis

    Kond And. Basis

    CIC3 IFR1 1 Condition Rate

    BX19 BX17 BX17

    CST3 IFR1 1 Condition Rate

    BX49 BX17 BX17 BX47

    12. Choose Sichern (Save).

    3 POST-IMPLEMENTATION STEPS

    3.1 Text Elements

    3.2 Message Class

    - Login in the system using the language EN English.

    - Execute transaction SE91;

    - Enter J1B_CTE in the field Message Class;

    - Choose the Change pushbutton;

    - Select the Messages tab;

    - Enter/Edit information as follows:

    Message Message Short Text SelfExplanatory

    002 Region must be numeric and not &1 X

    003 Year must be numeric and not &1 X

    004 Month must be numeric and not &1 X

  • NOTE 1677119 - MANUAL STEPS

    25

    005 CNPJ must be numeric and not &1 X

    006 Series must be numeric and not &1 X

    007 Nine-Digit must be numeric and not &1 X

    008 Issue Type must be numeric and not &1 X

    009 Check Digit must be numeric and not &1 X

    010 CT-e BAdI: &1

    - Save the changes;

  • 2011 SAP AG. All rights reserved.

    SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional

    warranty.

    www.sap.com