cancel
Showing results for 
Search instead for 
Did you mean: 

Customs Document have Legal Control block but Delivery was created.

0 Kudos

There is a copying routine in Copy Control which checks before creating a Delivery if the Customs Documents created with respect to SO,if there is any block in Customs Doc,if there is block in GTS for any item it does not allow that item to deliver in Feeder system.

The  SO having 6 item ,two item have Legal Control Block ,but we find delivery have been created for them,which is expected to not have happened.

Checking log for customs document I find those two item log shows

Relevant check date for the item is 01.09.2013 and

The item is not relevant for check.

I want to understand from the experts why is there difference in the log

and the status ?

Status-Legal Control Block ( RED)

Log- The item is not relevant for check.(Green )

How is it determined item is not relevant for check?

Any reason why the delivery was created even if the Customs Document was Blocked.

Advise from experts will be highly appreciated

Thanks & Regards

Amit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Amit,

Generally, an item is considered as relevant for legal check or not relevant for legal check based on the following criterias.

1) Sales Orders: If the Sales Order is already delivered. In this case, legal checks or any service doesn't happen in GTS side.

So you will see the log as "item not relevant for check"

2) Delivery: If the Delivery is Post goods issued in R/3, system will not perform legal checks. So, in this case of Deliveries you would get log "Item not relevant for check"

3) Purchase Order: if the Purchase Order line item is deleted in R/3, system will not perform legal checks.

So, for PO Items in this case, you will get the same log "Item not relevant for check".

So, this is the answer for the log that you received in GTS.

Now regarding delivery creation when the Customs document is blocked.

a) Can you please check the copy routine if there are any loop holes which could have caused the issue.

b) There could be issues with the license quantity decrementing etc.. i.e, When the Sales Order was created legal check would have happened and system would have assigned licenses for those 2 items.

Later when you are trying to create a Delivery, system will check if the Sales order is not blocked in GTS(Do you have some indicator in SO document to check or you use real time RFC call to confirm this?)

if in case you had some indicator in R/3 SO document which you would use to confirm if the Sales Order is not blocked. So, in this case it would have only checked the indicator and created Delivery.

But when it is trying to update the status or document flow in SO(change mode), system would have called GTS to check status and license could have been deassigned which in turn leads to SO block.

Just guessing these possibilites. You can confirm if you have some issues in License quantity decrementing which is causing SO to be blocked by trying to change Sales Order text and check if SO is getting blocked/released in every alternate change mode.

Were you able to replicate the issue? Probably, if you can have a breakpoint setup in the Copy routine we may have some idea.

Please let me know if it was useful.

Thanks

Dhilipan

Answers (1)

Answers (1)

Former Member
0 Kudos

Please check this dicussion

http://scn.sap.com/thread/707066