Ansicht
Dokumentation

FSH_BADI_CONTRACT - BAdI: Contract Determination in Fashion API's

FSH_BADI_CONTRACT - BAdI: Contract Determination in Fashion API's

Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Sales and Distribution ( LO-FSH-SD) component.

  1. You can use this BAdI for determining the appropriate contract using theheader and item data passed on by the user through the Fashion API.
  2. You can use this BAdI during the creation of a call-off document.

Note : Multiple active implementations for this BAdI are not permitted.

This BAdI has the following methods:

Method Description
DETERMINE_CONT_FOR_REF Contract Determination

DETERMINE_CONT_FOR_REF

This BAdI will only be called if:

  1. You have set the value of the Outline agrmt mess. field to either A, B, C, or D in the Customizing activity Define Sales Document Types under the Customizing Sales and Distribution > Sales > Sales Documents > Sales Document Header > Define Sales Document Types.
  2. The items sent in the Fashion API do not contain an explicit contract reference.
DETERMINE_CONT_FOR_REF

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

DETERMINE_CONT_FOR_REF

Create a BAdI implementation for the BAdI FSH_BADI_CONTRACT_REF_ENH_EXT defined in the Enhancement Spot FSH_CONTRACT_REF_BAPI.

In the BAdI implementation, you must:

  1. Update the fields VGBEL and VGPOS in the table CT_ITEM_DATA with the appropriate contract document number and

item number that has been determined for reference.

  1. You must set the return parameter RV_ERROR if the validation fails or no appropriate contract could be determined.

DETERMINE_CONT_FOR_REF






Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3250 Date: 20240523 Time: 190910     sap01-206 ( 61 ms )