cancel
Showing results for 
Search instead for 
Did you mean: 

How to Restrict COGI on the basic of value

0 Kudos

Hi,

Our business want to restrict cogi through value basic.

for example:

If COGI value reached 25000 Rs. so at the time of Good receipt through production order system give error COGI REACHED 25000 amout please clear old cogi first.

any user exist or enhancement available in SAP, if yes then please tell in detail.

Thanks in advance.

Maruti Kulkarni

Accepted Solutions (1)

Accepted Solutions (1)

former_member244427
Active Contributor
0 Kudos

Hello,

It cannot be achieved via standard SAP.

You can check BAdi WORKORDER_GOODSMVT, interface/method BACKFLUSH, in this you will find CT_FAILED_COMPONENTS.

OR Same BAdi Method IM_CALLED: These methods run after calling Inventory Management. Here you can, for example, react to errors from Inventory Management.

  • Parameter I_IMSEG: Automatic goods movements
  • Parameter I_EMSEG: Error information from Inventory Management

Here you should find goods movements which are with error, and if there are any you can probably check for total COGI value and display your message.

Regards,

Abhishek Rai

Answers (2)

Answers (2)

Mahendran8888
Contributor
0 Kudos

Hi

Based on the value you can fix the back flush indicator that will be good control rather than using below 25 k. In scenario high cost items will not back flushed so that COGI will not happen for that material and if you had back flushed for low cost or c type material that will directly go to COGI if stock not exist. This is what recommended by our team for better implementation of COGI concept. Ligaiah Vanam idea is good you can take that piece of concept.

Regards

Mahe

lingaiahvanam
Active Contributor
0 Kudos

Hi,

This requirement is not possible in SAP standard process, another way around is to prevent during goods movement posting. For the transactions that can execute the goods movements online, there is an option if error handling is activated: As long as you answer the dialog box with the SAP Note about incorrect goods movements with "Cancel", the overall conformation is terminated. However, if you answer with "No", COGI records are generated.

As of Release 4. 70, there is a customizable setting for generating a termination for incorrect goods movements.

If the above option is not suitable. You can use Business Add-In 'WORKORDER_GOODSMVT' and write the logic based on your requirement (technical consultant) during goods movement.

Refer to below SAP note it might be helpful.

https://launchpad.support.sap.com/#/notes/670908

Best Regards,

Lingaiah