SAP FAA_RWIN_CALL_ACDOC_CREATE Function Module for
FAA_RWIN_CALL_ACDOC_CREATE is a standard faa rwin call acdoc create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for faa rwin call acdoc create FM, simply by entering the name FAA_RWIN_CALL_ACDOC_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FAA_RWIN
Program Name: SAPLFAA_RWIN
Main Program: SAPLFAA_RWIN
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FAA_RWIN_CALL_ACDOC_CREATE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FAA_RWIN_CALL_ACDOC_CREATE'".
EXPORTING
* IV_COMPONENT = ' ' "
* IV_SOM_INSTANCE_NAME = "
CHANGING
CT_ACCIT = "
CT_ACCHD = "
CT_ACCCR = "
CT_ACCDA = "
CT_RETURN = "
IMPORTING Parameters details for FAA_RWIN_CALL_ACDOC_CREATE
IV_COMPONENT -
Data type: TRWPR-COMPONENTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SOM_INSTANCE_NAME -
Data type: SHM_INST_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FAA_RWIN_CALL_ACDOC_CREATE
CT_ACCIT -
Data type: ACCIT_TOptional: No
Call by Reference: No ( called with pass by value option)
CT_ACCHD -
Data type: ACCHD_TOptional: No
Call by Reference: No ( called with pass by value option)
CT_ACCCR -
Data type: ACCCR_TOptional: No
Call by Reference: No ( called with pass by value option)
CT_ACCDA -
Data type: ACCDA_TOptional: No
Call by Reference: No ( called with pass by value option)
CT_RETURN -
Data type: BAPIRET2_TABOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FAA_RWIN_CALL_ACDOC_CREATE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ct_accit | TYPE ACCIT_T, " | |||
| lv_iv_component | TYPE TRWPR-COMPONENT, " SPACE | |||
| lv_ct_acchd | TYPE ACCHD_T, " | |||
| lv_iv_som_instance_name | TYPE SHM_INST_NAME, " | |||
| lv_ct_acccr | TYPE ACCCR_T, " | |||
| lv_ct_accda | TYPE ACCDA_T, " | |||
| lv_ct_return | TYPE BAPIRET2_TAB. " |
|   CALL FUNCTION 'FAA_RWIN_CALL_ACDOC_CREATE' " |
| EXPORTING | ||
| IV_COMPONENT | = lv_iv_component | |
| IV_SOM_INSTANCE_NAME | = lv_iv_som_instance_name | |
| CHANGING | ||
| CT_ACCIT | = lv_ct_accit | |
| CT_ACCHD | = lv_ct_acchd | |
| CT_ACCCR | = lv_ct_acccr | |
| CT_ACCDA | = lv_ct_accda | |
| CT_RETURN | = lv_ct_return | |
| . " FAA_RWIN_CALL_ACDOC_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FAA_RWIN_CALL_ACDOC_CREATE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single COMPONENT FROM TRWPR INTO @DATA(ld_iv_component). | ||||
| DATA(ld_iv_component) | = ' '. | |||
Search for further information about these or an SAP related objects