How to open WD- Adobe form open in new window -without Portal header
Hi,
In my WD application -MAINVIEW , I made 2 different groups under ROOTUIELEMENTCONTAINER
GROUP1 -Selection fields with search button - with ROW LAYOUT
GROUP2 -INTERACTIVE FORM - with FLOW Layout
Basically when we click the Search button I get the form in the same view underneath GROUP1.
I am calling this WD application in Portal by giving the hyperlink via BSP application.So when they run the WD application now With portal headers it is still becomming heightwise small area.
Is there a way with which we can open form in completely new window without the Portal Headers?
Rgds
Vara
yes.. you can launch the form from a selection screen into a new window...
I am using this to launch an editable PDF from a selection screen into a new window. This code is placed on the event handler of my Create button on the selection screen.
DATA: str TYPE string,
l_window1 TYPE REF TO if_wd_window_manager,
l_cmp_api TYPE REF TO if_wd_component,
result TYPE REF TO if_wd_window,
lt_parms TYPE TIHTTPNVP,
ls_parms like LINE OF lt_parms.
ls_parms-name = 'OPERATION'.
ls_parms-value = 'C'.
APPEND ls_parms to lt_parms.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'your_wd_application_here'
in_parameters = lt_parms " <- any URL parameters you need to send
IMPORTING
out_absolute_url = str.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window1 = l_cmp_api->get_window_manager( ).
result = l_window1->create_external_window(
URL = STR ).
result->open( ) .
You have to be aware, though, that you will lose ALL your context data b/c you are opening a new user session. That's why I had to use url parameters to pass data to my form.
Similar Messages
-
How openning of adobe forms could be faster at Enterprise portal 7.0
I wander how openning of adobe forms could be faster at Enterprise portal 7.0. We are using for ESS/MSS functionality.
I found out that firs time an form is opened it takes longer than next times. Has anyone some good documentation
Than you in advance> I wander how openning of adobe forms could be faster at Enterprise portal 7.0. We are using for ESS/MSS functionality.
> I found out that firs time an form is opened it takes longer than next times. Has anyone some good documentation
I would say that this is caused by the Adobe Reader on the PC, not by the portal itself.
Markus -
How to open a entity form in a new window using openEntityForm() method.
How to open a entity form in a new window using openEntityForm() method.
As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk -
How to display an ADOBE FORM in the same view
Hi forum
I am displaying an Adobe Form in a view of Web Dynpro for Java, but when this open, the adobe form open another windows with de pdf... how can i diplay this adobe form in the same view ?
Thnks
Josué CruzHi Josué Cruz,
Insert the 'Interactive Form' UI element in the desired view.
And bind its 'pdfSource' property to the context atribute pdf source. Optionally, you can set height and width of the form.
-Aarthi -
Open a bsp page in a new window?
Hi All,
I am creating a BSP application wherein i have a htmlb button for "help".
I want to open this help page in a new window, so that alongwith the help page the user can
view other pages also simultaneously.
Is there any way by which i can open this BSP page into a new window without loosing
the contents of the current page on which the help button is present.
A sample code for opening page in new window will be of great help.
Thanks in Advance for your help.Hi,
Pls try the below logic :
<htmlb:button id = "help"
text = "Help"
design = "standard"
onClientClick = "window.open('http://www.sap.com')"
tooltip = "Help"
/>
This will work for you.
Regards
CSM Reddy -
How can I hide the option to "Open in Adobe Forms Central" in embedded responses.
Hello All,
I created a Web based form and the responses received through same are available in an web page (through embed code). Now I wish to limit the ability of those viewing same to export the data in XLS format. For this one thing I need to somehow enable is to remove the "Open in Adobe Forms Central" as the export to XLS option is only available there.
Looking forward to your responses....... if anything,
this could have appeared after I did the EFI frimware update.
So, is it standart to see the "choose network" option (below the bootable volumes)
in te start up manager (option-boot) ?
cheers,
pascal -
Error in opening the adobe form to create a PCR
Hi,
I m getting an error while i open the adobe form to create a PCR as follows.
Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
Please help.
<b>Points are sure.</b>Hi,
I m getting an error while i open the adobe form to create a PCR as follows.
Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
Please help.
<b>Points are sure.</b> -
Error while opening the ADOBE FORM via mail
Hi to all,
I have created a program to attached ADOBE FORM to mail.
When I execute the program, it sends ADOBE FORM to my mail ID successfully.
But when I open my mail and try to open attached ADOBE FORM, it gives error
ADOBE READER COULD NOT OPEN u2018PDF FORM (1). PDFu2019 because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attached and wasnu2019t correctly decoded).
Please can any tell me, what the problem is and what the solution is for that?
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Aug 1, 2011 2:22 PMThanks for reply,
below is the code.
data:
l_fm_name TYPE rs38l_fnam,
l_formname TYPE fpname VALUE 'ZTESTF1' ,
fp_docparams TYPE sfpdocparams,
FP_FORMOUTPUT TYPE FPFORMOUTPUT,
fp_outputparams TYPE sfpoutputparams.
data: I_ATT_CONTENT_HEX type SOLIX_TAB.
START-OF-SELECTION.
data: st TYPE ZTABFM11.
data: it type table of sflight.
data: wa like LINE OF it.
data: wa_st like LINE OF ST.
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
fp_outputparams-nodialog = 'X'.
fp_outputparams-preview = 'X'.
fp_outputparams-device = 'LP01'.
fp_outputparams-getpdf = 'X' .
fp_outputparams-dest = 'LP01'.
fp_outputparams-reqimm = 'X'.
fp_outputparams-reqdel = 'X' .
fp_outputparams-xfpoutdev = 'LP01'.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = l_formname
IMPORTING
e_funcname = l_fm_name.
E_INTERFACE_TYPE =
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
select * from sflight into TABLE it.
loop at it into wa.
wa_st-CARRID = wa-CARRID.
wa_st-CONNID = wa-CONNID.
wa_st-FLDATE = wa-FLDATE .
wa_st-PLANETYPE = wa-PLANETYPE.
append wa_st to st.
endloop.
CALL FUNCTION l_fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
st = st
IMPORTING
/1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT = result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FP_FORMOUTPUT-PDF
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
BINARY_TAB = I_ATT_CONTENT_HEX .
CLASS cl_bcs DEFINITION LOAD.
DATA:
lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
lo_send_request = cl_bcs=>create_persistent( ).
Message body and subject
DATA:
lt_message_body TYPE bcsy_text VALUE IS INITIAL,
lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
APPEND 'Dear,' TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Fill the details.'
TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Thank You,' TO lt_message_body.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = 'flight details' ).
DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
TRY.
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'flight details'
I_ATTACHMENT_SIZE =
I_ATTACHMENT_LANGUAGE = SPACE
I_ATT_CONTENT_TEXT =
I_ATTACHMENT_HEADER =
I_ATT_CONTENT_HEX = I_ATT_CONTENT_HEX ).
CATCH cx_document_bcs INTO lx_document_bcs.
ENDTRY.
Add attachment
Pass the document to send request
lo_send_request->set_document( lo_document ).
Create sender
DATA:
lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
l_send type ADR6-SMTP_ADDR value 'mail id '.
lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
lo_sender = cl_sapuser_bcs=>create( sy-uname ).
Set sender
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient
DATA:
lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).
Set recipient
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
Send email
DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
COMMIT WORK.
message 'Form sucessfuly send to person' type 'I'.
plesase can any one, provide the soultion.
i shall be thankful toy you for this.
regards
pavneet rana -
How do you make adobe X open the "combine pdf" window in the foreground?
This may not be the correct forum for this question, but considering that I simply
have not been able to get a reply in any other Adobe forum, I decided
to just post this question to ALL Adobe forums until I get a response.........
How do you make adobe X open the "combine pdf" window in the foreground?
I am using a "Windows 7" computer at work with "Acrobat X Pro" and I'm constantly combining
pdf's and tiff's in Acrobat.
It would be nice if when I select 30 or 40 files to combine, the *******
"Combine Supported Files in Adobe Acrobat" window would open in the
foreground, not behind the 10 or so windows already open.
I have been researching this for some time now with no solution.
If the answer is that "IT CAN'T BE DONE", then that's fine. At least
I will have an answer and can stop searching. If (as I suspect) it can
be done, then kindly supply me with "step by step" instructions.
Michael JonesHi ,
I guess that was a bug in that version .
It does not happen in Acrobat XI and Acrobat DC .The window comes right in front of everything else .
I wonder that was a bug and that was fixed the other versions.
You could upgrade to the latest Acrobat version ,i.e Acrobat DC and you would not experience this anymore .
Regards
Sukrit Dhingra -
How to make PDF documents that open in Adobe reader open in Preview
How do I make PDF documents that open in Adobe Acrobat open in Preview?
Hold down the control key and select a file of the given type in the Finder. A contextual menu appears. Release the control key and hold down the option key. From the contextual menu, select the submenu
Always Open With
and then the application you want to open all files of that type. -
Open PDF Adobe form from workitem in UWL
Hi,
We have a requirement in which a workitem is gettng generated from workflows, And it comes in UWL, So when we execute that workitem it should open a adobe form for notificaton so that approver can reject or approve that notificaton in PDF, But it is openng a SAP transaction rather then adobe form.
we are on ECC 5.0 and portal verion is 7. we are using standard workflow WS5000041 which generates the workitem. It works perfectly fine in ECC 6.0, As there are different standard workflows in ECC 6.0 but the working is same.
Thanks.HI
I think you might have missed out to configure the respective task ID and its respective visualization parameters in the SWFVISU transaction.
Iam not sure what is exactly the flow in the ECC5.0 but if you look at the workflow template , it again incudes a subworkflow, in which you actually have the approve form standard task the task number is TS50000075 and in the swfvisu txn the task is already configured with visualization paramters as Webdynpro aplication and Name sape sa SAP, I think you have to add one more parameter in the DYNPARAM
Regards
Pavan -
How to close the adobe forms in popup windows once.
hi,expert..
i show a adobe form in a popup windows in my webdynpro program...but i find out that i at least click twice on the "CLOSE" button on the right top of the window.....how can i modify my program to close the window once..
the original codes are as follow:
method onactionprint .
data lo_nd_zhrhap_vp_app_01 type ref to if_wd_context_node.
data lo_nd_zhrhap_t_document type ref to if_wd_context_node.
data lt_zhrhap_t_document type wd_this->elements_zhrhap_t_document.
lo_nd_zhrhap_vp_app_01 = wd_context->get_child_node( name =
wd_this->wdctx_zhrhap_vp_app_01 ).
lo_nd_zhrhap_t_document = lo_nd_zhrhap_vp_app_01->get_child_node(
name = wd_this->wdctx_zhrhap_t_document ).
lo_nd_zhrhap_t_document->get_static_attributes_table(
importing
table = lt_zhrhap_t_document ).
DATA lo_nd_zhrhap_s_app_leader TYPE REF TO if_wd_context_node.
DATA lo_el_zhrhap_s_app_leader TYPE REF TO if_wd_context_element.
data ls_zhrhap_s_app_leader type
wd_this->element_zhrhap_s_app_leader.
lo_nd_zhrhap_s_app_leader = lo_nd_zhrhap_vp_app_01->get_child_node(
*name = wd_this->wdctx_zhrhap_s_app_leader ).
lo_el_zhrhap_s_app_leader = lo_nd_zhrhap_s_app_leader->get_element(
lo_el_zhrhap_s_app_leader->get_static_attributes(
IMPORTING
static_attributes = ls_zhrhap_s_app_leader ).
DATA lo_nd_zhrhap_s_dates TYPE REF TO if_wd_context_node.
DATA lo_el_zhrhap_s_dates TYPE REF TO if_wd_context_element.
data ls_zhrhap_s_dates type wd_this->element_zhrhap_s_dates.
lo_nd_zhrhap_s_dates = lo_nd_zhrhap_vp_app_01->get_child_node( name
*= wd_this->wdctx_zhrhap_s_dates ).
lo_el_zhrhap_s_dates = lo_nd_zhrhap_s_dates->get_element( ).
lo_el_zhrhap_s_dates->get_static_attributes(
IMPORTING
static_attributes = ls_zhrhap_s_dates ).
采集表名称和日期
data lo_nd_if_data type ref to if_wd_context_node.
data lo_el_if_data type ref to if_wd_context_element.
data ls_if_data type wd_this->element_if_data.
lo_nd_if_data = wd_context->get_child_node( name =
wd_this->wdctx_if_data ).
lo_el_if_data = lo_nd_if_data->get_element( ).
lo_el_if_data->get_static_attributes(
importing
static_attributes = ls_if_data ).
ls_zhrhap_s_dates-valid_begda = ls_if_data-begda.
ls_zhrhap_s_dates-valid_endda = ls_if_data-endda.
DATA lo_el_zhrhap_vp_app_01 TYPE REF TO if_wd_context_element.
data ls_zhrhap_vp_app_01 type wd_this->element_zhrhap_vp_app_01.
data lv_description like ls_zhrhap_vp_app_01-description.
lo_el_zhrhap_vp_app_01 = lo_nd_zhrhap_vp_app_01->get_element( ).
lo_el_zhrhap_vp_app_01->get_attribute(
EXPORTING
name = `DESCRIPTION`
IMPORTING
value = lv_description ).
REPLACE ALL OCCURRENCES OF '类别:' in lv_description with ''.
lv_description = ls_if_data-stext.
data l_is_ok type boole_d.
data pdf_source type xstring.
data l_msg type ref to cl_hrpa_message_list.
create object l_msg.
call method zcl_hr_appraisal_utility=>print_contract_direct
exporting
form_type = 'COD'
zhrhap_t_document = lt_zhrhap_t_document
zhrhap_s_dates = ls_zhrhap_s_dates
zhrhap_s_app_leader = ls_zhrhap_s_app_leader
description = lv_description
job_description =
message_handler = l_msg
importing
is_ok = l_is_ok
pdf_xstring = pdf_source
check l_is_ok is not initial and pdf_source is not initial.
data lo_nd_pdf type ref to if_wd_context_node.
data lo_el_pdf type ref to if_wd_context_element.
data ls_pdf type wd_this->element_pdf.
data lv_source like ls_pdf-source.
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
lo_el_pdf = lo_nd_pdf->get_element( ).
lo_el_pdf->set_attribute(
exporting
name = `SOURCE`
value = pdf_source ).
*-->ADOBE View embeded to ViewContainer UI
data: lr_view type ref to if_wd_view_controller,
lr_api_main type ref to if_wd_component,
lr_window_man type ref to if_wd_window_manager,
comp_usage type ref to if_wd_component_usage,
l_title type string value '打印合同',
lr_window type ref to if_wd_window.
lr_view = wd_this->wd_get_api( ).
lr_api_main = wd_comp_controller->wd_get_api( ).
lr_window_man = lr_api_main->get_window_manager( ).
l_title = wd_colr_mp_controller->model->get_text( '006' ).
call method lr_window_man->create_window
exporting
modal = abap_true
window_name = 'POPUP'
title = l_title
button_kind = if_wd_window=>co_buttons_yesno
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_yes
receiving
window = lr_window.
lr_window->open( ).
endmethod.
looking forward to your help....thanks in advancePing,
1st, see the Markup formatting options over on the right part of the screen - if you wrap your code between the code tags it will read MUCH better.
2nd, I can't replicate this issue - we have several PDFs opening in new windows & we only need to click once on the clost 'X' - how are you calling the PDF in a new window?
If you can't find a final resolution, an alternative would be to place a LinktoAction on your web dynpro application somewhere that makes sense which would close the window for you.
We do this on Sucess Message Views...
You can simply add the link to action to the screen, and in the event handler use
data : l_view_cntr type ref to if_wd_view_controller,
l_win_cntr type ref to if_wd_window_controller,
l_window type ref to if_wd_window,
l_parameter_list type wdr_event_parameter_list,
l_parameter type wdr_event_parameter,
l_val type ref to data.
field-symbols <fs> type any.
l_view_cntr = wd_this->wd_get_api( ).
l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
l_parameter-name = 'CLOSE_WINDOW'.
create data l_val type c.
assign l_val->* to <fs>.
<fs> = 'X'.
l_parameter-value = l_val.
insert l_parameter into table l_parameter_list.
l_win_cntr->if_wd_view_controller~fire_plug(
exporting plug_name = 'EXIT_PLUG'
parameters = l_parameter_list ).
Make sure you have an Exit plug on your Window with Plug Type EXIT. -
How to download interactive adobe form
Hi Experts,
could you please tell me how to download interactive adobe form with filled data through report program (not by WebDynpro ABAP).
Note:- The downloaded form should be static.
Thankyou,
B. RaghuHi,
look at the example report FP_TEST_00 in the workbench.
Steps to generate an adobe form:-
First get name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
*open the form for printing
CALL FUNCTION 'FP_JOB_OPEN'
Now call the generated function module
CALL FUNCTION fm_name
Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
Steps to download the adobe form on your PC:-
convert the pdf into a binary file
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
*download the form on your PC
CALL METHOD cl_gui_frontend_services=>gui_download
Regards
Manisha -
How do I open my itunes account on a new computer without having to buy all new songs? It doesn't seem fair to have to buy all the same songs a second time if they are already purchased by me and I just want them on my new computer!
There's a few different ways. The following document is worth checking through:
iTunes: How to move your music to a new computer -
How to create simple Adobe Forms in ABAP
hi,
i want to know how to create simple Adobe forms in ABAPHi,
Look at this eLearning Documents. This a good way to start.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
Regards.
Marcelo Ramos
Maybe you are looking for
-
Intel 7260 does not work on open networks/filtered ports
Hi Everyone! I made sure to check if this was posted before and tried to fix everything I could before asking you guys. For the past few days, I have been using Android wifi tethering as I was unable to get the speed up above 1000 B/s at my school. T
-
IS POSSIBLE TO SPLIT COGS IN COST ELEMENTS
Is it possible to define the COGS (OM: Generate Cost of Goods Sold) to capture Cost of Goods Sold by Cost elements ? The way the cost is built through the WIP process is through Cost Elements: direct material, direct labor, manufacturing overhead and
-
SQLPlus problem - user enters quote in substitution variable
Hello, I have a SQL Plus script report, where user is prompted to enter "customer name". Some customer names contain single quotes/apostrophes. When user type such name, the script will error out with ORA-01756: quoted string not properly terminated
-
hi i am using georapter in oracle sql developer to load shape files. when i try to use some more shape files, the original records are deleted and new records are inserted. how to append new records and keep original records. thanks
-
Hi All, Thanks to all who helped me to resolve the last error. Now I am again with some troubles.. I am compiling my code in Sun workshop 10 in Solaris 10 in x86 box. My CC version is CC: Sun C++ 5.7 Patch 117831-05 2005/11/11 I am getting the follow