SAP ABAP IMG Activity SIMG_HPM_0005 (BAdI: External Function Call)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       OIB (Package) HPM Hydrocarbon Product Management
IMG Activity
ID SIMG_HPM_0005 BAdI: External Function Call  
Transaction Code S_SO5_65000068   IMG activity: SIMG_HPM_0005 
Created on 19990913    
Customizing Attributes SIMG_HPM_0005   BAdI: External Function Call 
Customizing Activity SIMG_HPM_0005   BAdI: External Function Call 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_HPM_0005    

In this IMG activity, you can set up methods, which replace the following function modules:

  • EXIT_SAPLOIB1_001
  • EXIT_SAPLOIB1_002
  • EXIT_SAPLOIB1_003

Method CALL_CUSTOMER_FUNCTION1 has to be implemented if function module type (FMTYP) 2 is utilized. This FMTYP should not be used anymore, starting with Release 4.6B. Use FMTYP 6 instead, and instead, implement method CALL_CUSTOMER_FUNCTION2.

Example
If you utilized method CALL_CUSTOMER_FUNCTION2, the interface of method CALL_CUSTOMER_FUNCTION1 can be simulated by the following code:

DATA: IMP_WA LIKE OIB_A01.

DATA: EXP_WA LIKE OIB_A02.

*FILL structure from interface

CALL FUNCTION 'OIB_QCI_MOVE_ITAB_TO_STRUC'

EXPORTING

I_DDIC_REFERENCE = 'OIB_A01'

IMPORTING

E_STRUCTURE = IMP_WA

TABLES

T_OIB_A10 = T_OIB_A10

EXCEPTIONS

STRUCTURE_NOT_EXISTS = 1

FIELD_TYPE_NOT_VALID = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4

RAISING CALCULATION_FAILURE.

ENDIF.

PLACE YOUR CODE FROM CALL_CUSTOMER_FUNCTION1 HERE !

* Load interface table with results:

CALL FUNCTION 'OIB_QCI_MOVE_STRUC_TO_ITAB'

EXPORTING

I_STRUCTURE = OUT

I_DDIC_REFERENCE = 'OIB_A02'

TABLES

T_OIB_A10 = T_OIB_A10

EXCEPTIONS

FIELD_TYPE_NOT_VALID = 1

STRUCTURE_NOT_EXISTS = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4

RAISING CALCULATION_FAILURE.

ENDIF.

Requirements

Standard settings

Recommendation

Activities

Further notes

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_HPM_0005 0 I270009306 A  
SIMG SIMG_HPM_0005 1 I400000014 Production 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070320 
SAP Release Created in