BAPI_PROCVAR_READMULTIPLE 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 BAPI_PROCVAR_READMULTIPLE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BEPROCVAR
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_PROCVAR_READMULTIPLE' "Read Variants
* EXPORTING
* cicorequestno = " bapibegen-cico_reqno Request/Task
* mode = 'SHOW' " bapibegen-mode CICO mode
* namesonly = " bapibegen-names_only Only read texts
* language = SY-LANGU " bapi_laiso-langu Language key
* languageiso = " bapi_laiso-langu_iso Language according to ISO 639
* addon = " bapibegen-addon Industry
* fromtimestamp = " bapibegen-time_stamp Time stamp in short form (Local date and time/format)
* lastuser = SY-UNAME " bapibegen-last_user Last changed on/by
* TABLES
* processvariantstoread = " bapibeid1 Object ID and GUID
* processvariants = " bapibeprv Process variant
* documentationassignments = " bapibedas Documentation assignments
* genericattributes = " bapibegat Generic Attributes
* return = " bapiret2 Return parameter
. " BAPI_PROCVAR_READMULTIPLE
The ABAP code below is a full code listing to execute function module BAPI_PROCVAR_READMULTIPLE 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_processvariantstoread | TYPE STANDARD TABLE OF BAPIBEID1,"TABLES PARAM |
| wa_processvariantstoread | LIKE LINE OF it_processvariantstoread , |
| it_processvariants | TYPE STANDARD TABLE OF BAPIBEPRV,"TABLES PARAM |
| wa_processvariants | LIKE LINE OF it_processvariants , |
| it_documentationassignments | TYPE STANDARD TABLE OF BAPIBEDAS,"TABLES PARAM |
| wa_documentationassignments | LIKE LINE OF it_documentationassignments , |
| it_genericattributes | TYPE STANDARD TABLE OF BAPIBEGAT,"TABLES PARAM |
| wa_genericattributes | LIKE LINE OF it_genericattributes , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_cicorequestno | TYPE BAPIBEGEN-CICO_REQNO , |
| it_processvariantstoread | TYPE STANDARD TABLE OF BAPIBEID1 , |
| wa_processvariantstoread | LIKE LINE OF it_processvariantstoread, |
| ld_mode | TYPE BAPIBEGEN-MODE , |
| it_processvariants | TYPE STANDARD TABLE OF BAPIBEPRV , |
| wa_processvariants | LIKE LINE OF it_processvariants, |
| ld_namesonly | TYPE BAPIBEGEN-NAMES_ONLY , |
| it_documentationassignments | TYPE STANDARD TABLE OF BAPIBEDAS , |
| wa_documentationassignments | LIKE LINE OF it_documentationassignments, |
| ld_language | TYPE BAPI_LAISO-LANGU , |
| it_genericattributes | TYPE STANDARD TABLE OF BAPIBEGAT , |
| wa_genericattributes | LIKE LINE OF it_genericattributes, |
| ld_languageiso | TYPE BAPI_LAISO-LANGU_ISO , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_addon | TYPE BAPIBEGEN-ADDON , |
| ld_fromtimestamp | TYPE BAPIBEGEN-TIME_STAMP , |
| ld_lastuser | TYPE BAPIBEGEN-LAST_USER . |
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 BAPI_PROCVAR_READMULTIPLE or its description.
BAPI_PROCVAR_READMULTIPLE - Read Variants BAPI_PROCORD_WM_MAT_STAGING - BAPI: Execute WM Material Staging for Process Orders BAPI_PROCORD_SET_DEL_INDICATOR - BAPI: Set Deletion Indicator for Process Orders BAPI_PROCORD_SET_DELETION_FLAG - BAPI: Set Deletion Flag for Process Orders BAPI_PROCORD_SETUSERSTATUS - BAPI: Set User Status for Process Orders at Header Level BAPI_PROCORD_SCHEDULE - BAPI: Schedule Process Orders