cancel
Showing results for 
Search instead for 
Did you mean: 

Need to call ME3M transaction with some values

Former Member
0 Kudos

Hi Experts ,

We have a senarioa like :

we have pur org,werks,matnr,start date , end date in a z-table zcont. we need to pass the following entries from ZCONT

table to transacion ME3M to get a list of contracts.

zcont-ekorg

zcont-werks

zcont-matnr

All these is doing during batch processing.

Can anyone tell me how to do that?

Thanks

Edited by: Anshuman_Danda on Sep 19, 2011 9:53 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member199125
Active Contributor
0 Kudos

hi..

Do you want to pass those values to ME3m transaction by default?

and from where you want to call these transaction.

If it is from webdynpro , for examply, on button action you can call that transaction and pass ur values by default by using below way.

HERE I AM CALLING PA30 TRANSACTION . WITH INFOTYPE 584

YOU CAN FOLLOW SIMILAR WAY.

data display type string.

concatenate 'http://xxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=*PA30%20RP50G-PERNR=' lv_aempid

';RP50G-choic=584;RP50G-begda=01.01.1800;RP50G-endda=31.12.9999;DYNP_OKCODE=DIS'

into display.

*

data lo_window_manager type ref to if_wd_window_manager.

data lo_api_component type ref to if_wd_component.

data lo_window type ref to if_wd_window.

lo_api_component = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window = lo_window_manager->create_external_window(

url = display

).

lo_window->open( ).

IF YOU HAVE ANY CONFUSION IN THIS LET ME KNOW.

Regards

Srinivas