Problem with image loading in flex (with web dynpro ABAP integration)
Hi,
I am working with integration of flex and web dynpro abap. I am facing unusal problem while loading the images. I have the images in the MIME folder of web dynpro application. Since my swf file and all the images that I want to use are in the same folder(MIME), I am accessing them giving just the image name as source for the image in flex.
By this method I get the images sometimes, but not everytime. So could anyone suggest me alternative method.
Regards
Prashant Chauhan
Edited by: Prashant8809 on Jul 17, 2011 11:56 AM
Hello Prashant,
you need to mention the full path as source for the image in flex.
ex. if your WD application name is Z_TEMP and image file name in mime folder is 'image.jpg' then you need mention the source in flex as
http://servername:50001/sap/bc/webdynpro/sap/Z_TEMP/image.jpg
Hope this solves your problem.
BR, Saravanan
Similar Messages
-
Unable to display text with image in a cell of web dynpro table.
Hello,
I am unable to display an image with the text inside a cell of web dynpro table. The image doesn't come at all. I am trying to display the image of an object and the object description alongside within the same cell.
Thanks and Regards,
AbhijnanHi
Pls check the below link
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm
The only problem is only the below UI elements are supported
■Button
■ToggleButton
■LinkToUrl
■LinkToAction
■FileDownload -
Pixel tracking in web dynpro abap
Hi,
I have a scenario where in we are tracking job applicant source. Lets say a job seeker goes to careerbuilder.com and searches for job. At that point, careerbuilder.com sets a cookie in the job seek's computer. when Job seeker clicks to appy for job that takes him to our company sap e-recruiting job application page. when job seeker finally clicks send application button from web dynpro abap, we are rendering external https url as image using rfc destination from web dynpro abap. The external https url which basically reads the cookie ithat is set by careerbuilder.com site in the client computer.
External url as rfc destination is not reading the cookie even though I have enabled cookie read option and used http1.1 in rfc destination.
does anyone have any idea how sap wda handles client cookie? how can we make a external url which renders as image can be set to no caching? any help is highly appreciated.
thanks
VijayHi,
Please refer these links for cookies -
Re: Get a cookie from web dynpro application
Regards,
Lekha. -
How to call web dynpro ABAp application into workflow
Hello All,
How to call webdynpro application into workflow .Is it possible ?
Scenario is : A web dynpro application should flow into 3 levels of approvals .
Please share your knowledge .
Thanks
Sonal>
Saurav Mago wrote:
> hi,
> I dont think from workflow , you can call WD application.
>
> Thanx.
Actually you can configure a workitem to launch WDA via UWL ( http://help.sap.com/saphelp_nw70ehp1/helpdata/en/59/d516690e854c7090ae15bf492a869f/frameset.htm ) or in the NetWeaver Business Client using the Business Workflow Workplace (WDA Application SWF_WORKPLACE).
There is also a chapter in the upcomming SAP Press 2nd edtion workflow book on different aspects of Web Dynpro ABAP integration into Workflow:
http://www.sappress.com/product.cfm?account=&product=H3057 -
Problem with Table display in Adobe Form of Web Dynpro ABAP
Hi Team,
I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
We are on support pack SP06 on 2004S release.
DUMP INFORMATION:
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.Hi Thomas,
We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
Questions:
1) Is note 1034425 absolutely dependent on 1029721?
2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
Thanks much -
Integration of Adobe Flex with SAP Web Dynpro ABAP
I am new to adobe flex development. i am following a tutorial prepared by
Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
How to fetch the data?
Please Guide how to proceed.Hi Laxmikanth,
For Adebo Flex help..
Please go through Thomas tutorial..
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
and ...
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
Hope it might helps you
Thanks,
Kris. -
Combine Adobe Flex 2 with Web Dynpro ABAP
Does somebody know if there is a way to call a WDA component from an Adobe Flex 2 application or the other way around? I think within a Portal it should be possible by creating 2 iViews and let them communicate through input and output events (portal events).
However I am looking for a way without having a portal available. Example: I have created a WDA application that displays customer information in a simple ALV. When I click on a row I would like to call a Adobe Flex component which shows the information in a very nice graphical chart that we cannot create in WDA because it is too complex and in Adobe Flex it is possible.
Looking forward to your input!
kind regards
AngeliqueHi Angelique,
"Flex integration into Web Dynpro is not available to customers yet. The last I heard, it is supposed to be made available for Web Dynpro Java in Q2 of 2008 and made available for Web Dynpro ABAP in Q3 of 2008."
Please go through the below links for related information :
Re: How to Flex + Web dynpro Screen
Re: Flex with WebDynPro
Regards,
Mary Joseph -
Problem in calling abap editor with the program name in Web Dynpro ABAP
Hi,
I have to caal ABAP Editor screen with the display of program after clicking a button from web dynpro abap application.
I am able to call the ABAP Editor initial screen, but i want the editor display screen with a program.
How to do that?
Please find my code below:
DATA : FINAL_URL TYPE STRING,
URL TYPE STRING.
DATA: LV_HOST TYPE STRING,
LV_PORT TYPE STRING.
DATA V_TCODE TYPE TCODE.
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.
V_TCODE = 'SE38'.
*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/?sap-client=&transaction=' V_TCODE '&OKCODE=SHOW'
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( ).
Now, how to pass my Zprogram name into the URL.
I need to get the editor screen with the display of the program.
Thanks,
RadhikaHi Kiran,
Please find my code below:
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=se38&RS38M-PROGRAMM=Y2PSOLTREE&~okcode=shop'
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( ).
Here,, Y2PSOLTREE is the program, that should show in SE38 screen.
I used the above code, but still it is showing the SE38 initial screen.
Thanks,
Radhika -
Error in integrating flex with web dynpro abap
Hi,
I did integrating Island Component into Web Dynpro ABAP as per the tutorial given by Thomas Jung.
Now i'm facing a problem that in that bar chart ,after giving the values in web dynpro table,bars are not getting populated.
I'm getting X and Y axis populated...only bars are not getting populated..
plz help....hi,
i'm using flex 4...
Is it because of that?? -
Adobe Reader error with SAP interactive form in Web dynpro ABAP
Hi,
We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button. The form is inserted into Web Dynpro ABAP page. This web dynpro application is executed in SAP GUI by this program:
REPORT TEST1 MESSAGE-ID SWDP_RUNTIME.
start-of-selection.
CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
EXPORTING
PROTOCOL = 'HTTPS' " HTTP | HTTPS
INTERNALMODE = 'X' "SPACE - browser is started
PARAMETERS =
APPLICATION = 'Z_FORM'
CONTAINER_NAME = 'TEST'
EXCEPTIONS
INVALID_APPLICATION = 1
BROWSER_NOT_STARTED = 2
OTHERS = 3.
IF sy-subrc EQ 1.
MESSAGE a400.
ELSEIF sy-subrc = 2.
MESSAGE a401.
ELSEIF sy-subrc = 3.
MESSAGE a667.
ENDIF.
Adobe Reader version is 9.1.2
Is there any solution for this?
Many thanks for answer.Jiri,
The reason why I thought downgrading would help is because Reader 9 and above is probably not fully supported by SAP yet.
You can maybe open an OSS and see if Adobe 9 is fully supported or not.
Chintan -
Search Help on Adobe Interactive Form with Web Dynpro ABAP
Hi All,
I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
Added Native WD UI element 'Value Help' to form to search for users and changed script
*var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
The problem is that when I click on the value help button, nothing happens.
Is any more additional steps required ?
Thanks
KaruHello
Check this
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Thanks
Anirudh -
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Hello,
I have created an Interactive Form with ZCI type.
I placed a text field MATNR on the form.
Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
This form was then embeded into Web Dynpro ABAP view.
The problem is that when I click on the F4 button, nothing happens.
Is anything else needs to be done?
Thanks
SagarHi Amol,
After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
Var fieldname = "yourfieldname";
Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
Ragards,
Amol Patil. -
How to fill BI cube with Web Dynpro ABAP Program UI
Hello,
I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
I know that such a functionality exist in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
Many thanks
Arnaud
Edited by: Arnaud on Jul 28, 2010 3:32 PMHi Rajpal,
Please go through this..
calling BI report
Cheers,
Kris. -
Opening External Window in Web Dynpro ABAP with URL disabled or Hidden
Hi Experts, I have a requirement where-in we want to open the Web Dynpro ABAP application using tcode WDYID (by passing the application name and startmode), but the URL of the newly opened explorer should be disabled or hidden. To achieve the same, I have created a component (lets name it PARENT) and inside that in DOMODIFY/DOINIT method have written code to invoke the required WDA (lets name it CHILD) in external window (by using lo_window_manager->CREATE_EXTERNAL_WINDOW) and is successfully able to open the application with URL disable using different parameter of method CREATE_EXTERNAL_WINDOW. But in this case there are 2 window which opens, one is for PARENT view and other is for CHILD. Now I only want to keep the second view (CHILD) to be opened and want to close the PARENT view. When I used EXIT_PLUG to close the PARENT window, it closes both the window. Need your inputs on my approach or if you have any. Regards, Harish
Hi,
If you open the popup, it opens as Modal Window, originating from Parent window. Without external window( where you can pass has_location = abap_false ), you cannot hide the URL/Address bar.
If you want to partially hide the URL( if you dont want to show the full URL with application path), you can create an Alias for the service in SICF.
Go to SICF, and create an alias for your WDA application; say original URL: domain:port/sap/bc/webdynpro/sap/<ZAPPLICATION_NAME>
This URL you can convert( partially hide) as, domain:port/sap/<ANY_NAME>
Refer creating Alias in this help: http://help.sap.com/saphelp_sem320bw/helpdata/en/55/361a3c9c004866e10000000a11402f/content.htm
Hope this helps u,
Regards,
Kiran -
How to call an web dynpro abap application with an particular theme
Dear friends,
i have created one web dynpro abap application. i created one theme XYZ in portal with required font size. when i applied this theme on portal all web dynpro application use this theme.
i want to use current theme for one application not for all.
is it poosible to call an web dynpro abap appl with the particular theme where as others should not be temper with this theme.
please guide me by some useful steps.
regards
sunilSunil,
Check if this helps.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?QuickLink=index&overridelayout=true
Cheers!
Sandeep Tudumu
Maybe you are looking for
-
I have imported CDs successfully into this latest version of iTunes before. Today when I insert an audio CD to import, nothing show up in the LIbrary to allow me to import it. I'm running Windows 7 64bit - and Windows recognises and autoplays / plays
-
Hi all, I use the same applications for work, entertainment and other personal activities, so it's impossible to simply assign different apps to different desktops/spaces. Thus, I have open windows of the same programs (Pages, TextEdit, Preview) arra
-
Hi All We are working in ECS, SRM 4. The POs created in HELD status are reaching the Worklist (Maintained under Change Purchase Order) of the Buyer who has approved the shopping Cart. How do we maintain this? Thanks !!
-
Does anyone know if Apple Supports using the iPhone as a tethered modem? I see several sites where you have to hack into the iPhone but I'd rather not do that. Unfortunately I live in an area where High Speed is not available, I am able to get up to
-
I have a table that has one row along the top - but underneath the banner (the banner isn't included in the table), with the nav bar in it and one row along the bottom with the copyright line in it. Between the two lines there are two columns. I star