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

.

NameTypeData TypeDescriptionDefault Value
IS_RFQ_TYPEImportingTYPE
/SCMTMS/S_RFQTYPE
RFQ Type Structure
IT_RATE_STRUCImportingTYPE
TT_RATE_STRUC
Table containing rate sheet information
IV_AWARD_CONFIRMATIONImportingTYPE
BOOLEAN
Boolean Variable (X = True, - = False, Space = Unknown)
IV_RFQ_CATImportingTYPE
/SCMTMS/FAG_CATEGORY_CODE
Agreement Category
IV_USAGE_CODEImportingTYPE
/SCMTMS/FAG_USAGE_CODE
Agreement Usage
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
CO_EXCEL_HELPERChangingTYPE REF TO
/SCMTMS/CL_EXCEL_HELPER
Excel Helper class
CV_HEADER_DESC_IDChangingTYPE
I
CV_SECTION_DATA_IDChangingTYPE
I
CV_SECTION_IDChangingTYPE
I
CV_SHEET_IDChangingTYPE
I



Exceptions of Method PREPARE_RATE_DATA

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!