Ansicht
Dokumentation

APB_ISR_FORM_PR_BADI - BAdI: Form Processing

APB_ISR_FORM_PR_BADI - BAdI: Form Processing

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the General Application Functions(CA-GTF) component. It can be used to control the flow logic details of the request form for a Basic Internal Service Request (Basic ISR) in the back-end system.

In the standard system, the scenario filter implementation is activated.

The BAdI is designed for single use and is filter dependent.

  • Scenario filter

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Methods

The following BAdI methods are available:

  • INIT: Initialize
This is the first method that is used when you call a new request form (mode CREATE). The following parameters are defined:
  • IV_MODE = "CREATE"

  • IV_EVENT is blank.

  • CT_SPECIAL_DATA can be used to initalize the form fields provided.

  • SET_ADDITIONAL_VALUES (corresponds with screen PBO): Set additional values for value help
This method is used for calling a request form (create, display, change) before the form is output. The standard values for the MODE parameter are described below.
Note: In this BAdI, provide internal table CT_ADDITIONAL_DATA with values that are required only at the runtime of the form, but are not to be saved in the request. This means you set input helps for dropdown list boxes and control parameters. Internal table CT_ADDITIONAL_DATA is not automatically deleted so that the system retains data that was set until the form is sent. You can use parameter MODE to modify your logic depending on the current mode (CREATE, CHANGE, DISPLAY).
Note: The CT_ADDITIONAL_DATA table has to be sorted alphabetically according to the technical characteristic name.
  • PROCESS_EVENT (corresponds with screen PAI): Process own user commands
This method is the first method that is used when an event in the request form is triggered (check, send, user command).
  • CHECK: Check
This method is the second method that is used when a standard event is triggered in the request form (check, send). Therefore, the check is always carried out before creating or changing a notification. In case you encounter an error you can return a corresponding error message via exporting parameter ES_RETURN. In case you would like to present more than one message on the form you can use parameter CT_MESSAGE_LIST.
  • FINALIZE: Finalize after data storage
This method will be used after the form data are stored in the data base, and the request number was created but before the request number will be provided on the screen. You can use that method to carry out follow-up action. In case you would like to rollback the creation of the request on the data base you can return a corresponding error message via exporting parameter ES_RETURN. This leads to a rollback of the data base entry of the request.

Parameters

The standard values of parameters IV_MODE and IV_EVENT are as follows:

  • IV_MODE: Current processing mode (CREATE, CHANGE, DISPLAY); corresponds with URL parameter MODE. The following values are possible:
  • MODE = "CREATE" if the initial call of the Basic ISR form was carried out without a notification number (URL/iView parameter NOTIF_NO blank)

  • MODE = "CHANGE" if the call of the Basic ISR form was carried out with a notification number (URL/iView parameter NOTIF_NO filled)

  • MODE = "DISPLAY" if the call of the Basic ISR form was carried out with a notification number (URL/iView parameter NOTIF_NO filled) in display mode

  • IV_EVENT: Standard Basic ISR events are defined as follows:
  • "SEND" if the Basic ISR form (Web Dynpro application APB_ISR_UI_FORM) is sent

  • "SAVE" if the Basic ISR form (Web Dynpro application APB_ISR_UI_FORM) is saved

  • "CHECK" if you choose "Review" in the Basic ISR form

In the customer-specific form, you can define individual additional events that can be queried at runtime in the methods of this BAdI using parameter IV_EVENT.






TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 5683 Date: 20240523 Time: 235021     sap01-206 ( 136 ms )