1638543 - ct-e #1
TRANSCRIPT
-
Implementation steps for Note 1638543
-
Implementation steps for Note 1638543 11.03.2013
2
TABLE OF CONTENT
1 PREFACE ................................................................................................................................. 3
2 PRE-IMPLEMENTATION STEPS ............................................................................................ 4 2.1 Domains ...................................................................................................................................4 2.1.1 Vehicle Body Type ....................................................................................................................4 2.1.2 Vehicle Ownership Type ...........................................................................................................4 2.1.3 Axis Type ..................................................................................................................................5 2.1.4 Vehicle Type .............................................................................................................................5 2.1.5 Service Type Indicator ..............................................................................................................6 2.1.6 Mode of Transportation .............................................................................................................6 2.2 Data Elements .........................................................................................................................7 2.3 Structures ............................................................................................................................. 12 2.3.1 CT-e Header information ....................................................................................................... 12 2.3.2 Nota Fiscal Reference ........................................................................................................... 14 2.4 Tables .................................................................................................................................... 15 2.4.1 Reference to the NF-e ........................................................................................................... 15 2.4.2 CT-e Resource ....................................................................................................................... 17 2.4.3 Nota Fiscal ............................................................................................................................. 18 2.4.4 Table for Brazilian switches ................................................................................................... 19 2.5 Dynpro Structures ............................................................................................................... 19 2.5.1 Dynpro reference to the NFs.................................................................................................. 19 2.5.2 Dynpro fields for CT-e resources ........................................................................................... 20 2.6 Screen Controls ................................................................................................................... 20 2.6.1 Field Groups........................................................................................................................... 21 2.6.2 Field Assignment ................................................................................................................... 21 2.6.3 Screen Control Groups .......................................................................................................... 23 2.6.4 Status Control ........................................................................................................................ 37 2.7 Brazilian Taxes Setup .......................................................................................................... 38 2.7.1 Internal Codes for Tax Conditions ......................................................................................... 38
3 POST-IMPLEMENTATION STEPS ........................................................................................ 39 3.1 Text Elements ....................................................................................................................... 39 3.2 Message Class ..................................................................................................................... 39
-
Implementation steps for Note 1638543 11.03.2013
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 1638543 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;
-
Implementation steps for Note 1638543 11.03.2013
4
2 PRE-IMPLEMENTATION STEPS
2.1 Domains 2.1.1 Vehicle Body Type
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_RES_CAR_TP" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Trailer Type;
o Data type: CHAR;
o No. Characters: 2;
o Output Length: 2;
- Select the Value Range tab;
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
00 Not Applicable
01 Open
02 Closed
03 Bulk Carrier
04 Container Carrier
05 Sider
- Save and activate the changes.
2.1.2 Vehicle Ownership Type
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_RES_OWNER_TP" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Vehicle Ownership Type;
o Data type: CHAR;
o No. Characters: 1;
o Output Length: 1;
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.
-
Implementation steps for Note 1638543 11.03.2013
5
- Select the Value Range tab;
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
P Self-Owned
T 3rd Party
- Save and activate the changes.
2.1.3 Axis Type
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_RES_RODADO_TP" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Axis Type;
o Data type: CHAR;
o No. Characters: 2;
o Output Length: 2;
- Select the Value Range tab;
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
00 Not applicable
01 Truck
02 Toco
03 Truck Tractor
04 VAN
05 SUV
06 Others
- Save and activate the changes.
2.1.4 Vehicle Type
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_RES_TYPE" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Vehicle Type;
o Data type: CHAR;
o No. Characters: 1;
o Output Length: 1;
- Select the Value Range tab;
-
Implementation steps for Note 1638543 11.03.2013
6
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
0 Traction
1 Trailer
- Save and activate the changes.
2.1.5 Service Type Indicator
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_SERV_TP" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Service Type Indicator;
o Data type: CHAR;
o No. Characters: 1;
o Output Length: 1;
- Select the Value Range tab;
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
0 Normal
1 Subcontracting
2 Redispatch
3 Intermediate Redispatch
- Save and activate the changes.
2.1.6 Mode of Transportation
- Execute transaction SE11;
- Select the "Domain radio button;
- Enter "J_1BCTE_TRANSPTN_MODE" in the proper field;
- Choose the "Create" pushbutton;
- Enter the information as follows:
o Short Description: Mode of Transportation;
o Data type: CHAR;
o No. Characters: 1;
o Output Length: 1;
- Select the Value Range tab;
- Enter the information as follows in the table Single Vals:
Fix. Val. Short Descript.
1 Road
2 Air
3 Sea
-
Implementation steps for Note 1638543 11.03.2013
7
4 Rail
5 Pipeline
- 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;
- 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 Ship To location J_1BTXJCD
Short Medium Long Heading
8 12 18 12
End Loc. End Jur.Code End Jurisdict.Code End Jur.Code
J_1BCTE_FTL_IND Full Resource 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
7 15 24 15
Product Pred. Product Predominant Product Predom. Product
J_1BCTE_PLN_DT_DLV Planned Date for the Delivery to the Receiver DATUM
Short Medium Long Heading
10 15 21 10
Del.Date Delivery Date Planned Delivery Date Del.Date
J_1BCTE_RCVR_WDW Receiver Withdrawn Indicator XFELD
Short Medium Long Heading
9 15 20 9
Withdrawn Withdrawn Ind. Withdrawn Indicator Withdrawn
J_1BCTE_REF_COUNTER Reference Number NUMC 3
Short Medium Long Heading
4 9 16 4
Ref. Reference Reference Number Ref.
J_1BCTE_REF_TOT_VAL Total Amount of Goods WERT8
Short Medium Long Heading
10 15 22 22
Amount Total Amt Total Amount of Goods Total Amount of Goods
-
Implementation steps for Note 1638543 11.03.2013
9
Name Short description Domain Type Lenght Decimal Places
Length Field Label
J_1BCTE_REF_VAL Document amount WERT8
Short Medium Long Heading
6 10 15 6
Amount Doc. Amount Document Amount Amount
J_1BCTE_RES_CAPA_KG Capacity in Kg NUMC 6
Short Medium Long Heading
8 14 14 8
Capacity Capacity in Kg Capacity in Kg Capacity
J_1BCTE_RES_CAPA_M Capacity in m3 NUMC 3
Short Medium Long Heading
7 14 14 7
Capa M3 Capacity in M3 Capacity in M3 Capa M3
J_1BCTE_RES_CAR_TP Trailer Type J_1BCTE_RES_CAR_TP
Short Medium Long Heading
10 15 20 12
Trailer Ty Trailer Type Trailer Type Trailer Type
J_1BCTE_RES_COUNTER Resource Counter NUMC 3
Short Medium Long Heading
8 8 16 8
Resource Resource Resource Counter Resource
J_1BCTE_RES_OWNER_TP Vehicle Ownership Type J_1BCTE_RES_OWNER_TP
Short Medium Long Heading
9 13 22 9
Prop.Type Property Type Vehicle ownership type Prop.Type
J_1BCTE_RES_PLATE Vehicle License Plate CHAR 10
Short Medium Long Heading
5 13 21 5
Plate Vehicle Plate Vehicle License Plate Plate
J_1BCTE_RES_RENAVAM RENAVAM Code CHAR 9
Short Medium Long Heading
7 7 15 7
RENAVAM RENAVAM RENAVAM Code RENAVAM
J_1BCTE_RES_RODADO_TP Vehicle Axis Type J_1BCTE_RES_RODADO_TP
Short Medium Long Heading
9 17 17 9
Axis Type Vehicle Axis Type Vehicle Axis Type Axis Type
-
Implementation steps for Note 1638543 11.03.2013
10
Name Short description Domain Type Lenght Decimal Places
Length Field Label
J_1BCTE_RES_SEAL_NR Seal Number CHAR 20
Short Medium Long Heading
4 11 11 4
Seal Seal Number Seal Number Seal
J_1BCTE_RES_STATE Vehicle Region CHAR 2
Short Medium Long Heading
10 14 14 14
VehicleReg Vehicle Region Vehicle Region Vehicle Region
J_1BCTE_RES_TARE_KG Vehicle Tare Weight in Kilograms NUMC 6
Short Medium Long Heading
9 14 22 9
Tare Kg Tare Weight Kg Vehicle Tare Weight Kg Tare Kg
J_1BCTE_RES_TYPE Vehicle Type J_1BCTE_RES_TYPE
Short Medium Long Heading
10 12 12 20
VehicleTy. Vehicle Type Vehicle Type Vehicle Type
J_1BCTE_SERV_TP Service Type Indicator J_1BCTE_SERV_TP
Short Medium Long Heading
9 12 22 9
Serv.Type Service Type Service Type Indicator Serv.Type
J_1BCTE_SJCD Jurisdiction Code of the Point of Origin J_1BTXJCD
Short Medium Long Heading
10 19 20 40
OrigJurCod Origin Jurisd. Code Origin Jurisd. Code Jurisdiction Code of the Point of Origin
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
Sub Tax Subtrip Tax Subtrip tax value Subtrip tax value
J_1BCTE_TRANSPTN_MODE Mode of Transportation J_1BCTE_TRANSPTN_MODE
Short Medium Long Heading
4 15 22 22
MoT Mode of Trans. Mode of Transportation Mode of Transportation
-
Implementation steps for Note 1638543 11.03.2013
11
Name Short description Domain Type Lenght Decimal Places
Length Field Label
J_1BCTE_VOL_TRANSP Transported Volume DEC 13 3
Short Medium Long Heading
10 15 20 10
Volume Transp.Volume Transported Volume Volume
J_1BCTE_VOL_UNIT Volume Measure Unit MEINS
Short Medium Long Heading
8 15 20 9
Mes.Unit Measure Unit Volume Measure Unit Mes. Unit
-
2.3 Structures 2.3.1 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 "CT-e Header relevant information" 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 1638543 - MANUAL STEPS
13
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_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_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_HEADER VOL_UNIT
-
NOTE 1638543 - MANUAL STEPS
14
- 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 Nota Fiscal Reference
- Execute transaction SE11;
- Select the "Data Type" radio button;
- Enter "J_1BCTE_S_REF_NF" in the proper field;
- Choose the "Create" pushbutton;
- Select the Structure radio button;
- Choose the Continue icon;
- Enter "NF info" in the field Short Description;
- Select the Components tab;
- Enter the information as follows:
Component Reference Type Component Type
NFMODEL Types J_1BMODEL
NFSERIES Types J_1BSERIES
NFNUM Types J_1BNFNUMB
NFDATE Types J_1BDOCDAT
NFICMS_BV Types J_1BCTE_ICMS_BV
NFICMS_VAL Types J_1BCTE_ICMS_VAL
NFSTIC_BV Types J_1BCTE_STIC_BV
NFSTIC_VAL Types J_1BCTE_STIC_VAL
NFNET_VAL Types J_1BNETVAL
NFTOT_VAL Types J_1BNFTOT
NFCFOP Types J_1BCFOP
NFBRGEW Types BRGEW_15
- Select the Currency/quantity fields tab;
-
NOTE 1638543 - MANUAL STEPS
15
- Enter the information as follows:
Component Reference Table Ref. field
NFMODEL
NFSERIES
NFNUM
NFDATE
NFICMS_BV T001 WAERS
NFICMS_VAL T001 WAERS
NFSTIC_BV T001 WAERS
NFSTIC_VAL T001 WAERS
NFNET_VAL J_1BNFDOC WAERK
NFTOT_VAL T001 WAERS
NFCFOP
NFBRGEW BAPIOBDLVITEM UNIT_OF_WT
- 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 Tables 2.4.1 Reference to the NF-e
- Execute transaction SE11;
- Select the "Database table" radio button;
- Enter "J_1BCTE_D_DOCREF" in the proper field;
- Choose the "Create" pushbutton;
- Enter Reference to the NF-e being transported" in the field Short Description;
- Enter "A" in the field "Delivery Class";
- Choose "Display/Maintenance Allowed with Restrictions" in the pulldown "Data Browser/Table View Maint.";
- Select the "Fields" tab;
-
NOTE 1638543 - MANUAL STEPS
16
- Enter the information as follows:
Field Key Initial Data Element
MANDT X X MANDT
DOCNUM X X J_1BDOCNUM
COUNTER X X J_1BCTE_REF_COUNTER
RFDOCNUM J_1BDOCNUM
LOGSYS LOGSYSTEM
DOCVAL J_1BCTE_REF_VAL
.INCLUDE J_1B_NFE_ACCESS_KEY
.INCLUDE J_1BCTE_S_REF_NF
- Select the table line with Field = DOCNUM;
- Choose the icon Foreign Keys;
- In the popup/window Create Foreign Key
o Choose the Yes option to create a foreign key proposal;
o In the popup/window "Change foreign key", choose the "Yes" option to create a field assignment proposal;
- In the popup/window Create foreign key J_1BCTE_D_DOCREF-DOCNUM:
o Verify the generated fields based on the table below:
o Select the Check required checkbox;
o Select the Key fields/candidates radio button in Foreign Key field type field;
o Enter 1 : CN in the field Cardinality;
o Choose the Copy pushbutton;
- Select the Currency/quantity fields tab;
- Select the table line with Field = DOCVAL;
o Enter the Reference table as J_1BNFDOC;
o Enter the Ref. field as WAERK;
- In the "Goto" menu, select "Technical Settings";
- In the popup/window "Maintenance Enhancement Category":
o Choose the "Cannot be Enhanced" option;
- In the "Maintain Technical settings" screen enter the information as follows:
o Field group "Local storage parameters":
Check Table ChkTablFld For. key table Foreign Key Field Generic Constant
J_1BNFDOC MANDT J_1BCTE_D_DOCREF MANDT
J_1BNFDOC DOCNUM J_1BCTE_D_DOCREF DOCNUM
-
NOTE 1638543 - MANUAL STEPS
17
Data class: APPL1
Size category: 6;
o Field group "Buffering":
Select the "Buffering not allowed" radio button ;
- Save and choose icon Back;
- Save and activate the changes. 2.4.2 CT-e Resource
- Execute transaction SE11;
- Select the "Database table" radio button;
- Enter "J_1BCTE_D_RES" in the proper field;
- Choose the "Create" pushbutton;
- Enter "Information about resource" in the field Short Description;
- Enter "A" in the field "Delivery Class";
- Choose "Display/Maintenance Allowed with Restrictions" in the pulldown "Data Browser/Table View Maint.";
- Select the "Fields" tab;
- Enter the information as follows:
Field Key Initial Data Element
MANDT X X MANDT
DOCNUM X X J_1BDOCNUM
COUNTER X X J_1BCTE_RES_COUNTER
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
-
NOTE 1638543 - MANUAL STEPS
18
- Select the table line with Field = DOCNUM;
- Choose the icon Foreign Keys;
- In the popup/window Create Foreign Key:
o Choose the Yes option to create a foreign key proposal;
o In the popup/window "Change foreign key", choose the "Yes" option to create a field assignment proposal;
- In the popup/window Create foreign key J_1BCTE_D_RES-DOCNUM:
o Verify the generated fields based on the table below:
o Select the Check required checkbox;
o Select the Key fields/candidates radio button in Foreign Key field type field;
o Enter 1 : CN in the field Cardinality;
o Choose the Copy pushbutton;
- In the "Goto" menu, select "Technical Settings";
- In the popup/window "Maintenance Enhancement Category":
o Choose the "Cannot be Enhanced" option;
- In the "Maintain Technical settings" screen enter the information as follows:
o Field group "Local storage parameters":
Data class: APPL1
Size category: 6;
o Field group "Buffering":
Select the "Buffering not allowed" radio button ;
- Save and activate the changes.
2.4.3 Nota Fiscal
- Login in the system using the language DE German.
- Execute transaction SE11;
- Select the "Datenbanktabelle" radio button;
- Enter "J_1BNFDOC" in the proper field;
- Choose the "ndern" pushbutton;
- Select the "Felder" tab;
- At the end of the Field table enter a new line such as:
o Feld: .INCLUDE;
o Datenelement: J_1BCTE_S_HEADER;
Check Table ChkTablFld For. key table Foreign Key Field Generic Constant
J_1BNFDOC MANDT J_1BCTE_D_RES MANDT
J_1BNFDOC DOCNUM J_1BCTE_D_RES DOCNUM
-
NOTE 1638543 - MANUAL STEPS
19
- Save and activate the changes.
2.4.4 Table for Brazilian switches
- Login in the system using the language EN English;
- Execute transaction SE11;
- Select the "Database table" radio button;
- Enter J_1BSWITCH" in the proper field;
- Choose the "Create" pushbutton;
- Enter "Table for Brazilian switches" in the field Short Description;
- Enter "S" in the field "Delivery Class";
- Choose "Display/Maintenance Allowed with Restrictions" in the pulldown "Data Browser/Table View Maint.";
- Select the "Fields" tab;
- Enter the information as follows:
Field Key Initial Data Type Length
FUNCTIONALITY X X CHAR 20
- In the "Goto" menu, select "Technical Settings";
- In the popup/window "Maintenance Enhancement Category":
o Choose the "Cannot be Enhanced" option;
- In the "Maintain Technical settings" screen enter the information as follows:
o Field group "Local storage parameters":
Data class: APPL2
Size category: 0;
o Field group "Buffering":
Select the "Buffering switched on" radio button ;
o Field group Buffering Type:
Choose the Fully Buffered checkbox;
o Choose the Log data changes checkbox;
- Save and activate the changes.
2.5 Dynpro Structures 2.5.1 Dynpro reference to the NFs
- Execute transaction SE11;
- Select the "Data Type" radio button;
-
NOTE 1638543 - MANUAL STEPS
20
- Enter "J_1BDY_CTEDOCREF" in the proper field;
- Choose the "Create" pushbutton;
- Select the Structure radio button;
- Choose the Continue icon;
- Enter "Dynpro reference to the NFs being transported" in the field Short Description;
- Select the Components tab;
- Enter the information as follows:
Component Reference Type Component Type
.INCLUDE
NFE_TPEMIS
Types
Types
J_1BCTE_D_DOCREF
J_1BNFE_TPEMIS
- 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.5.2 Dynpro fields for CT-e resources
- Execute transaction SE11;
- Select the "Data Type" radio button;
- Enter "J_1BDY_CTE_RES" in the proper field;
- Choose the "Create" pushbutton;
- Select the Structure radio button;
- Choose the Continue icon;
- Enter "Dynpro fields for CT-e resources" in the field Short Description;
- Select the Components tab;
- Enter the information as follows:
Component Reference Type Component Type
.INCLUDE Types J_1BCTE_D_RES
SELKZ Types SELKZ_LIST
- 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.6 Screen Controls
-
NOTE 1638543 - MANUAL STEPS
21
2.6.1 Field Groups
- Execute transaction SM30;
- Enter J_1BAEV in the field Table/View;
- Choose the Maintain pushbutton;
- Choose the New Entries pushbutton;
- At the end of the table enter a new line such as:
o Field Group: 100;
o Description: CT-e Fields;
- Save the changes.
2.6.2 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_1BDYDOC FTL_IND 100
J_1BDYDOC PLN_DT_DLV 100
J_1BDYDOC CTE_END_LCT 100
J_1BDYDOC CTE_STRT_LCT 100
J_1BDYDOC MAIN_PRODUCT 100
J_1BDYDOC RCVR_WDW 100
J_1BDYDOC SERV_TP 100
J_1BDYDOC TOTAL_REF_AMT 100
J_1BDYDOC TRANSP_MODE 100
J_1BDYDOC VOL_TRANSP 100
J_1BDYDOC VOL_UNIT 100
J_1BDY_CTEDOCREF CDV 100
J_1BDY_CTEDOCREF DOCNUM9 100
J_1BDY_CTEDOCREF DOCVAL 100
J_1BDY_CTEDOCREF MODEL 100
J_1BDY_CTEDOCREF NFBRGEW 100
-
NOTE 1638543 - MANUAL STEPS
22
J_1BDY_CTEDOCREF NFCFOP 100
J_1BDY_CTEDOCREF NFDATE 100
J_1BDY_CTEDOCREF NFICMS_BV 100
J_1BDY_CTEDOCREF NFICMS_VAL 100
J_1BDY_CTEDOCREF NFMODEL 100
J_1BDY_CTEDOCREF NFMONTH 100
J_1BDY_CTEDOCREF NFNET_VAL 100
J_1BDY_CTEDOCREF NFNUM 100
J_1BDY_CTEDOCREF NFNUM9 100
J_1BDY_CTEDOCREF NFE_TPEMIS 100
J_1BDY_CTEDOCREF NFSERIES 100
J_1BDY_CTEDOCREF NFSTIC_BV 100
J_1BDY_CTEDOCREF NFSTIC_VAL 100
J_1BDY_CTEDOCREF NFTOT_VAL 100
J_1BDY_CTEDOCREF NFYEAR 100
J_1BDY_CTEDOCREF REGIO 100
J_1BDY_CTEDOCREF SERIE 100
J_1BDY_CTEDOCREF STCD1 100
J_1BDY_CTE_RES CAPA_KG 100
J_1BDY_CTE_RES CAPA_M 100
J_1BDY_CTE_RES CAR_TP 100
J_1BDY_CTE_RES COUNTER 100
J_1BDY_CTE_RES OWNER_TP 100
J_1BDY_CTE_RES PLATE 100
J_1BDY_CTE_RES RENAVAM 100
J_1BDY_CTE_RES RES_TYPE 100
J_1BDY_CTE_RES RODADO_TP 100
J_1BDY_CTE_RES SEAL_NR 100
J_1BDY_CTE_RES STATE 100
J_1BDY_CTE_RES TARE_KG 100
- Save the changes.
-
NOTE 1638543 - MANUAL STEPS
23
2.6.3 Screen Control Groups
- Execute transaction SM30;
- Enter J_1BAMV in the field Table/View;
- Choose the Maintain pushbutton;
- Choose the New Entries pushbutton;
- Enter 21 Display application generated CT-e in the field Scr.contr.ref.;
- Select the option Display for all fields, except for the listed below:
Field Group Optional Obligatory Hide
5 Selection indicator partners X
14 Means of transport ID X
24 Selection indicator lines X
32 NBM code X
42 Selection indicator taxas X
49 Selection indicator message X
55 Partner function for matchcode X
58 Transportation category X
74 Service NF-e X
- Save the changes;
- Choose the New Entries pushbutton;
- Enter 22 Display manualy entered CT-e in the field Scr.contr.ref.;
- Select the option Display for all fields, except for the listed below:
Field Group Optional Obligatory Hide
5 Selection indicator partners X
14 Means of transport ID X
24 Selection indicator lines X
32 NBM code X
42 Selection indicator taxas X
49 Selection indicator message X
55 Partner function for matchcode X
58 Transportation category X
-
NOTE 1638543 - MANUAL STEPS
24
74 Service NF-e X
- Save the changes;
- Choose the New Entries pushbutton;
- Enter 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
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
-
NOTE 1638543 - MANUAL STEPS
25
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
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
-
NOTE 1638543 - MANUAL STEPS
26
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
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;
-
NOTE 1638543 - MANUAL STEPS
27
- Choose the New Entries pushbutton;
- Enter 24 Create Outgoing CT-e manualy 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
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
-
NOTE 1638543 - MANUAL STEPS
28
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
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
-
NOTE 1638543 - MANUAL STEPS
29
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
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;
- Choose the New Entries pushbutton;
- Enter 25 Create incoming CT-e manualy in the field Scr.contr.ref.;
-
NOTE 1638543 - MANUAL STEPS
30
- 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
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
-
NOTE 1638543 - MANUAL STEPS
31
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
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
-
NOTE 1638543 - MANUAL STEPS
32
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
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;
- Choose the New Entries pushbutton;
- Enter 28 Change 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
-
NOTE 1638543 - MANUAL STEPS
33
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
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
-
NOTE 1638543 - MANUAL STEPS
34
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
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
-
NOTE 1638543 - MANUAL STEPS
35
81 Authorization Date X
82 Authorization Time X
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;
- Choose the New Entries pushbutton;
- Enter 29 Change manualy entered CT-e 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
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
-
NOTE 1638543 - MANUAL STEPS
36
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
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
-
NOTE 1638543 - MANUAL STEPS
37
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
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.6.4 Status Control
- Execute transaction SM30;
- Enter J_1BANV in the field Table/View;
- Choose the Maintain pushbutton;
- Choose the New Entries pushbutton;
- Enter the information as follows:
Screen Mode Writer Status
3400 Change CTE02
3400 Change X CTE02
3400 Create CTE01
-
NOTE 1638543 - MANUAL STEPS
38
3400 Create X CTE01
3400 Display CTE03
3400 Display X CTE03
- Save the changes; 2.7 Brazilian Taxes Setup 2.7.1 Internal Codes for Tax Conditions
- Login in the system using the language DE German.
- Execute transaction SM30;
- Enter J_1BCONDMAPV in the field Tabelle/Sicht;
- Choose the Pflegen pushbutton;
- Choose the New Entries pushbutton;
- At the end of the table enter a new line such as:
o Int.Steuerkond.-Code: CONHECIMENTO;
o Bezeichnung: Conhecimento Indikator;
- Save the changes;
-
NOTE 1638543 - MANUAL STEPS
39
3 POST-IMPLEMENTATION STEPS
3.1 Text Elements
- Login in the system using the language EN English.
- Execute transaction SE38;
- Enter SAPLJ1BB2 in the field Program;
- Select the Text Elements radio button;
- Choose the Change pushbutton;
- At the end of the table enter new line such as:
Sym Text dLen mLen
110 Change Mode 11 11
111 Specific mode information will be lost, do you confirm? 55 71
112 Delete resource(s) 18 18
113 Should the selected resource(s) be deleted? 42 42
114 Delete reference(s) 19 19
115 Should the selected reference(s) be deleted? 44 44
200 NF-e Data 9 9
201 Electronic Doc. Data 20 20
- Save the changes;
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 Create pushbutton;
- Select the Attributes tab;
- Enter Message class for CT-e in the field Short Text;
- Select the Messages tab;
- In the popup Create Object Directory Entry enter J1BA in the field Package;
- Enter information as follows:
Message Message Short Text SelfExplanatory
000 Reference to NF-e is not empty X
001 Reference to NF is not empty X
-
NOTE 1638543 - MANUAL STEPS
40
- 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