on 03-14-2014 9:07 AM
Hello Experts,
We have SRM 7.0 Classic scenario with ECC backend.
We observe, confirmation can be posted with '0' quantity when last delivery check box is checked, and quanitity not enterd. (Material items)
System is allowing to post confirmation with '0' quanitity. And also GR is posted successfully in ECC. But as per our Business, this is a incorrect behavior. (i have read, the Zero quantity confrmation / GR is valid case for some of the business)
How do we introduce an custom error message here so that user would be prompted to enter non-zero quantity? Any BADI could be used?
Thanks,
Dhananjay
Try BBP_DOC_CHECK_BADI for filter value BUS2203.
Please search for further information, there should be plenty.
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhananjay,
for material, it is standard behavior that confirmation can be confirmed with zero quantity and last delivery set.
METH /SAPSRM/CL_CH_WD_DOTM_CONF_IBD
/SAPSRM/IF_CLL_MAPPER~UPDATE
=============
* Check for no quantity
IF ls_cll_item-quantity EQ 0 AND ls_cll_item-final_entry NE abap
_true AND ls_cll_item-itm_type NE /sapsrm/if_pdo_constants_gen_c=>gc_pty
pe_outline.
*set the qty flag only for cancellations with qty = 0 and final entry=''
IF ls_header-subtype EQ /sapsrm/if_pdo_obj_types_c=>gc_subtype_ca
lv_qty_flag = abap_true.
ENDIF.
=============
If you want to change this standard behavior, you may modify the coding or use CHECK_BADI to raise an error message.
Regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.