Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

EXIT

Former Member
0 Kudos

HI,

I AM CREATING A EXIT FOR MIRO . IN Enhancements LMR1M001 I AM CREATING ONE SCREEN 400. IN 400 I AM DISPLAYING SOME SCREEN FIELD . NOW IN 6000 (INITIAL SCREEN IN MIRO ) WHENEVE I AM ENTERING

SOME BLDAT LIKE 09.07.2007 THIS SCREEN MUST TRIGGER . SO IN PBO I WROTE LIKE THIS WAY

DATA: BLDAT LIKE INVFO-BLDAT.

MODULE CHECK_BLDAT OUTPUT.

BREAK-POINT.

IF BLDAT = '09.07.2007'.

CALL SCREEN 400.

ENDIF.

ENDMODULE. " CHECK_BLDAT OUTPUT

IN PAI

MODULE USER_COMMAND_0400 INPUT.

CASE OK_CODE.

WHEN 'BACK'.

LEAVE PROGRAM .

ENDCASE.

ENDMODULE. " USER_COMMAND_0400 INPUT

BUT AM NOT GETITNG ANY THING. PLEASE CORRECT IT

THANK YOU

ASHOK KUMAR

2 REPLIES 2

0 Kudos

Hi,

Try putting the module in PAI not in PBO.

Regards,

Sesh

Former Member
0 Kudos

Hi,

According to note: 165635 - Documentation: Enhancement LMR1M001 (MM-IV)

this enhacement is obsolete:

"(...) Functions

In the header screen (screen SAPLMR1M 0400) you can define a customer-specific subscreen.With this customer-specific function module you can determine the default values for the subscreen.

As the basis, the fields of structure RBKPV (header data) are available.

Remark

As of Release 4.6C, Transaction MR1M is no longer supported. Thus this customer exit and its functions are also obsolete.(...)"

Regards,

Padmam.