GET_FIELDSTATUS SAP Method Return the Customized Field Status of a Field
Below is documentation, parameters and attributes of ABAP Method GET_FIELDSTATUS within SAP class VMD_EI_API_CHECK. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name VMD_EI_API_CHECK into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_FIELDSTATUS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_FIELDSTATUS
.| Name | Type | Data Type | Description | Default Value |
| IV_BUKRS | Importing | TYPE BUKRS | Company Code | |
| IV_EKORG | Importing | TYPE EKORG | Purchasing Organization | |
| IV_FIELDNAME | Importing | TYPE FIELDNAME | Field Name | |
| IV_KTOKK | Importing | TYPE KTOKK | Vendor Account Group | |
| IV_STRUCTNAME | Importing | TYPE TABNAME | Table Name | |
| IV_TCODE | Importing | TYPE VMD_TCODE | CVI Vendor: Transaction Code (only XK01 and XK02) | |
| RV_FSTATUS | Returning | TYPE CHAR1 | Single-Character Indicator |
Exceptions of Method GET_FIELDSTATUS
INTERNAL_ERROR - Internal errorExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_IV_BUKRS TYPE BUKRS,
lv_IV_EKORG TYPE EKORG,
lv_IV_FIELDNAME TYPE FIELDNAME,
lv_IV_KTOKK TYPE KTOKK,
lv_IV_STRUCTNAME TYPE TABNAME,
lv_IV_TCODE TYPE VMD_TCODE,
lv_RV_FSTATUS TYPE CHAR1,
lv_other TYPE c.
CALL METHOD VMD_EI_API_CHECK=>GET_FIELDSTATUS(
EXPORTING
IV_BUKRS = lv_IV_BUKRS
IV_EKORG = lv_IV_EKORG
IV_FIELDNAME = lv_IV_FIELDNAME
IV_KTOKK = lv_IV_KTOKK
IV_STRUCTNAME = lv_IV_STRUCTNAME
IV_TCODE = lv_IV_TCODE
RECEIVING
RV_FSTATUS = lv_RV_FSTATUS )
"Alternate coding for Method Call with returning parameter
lv_RV_FSTATUS = VMD_EI_API_CHECK=>GET_FIELDSTATUS(
EXPORTING
IV_BUKRS = lv_IV_BUKRS
IV_EKORG = lv_IV_EKORG
IV_FIELDNAME = lv_IV_FIELDNAME
IV_KTOKK = lv_IV_KTOKK
IV_STRUCTNAME = lv_IV_STRUCTNAME
IV_TCODE = lv_IV_TCODE ).
Links to Related Class(s)
VMD_EI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects