3 weeks ago
Dear Team,
Business Requirement:
Early Bird discount should apply in the invoices for domestic customer invoice for whom invoice document created before certain cutoff date of each month and these invoices should not having preceding document of contract. As the contract is already given with discounted price , there should not be applied any additional discounts.
To achieve this we are trying to create a new routine by Using Badi PRCG_DOCUMENT_ITEM_REQUIREMENT with a condition as below
However in the said BADI, we could not find the sales document field to use to get or check if there is any reference document (type=G, contract) is used for validation, where this discount should not apply.
My questions here:
Could you please confirm if we are using the correct BADI or not, If not please help with correct BADI?
Is there a way we can enhance BADI to add additional required fields? Please help.
If there is any other process to be followed for such kind of requirements in Public cloud environment, please help with details for all our future enhancements.
Thank you.
Dear customer,
This issue falls in to a how-to query which is out of the scope of standard Support.
Please you can review the following 2 documentations:
Use
This Business Add-In (BAdI) is used in the Pricing (SD-BF-PR) component. You can use this BAdI to check the fields of the document item for pricing requirements.
The method IS_PRCG_REQUIREMENT_FULFILLED allows you to check if the pricing requirement is fulfilled for the step in the pricing procedure or the access in the access sequence.
Parameters
Import Parameters
Changing Parameters
Activities
Once you have implemented the BAdI, you must configure the following:
Define Requirement in Pricing
Requirement used in Pricing
Requirement for Document Item
Set Pricing Procedures
Maintain Access Sequences
Requirement
Caution: You should use the statement RAISE EXCEPTION only for critical business errors or programming runtime errors. This statement causes a pricing error and therefore might block the processing of business documents.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.