2024 Jan 04 2:09 PM
Hi ABAP Experts,
I am tiring to suppress one Z* condition record while creating Billing document (VF01). i tried many exists changes the KONV structures and other data. but its still appered in conditions tab.
Can some one help me how to supress the condition record via coding
I believe VOFM routines to be used for this.
Create a new custom routine in VOFM->Requirements->Pricing. This routine number must be assigned to the condition type in SPRO config. Check with functional consultant for the config.
The condition type will be considered if SY-SUBRC = 0 at end of the routine. It will not be considered if it is 4.
You can refer other standard routines for the sample logic.
2024 Jan 05 5:32 AM
I believe VOFM routines to be used for this.
Create a new custom routine in VOFM->Requirements->Pricing. This routine number must be assigned to the condition type in SPRO config. Check with functional consultant for the config.
The condition type will be considered if SY-SUBRC = 0 at end of the routine. It will not be considered if it is 4.
You can refer other standard routines for the sample logic.
2024 Jan 05 1:14 PM
we tried Via routine but even set sy-subrc = 4 also condition record appered in Conditions tab. any way i have used pricing user exit and validate some conditions and deleted that condition record from KONV structure and works fine.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |