Skip to Content

Legal control in deliveries created with reference to PO

Dec 22, 2016 at 12:39 PM


avatar image

Dear Experts,

How can we ensure legal control in deliveries created with reference to PO?

In material master, the legal control is maintained for material (MM02 / Foreign trade export tab / legal control). And therefore, when business user is doing return delivery (with movt type 161) then, system is giving error message as "The system carried out legal check. The result was negative" We are unable to perform GI for delivery because of this error message.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Dec 22, 2016 at 01:20 PM

Can you post the message number?

Right now I would say this is home made, I can't find any message in table T100 (which has all messages) just searching for a text that contains: *carried*legal*

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Jurgen,

Thanks for your reply. Actually, the error message number is VL400

" Item 000010 cannot be copied due to legal control"

This is very unique scenario because business user is creating return delivery against return PO containing controlled substance.

Could you please suggest next action? Should we raise message to SAP?

Jürgen L
Dec 23, 2016 at 12:34 PM

At the very south of the error message long text it was said that you shall check the error log for detailed info. Have you done that?

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Yes Jürgen.

The detailed log is as follows

Item 000010 cannot be copied due to legal control

Message No. VL400


The system carried out legal control for item 000010. The result was negative.

System Response

The system prevents further processing of item 000010


Check the error log in legal control to find out the reasons for this result.


Actually, I have gone through following wiki link in detail

and found that,

1. Legal control check is normally not activated at delivery

2. During the check in the delivery, the table VBEX is not updated. That means, the license master is not updated, i.e. no value update takes place in the license master.

3. In the delivery no status is set if the check’s result is negative (red).

In our case, it is the vendor return scenario. The vendor return delivery is getting created from return purchase order. Business has activated the legal control check for vendor return delivery. So, how can we perform the legal control check at vendor return delivery? Or is it to enhanced in return purchase order? (Usually, when business user creates delivery for materials with active legal control then licenses check gets performed at sales order level. If license check is successful at sales order level then system allows delivery of that product.) But, in this scenario, we don't have sales order. Please suggest.




This is only the long text of the message, it is not the error log (why should the error log tell you to check the error log?)