on 02-04-2021 1:29 AM
After sales order being saved, I can see the "requirement type" under Procurement tab cannot be changed any more .
Is it standard? Is there any way to change it after saving the sales order?
Whether a field (including requirement type) can be modified in a sales order or not, depends on:
The custom logic, e.g. in MV45AFZZ, USEREXIT_FIELD_MODIFICATION can override the standard logic. The thing is, that SAP usually has valid reasons to place certain restrictions not allowing changes to specific fields. If you decide to override the restriction, then it is your responsibility to ensure the consistency and the correctness of the end-to-end process.
As to the standard logic, you can find out why the field for requirement type is not editable after you save the order by following the guide from note 208245 - Availability of fields in sales orders.
The relevant code is not complex
WHEN 'BEDAE'.
IF xvbup-rfsta CA 'BC' OR
xvbup-lfsta CA 'BC' OR
xvbup-absta CA 'C' OR
xvbapf-vmenge > 0 OR
vbap-anzsn > 0 OR
vbap-prosa EQ charc OR
vbap-vkgru EQ vkgru_dyn_posten OR
vbap-vkgru EQ vkgru_dyn_posten_ag OR
NOT vbap-stlnr IS INITIAL AND vbap-bedae IS INITIAL OR
vbap-kzvbr NE space AND t180-trtyp EQ charv
AND vbapd-updkz NE updkz_new OR
NOT vbap-kalnr IS INITIAL AND t180-trtyp EQ charv
AND vbapd-updkz NE updkz_new.
screen-input = 0.
ENDIF.
but even in this case it may be faster just to place a breakpoint on WHEN 'BEDAE'. and debug VA02 for your specific order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.