Calling transaction OAOH in webdynpro abap
Hi,
I am trying to call the transaction OAOH for uploading a document for archival.
But the popup for document upload works only in SAP GUI.
Can anyone help?
Hi Soumya,
Instead of calling a transaction it may be easier to make a file-upload element in your web dynpro and call a function module to store the document in Archivelink. Check for example function group SCMS_AO_AP with the following (released) function modulesI:
SCMS_AO_API CMS: API Archive Object
SCMS_AO_FILE_CREATE CMS: Create AO API Document
SCMS_AO_FILE_CREATE_ASYNC CMS: Create AO API Document (Asynchronous)
SCMS_AO_FILE_GET CMS: Make AO API Document Available
SCMS_AO_STATUS CMS: AO API Status Query
SCMS_AO_TABLE_CREATE CMS: Create AO API Document from Internal Table
SCMS_AO_TABLE_GET CMS: Make AO API Document Available from Internal Table
SCMS_AO_TABLE_GET_BYTES CMS: Make AO API Document Available in Bytes
SCMS_AO_TABLE_UPDATE CMS: Replace AO API Component from Table
Hope this helps!
Cheers, Roel
Similar Messages
-
Reg calling Transaction code in Webdynpro ABAP
Hi All,
Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
Thanks.
Kumar Saurav.Hi,
The most easy Way is here:
1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
Copy its HTTP link, Suppose we get the below link
http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN ) with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
So that the newly generated link is such that the below one:
http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
Note in place of PA30 you can put any of your desired tcode.
3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
4) Activate and test your webdynpro Application. -
Calling a webservice from webdynpro ABAP.
Hi,
Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls ) with clear steps ?
Thanks in advance. Ponts will not be a constraint for right answers
Praveen
Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AMHi Praveen,
1st Step : configure Logical Port
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
2nd Step : Generate Proxy Object
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
data: sys_exception type ref to cx_ai_system_fault,
sys_exception2 type ref to cx_ai_application_fault,
client_proxy type ref to zco_myesa, "MY PROXY CLASS
lv_ret_code type int4,
lv_input type zsend_email_input,
lv_response type zsend_email_response.
data: lv_from type string,
lv_from_address type string,
lv_to type string,
lv_to_address type string,
lv_subject type string,
lv_msg type string.
lv_input-from = 'MYSAPTEST'.
lv_input-from_address = '<someAddress>'.
lv_input-to = 'Prashant'.
lv_input-to_address = '<someAddress>'.
lv_input-subject = ' TEST'.
lv_input-msg_body = ' Hi this is wonderfull to see it work'.
try.
create object client_proxy
exporting
logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
call method client_proxy->send_email
exporting
input = lv_input
importing
output = lv_response .
catch cx_ai_system_fault into sys_exception .
data lv_err type string.
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
catch cx_ai_application_fault into sys_exception2 .
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
endtry.
if lv_response is initial.
write: /'Not Executed'.
else.
write: /'Did Execute'.
endif.
Greetings
Prashant -
How to call a webService from WebDynPro ABAP ?
We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
How exactly do we call a WebService from a WebDynPro-ABAP application?
What are the main steps involved ?Hi Phani,
You will need to create a service call as follows.
Right click on your WD component name and select Create->Service Call
The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN. -
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. -
Calling Dynpro components in Webdynpro ABAP.
Hi friends,
Could anyone tell me how to call webdynpro components in DC's in Webdynpro ABAP.
Regards
Sireesha.Hi Sireesha,
In WebDynpro(WD) ABAP, we do not have DC methodology. We can save the WD components and appliations in package. We can call WD applications using
1. OBN
2. if it is embeded in portal, then we can use portal navigation
3. We can also reuse the WD component in another WD component, by component reusability concept.
Best regards,
Suresh -
How to call the rfc in webdynpro abap..?
Dear Experts,
I need to add two numbers using RFC in webdynpro abap.
First we have to give the input then click the submit button.. The result will be shown in next screen with addition of two numbers... Please help me in this...
Thanks.Calling an RFC Function module in Web Dynpro ABAP is nothing different from Classical ABAP
use Pattern button to call function module and use DESTINATION syntax to specify the RFC destination
http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_II.pdf?PHPSESSID=c528a60bf8857431c0fa6f6595639da7
In Above document, page no 7, there is a wizard for Service call, in that 4th step is select service where
you can specify the function module name and the rfc destination name
Abhi -
How to Call the RFC in Webdynpro abap application
Dear Experts,
Good Evening to all...
I have to add two numbers using RFC in webdynpro abap application. If we give the numbers in the input screen then the RFC should add it and give it in the output screen. This is the application for that I have created the RFC.
But the problem is i don't know how to call the RFC in that Webdynpro abap application and how to link the input view and output view with that RFC...? I am new to Webdynpro abap. Please kindly help me on this... I am struggled here... I need your help in this....
Thank You.Hi Jaga,
You asked the same question again.
Without closing the [previous one|Re: Where SAP store the uploaded files?].
I think Abhi has answered your question.
If not please elaborate on the problem.
The solution btw is to create a Service Call.
Sumit -
How to call call transaction in web dynpro abap
hello experts,
i need to call one RFC in web dynpro.In RFC we maintained the BDC program. but while calling the same RFC in web dynpro through service call function, it is not working.Kindly suggest any way out.this is very urgent.
RegardsHi Rajat,
Please use the below mentioned link.May be it will help you:
The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems
Thanks and Regards,
Neha -
Calling Java code from Webdynpro Abap UI
Hi All,
Can anybody tell me, How to make calls to java code on a button click from webdynpro ABAP UI ?
Thanks in Advance.
Jenish .V. JoyHi Jenish,
As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
https://www.sdn.sap.com/irj/sdn/developerareas/abap?
rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
If you get any answer for your question let me know.
Regards,
Karthick K Eswaran -
Call the webservices in webdynpro ABAP.
Hi,
I have WSDL file. please tell me the procedure how to call webservices in webdynpro -ABAP.
Thank you
neelimaHi neelima,
Refer This,
<b>Consuming XI Web Services using Web Dynpro</b>
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3593. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
<b>Web service related scenario with XI</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9.
(Reward Points If helpful)
Regards
Nandha. -
How to use call transaction stmt from webdynpro application
Hi Expers,
Can I use call transaction 'tcode' in my webdynpro application, I have tried in my application but i am getting short dump saying
Error analysis+
An exception occurred that is explained in detail below.The exception, which is assigned to class'CX_SY_SEND_DYNPRO_NO_RECEIVER', was not caught and therefore caused a runtime error. The reason for the exception is: During background processing, the system attempted to send a screen to a user. Current screen: "SAPLMGMM " 0060.
I haven't used any more statements in my application am sure from my application side everything perfect. but I have seen a screen shot
with SAP screen in webbrowser.
Please help me out if you are not clear abt my doubt please ask me for clear idea.
Thanks in advance
Phalani MHello,
Since you can't use the call transaction command in web dynpros components, I suggest you to create a report and fill a BDC table on this and use the call transaction in this report.
So, in your web dynpro component you can use a command SUBMIT to create a job in background.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
Regards. -
Calling adobe form from webdynpro abap view
Hi,
I need some help. The situation is: I have created a Adobe form interface as well as a form using the SFP transaction. Now, I have a webdynpro screen with a button, which upon pressed must give the output of the PDF form.
I tried the following steps:
1. Call function 'FP_FUNCTION_MODULE_NAME'
2. Call 'FP_JOB_OPEN'
3. Call the generated function module name
4. Call FP_JOB_CLOSE.
The procedure works fine when I use the same code in a report program. It opens a dialog box where there is a option for Print preview and it displays the PDF.
But when I try to replicate the same, it does not work in Webdynpro for ABAP. Any suggestions as to how to go about this problem?
regards,
Praveen KumarHi Praveen
there is documentation on the Web Dynpro for ABAP integration of Interactive Forms in the SAP Help Portal at http://help.sap.com/saphelp_nw2004s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm which should answer most of your questions.
You specify the form to be used during the design of your Web Dynpro application (you are prompted to determine it when you insert the UI element).
You can save the form from the Reader toolbar, the question would be why would you want to do this and not use a proper download screen.
A proper tutorial is planned to be available in June. Until then, check the ABAP page in SDN for some e-learning / webinar recording), or directly here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
Cheers,
Markus -
Calling transaction SECATT from webdynpro UI
Hi friends,
I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'appname'
IMPORTING
out_absolute_url = lv_final_url.
SPLIT lv_final_url AT 'webdynpro' INTO lv_first_url lv_second_url.
SPLIT lv_second_url AT 'ztwb_tor' INTO lv_final_url lv_apostrophe.
CLEAR lv_final_url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=secatt&RB_TEST_CONFIG=X&RB_ECATT_SCRIPT=& ECTC_VER-NAME =' ls_ztwb_test_case-testcase '&okcode=ECOB_SHOW' lv_apostrophe
INTO lv_final_url.
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = lv_final_url
RECEIVING
window = lo_window.
lo_window->open( ).
But I am still able to open the first screen of secatt and not the second screen with the relevant testcase datails.
But if I try to open the second screen of SCAT transaction I am able to open it using the following url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=SCAT&*CATA-ABLNR=' ls_ztwb_test_case-testcase '&okcode=ZEIG' lv_apostrophe
INTO lv_final_url.
Is there anything else that I need to pass as parameters in SECATT transaction.
The program of SCAT transaction is a module pool program.
The program of secatt transaction is a function pool program.Hi Jenish,
As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
https://www.sdn.sap.com/irj/sdn/developerareas/abap?
rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
If you get any answer for your question let me know.
Regards,
Karthick K Eswaran -
Calling SAP Transaactions in Webdynpro ABAP
Hi All
I have a requirement, i have 4 link to actions in view, and created different views for all links. I creat viewuielement container in mainview and i embed all views in that. Now I want to call sap transaction when i click perticular link to action and i have to display perticular transaction in that view. is it possible in webdynpro or only in portal side.
Thanks
Madhan.Hi Madan,
Yes It is possible in WDA as well as in Portal.
we can use ITS for tat. In View Container UI element call view in which u have to create IFrame then set this url to the IFrame :
http://<domain>:<port>/sap/bc/gui/sap/its/webgui?sap-client=800&~TRANSACTION=<transaction name>
since IFrame is deprecated u can call this in external window using Window Manager.
reply me if u need some more clarifications..
Thanks,
Regards,
Kiran
Maybe you are looking for
-
Looking for car stereo recommendation
I would like to buy a new car stereo (budget $200) to connect to my iPod. I will use my existing speakers. My #1 priority is ease of use. My #2 priority is display of full info (track name, artist, and, less importantly, album). Does anyone have any
-
How do I install Bootcamp on 2nd internal iMac drive?
Have a new iMac with a 1TB internal HD in addition to the SSD startup drive. Can I, and if so how do I, install Bootcamp on the 1TB internal HD? Will the Bootcamp Assistant point out the 2nd internal drive and proper location during the install proce
-
Is there any way do not show the bar raiser (or line) for particular period. For instance I have a chart with 2 elements and i want to show the first element for 12 periods and the second element only for 3 periods. Both elements using the runnig c
-
OVM 3.0.2: slow startup after updating to 3.0.2
Hi, I just updated my VM servers to 3.0.2 and now each host sits at "Starting udev..." for 3 mins. before proceeding with the boot process. Anybody else noticed this?
-
How to get my ipad air update with iOS 7.1.