Ansicht
Dokumentation
FSH_BADI_CONTRACT - BAdI: Contract Determination in Fashion API's
Vendor Master (General Section) BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Sales and Distribution ( LO-FSH-SD) component.
- You can use this BAdI for determining the appropriate contract using theheader and item data passed on by the user through the Fashion API.
- 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 |
This BAdI will only be called if:
- 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.
- The items sent in the Fashion API do not contain an explicit contract reference.
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).
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:
- 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.
- You must set the return parameter RV_ERROR if the validation fails or no appropriate contract could be determined.
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 )