Ansicht
Dokumentation

GFD_BADI_13 - BAdI: Application Error Information

GFD_BADI_13 - BAdI: Application Error Information

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

" The SAP standard processes do not cover your requirements.

" You have an in-depth knowledge of the ABAP programming language.

" BAdI implementations are code extensions and therefore apply across clients. If you have a multiclient system, you must define how the customer enhancement is to be used within the implementation for each client using the system variable SY-MANDT.

Note: BAdIs without multiple usages can have several implementations. However, only one of these implementations may be active at any one time.

" You must also make sure that instance creation for the implementing class (Properties tab page) is declared as Public and not as Private, Protected, or Abstract. Otherwise, unwanted short dumps may occur during runtime.

For more information on BAdIs, see SAP Library at help.sap.com -> SAP Netweaver 7.0 library -> SAP NetWeaver by Key Capability -> Application Platform by Key capability -> ABAP Technology -> ABAP Workbench -> Changing the SAP Standard (BC) -> Classic BAdIs.

You can also access this documentation from the initial BAdI Builder screen by choosing Help -> Application Help.

IV_ACTION,,Importing,,Type,,J_STATUS

IV_FORM_RT_ID,,Importing,,Type,,GFDFORM_SUBMISSION_ID

Exporting Parameters

EV_ERROR_PRESENT,,,,Type,,CHAR1

EV_ERROR_MSG,,,,,,Type,,STRING

ES_ERROR_MSG,,,,Type,,SCX_T100KEY

Changing Parameters

CT_FORM_SUB_FIELD,,,,Type,,GFD_FORM_SUBMISSION_FIELD_T

When you execute the activity in Customizing, a dialog box appears in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

1. Enter a name for the BAdI implementation in the Implementation field, and choose Create.

2. The screen for creating BAdI implementations is displayed.

3. Enter a short text for the implementation.

4. From the tab index, choose Interface.

5. The Name of Implemented Class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

6. Save your entries, and assign the implementation to a development class.

7. Place the cursor on the method, and double-click to enter method processing.

8. Enter the code for the implementation between the statements method ~ and endmethod.

9. Save and implement your code. Return to the Edit Implementation screen.

10. Save the entries.

Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

11. Choose Activate.






Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3140 Date: 20240523 Time: 212452     sap01-206 ( 51 ms )