PREPARE_RATE_DATA SAP Method prepares data for rate sheet in structured format
Below is documentation, parameters and attributes of ABAP Method PREPARE_RATE_DATA within SAP class /SCMTMS/CL_CARR_RFQ_EXCEL. 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 /SCMTMS/CL_CARR_RFQ_EXCEL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method PREPARE_RATE_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PREPARE_RATE_DATA
.| Name | Type | Data Type | Description | Default Value |
| IS_RFQ_TYPE | Importing | TYPE /SCMTMS/S_RFQTYPE | RFQ Type Structure | |
| IT_RATE_STRUC | Importing | TYPE TT_RATE_STRUC | Table containing rate sheet information | |
| IV_AWARD_CONFIRMATION | Importing | TYPE BOOLEAN | Boolean Variable (X = True, - = False, Space = Unknown) | |
| IV_RFQ_CAT | Importing | TYPE /SCMTMS/FAG_CATEGORY_CODE | Agreement Category | |
| IV_USAGE_CODE | Importing | TYPE /SCMTMS/FAG_USAGE_CODE | Agreement Usage | |
| EO_MESSAGE | Exporting | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| CO_EXCEL_HELPER | Changing | TYPE REF TO /SCMTMS/CL_EXCEL_HELPER | Excel Helper class | |
| CV_HEADER_DESC_ID | Changing | TYPE I | ||
| CV_SECTION_DATA_ID | Changing | TYPE I | ||
| CV_SECTION_ID | Changing | TYPE I | ||
| CV_SHEET_ID | Changing | TYPE I |
Exceptions of Method PREPARE_RATE_DATA
This method does not have any exceptionsExample 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: lo_class TYPE REF TO /SCMTMS/CL_CARR_RFQ_EXCEL.
DATA: lv_CO_EXCEL_HELPER TYPE /SCMTMS/CL_EXCEL_HELPER,
lv_CV_HEADER_DESC_ID TYPE I,
lv_CV_SECTION_DATA_ID TYPE I,
lv_CV_SECTION_ID TYPE I,
lv_CV_SHEET_ID TYPE I,
lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_RFQ_TYPE TYPE /SCMTMS/S_RFQTYPE,
lv_IT_RATE_STRUC TYPE TT_RATE_STRUC,
lv_IV_AWARD_CONFIRMATION TYPE BOOLEAN,
lv_IV_RFQ_CAT TYPE /SCMTMS/FAG_CATEGORY_CODE,
lv_IV_USAGE_CODE TYPE /SCMTMS/FAG_USAGE_CODE,
lv_other TYPE c.
CALL METHOD lo_class=>PREPARE_RATE_DATA(
EXPORTING
IS_RFQ_TYPE = lv_IS_RFQ_TYPE
IT_RATE_STRUC = lv_IT_RATE_STRUC
IV_AWARD_CONFIRMATION = lv_IV_AWARD_CONFIRMATION
IV_RFQ_CAT = lv_IV_RFQ_CAT
IV_USAGE_CODE = lv_IV_USAGE_CODE
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
CHANGING
CO_EXCEL_HELPER = lv_CO_EXCEL_HELPER
CV_HEADER_DESC_ID = lv_CV_HEADER_DESC_ID
CV_SECTION_DATA_ID = lv_CV_SECTION_DATA_ID
CV_SECTION_ID = lv_CV_SECTION_ID
CV_SHEET_ID = lv_CV_SHEET_ID ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects