Ansicht
Dokumentation

SIMG_CF_SOCR_BADI02 - BAdI: Retrieve product image

SIMG_CF_SOCR_BADI02 - BAdI: Retrieve product image

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In is used in the Create Sales Orders add-on. BADI_SRA017_PROD_IMG_RETRIEVER is located in enhancement spot ES_SRA017_SALESORDER_CREATE. Use it to implement a method for retrieving product images that are not stored in the material master; you can then associate them with an existing material.

There is no default implementation of this BAdI. Implementation needs to support the following parameters:

Import:

IV_MATERIAL - Material ID: This parameter is mandatory.

IV_IMAGE_REQUIRED: This flag is used to indicate whether the image, or only the metadata of the image, should be returned. This parameter is optional.

EV_MIME_TYPE: This should contain the type of image. This is optional information.

EV_IMAGE_XSTRING: This field contains the image in XSTRING format.

EV_IMAGE_AVAILABLE: This flag should return whether or not the image is available.

After calling up the IMG activity, a dialog box appears, which displays the standard BAdI implementation.

To create your own implementation, choose Create and follow these instructions:

1.,,In the dialog box, enter a name for the BAdI implementation in the Implementation field.

2.,,Click Create. The screen for creating BAdI implementations appears.

3.,,Enter a short text for the implementation in the Short text for implementation field.

4.,,From the tab index, choose Interface. 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.

5.,,Save your entries.

6.,,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.

10.,,Return to the Edit Implementation screen.

11.,,Save the entries on the Edit Implementation screen.

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

12.,,Choose Activate. The code you stored in the method will be run when the application program is executed.






BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2504 Date: 20240524 Time: 002359     sap01-206 ( 39 ms )