on 04-06-2011 4:40 PM
Hi,
Can anybody tell me how to develop a program where i can convert transaction XT01 into a WD object with some chosen fields?
Regards,
mamai.
Hi mamai.,
I think it is not possible., but u can call sap transaction in Web Dyn Pro ABAP. refer this.,
DATA : URL TYPE STRING.
DATA: LV_HOST TYPE STRING,
LV_PORT TYPE STRING.
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.
DATA: LD_URL TYPE STRING.
*Call below method to get host and port
CL_HTTP_SERVER=>IF_HTTP_SERVER~GET_LOCATION(
IMPORTING
HOST = LV_HOST
PORT = LV_PORT ).
CONCATENATE 'http'
'://' LV_HOST ':' LV_PORT '/sap/bc/gui/sap/its/webgui/?&~transaction= XT01'*
INTO URL.
LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
LD_URL = URL.
CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = LD_URL
RECEIVING
WINDOW = LO_WINDOW.
LO_WINDOW->OPEN( ).
Thanks & Regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
It is not possible to convert it technically into Webdynpro for abap/java compoenent.
But still to accesss that tcode from internent explorer with the selective fields follow the below steps:
1.) Create a Transaction variant for your standard transaction code.
And assign a tcode to that transaction variant.
2.) Go to transaction code SICF and try to execute your newly created tcode.
Now it will open SAP's screen into internet explorer.
For more help refer to below link
[SAP ITS|http://sapignite.com/call-sap-tcode-using-webdynpro-for-abap/]
thanks,.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
yes that is possible if a suitable BAPI or function module exist which can udate data as your transaction is doing.
Create your screen as per the importing parameter and on save, execute the FM/BAPi. whatever message it returns, display it to the user.
Regards
Vishal Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.