Symptom
The original issue in this case is proforma invoice cannot be billed via VF01 : The reason for that is because VBAP-FKREL is empty in sales order item, billing relevance is set to B for item category you use.
Then why VBAP-FKREL is empty?
This FKREL field gets empty by ARM ABAPcode:
CL_MSR_SALES================== / CL_MSR_SALES=
METHOD / SAVE_PREPARE (CL_MSR_SALES)
if is_vbak-vbtyp eq IF_SD_DOC_CATEGORY=>RETURNS and
( ls_comm_ctrl_trc-refund_control eq if_msr_trc_c=>gc_refund_after_cm or
ls_comm_ctrl_trc-refund_control eq if_msr_trc_c=>gc_refund_by_cmr or
ls_comm_ctrl_trc-refund_control eq if_msr_trc_c=>gc_refund_none or
ls_comm_ctrl_trc-refund_control eq if_msr_trc_c=>gc_refund_approved or " note 1696961
ls_comm_ctrl_trc-refund_control is initial or
ls_comm_ctrl_trc-refund_type eq if_msr_trc_c=>gc_refund_type_replacement and
ls_comm_ctrl_trc-refund_control eq if_msr_trc_c=>gc_refund_immediately ).
if ls_xvbap-fkrel is not initial.
clear ls_xvbap-fkrel.
Read more...
Environment
Advanced Return Management (LO-ARM)
Product
Keywords
Release CMR for Material Inspection in Background Processing, , KBA , LO-ARM-SD , Sales , LO-ARM , Advanced Returns Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.