We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

CVEA0001 - EHS: Customer Exit for Checking Material Name

CVEA0001 - EHS: Customer Exit for Checking Material Name

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

You use this SAP enhancement to define a function exit with which you can maintain the material name according to the customer (you can do this in the R/3 component Sales and Distribution (SD)). The material name appears on the material safety data sheet according to your definition.

The customer exit is found in the function group XC1A and is called when the report shipping orders are generated. The enhancement carries the return code as a material name.

As standard, the material name carries the material short text maintained for a material, or the material name selected via the determination of default parameters.

The enhancement has the following interface parameters:

  • I_FLG_MAN_CHANGE
Indicator that shows if the material name was changed manually when determining the default parameters
  • I_SUBID
Substance to which a report is to be sent (this substance need not be the same as the master substane - it can also be a reference substance to the master substance).
  • I_MAT_STRUCT
Structure derived from the material number, material name, and raw material. The field to be filled is determined by the starting point of report shipping.
  • I_CUST_ID
Ship-to party ID. The ID is taken from SD when report shipping is called.
  • I_SDS_REC_ID
Material safety data sheet recipient ID (the company, not the contact person).
  • I_REASON
Shipping reason that specifies the starting point of the report shipping.
  • E_MATNAM
Export parameter that specifies which value is to be used for the material name.
  • I_REPORT
Structure with data on the report (see structure CVDREPORT in DDIC)
  • I_PARAM_TAB
Table with the parameter data on the report shipping order. If the report shipping order was initiated from a delivery or an order (SD_DALL), this table contains data on the corresponding SD document (see structure RCGSDDOC and RCGCUSDATA in DDIC).





General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2452 Date: 20200919 Time: 194224     sap01-206 ( 52 ms )