CREATE_FROM_FAULT SAP Method Instance Generation Using IFR Name
Below is documentation, parameters and attributes of ABAP Method CREATE_FROM_FAULT within SAP class CL_PROXY_INBOUND_REGISTRY. 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 CL_PROXY_INBOUND_REGISTRY 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 CREATE_FROM_FAULT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_FROM_FAULT
.| Name | Type | Data Type | Description | Default Value |
| P_FAULT_NAMESPACE | Importing | TYPE PRX_NSPCE | Proxy Generation: Namespace | |
| P_INTERFACE | Importing | TYPE PRX_IFRINT | Proxy Generation: Business Object/Interface in the IFR | |
| P_REGISTRY | Returning | TYPE REF TO CL_PROXY_INBOUND_REGISTRY | Inbound Processing of AI Messages |
Exceptions of Method CREATE_FROM_FAULT
CX_XMS_SYSTEM_ERROR - Proxy Generation: Inbound Processing Communication ErrorExample ABAP coding
DATA: lv_P_FAULT_NAMESPACE TYPE PRX_NSPCE,
lv_P_INTERFACE TYPE PRX_IFRINT,
lv_P_REGISTRY TYPE CL_PROXY_INBOUND_REGISTRY,
lv_other TYPE c.
CALL METHOD CL_PROXY_INBOUND_REGISTRY=>CREATE_FROM_FAULT(
EXPORTING
P_FAULT_NAMESPACE = lv_P_FAULT_NAMESPACE
P_INTERFACE = lv_P_INTERFACE
RECEIVING
P_REGISTRY = lv_P_REGISTRY )
"Alternate coding for Method Call with returning parameter
lv_P_REGISTRY = CL_PROXY_INBOUND_REGISTRY=>CREATE_FROM_FAULT(
EXPORTING
P_FAULT_NAMESPACE = lv_P_FAULT_NAMESPACE
P_INTERFACE = lv_P_INTERFACE ).
Links to Related Class(s)
CL_PROXY...Full list of available SAP object classes
Search for further information about these or an SAP related objects