Upload image using webdynpro abap
Gudday,
I have a requirement to provide three functionalities like
1)browse 2)upload 3)review the image using webdynpro ABAP.
I tried with functionn module 'ARCHIV_CREATE_DIALOG_META' which uploads images..but if i try to use the samething using service call in webdynpro ..it is throwing a dump..saying...'ARCHIV ID OF CLASS BASED NOT OCCURRED'
Please suggest me how to proceed further ....its high priority....
Awaiting your reply.
Thanks,
Deepthi.
Hello Martina,
Could you solve this problem?
I need to upload documents in PA30 from Web Dynpro ABAP but the called funtions are not working. Could you please explain me how you resolved this?
Thanks you very mutch!
Regards
Belé
Similar Messages
-
How to upload images on WebDynpro(ABAP) screens
Hello All,
Could any one please help on how to create/change the image (jpeg/any file) dynamically on WebDynpro screen. I have seen couple of examples for uploading the text files in WDR_TEST_EVENTS, WDR_TEST_WEB_ICONS, but not found any standard program that explains about uploading images.
Requirement: User has to select any image/thumbnail from local PC and it should be displayed on main screen, it's not only from MIME directory.
We have the same logic in BSP Application (CFX_RFC_UI) to upload the thumbnail but am not sure whether we can use the same logic in WDC or not?
I have seen the same logic for WebDynpro (JAVA) here:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
I would really appreciate if you could provide me the code/process ASAP.
Thanks & Regards,
Hari.Hi,
I have written the code as per given logic with no errors, after selecting jpeg file from local PC when I click on 'upload' button it is giving a following short dump.
Could you please let me know how to rectify it.
Error when processing your request
What has happened?
The URL http://rocpld02.wwwint.corp:8000/sap/bc/webdynpro/sap/zms_image_01/ was not called due to an error.
Note
The following error text was processed in the system PLD : Exception condition "CNTL_ERROR" raised.
The error occurred on the application server rocpld02_PLD_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
Method: ONACTIONONBUTTONCLICK of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Regards,
Hari. -
How to upload a pdf file using webdynpro abap
Hi Experts,
I need to upload pdf files using webdynpro abap.my question is where to upload this files and how to upload this files, and how to display this pdf file.
Please Provide Requried Information.
Waiting for Reply.
Thanks & Regards.
Bhushan.Hi,
There is a UI element with the type 'File Upload'.
You can use that in your view.
For further details and coding, please refer to
[http://www.****************/Tutorials/WebDynproABAP/Upload/Page1.htm]
Hope this helps you.
Regards,
Dolly -
How to upload pdf file to DataBase using webdynpro abap.
Hi Experts,
how can i upload a pdf file in document server using webdynpro abap and display the same pdf file on the view using webdynpro abap.
Please Provide requried information .
Thanks & Regards.
Bhushan.NB - the "data" that is returned by these classes is the data as defined in an adobe form - it doesn't return the content of non-form PDF documents.
The PDF must be an interactive form ( although that doesn't restrict you to using the SAP process for creating the form is my understanding - but I could be wrong. )
Edit - I was wrong! ONLY PDF documents that have been created by the ADS can have data extracted using these classes. So unless you are using Adobe interactive forms - then you will get no value from this functionality - and if you're using AIF then you're probably just use the standard UI element
Edited by: Chris Paine on Oct 26, 2010 6:04 PM -
How to upload file in webdynpro abap alv
Hello Friends,
how to upload file in webdynpro abap alv
Regards
Narendra
Moderator message: please search for available information, post in correct "Web Dynpro ABAP" forum if still required.
Edited by: Thomas Zloch on Jun 6, 2011 11:55 AMHi Narendra,
You ahve to search before posting. This discussed many times.
You need to use file upload ui element to upload data. and display in alv.
Please go thorugh this..
http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
Re: Upload .xls file in WDABAP
http://forums.sdn.sap.com/click.jspa?searchID=72307893&messageID=5425671
Cheers,
Kris. -
How to read the excel file using webdynpro abap?
Hi,
how to read and modify excel file using webdynpro abap?
Regards,
PavaniFor reading excel file follow the steps :
1. Use a File upload UI element and bind it with xstring.
2. Now your excel will be uploaded and stored in Xstring.
3. Convert Xstring to String data using FM 'HR_KR_XSTRING_TO_STRING'.
4. Now split the string at new line so as to make an internal table .
Ex . SPLIT l_string AT cl_abap_char_utilities=>newline INTO TABLE it_table.
here it_table is type table of string.
5.now loop at the internal table and separate the content of this table separated by tab.
Ex. SPLIT wa_table AT cl_abap_char_utilities=>horizontal_tab INTO TABLE it_new.
it_new type string_table.
6. For more info , refer this thread :
Re: How to upload excel file in Webdynpro application using ABAP -
How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)
Hello
We use SRM Server 5.5 with classic scenario.
We want to call RFC in R/3 from webdynpro ABAP.
How can we do that?
We are developing the web report using webdynpro abap.
So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro. So we call the R/3 RFC to display the PR, PO data.
But I tired to call the RFC in R/3, We could not call it.
How to call the RFC from R/3 to SRM, when we use webdynpro abap?
Thank you,
Best Regards,
SH.Hi
<b>Please look at the following threads as well -></b>
WebDynpro in SRM
BAPI's /RFC's in SRM
BAPI to Change Shopping Cart by RFC
SRM60 and webdynpro
Webdynpro Services Exception
WebDynpro using BAPI has an error
SRM60 and webdynpro...
<b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
<u>For getting Purchase requistion data, use the function modules -></u>
META_REQUISITION_CHANGE Change purchase requisition
META_REQUISITION_CREATE Create Requisition
META_REQUISITION_DELETE Delete/close purchase requisition
META_REQUISITION_GETDETAIL Display requisition details
META_REQUISITION_GETITEMS Display requisition items
META_REQUISITION_GETRELINFO Get Releasease Info for requisitions
<u>For getting Purchase order data, use the function modules -></u>
META_PO_CREATE Create purchase order
META_PO_DELETE Delete reservation
META_PO_GETDETAIL Display purchase order details
META_PO_GETITEMS Display purchase order items
META_PO_GETRELINFO Display purchase order release information
Hope this will definitely help. Do let me know.
Regards
- Atul -
How to use webdynpro abap? need any separate software? if no, please help me with Transaction Codes..
Thanks in Advance
-Parthi
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Oct 19, 2011 8:18 PMI don't think you quite understand how hibernation mode works.
"The state of a computer is stored into its main memory, which is also called RAM. When a
computer is powered off, the contents of this memory are irremediably wiped out. Hiberna-
tion works in the following way: before being powered off, the computer saves all the con-
tents of the memory to a file on the hard disk drive. On wake up, data stored in this file is
read out and restored to the memory. Therefore, the RAM contents are the same before
and after the hibernation process, and the state of the computer is also the same. The
saved file is named sleepimage, and is located in the /private/var/vm directory. Hi-
bernation is sometimes also called “software suspend” or “suspend to disk”.
The default suspension feature of Mac OS X, called sleep works in a different way. When
entering sleep, every subsystem of the computer is shut down, except the main memory
which is still powered. This process preserves the contents of the memory, and allows the
computer to wake up quickly. However, a sleeping computer still consumes a small
amount of power. Sleep is sometimes also called “hardware suspend” or “suspend to
RAM”.
Apple introduced the safe sleep feature in Mac OS X 10.4.3 for the Powerbook HD line of
laptops. This feature is a variation of the default suspension behavior. The main memory is
still powered during the sleep, but the contents of the memory are also saved to the disk at
the beginning of the operation. The saved file will only be used if the laptop runs out of bat-
tery power while sleeping, in order to restore the original state of the computer.
This safe sleep feature is what makes hibernation possible in Mac OS X 10.4.3 and above."
Quoted from *Deep Sleep v. 0.7 documentation*
Matthieu Beaumel, 10/03/2006 -
Interactive Adobe Forms using WebDynpro ABAP
Hi,
I could able to design and execute my interactive adobe form using webdynpro ABAP. Here what i am doing is i am creating context with my structures and table types and pdfobject of type xstring and passing the proper inputs in interactive form properties, in template sources i am provinding the interface and form name of my own choice and it is getting created automatically by the system, every thing works fine here and i could able to execute my form from web dynpro application.
Here my requirement is i have already created structures and table types after that i went to transaction SFP and created an interace and by using that interface i have created form and i have designed the layout. Now what i want to do is i want to integrate this form in my webdynpro appliction and i want to execute it from webdynpro applicaton. When i try to do i am getting short dump, is my approach feasible or not . kindly suggest. If we can achieve this what is the way to achieve.
Please do send your suggestions.
Regards,
VenkatHi
When u click on button..u will have to get the data from node which is existing on the Intereactive form and pass it to other view via writing logic in button event handler.
The data can be displayed in other view as result.
I hope u got it.
Provide REWARD points..:-) -
Display pdf file using webdynpro abap
Hi Friends,
My requirement is to display pdf file in the second page with the input text entered in the fisrt page when clicked on action
button( in the first page) using webdynpro abap.
Can anybody explain the step by step procedure as I am new to this area.
Thanks in advance.
Reagrds,
NagarajuHi,
Check this.,
Creating a PDF file in webdynpro abap.
Web Dynpro ABAP display pdf
hope this helps u.,
Thanks & Regards
Kiran -
How to save User input into DB using webdynpro abap
Hi,
Im trying to create an application using webdynpro abap.
I want to know how to save the data input by user, into a database table.
In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.hello,
u can do it by reading ur context node.
we bind our UI elements to context attributes of appropriate type .
we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
eg suppose u have created a context node " cn_table"
reading context node cn_table
DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
lo_el_cn_table TYPE REF TO if_wd_context_element ,
ls_cn_table TYPE wd_this->element_cn_table.
* navigate from <CONTEXT> to <CN_TABLE> via lead selection
lo_nd_cn_table = wd_context->get_child_node(
name = wd_this->wdctx_cn_table ).
** get element via lead selection
lo_el_cn_table = lo_nd_cn_table->get_lead_selection( ).
lo_el_cn_table->get_static_attributes( IMPORTING
static_attributes = wa_table ).
here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
in ur
now ur wa_tablecontains value
u can nw use appropriate FM to update , delete and modify the DB table using the value
u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
rgds,
amit -
How to call interactive form using webdynpro abap.
Hi Sap Guru's,
I have Created Invoice Interactive form using SFP Transaction , now my requirement is ,
Need to Call that invoice form using webdynpro abap by passing invoice number(vbeln) from the screen.
please suggest .
thanksHi Suresh,
Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm">Interactive Forms in WDA.</a>, this is the best one .
Welcome to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms.</a>.
Do post your queries on Interactive Forms in SAP Interactive Forms by Adobe.
Rgds,
- anto. -
Hi..
Is possible piechart using Webdynpro ABAP?
Can anybody help me with step by step!!
Regards,
S.Suresh.Hi Suresh,
Yes, it is possible to create Piecharts in WD abap. You need to use business graphics UI element.
Refer these links:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ed/258841a79f1609e10000000a155106/content.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
I hope it helps.
Regards
Arjun -
Remove Maximize button from popup window using Webdynpro ABAP
Hi,
Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
Thanks,
JayHi Jayanth,
I think by setting is_resizable parameter pass abap_false. try this
lo_window = lo_window_manager->create_window(
window_name = 'POPUP'
title = 'Window'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
message_type = if_wd_window=>co_msg_type_none
is_resizable = ABAP_FALSE ).
Cheers,
Kris. -
Road map application using webdynpro abap
If any of u guys has road map application using webdynpro abap pls update me its urgent.
Regards,
Rahul NuthiIn the demo application WDR_TEST_EVENTS, have a look at the view for ROADMAP control.
Regards,
Nithya
Maybe you are looking for
-
OSX 10.5.8 Gimp & X11
I am having a problem getting both X11 and Gimp to Install and run. I have found solutions that apply to OSX 10.5.2 but not 10.5.8. Would appreciate any suggestions as to solutions, as well *** what version of gimp will work with what version of X11
-
Not able to delete web template
Hi Experts, I have created created web templates for few queries. But unfortunately i have deleted the queries with out deleting the templates first. Now the queries has been deleted but the templates remains under my Role in WAD. when i tr
-
Using Application Module outside ADF Application context
I am trying to run application module using a standalone java class. Trying to use Application Module outside ADF Application context. I have created a jar file on my standalone java class, and added my ADF application jar files to the classpath whil
-
How can i prompt the user input a date range before executing the report in B1 query manager?
-
Issue with decision popup with yes/no combination
hI, I'm having issue with create_popup_2_confirm method.I'm using yes no option in my popup.But when I click on yes button in the popup though OP_YES outbound plug is getting triggered of component GS_PTC, but not able to get any fired outbound plug