/TMF/MD_BATCH - Batches of events to send to government
Batches of events to send to government information is stored in SAP table /TMF/MD_BATCH.
It is part of development package /TMF/MF in software component FIN-TMF. This development package consists of objects that can be grouped under "Tax Management Framework Brazil: Messaging Framework".
It is part of development package /TMF/MF in software component FIN-TMF. This development package consists of objects that can be grouped under "Tax Management Framework Brazil: Messaging Framework".
Fields for table /TMF/MD_BATCH
Field Name | Description | Is Key | Data Element | Data Type | Length | Check Table |
|---|---|---|---|---|---|---|
| MANDT | Client | X | MANDT | CLNT | 6 | |
| BATCH_ID | Batch ID | X | /TMF/M_BATCH_ID | NUMC | 22 | |
| VERSAO | Layout Code for File Generation | /TMF/M_VERSAO | CHAR | 22 | ||
| TP_AMB | Environment Type | /TMF/M_TP_AMB | CHAR | 2 | ||
| TP_LOTE | Batch type | /TMF/M_TP_LOTE | CHAR | 6 | ||
| TP_INSCRICAO_EVT | Registration Type | /TMF/M_TP_INSC | CHAR | 2 | ||
| NR_INSCRICAO_EVT | Taxpayer Registration Number | /TMF/M_NR_INSC | CHAR | 30 | ||
| TP_INSCRICAO_TRANSM | Registration Type | /TMF/M_TP_INSC | CHAR | 2 | ||
| NR_INSCRICAO_TRANSM | Taxpayer Registration Number | /TMF/M_NR_INSC | CHAR | 30 | ||
| CREATION_TIME | Creation timestamp (UTC in Long Form YYYYMMDDhhmmssmmmuuun) | /TMF/M_TIMESTAMP | DEC | 11 | ||
| SEND_TIME | Creation timestamp (UTC in Long Form YYYYMMDDhhmmssmmmuuun) | /TMF/M_TIMESTAMP | DEC | 11 | ||
| RESPONSE_TIME | Creation timestamp (UTC in Long Form YYYYMMDDhhmmssmmmuuun) | /TMF/M_TIMESTAMP | DEC | 11 | ||
| QTD_EVENTS | Quantity of events per batch | /TMF/M_QTD_EVENT | INT1 | 1 | ||
| SIZE_BATCH | Size of batch (in bytes) | /TMF/M_SIZE_BATCH | INT4 | 4 | ||
| MAX_RETRIES | Maximum number of automatic retries | /TMF/M_MAX_RETRIES | INT1 | 1 | ||
| NO_RETRIES | Number of Retries | /TMF/M_NO_RETRIES | INT2 | 2 | ||
| WAIT | Wait Time in Seconds | /TMF/M_WAIT | INT4 | 4 | ||
| FLOW_ID | Flow Identification | /TMF/M_FLOW_ID | CHAR | 20 | ||
| STEP_ID | Step identification | /TMF/M_STEP_ID | CHAR | 20 | ||
| DH_RECEPCAO | Date and time of reception from government | /TMF/M_DH_RECEPCAO | CHAR | 60 | ||
| DH_PROCESSAMENTO | Processing date and time by government | /TMF/M_DH_PROCESSAMENTO | CHAR | 60 | ||
| NR_PROTOCOLO | Protocol number from government reception | /TMF/M_NR_PROTOCOLO | CHAR | 100 | ||
| AGENTE_RECEPCAO | Government agent who made batch reception | /TMF/M_AGENTE_RECEPCAO | CHAR | 4 | ||
| CD_RESPOSTA | Government system Return code | /TMF/M_CD_RESPOSTA | CHAR | 14 | ||
| STATUS | Batch status | /TMF/M_BATCH_STATUS | CHAR | 4 | ||
| MSGGUID | XI: Message ID | SXMSMGUID | RAW | 16 | ||
| LEGAL_TYPE | Obligation Type | /TMF/M_LEGAL_TYPE | CHAR | 2 | ||
| BATCH_GROUP | Group type of events to send to gov | /TMF/M_BATCH_GROUP | INT4 | 4 |