How to call action flags in "Standard Processing" types of functions - FUNCLEAR (Close & Reopen Purchase Orders)

SOLVED

Hello!

I've added a field, ZMNSTA, to the CLE2 (Close & Reopen Purchase Orders) screen, in order to display a custom field from ITMMASTER for each product.

However, upon entering my code into SPECLE2, it seems that no actions are being called at all from that specific processing file. I used "infbox ACTION" to test which actions are being called in the SPE file, and none are.

I got around this by directly modifying the FUNCLEAR code file in the X3 folder, adding this simple line the the $DEBUT subroutine, and it worked as intended:

func AFNC.INTFLD('ITMMASTER','TSICOD(0)',[M:CLE2]ITMREF(nolign-1))

I'd like to know if it's possible to get the SPECLE2 specific script file working with screen CLE2. Any information would be valuable.

Thanks!

Top Replies