on 09-19-2011 8:53 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.