FILL_ADD_FIELDS_FROM_TEMP SAP Method Fills additional TO fields from template before BAPI call
Below is documentation, parameters and attributes of ABAP Method FILL_ADD_FIELDS_FROM_TEMP within SAP class IF_EX_BADI_PHIN_TEMPLATES. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_PHIN_TEMPLATES 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 FILL_ADD_FIELDS_FROM_TEMP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FILL_ADD_FIELDS_FROM_TEMP
.| Name | Type | Data Type | Description | Default Value |
| IS_TEMP_ITOB | Importing | TYPE ITOB | Generated Table for View ITOB | |
| IS_TEMP_STPOB | Importing | TYPE STPOB | BOM item document table | |
| IV_TO_TYP | Importing | TYPE PHIN_D_TYPE | Type Takeover / Handover Object | |
| CS_GENERAL | Changing | TYPE BAPI_ITOB | PM: BAPI Structure for ITOBAPI_CREATE + READ Fields | |
| CS_SPECIFIC_EQ | Changing | TYPE BAPI_ITOB_EQ_ONLY | PM: BAPI Structure for ITOBAPI_CREATE_EQ_ONLY + READ Fields | |
| CS_SPECIFIC_FL | Changing | TYPE BAPI_ITOB_FL_ONLY | PM: BAPI Structure for ITOBAPI_CREATE_FL_ONLY + READ Fields | |
| CS_STPOB | Changing | TYPE STPOB | BOM item document table |
Exceptions of Method FILL_ADD_FIELDS_FROM_TEMP
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_PHIN_TEMPLATES.
DATA: lv_CS_GENERAL TYPE BAPI_ITOB,
lv_CS_SPECIFIC_EQ TYPE BAPI_ITOB_EQ_ONLY,
lv_CS_SPECIFIC_FL TYPE BAPI_ITOB_FL_ONLY,
lv_CS_STPOB TYPE STPOB,
lv_IS_TEMP_ITOB TYPE ITOB,
lv_IS_TEMP_STPOB TYPE STPOB,
lv_IV_TO_TYP TYPE PHIN_D_TYPE,
lv_other TYPE c.
CALL METHOD lo_class=>FILL_ADD_FIELDS_FROM_TEMP(
EXPORTING
IS_TEMP_ITOB = lv_IS_TEMP_ITOB
IS_TEMP_STPOB = lv_IS_TEMP_STPOB
IV_TO_TYP = lv_IV_TO_TYP
CHANGING
CS_GENERAL = lv_CS_GENERAL
CS_SPECIFIC_EQ = lv_CS_SPECIFIC_EQ
CS_SPECIFIC_FL = lv_CS_SPECIFIC_FL
CS_STPOB = lv_CS_STPOB ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects