As I understood you have created a copy of standard program assigned to transaction POIM into a Z* program and assigned Z* transaction code to it.
If yes, then please check whether your Z* program and standard program are identical, there might be chances that standard program is updated with OSS note and your Z* program doesn't been updated.
If there is any difference, updated your Z* program accordingly and check.