FMCA_SAMPLE_P223 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_SAMPLE_P223 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMCA_TRM_ESOA_EVENTS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FMCA_SAMPLE_P223' "Outbound event for TaxObligationERPFilingObligationChangeRC
EXPORTING
is_req = " fmca_tax_obligation_erpfiling Request for change of a tax obligation filing obligation
iv_taxobligationkey = " fmca_tax_obligation_key Key of Tax Obligation
iv_partner = " bu_partner Business Partner Number
is_psobjectrevtype = " fmca013t Revenue Type Texts
is_start_period = " fmca_per_detail Period Details
is_end_period = " fmca_per_detail Period Details
it_filing_obligation = " fmca_filing_obligation_t Table of Filing Obligation
it_return = " fmca3_tt_bapiret2
CHANGING
ct_conf = " fmca_tax_obligation_erpfiling1 Confirmation to Request for change of a tax obligation filin
. " FMCA_SAMPLE_P223
The ABAP code below is a full code listing to execute function module FMCA_SAMPLE_P223 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).
DATA(ld_ct_conf) = 'Check type of data required'.
DATA(ld_is_req) = 'Check type of data required'.
DATA(ld_iv_taxobligationkey) = 'Check type of data required'.
DATA(ld_iv_partner) = 'Check type of data required'.
DATA(ld_is_psobjectrevtype) = 'Check type of data required'.
DATA(ld_is_start_period) = 'Check type of data required'.
DATA(ld_is_end_period) = 'Check type of data required'.
DATA(ld_it_filing_obligation) = 'Check type of data required'.
DATA(ld_it_return) = 'Check type of data required'. . CALL FUNCTION 'FMCA_SAMPLE_P223' EXPORTING is_req = ld_is_req iv_taxobligationkey = ld_iv_taxobligationkey iv_partner = ld_iv_partner is_psobjectrevtype = ld_is_psobjectrevtype is_start_period = ld_is_start_period is_end_period = ld_is_end_period it_filing_obligation = ld_it_filing_obligation it_return = ld_it_return CHANGING ct_conf = ld_ct_conf . " FMCA_SAMPLE_P223
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_ct_conf | TYPE FMCA_TAX_OBLIGATION_ERPFILING1 , |
| ld_is_req | TYPE FMCA_TAX_OBLIGATION_ERPFILING , |
| ld_iv_taxobligationkey | TYPE FMCA_TAX_OBLIGATION_KEY , |
| ld_iv_partner | TYPE BU_PARTNER , |
| ld_is_psobjectrevtype | TYPE FMCA013T , |
| ld_is_start_period | TYPE FMCA_PER_DETAIL , |
| ld_is_end_period | TYPE FMCA_PER_DETAIL , |
| ld_it_filing_obligation | TYPE FMCA_FILING_OBLIGATION_T , |
| ld_it_return | TYPE FMCA3_TT_BAPIRET2 . |
The function module called for event P223 is processed after the
outbound mapping of service
...See here for full SAP fm documentation
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_SAMPLE_P223 or its description.
FMCA_SAMPLE_P223 - Outbound event for TaxObligationERPFilingObligationChangeRC FMCA_SAMPLE_P222 - Outbound event for TaxObligationERPFilingObligationCheckQueryResponse_ FMCA_SAMPLE_P221 - Outbound event for TaxReturnERPByBusinessPartnerQueryResponse_In FMCA_SAMPLE_P220 - Outbound event for TaxReturnERPByIdQueryResponse_In FMCA_SAMPLE_P219 - Outbound event for TaxReturnERPChangeRequestConfirmation_In FMCA_SAMPLE_P218 - Outbound for TaxReturnERPCreateRequestConfirmation_In