cancel
Showing results for 
Search instead for 
Did you mean: 

Print Command in ME52n Activate

0 Kudos

Hi Experts,

My client Requirement is Print Out Button is enable in (ME52n,me53n,me54n) screen.please help me how can this possible .

Thanks in advance

Kamal

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Kamal.

I am creating custom tab in Purchase requisition header., As per blog created custom tab but fields are not showing eventhough created fields in Screen : 0999 and Prog: SAPLXM02

FM:MEGUI_BUILD_REQ_HEADER_PLUGIN

DATA : cust_header_view type ref to LCL_CUST_HEADER_VIEW_MM.
CREATE OBJECT cust_header_view
EXPORTING im_dynpro = '1227'
im_prog = megui
im_foreign_prog = 'SAPLXM02'
im_foreign_dynpro = '0999'.


l_text = text-h04.
CALL METHOD cust_header_view->set_label( 'Custom Tab- CP013' ).
CALL METHOD cust_header_view->set_name( 'Custom Header Tab' ).
CALL METHOD cust_header_view->set_struct_name( ).

CALL METHOD header_view->add
EXPORTING
im_screen_view = cust_header_view
im_position = 1.

SET HANDLER cust_header_view->if_observer_mm~handle_subject_changed
FOR header_view.
SET HANDLER header_view->if_observer_mm~handle_subject_changed FOR
header_text_view.

and one enh

LMEGUICIX

DATA: L1_HEADER TYPE REF TO IF_PURCHASE_REQUISITION.
FOREIGN_APPLICATION_OK = MMPUR_NO.
MMPUR_DYNAMIC_CAST L1_HEADER MY_MODEL.
CHECK NOT L1_HEADER IS INITIAL.
FOREIGN_APPLICATION_OK = MMPUR_YES.

EXPORT L1_HEADER TO MEMORY id 'SAMPLE'.

* EXIT.

here error message getting

Export variable not spported OO context

Thanks,

Sai

0 Kudos

Hi Leonardo,

Thanks For The Reply.But I am taking about the me52n or me533n Purchase Requisition.

Thanks in Advance

Kamal

leonardofreitas
Active Participant
0 Kudos

Hi,

This topic is very dissiminated, try search a little bit more, and you will find links like this below:

https://archive.sap.com/discussions/thread/3866459

Att,

Leonardo de Freitas