Monday, March 31, 2014

SAP : The reference has already been completely copied or rejected

The above error message in my case occurred when trying to create a Contract with reference to a Quotation or Order from a Quote with a production order, meaning the Primary document is a Quotation

Even though if there is no completion rule specified in the item category of the quotation, the system sets it to A because it checks for the order type and Assembly type combination in the Program SAPFV45P.

IF vbak-vbtyp CA vbtyp_agan AND
NOT t459k-mntga IS INITIAL.
vbap-erlre = chara.
ENDIF.

The first check is for order document type, my case it’s B (Quote). Second check t459k-mntga, is to see if there is Production/Planned order.

Satisfying these conditions the VBAP-ERLRE (Completion rule) is set the CHARA (A) and the VBAP table is updated with completion rule A by default.

Regards,
[V]

No comments:

Post a Comment