Skip to Content
0
Former Member
Feb 26, 2007 at 11:45 PM

Problem: SAP isn't "seeing" ZXQSMI01 and ZXQSMO01 includes in ZXQSMZZZ.

93 Views

I am coding the customer includes for the exit EXIT_SAPLIE01_007 in the enhancement IQSM0007.

EXIT_SAPLIE01_007 includes the Z include ZQSMU06.

Inside this include, I call a screen with the statement:

CALL SCREEN 9000 STARTING AT 5 5.

and the screen DOES pop-up properly after "POST" is hit during MIGO.

HOWEVER - here is the problem.

1) Inside the ZXSQMZZZ include, the system has generated the two includes:

INCLUDE ZXQSMO01.

INCLUDE ZXQSMI01.

2) Inside ZXSQMO01, the following code activates properly:

MODULE STATUS_9000 OUTPUT.

SET PF-STATUS '9000'.

ENDMODULE. " STATUS_9000 OUTPUT

3) Inside ZXSQMI01, the following code activates properly:

MODULE USER_COMMAND_9000 INPUT.

IF OK_9000 = 'OK9000'.

LEAVE TO SCREEN 0.

ENDIF.

ENDMODULE. " USER_COMMAND_9000 INPUT

4) Screen 9000 correctly activates with the flow logic:

PROCESS BEFORE OUTPUT.

MODULE STATUS_9000.

*

PROCESS AFTER INPUT.

MODULE USER_COMMAND_9000.

But DESPITE the fact that (1-4) all seem correct, the system does not recognize the PBO and does not recognize the PAI. In particular, when I turn on the debugger, I see the CALL SCREEN statement inside ZXQSMU06.

But then I see no evidence in the debugger of the system invoking the PBO STATUS_9000 inside ZXQSMO01.

And once screen 9000 displays, the PAI USER_COMMAND_9000 is not being invoked - that is - I do not see the PAI code in the debugger.

What is the problem here? Have I left something out?

If so, please tell me what, because I have followed the instructions in the documentation as best as I can.

Thanks

djh