SAP IBAPI_O_AFVGD_FROM_INTERFACE Function Module for NOTRANSL: Überträgt die Daten von der Schnittstelle auf die AFVGD
IBAPI_O_AFVGD_FROM_INTERFACE is a standard ibapi o afvgd from interface SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Überträgt die Daten von der Schnittstelle auf die AFVGD processing and below is the pattern details for this FM, 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 ibapi o afvgd from interface FM, simply by entering the name IBAPI_O_AFVGD_FROM_INTERFACE into the relevant SAP transaction such as SE37 or SE38.
Function Group: IBAPI_O
Program Name: SAPLIBAPI_O
Main Program: SAPLIBAPI_O
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IBAPI_O_AFVGD_FROM_INTERFACE 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 'IBAPI_O_AFVGD_FROM_INTERFACE'"NOTRANSL: Überträgt die Daten von der Schnittstelle auf die AFVGD.
EXPORTING
IS_CAUFVD = "
IS_AFFLD = "
IS_AFVGD_IN = "
* IS_AFVGD_UP = "Update Structure for PM/CS BAPI Operations
CHANGING
CS_AFVGD = "
EXCEPTIONS
ERROR_IN_PARAMETER_CHECK = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for IBAPI_O_AFVGD_FROM_INTERFACE
IS_CAUFVD -
Data type: CAUFVDOptional: No
Call by Reference: Yes
IS_AFFLD -
Data type: AFFLDOptional: No
Call by Reference: Yes
IS_AFVGD_IN -
Data type: AFVGDOptional: No
Call by Reference: Yes
IS_AFVGD_UP - Update Structure for PM/CS BAPI Operations
Data type: AFVGD_IBAPI_UPDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for IBAPI_O_AFVGD_FROM_INTERFACE
CS_AFVGD -
Data type: AFVGDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_IN_PARAMETER_CHECK -
Data type:Optional: No
Call by Reference: Yes
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for IBAPI_O_AFVGD_FROM_INTERFACE 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_cs_afvgd | TYPE AFVGD, " | |||
| lv_is_caufvd | TYPE CAUFVD, " | |||
| lv_error_in_parameter_check | TYPE CAUFVD, " | |||
| lv_is_affld | TYPE AFFLD, " | |||
| lv_internal_error | TYPE AFFLD, " | |||
| lv_is_afvgd_in | TYPE AFVGD, " | |||
| lv_is_afvgd_up | TYPE AFVGD_IBAPI_UPDATE. " |
|   CALL FUNCTION 'IBAPI_O_AFVGD_FROM_INTERFACE' "NOTRANSL: Überträgt die Daten von der Schnittstelle auf die AFVGD |
| EXPORTING | ||
| IS_CAUFVD | = lv_is_caufvd | |
| IS_AFFLD | = lv_is_affld | |
| IS_AFVGD_IN | = lv_is_afvgd_in | |
| IS_AFVGD_UP | = lv_is_afvgd_up | |
| CHANGING | ||
| CS_AFVGD | = lv_cs_afvgd | |
| EXCEPTIONS | ||
| ERROR_IN_PARAMETER_CHECK = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " IBAPI_O_AFVGD_FROM_INTERFACE | ||
ABAP code using 7.40 inline data declarations to call FM IBAPI_O_AFVGD_FROM_INTERFACE
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.Search for further information about these or an SAP related objects