cancel
Showing results for 
Search instead for 
Did you mean: 

Compliance check for Purchase order after good receipt (ITREC)

Former Member
0 Kudos

Hello,


From a business needs, it’s normal to stop compliance checks:


   -on sales order when is completely delivered

   -on outbound delivery when we have the PGI (Post Good issue)


However, purchase orders are still checking even after the GR (Good receipt)*


*except for deleted items


What is the business reason to continue compliance checks for PO with GR?


As a consequence, when a user changes an old PO with GR, it generates unwanted document blocks and email.


See also 2004043 - KBA: SPL Check of transferred documents does not work as expected


Thanks for your inputs.

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

Hi Eric,

The "recheck" indicator (which controls the compliance checks, as mentioned in the KBA) takes account of the "Delivery Completed" flag in the Purchase Order item.  Perhaps your P.O's are not configured to set that indicator from the Goods Receipt?

Regards,

Dave

Former Member
0 Kudos

Hi Dave,


The field "recheck indicator" is cleared only when the PO item line is deleted:


See include /SAPSLL/LCD_MAP_R3F04, form MM0A_TO_API6800_ITEMS, line 545:


*----- Neuprüfung

    IF it_item- loekz IS INITIAL.  (Deletion Indicator in Purchasing Document)

      MOVE : gc_true TO ls_itm_gen-recheck_indicator .

    ENDIF .


Therefore, I do not see where we are checking if the "Delivery Completed" flag in the Purchase Order item.


The only option I see is to develop some code in user exit  EXIT_SAPLSLL_LEG_CDPIR3_002 (called within FM SLL_LEG_CDPIR3_002).


Thanks,

Eric

former_member215181
Active Contributor
0 Kudos

Hi Eric,

At the same point (actually line 595), I can see this code in one of our systems:

  IF ( it_item-loekz IS INITIAL  OR
          it_item-loekz 'S'    ) AND
          it_item-elikz <> gc_true.
    MOVE: gc_true TO ls_itm_gen-recheck_indicator.
  ENDIF.


I can't immediately find any related SAP Notes, but this code definitely checks the Completion status.


Regards,

Dave

Former Member
0 Kudos

Hi Dave,

We have indeed OSS note which add this line:

1916254 - Locked purchase order items created incompletely and not checked

Thanks for your help!

Eric

Answers (0)