The SAP GTS system decides which activity sequence is used as the basis for the customs declaration during billing document replication. The simplified procedure always takes precedence over the normal procedure. If there is a suitable authorization for the transaction, SAP GTS chooses the simplified procedure. If there is no authorization or if the existing authorization cannot be used, the system opts for the normal procedure instead. A key prerequisite for the replication of the billing document is therefore a successful determination of the activity sequence.
You can influence the determination of activity sequences in Customizing (menu path SAP Global Trade Services, edition for SAP HANA → Customs Management → Communication Processes → Define Determination for Activity Sequence).
The message determination that is based on the activity sequence is part of the procedure for defaulting data. Delivery Customizing provides a variety of country-specific default procedures for message determination in export declarations. These procedures contain a single target field: $MESSAGE (Message). These procedures are intended as templates for procedures that you define in the customer name space.
You use the Define Attributes of Default Data Rules for Messages transaction (transaction code /SAPSLL/DPDATA_MSG) to create the output determination rules for message determination in customs declarations.
SAP GTS uses the Post Processing Framework (PPF) to generate IDocs for the customs declarations in an SAP-specific format and to transfer these documents to the EDI converter. The PPF is a solution-independent tool for application development within the SAP NetWeaver. As the technical successor to message control in SAP ECC, the PPF generates condition-dependent actions. Data output in IDoc format is only one of several options: You can also use PPF actions to print document data on forms or to send e-mails.
In Customs Management, an action definition is assigned to each outbound message. The action definitions are grouped into country-specific action profiles. You can find all the action profiles required for communication with the customs authorities by choosing SAP Global Trade Services, edition for SAP HANA → Customs Management → Communication Processes → Define Technical Medium for Messages (PPF Actions) for General Documents and → Define Technical Medium for Messages (PPF Actions) for Supp. Customs Decl..