SAP ABAP IMG Activity RMAN_PRSP_CUSTOM_FIE (Enhancements for Customer's Own Fields in Portal Confirmation)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EP-PCT-MAN-PS (Application Component) BP for Production Supervisor
     RMAN_PRPL (Package) Production Planner UI
IMG Activity
ID RMAN_PRSP_CUSTOM_FIE Enhancements for Customer's Own Fields in Portal Confirmation  
Transaction Code S_AER_95000388   (empty) 
Created on 20060724    
Customizing Attributes RMAN_PRSP_CUSTOM_FIE   Enhancements for Customer's Own Fields in Portal Confirmation 
Customizing Activity RMAN_PRSP_CUSTOM_FIE   Enhancements for Customer's Own Fields in Portal Confirmation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_RMAN_PRSP_CUSTOM_FIELD    

Use

This Business Add-In (BAdI) is invoked in the portal confirmation of the production supervisor (application component EP-PCT-MAN-PS). You use this BAdI if you want to show customers' own fields in the order confirmation in the portal.

Customers' own fields that are to be displayed and stored with the confirmation must be defined in the customer include structure CI_AFRU. In the standard system, these customers' own fields are then displayed and saved on the interface of the confirmation in the portal within the WebDynpro component RMAN_PRSP_CONFCUSTOM_COMP.

This Business Add-In enables you to add further customer-defined fields that are not stored in the structure CI_AFRU (these are not saved in the database, however) and customer-defined pushbuttons. Furthermore, the BAdI can be used to influence the representation (for example, input field, checkbox, text field, or ready/not ready to accept input etc.) and also the position of all customers' own fields in the confirmation of the production supervisor in the portal.

The following methods are available:

  • ADD_ADDITIONAL_FIELDS   

    You can use this method to add further fields of your own to the portal interface. However, these fields are not saved in the database.

  • SET_FIELD_ATTRIBUTES   

    You can use this method to change the attributes of the customer-specific fields (such as input field, checkbox, invisible, etc.).

  • SET_DEFAULT_VALUES

    You can use this method to prepopulate the inserted customer fields with default values.

  • ADD_BUTTONS       

    You can use this method to add pushbuttons within the WebDynpro component RMAN_PRSP_CONFCUSTOM_COMP on the portal interface.

  • CHECK_INPUT_DATA

    You can use this method to check user entries in customer-specific fields.

  • SUBSCRIBE_TO_EVENTS

    You can use this method to register the WebDynpro component RMAN_PRSP_CONFCUSTOM_COMP to application events of the confirmation (such as save, check entries, etc.).

  • REACTION_TO_EVENTS

    You can use this method to react to application events of the confirmation that are registered in the method SUBSCRIBE_TO_EVENTS.

  • BUTTON_PRESSED

    With this method, you can react accordingly if the user has chosen a pushbutton that you have added to the interface using the ADD_BUTTONS method.

To be able to show customers' own fields in the portal, proceed as follows:

  1. Insert the desired field in the customer include structure CI_AFRU, which belongs to the confirmation table AFRU.
  2. Include the WebDynpro component RMAN_PRSP_CONFCUSTOM_COMP as a part screen in the layout of the confirmation.

Standard settings

  • In the standard system supplied, the Business Add-In is not active.
  • The Business Add-In can be used multiple times.
  • The Business Add-In is not filter-dependent.

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20080430 
SAP Release Created in 700