SAP ABAP IMG Activity WRF_ART_MAINT_BA_004 (BAdI: Control of Image Data Display)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-MM (Application Component) Material Master
     WRF_ARTICLE_MAINTENANCE_DDIC (Package) Fast Material Entry (Dictionary) - Retail Fashion
IMG Activity
ID WRF_ART_MAINT_BA_004 BAdI: Control of Image Data Display  
Transaction Code S_XB4_60000145   (empty) 
Created on 20040514    
Customizing Attributes WRF_ART_MAINT_BADI   BAdIs for Material Maintenance - Retail Fashion 
Customizing Activity WRF_ART_MAINT_BA_004   BAdI: Control of Image Data Display 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MGW_PICTURE    

Use

Multiple modification-free customer enhancements enable you to influence both the format of the image file and the server address. This way, you can read the image data from separate servers if the data is not stored centrally. For example, image data sets from Webshops can be integrated.

If the image data is defined differently to the standard

<URL> = <server path> + <article number> + <separator> + <serial number> + <image format>,

this can be implemented using a modification-free customer enhancement specific to each customer.

The implementation of the modification-free customer enhancements can be employed for the use of distributed servers, changing of the image format, or linking of existing Webshops.

For example, you can determine vendor article numbers, EANs or your own displays. Of course, you can also change the server path if the image data is not stored centrally but is distributed over multiple systems. The information required can then be collected in the modification-free customer enhancement.

Sample implementations are included in the SAP delivery and these can be released by activation and can then map the storage structure of the image information.

There are 4 interfaces available for modification-free customer enhancements:

  • CONVERT_OBJECT_TO_EXTERNAL   

External display of the object number (URL)for converting the internal to the external object ID display
Interface:
I_OBJECTID            Importing        Internal Object ID

        I_OBJECTTYP        Importing        Typ (00 = Material screen)   

        I_OBJECTMOD        Importing        Object number display

        C_OBJECTID        Changing        External Object ID

  • CHANGE_OBJECT_SETTINGS   

Check/modify the determined object properties; Changes to the URL after reading the standard determination sequence
Interface:
I_OBJECTID            Importing        Internal object ID

        I_OBJECTTYP        Importing        Type (00 = Material screen)

        I_CUSTTABLE        Importing        Customizing image data

        C_POSITION        Changing        Image position data

        C_URL            Changing        URL from thumbnail/full screen

        C_SERIE            Changing        Table with URLs of serial images

        C_SUBOJ            Changing        Subobjects (Type 00 => variants)

        C_URLHTM            Changing        URL Viewer initial page

        C_SCREEN            Changing        Subscreen (RepID and screen number)

        C_BUTTON            Changing        Button activated/deactivated

        C_CHANGES_POSSIBLE    Changing        Change to link possible

  • DEFINE_OBJECT_SETTINGS       
  • Check/modify the determined object properties; Exit before call-up of the standard determination sequence for the URL generation

Interface:
I_OBJECTID            Importing        Internal object ID

        I_OBJECTTYP        Importing        Type (00 = Material screen)

        E_EXIT            Exporting        No execution of standard processing

        C_CUSTTABLE        Changing        Customizing image data

        C_POSITION        Changing        Image position data

        C_URL            Changing        URL of thumbnail/full screen

        C_SERIE            Changing        Table with URLs of serial images

        C_SUBOJ            Changing        Subobjects (Type 00 => variants)

        C_URLHTM            Changing        URL Viewer initial page

        C_SCREEN            Changing        Subscreen (RepID and screen number)

        C_BUTTON            Changing        Button activated/deactivated

        C_CHANGES_POSSIBLE    Changing        Change to link possible

  • AFTER_PROCESSING           
  • Following display of the image/series; Exit on leaving the image function for saving customer-specific data

        Interface:

        I_OBJECT            Importing        Current object

        C_T_OBJECT        Changing        Object table

        C_UPDATE            Changing        Modify object table

Requirements

Standard settings

In the standard the Business Add-In is not active.

The Business Add-In is not designed for multiple use.

The Business Add-In is not filter-dependent.

Activities

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
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  20040514 
SAP Release Created in 111