Ansicht
Dokumentation

FKK_PT_GET_EXBELX_SETTING - Gets customizing values for EXBELX generation from DB

FKK_PT_GET_EXBELX_SETTING - Gets customizing values for EXBELX generation from DB

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module gets the data customized in the DFKK_PT_NUM_RULE tablefor the Portuguese legal number creation related to a number range object interval (number range object, number range subobject, number range number, to year). It must be processed during the events 1190 and 1192.

Example

Parameters:

is_sequence_request - structure, that contain all primary key values secondary index values of table DFKKEXTDOC2

es_pt_num_rule - structure of customizing table DFKK_PT_NUM_RULE

Flags:

All flags are X-flags (value 'X' means true).

ef_cont_num_th_fy - indicates if a numbering through different fiscal year appears

ef_create_exbelx - indicates that for the number range object interval must be created a SAF-T document number

Caution:

A numbering through fiscal years creates document sequences that are legally not allowed during retroactive postings.

This is not supported in standard.

However, if you want to use it, you have to create a specific coding and to implement business processes that do not allow retroactive postings for a number range number interval.

call function 'FKK_PT_GET_EXBELX_SETTING'

exporting

is_sequence_request = local_structure_sequence

importing

es_pt_num_rule = local_structure_dfkk_pt_num_rule

ef_cont_num_th_fy = local_flag_continuous_numbering_through_fiscal_years

ef_create_exbelx = local_flag_report_in_saft

exceptions

invalid_input = 1

odn_object_not_registered = 2

cont_num_th_fy_cc_not_allowed = 3

others = 4.

if sy-subrc <> 0.

* fatal error

raise....

endif.

* when no exception was raised further checks of the returned flags are required to determine the further valid

* processing

Notes

To create legal numbers in events 1190 and 1192, you must use the customizing data that you have defined when creating your legal number. Otherwise, it is not possible to generate a trusted document chain to be digitally signed for the SAF-T file reporting file.

Note:
Even if you have created specific coding to generate digital signatures without customizing check, the generated digital signature sequence might not be validated by the Portuguese tax auhorities. This error is not an error of the digital signature/SAF-T file solution.

The legal number creation customizing data must be used to create a legal number in events 1190 and 1192. If this is not happen a trusted document chain to be signed digitally for the SAF-T reporting file is not possible. Even if specific coding without customizing check was created that generates digital signatures, the created digital signature sequence may not validated by the tax authorities. This is not an error of the digital signature soltion/SAF-T file.

Further information





Parameters

EF_CONT_NUM_TH_FY
EF_CREATE_EXBELX
ES_PT_NUM_RULE
IS_SEQUENCE_REQUEST

Exceptions

CONT_NUM_TH_FY_CC_NOT_ALLOWED
INVALID_INPUT
ODN_OBJECT_NOT_REGISTERED

Function Group

FKPT_DS_UTILITY

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3825 Date: 20240523 Time: 082830     sap01-206 ( 77 ms )