How to call infotypes from webdynpro application
Hi friends
My requirement is, I need to call infotypes in r/3 system. Exact requirement is I got a dropdown, which gets the data from infotype, I got a textview which also gets the the data from other infotype.My question how to call these infotypes. Is this is the same way like importing bapis or different. Please let me know the detail procedure, and any doccuemnts mail me to [email protected]
Regards
keerthi
For reading HR infotypes you have to do the following
a. Create a Remote enabled function module (FM) in the HR syste. This FM shall wrap the standard FM HR_READ_INFOTYPE.
b. Create a Model in your webdynpro project for the FM you developed in step a.
Thanks and Regards,
Prasanna Krishnamurthy
Similar Messages
-
How to call infotypes from webdynpro applications
Hi friends
My requirement is, I need to call infotypes in r/3 system. Exact requirement is I got a dropdown, which gets the data from infotype, I got a textview which also gets the the data from other infotype.My question how to call these infotypes. Is this is the same way like importing bapis or different. Please let me know the detail procedure, and any doccuemnts mail me to [email protected]
Regards
keerthiHello Keerthi,
it is no special way to call infotypes, you have to find a Bapi which return data you want (or part of this thata). When there is no Bapi which fill your requirements (or you must call to much bapis) i think you should write your own bapi. Last step is using this (own or found) in wdp.
Regards
Bogdan -
How to call transaction from webdynpro application
Hi Experts,
I have a web dynpro component zxx_comp.its corresponding web dynpro application zxx_app.
my requirement is , when i test the webdynpro application, i have to call a transaction zxx_txn corresponds to the module pool program zxx_pgm directly . How can i do that?
Regards
Ashwin KVHi Ashwin,
Use the following to open a T-Code from WD application.
CALL METHOD cl_http_server=>if_http_server~get_location
IMPORTING
host = lv_host
port = lv_port
out_protocol = lv_protocol.
DATA lv_url type string.
concatenate lv_protocol '://' lv_host ':' lv_port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='zxx_txn' into lv_url.
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_manager->create_external_window(
EXPORTING
url = lv_url
RECEIVING
window = lo_window ).
Regards,
Harsha -
How to call webservice from Java application
Hi XI gurus
Pls let me know how to call a webservice from Java application.
I wanted to build synchronous interface from Java Application to SAP using SAP XI
For example, i need to create Material master from Java application and the return message from SAP, should be seen in Java application
Regards
MDHi,
If your JAVA Application is Web based application, you can expose it as Webservice.
JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
So we can Use SOAP Adapter or HTTP in XI..
If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
If you are dealing with the Webservice and SAP Applications means check this
Walkthrough - SOAP XI RFC/BAPI
REgards
Seshagiri -
How to call javascript from java application
How can we call a function written in javascript from java application (core java not applet)? How will java identify javascript?
Is there any such options ?Try creating a page called launcher.html (for example). That does this:
<html>
<head>
<script language="javascript">
windowHandle=window.open("http://www.javasoft.com", "", "height=700,width=1000,status=no,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,top=5,left=5");
</script>
</head>
</html>Now you launch IE (or whatever) with this page using the Runtime class. After x seconds (after the second window has been launched) try killing the process. Hopefully it will kill the original window you opened and not the window you popup (the one without toolbars etc)
It might kill both windows but I can't be bothered to test it. If it does you'll have to try and find a workaround. -
How to create iview from webdynpro application abap
hi ,
i have built webdynpro Application ABAP with adobe interactive form in it. i want this as part of the page in portal .
Can you point me how to do it ...some resources .
thank you
chandra.Hi,
Logon to portal, Content Administration->Portal Content and by right clicking, select New iView. In the "Template Selection" select SAP Web Dynpro iView. In the 2nd step, give the name and id of the iView. In the 3rd step you have the option to select either 'Java' or 'ABAP'. In your case select ABAP.In the 4th step, select the System and supply namespace and application name of your Web Dynpro ABAP Application. Click and Next->Finish. Now you will find the iView for your web dynpro ABAP application.
A doc on integrating web dynpro appl in portal,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
Hope this helps.
Regards,
Srinivasan T
<b>Helpful answer=>points</b> -
How to Call JSPDynPage from WD application?
Hi Xperts,
Can someone help me to call JSP Dyn Page from Web DynPro application.?
Thanks in advance!!
-VishalHi Vishal,
Check the below link about JSP Dyn Page
I have written a blog on JSP Dyn Pages, also check it
/people/anil.dichpally/blog/2007/04/25/jsp-dyn-pages-with-an-example
/thread/191892 [original link is broken] WebDynpro and JSPDynpage
difference between Dynpage & JSPDynpage between Dynpage & JSPDynpage
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/471ce3617b14bce10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/cfa441cd47a209e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/cfa441cd47a209e10000000a155106/frameset.htm
hope that helps.
regards
Anil -
How to call scriptlogic from another application
Hi
In BPC 7.0 NW, how would I call scriptlogic defined in another app from my current app. The MDX *RUN:OGIC is not supported. Is there anther way to do this and if so, how?
Thanks
L.Hi,
The Script Logic File is assigned to Data Manager Package which in backend will call the process chain.
So in your case you will be assigning the name of the Script file(in different application), to the DM Package of some other application from where you will be calling the logic.
The Dynamic Scriptin that case will be as below if you are using FXRESTATEMENT Process chain,
PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,<Name of App where the>)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,QTYOFRM.LGF)
Hope this helps,
regards,
G.Vijaya Kumar -
How to call SKYPE from Flex application ?
The basic idea is this. I've got Flex application, to simplify the problem, let's say it's phonebook.
Data in this phone book is pulled from SQL server and telephone numers are changing daily.
I'm choosing a person, and I have button - CALL CONTACT ...
How to link this button to his current telephone number to call this number via SKYPE ?
There is such a way if you have HTML site - http://www.skype.com/intl/en-gb/business/features/calling/buttons/
Have you any idea how to make such button in Flash / Flex ??navigateToURL() ? http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#navigateToURL%28%29
However, it looks like the Skype HTML has some form of JavaScript involved. If it's doing something special you may be Out of luck. -
Calling RFCs from Webdypro application!!!!
Can anybody show me a suitable example for calling rfc from webdynpro application.
Hi steve,
Look at this tutorial..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on accessing abap functions in web dynpro - 4.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on handling transactions with bapis in web dynpro - 5.htm
Follow the steps provided in those documents.
You can easily understand how to access ABAP functions from WebDynpro.
Let me know if you need more help on this.
Regards,
Karthick -
Calling GuidedProcess from WebDynpro ABAP
Hi all
can anybody tell me that how to call GP from webdynpro ABAP.
and what are the advantages and disadvantages in this scenario??
if anyone reply then it would be the great help to me
Regards
Suresh babuHey,
You can call a GP from WD ABAP through by implementing a service call from a method that is embedded in your WD. You can refer this link for the same.
http://help.sap.com/saphelp_nwce10/helpdata/en/44/58f9cc0d95311ce10000000a155369/frameset.htm
But you should note here that Data exchange between ABAP WD and GP is not two way but its only one way.
Cheers,
Mandrake -
Not able to call RFC from webdynpro
Dear Experts , I want to call a rfc from my webdynpro application , but its not working
I have a function module in my ECC system , that I want to call from webdynpro application of SRM system but its not working , it is not showing any error also
I called the function module like
CALL FUNCTION 'ZFM_SR_GET_PLANT_RFC' DESTINATION lv_logsys
TABLES
it_plant = lt_pr.
the control is just passing thru this function call but not going inside it,
at the same time when I call this function module from my report program in SRM it's working fine , is there anything else i have to specify to call it from webdynpro application ?
Please helpHi thomas ,
I have added the exception for my function module , but they didnt triggered ,while debugging I have observed that no exception occured at the point of call , and my sy-subrc eq 0 ,
se I did like this
CALL FUNCTION 'ZFM_SR_GET_PLANT_RFC' DESTINATION lv_logsys
TABLES
it_plant = lt_pr
EXCEPTIONS
system_failure = 1 MESSAGE msg
communication_failure = 2 MESSAGE msg
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID 'ZMSG01' TYPE 'E' NUMBER '00' WITH msg
INTO ls_message-message.
CALL METHOD wd_comp_controller->gref_message_manager->report_error_message
EXPORTING
message_text = ls_message-message.
ENDIF.
AT CALL FUNCTION statment the control is just passing thru it , and not going inside function module -
Related documents or links on how to call webservices from WDJ
Hi all
i need documents & links on how to call webservices from Webdynpro for Java.
if anybody send the documents on sample scenarios on the same then it is the great help to me...
Thanks
SunilHi Sunil,
May these links help you.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
and the below thread to call weservices in java.
Re: How to call a web service from Java
Regards,
Supraja -
i have created a ITS screen which in turn calls a Abap report
I want to call this ITS screen from a BSP application .
Could you please provide some sample code which is used to call ITS from BSP application..
Useful answers will be rewarded
ThanksSince it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
i hv done using iframe to call my ITS application.
I can able to call the Bsp application whichin turn calls its screen abap program.
while executing , the selecting the directory from the file browse pop up doesnt work for downloading the file
becos the client , they will not change the settings related to applet in the internet browser for security reasons.
I hav to make it some how to make it work in the portal which calls this BSP application..
at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
Kindly give your suggestions asap. -
Access UME from Webdynpro Application
Access UME from Webdynpro Application u2013 display the user attributes from Webdynpro iview
How to go for this...??
Edited by: saurav mago on Sep 1, 2008 6:45 PMHello Saurav,
Try this:
import com.sap.security.api.IUser;
import com.sap.security.api.IUserAccount;
import com.sap.security.api.UMException;
import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDUMException;
try {
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
IUser sapUser = wdClientUser.getSAPUser();
if (sapUser != null) {
java.util.Iterator parentGroups = sapUser.getParentGroups(false);
while (parentGroups.hasNext()) {
String parentGroupName = (String) parentGroups.next();
if (parentGroupName.equals("GRUP.R3_ROLE_DS.Z:EP_XPTO123")) {
return true;
catch (WDUMException e) {
e.printStackTrace();
OBS.: sapUser can be used to access a lot of info regarding the user.
OBS.: you need to add a reference to "com.sap.security.api.sda", that is in the default SC SAP_JEE, if I well remember.
Regards,
Douglas Frankenberger
Maybe you are looking for
-
Unable to use an image in a DVD menu background
I've been unsuccessful in using an image as the background in the DVD main menu in PE 9. The image shows up correctly in the preview, but not in the burned DVD. I'm a long time user of PE 2.0 and never had this issue. I've tried different image si
-
My hard drive icon is gone from desk top and does not show up in spotlight or finder searches!
Hi there recently my hard drive icon has disappeared from my Macbook Pro (10.7.4) desk top and does not show up in spotlight or finder searches! I have tried several fixes posted online for earlier operating systems with no luck. Also, when I connect
-
In TechTools ( came with Applecare ) i got a failed on Directory Structure, second time since owning my couple month old machine, first time apple recomended reloading. i dont mishandle it, dont bump, dent, etc, the laptop. but all of a sudden someti
-
Contact Center. Campaign outbounds??
Hi, I'm new to these issues and am trying to make a campaign outbounds for a contact center. In the documentation indicates that the contact information is entered in plain text are the separator comma, but it is producing an error importing conta
-
Cannot add package named WFSQLiteTests
I've been experiencing this problem since LR5 was released and worked with Support to try to identify the cause —but the debug tool adobe gave me didn't show what was happening during startup. This time, I disabled all of my plugins, exited and rest