FMCA_GET_ARC_FORM_BUNDLE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FMCA_GET_ARC_FORM_BUNDLE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMCA_ARCHIVE_FB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FMCA_GET_ARC_FORM_BUNDLE' "Read single form bundle from archive
* EXPORTING
* iv_case_guid = " rseloption Technical Key of Carrying Object
* iv_taxpayer = " rseloption Business Partner Number
* iv_account = " rseloption Contract Account Number
* iv_reg_id = " rseloption Reference Specifications from Contract
* iv_reg_type = " rseloption Subapplication in Contract Accounts Receivable and Payable
* iv_bu_id_type = " rseloption Identification Type
* iv_taxpayer_id = " rseloption Identification Number
* iv_joint_filer = " rseloption Joint Business Partner Number
* iv_joint_account = " rseloption Joint Contract Account Number
* iv_joint_reg_id = " rseloption Joint Reference Specifications from Contract
* iv_joint_reg_type = " rseloption Joint Subapplication in Contract Accounts Receivable and Payable
* iv_joint_id_type = " rseloption Joint Identification Type
* iv_joint_filer_id = " rseloption Joint Identification Number
* iv_revenue_type = " rseloption Revenue Type
* iv_fbtyp = " rseloption Form Bundle Type
* iv_fbnum = " rseloption Number of a Form Bundle
* iv_period_key = " rseloption Key for Period Assignment
* i_maxrec = 0 " i Maximum Number of Entries
* TABLES
* t_dfmca_return = " dfmca_return Data Table for Tax Returns
* t_dfmca_forms = " dfmca_forms Data Table for Tax Forms
* t_dfmca_form_vers = " dfmca_form_vers Versions of Form Data
* t_dfmca_brf_msg = " dfmca_brf_msg Tax Calculation and Validation: Error Messages
* t_dfmca_fpf_his = " dfmca_fpf_his FPF: Form Processing History
* t_dfmca_op_refdoc = " dfmca_op_refdoc ##Items in contract account document of a Form Bundle
* t_dfmca_wihead = " dfmca_wihead Additional Data for Workflow Item
* t_dfmca_wiheadh = " dfmca_wiheadh Additional Data for Workflow Item (History)
* t_dfkkdoc_con = " dfkkdoc_con FKKDMS: Links Between Application Objects and Documents
* t_dfmca_trace_0100 = " dfmca_trace_0100 TRM BRF+: Indx-typed table for Lean Trace
* CHANGING
* t_dfmca_note_att = " fmca_t_dfmca_note_att Table Type for Data Table DFMCA_NOTE_ATT
EXCEPTIONS
NO_ENTRY_FOUND = 1 " Keinen Eintrag gefunden
NO_INFOSTRUCTURE_FOUND = 2 " Keine Infostruktur gefunden
NO_SELECTION_CRITERIA = 3 " Keine Selektionen eingegeben
FIELD_MISSING_IN_FIELDCAT = 4 " Ein Feld der Selektionkriterien fehlt im Feldkatalog
AS_ERROR = 5 " AS Fehler
WRONG_SELECTION_CRITERIA = 6 " Selektionskriterien falsch definiert
E_TOO_MANY_SELTYPES = 7 " Es wurde sowohl ein Bereich als auch ein Einzelwert als Selektion angegeben
. " FMCA_GET_ARC_FORM_BUNDLE
The ABAP code below is a full code listing to execute function module FMCA_GET_ARC_FORM_BUNDLE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_t_dfmca_return | TYPE STANDARD TABLE OF DFMCA_RETURN,"TABLES PARAM |
| wa_t_dfmca_return | LIKE LINE OF it_t_dfmca_return , |
| it_t_dfmca_forms | TYPE STANDARD TABLE OF DFMCA_FORMS,"TABLES PARAM |
| wa_t_dfmca_forms | LIKE LINE OF it_t_dfmca_forms , |
| it_t_dfmca_form_vers | TYPE STANDARD TABLE OF DFMCA_FORM_VERS,"TABLES PARAM |
| wa_t_dfmca_form_vers | LIKE LINE OF it_t_dfmca_form_vers , |
| it_t_dfmca_brf_msg | TYPE STANDARD TABLE OF DFMCA_BRF_MSG,"TABLES PARAM |
| wa_t_dfmca_brf_msg | LIKE LINE OF it_t_dfmca_brf_msg , |
| it_t_dfmca_fpf_his | TYPE STANDARD TABLE OF DFMCA_FPF_HIS,"TABLES PARAM |
| wa_t_dfmca_fpf_his | LIKE LINE OF it_t_dfmca_fpf_his , |
| it_t_dfmca_op_refdoc | TYPE STANDARD TABLE OF DFMCA_OP_REFDOC,"TABLES PARAM |
| wa_t_dfmca_op_refdoc | LIKE LINE OF it_t_dfmca_op_refdoc , |
| it_t_dfmca_wihead | TYPE STANDARD TABLE OF DFMCA_WIHEAD,"TABLES PARAM |
| wa_t_dfmca_wihead | LIKE LINE OF it_t_dfmca_wihead , |
| it_t_dfmca_wiheadh | TYPE STANDARD TABLE OF DFMCA_WIHEADH,"TABLES PARAM |
| wa_t_dfmca_wiheadh | LIKE LINE OF it_t_dfmca_wiheadh , |
| it_t_dfkkdoc_con | TYPE STANDARD TABLE OF DFKKDOC_CON,"TABLES PARAM |
| wa_t_dfkkdoc_con | LIKE LINE OF it_t_dfkkdoc_con , |
| it_t_dfmca_trace_0100 | TYPE STANDARD TABLE OF DFMCA_TRACE_0100,"TABLES PARAM |
| wa_t_dfmca_trace_0100 | LIKE LINE OF it_t_dfmca_trace_0100 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_t_dfmca_note_att | TYPE FMCA_T_DFMCA_NOTE_ATT , |
| ld_iv_case_guid | TYPE RSELOPTION , |
| it_t_dfmca_return | TYPE STANDARD TABLE OF DFMCA_RETURN , |
| wa_t_dfmca_return | LIKE LINE OF it_t_dfmca_return, |
| ld_iv_taxpayer | TYPE RSELOPTION , |
| it_t_dfmca_forms | TYPE STANDARD TABLE OF DFMCA_FORMS , |
| wa_t_dfmca_forms | LIKE LINE OF it_t_dfmca_forms, |
| ld_iv_account | TYPE RSELOPTION , |
| it_t_dfmca_form_vers | TYPE STANDARD TABLE OF DFMCA_FORM_VERS , |
| wa_t_dfmca_form_vers | LIKE LINE OF it_t_dfmca_form_vers, |
| ld_iv_reg_id | TYPE RSELOPTION , |
| it_t_dfmca_brf_msg | TYPE STANDARD TABLE OF DFMCA_BRF_MSG , |
| wa_t_dfmca_brf_msg | LIKE LINE OF it_t_dfmca_brf_msg, |
| it_t_dfmca_fpf_his | TYPE STANDARD TABLE OF DFMCA_FPF_HIS , |
| wa_t_dfmca_fpf_his | LIKE LINE OF it_t_dfmca_fpf_his, |
| ld_iv_reg_type | TYPE RSELOPTION , |
| it_t_dfmca_op_refdoc | TYPE STANDARD TABLE OF DFMCA_OP_REFDOC , |
| wa_t_dfmca_op_refdoc | LIKE LINE OF it_t_dfmca_op_refdoc, |
| ld_iv_bu_id_type | TYPE RSELOPTION , |
| it_t_dfmca_wihead | TYPE STANDARD TABLE OF DFMCA_WIHEAD , |
| wa_t_dfmca_wihead | LIKE LINE OF it_t_dfmca_wihead, |
| ld_iv_taxpayer_id | TYPE RSELOPTION , |
| it_t_dfmca_wiheadh | TYPE STANDARD TABLE OF DFMCA_WIHEADH , |
| wa_t_dfmca_wiheadh | LIKE LINE OF it_t_dfmca_wiheadh, |
| ld_iv_joint_filer | TYPE RSELOPTION , |
| ld_iv_joint_account | TYPE RSELOPTION , |
| it_t_dfkkdoc_con | TYPE STANDARD TABLE OF DFKKDOC_CON , |
| wa_t_dfkkdoc_con | LIKE LINE OF it_t_dfkkdoc_con, |
| ld_iv_joint_reg_id | TYPE RSELOPTION , |
| it_t_dfmca_trace_0100 | TYPE STANDARD TABLE OF DFMCA_TRACE_0100 , |
| wa_t_dfmca_trace_0100 | LIKE LINE OF it_t_dfmca_trace_0100, |
| ld_iv_joint_reg_type | TYPE RSELOPTION , |
| ld_iv_joint_id_type | TYPE RSELOPTION , |
| ld_iv_joint_filer_id | TYPE RSELOPTION , |
| ld_iv_revenue_type | TYPE RSELOPTION , |
| ld_iv_fbtyp | TYPE RSELOPTION , |
| ld_iv_fbnum | TYPE RSELOPTION , |
| ld_iv_period_key | TYPE RSELOPTION , |
| ld_i_maxrec | TYPE I . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FMCA_GET_ARC_FORM_BUNDLE or its description.
FMCA_GET_ARC_FORM_BUNDLE - Read single form bundle from archive FMCA_FPF_TRANSTYPE_SELECT - FPF: Select transaction types for form bundle type and revenue type FMCA_FPF_TF_SCHEMA_GET - FPF: Return table form schema for a template FMCA_FPF_TDEPT_DETERMINE - FPF: Determine the time dependency type FMCA_FPF_STATUS_TRANS_READ - FPF: Read Business Transaction in Status Management FMCA_FPF_STATUS_TEXT_READ - FPF: Reads Form Bundle Status Text