Calling Adobe form in a Workflow Step for approval
Hello,
There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
Thanks.
Hi Anjali,
1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
3)No idea.
Regards,
<i><b>Raja Sekhar</b></i>
Similar Messages
-
Calling the Adobe form in a workflow step for Approval
Hi All,
We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
<b>Is this handled by a decision step or an activity?
If it is an activity step which Task/Business object method is used to handle this?
If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
We are using ECC5.0 and EP6.0.
Thanks in advance for any help.
Prasath NHi Rajasekhar,
The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
<b>Service cannot be reached
What has happened?
URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
Note
The termination occurred in system xxx with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team
</b>
I have done the following configuration settings in SWFVISU transaction :
Task : TS500000075
Visualization Type : WebDynpro Java
visualization parameter: Application
visualization Value: IsrFormApprove
visualization parameter: Package
visualization Value: sap.com/pcui_gp~isr
Is there anything else that i have missed out in the configuration?
Message was edited by:
prasath natesan
Message was edited by:
prasath natesan -
Calling adobe form from Web Dynpro ABAP
Hi Friends,
This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
2010(200,101).
Can some one tell me how to solve this....
Regards
SankarHi,
Please refer to this same link in forum
WebDynpro Exception: ADS: Request start time, start Interactive Form
WebDynpro Exception: ADS: Request start time
Thanks
Pradeep -
Use of ADOBE form with SAP workflow for R/3 4.6C
Hi All,
We are thinking of usage of ADOBE form feature as one of options to design workflow for creation and maintenance of Info record like Material Master creation. BTW the existing systems are EP 7.0 with the back end SAP ERP system 4.6 C
We would like to just check the feasibility of usage of ADOBE interactive form for above scenario. Would it be possible to go ahead with the above concept or what would be pre-requisites or risks involved?
1. How would system identify the role to direct the Adobe form for approval in case the form is raised by multi department?
2. How can the data validations in ADOBE form happen with reference to SAP std. tables?
An early reply would be appreciated.
Rgds,Hi,
If you use EP 70 you can used guided procedure for your requirement .
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 -
Hi
I have designed the Adobe form which fills the form with table details. Do i need to convert this form into PDF to attach in my workflow work item and the receiver get has an attachment. How to do attach this form.
Regards
vijayHi shanto aloor
I not using Portal to develop guided procedure. Am using R/3 for developing the workflow. Here is my code what i have done to attach. I have converted the adobe form into pdf but i dont no how to send it now. If i use SOFM how to create the instance. If i use FM SO_NEW_DOCUMENT_ATT_SEND_API1. How to pass the bin details to this function module. Can any one say that.
Here is my code.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PERNR) LIKE PA0001-PERNR
*" EXPORTING
*" VALUE(BINFILE) TYPE XSTRING
*" TABLES
*" RETURN STRUCTURE BAPIRETURN OPTIONAL
*" EXCEPTIONS
*" NO_ATTACHMENT_FOUNT
DATA : V_FMNAME TYPE FUNCNAME.
DATA: lv_bin_file type xstring,
gs_job_output_info TYPE FPFORMOUTPUT.
DATA : IT_TAB TYPE PA0105 OCCURS 0 WITH HEADER LINE.
DATA : DOCPARAMS TYPE SFPDOCPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = 'ZEMAIL'
IMPORTING
E_FUNCNAME = V_FMNAME.
*DOCPARAMS-DYNAMIC = 'X'.
*DOCPARAMS-FILLABLE = 'X'.
CALL FUNCTION V_FMNAME " '/1BCDWB/SM00000061'
EXPORTING
/1BCDWB/DOCPARAMS = DOCPARAMS
PERNR = PERNR
IMPORTING
/1BCDWB/FORMOUTPUT = gs_job_output_info
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
BINFILE = gs_job_output_info-PDF.
CLEAR gs_job_output_info.
Regards
vijay -
MessageBox on Adobe Form in SAP MSS PCR for SAP ECC 5.0
Hello,
I have a question regarding the behavior of Adobe form messagebox in SAP HR MSS PCR (Personal Change Request)
I tried to test how the messagebox looks like, and so I created a PCR scenario with an Adobe form. This form contains a datetime field. I added the script "xfd.host.messageBox("this is message", "this is title") to the "exit" event of the datetime field. Then I did all the necessary steps so that this PCR is displayed in the Portal.
Now at the runtime, when I select a date value from the datetime field, the messagebox is displayed, BUT within an empty Adobe Reader page. It is not displayed on the top of my adobe form.
But the strange thing is that when I use tab key to navigate through the datetime field, the messagebox is displayed on the top of my adobe form, without the empty Adobe Reader page.
I also tried my script with several different event types, including "Change", and "Validate", it behaves the same way. But when I tried it with the event type "MouseExit", no empty Adobe reader page is shown up at all (of course, this is not the right event type for me)
The environment is SAP ECC 5.0, SAP MSS business package for ECC 5.0, SAP Portal 7.0 (NW 2004s), Adobe LiveCycle 7.1, and Adobe Reader 8.1.1
Has anyone experienced this? I'd really appreciate any comments and suggestions. Thanks in advance.
Best regards,
HarrisonAntony,
The Adobe Reader version is 8.1.1
Just wondering if you used messageBox in interactive forms with ISR framework, and it worked well for you?
Thanks.
Harrison -
Problem while using an adobe form "Unable to fulfil request for memory"
Hi Experts,
When I try to call a Adobe Form from the porta,l the system encounters a problem and the error message is "Unable to fulfil request for 3665920 bytes of memory space.".Could yopu please provide you valuable suggestion to resolve the issue.
Thanks.
Arun.Hey fellow ADS developer,
I had this issue once and had hard time to figure out from where it was coming!
In fact, check the free space on your SAP Server hard disk (or ask admin guys). It might be that there is no more hard disk! Because every time you generate a form, it is stored on your server harddisk. You need to flush all that temp stuff regularly.
Hope this helps
Yann -
To call Adobe Form thru WD4A as an print option
Hi All,
I have created one Adobe Forms
I am successfully called it thru a normal ABAP program.
Now I want to call it thru WD4A as an print form
How shuld i proceed
What would be the Driver program needed
Thanks & Regards
PKHi Yogesh,
Just to test ... can you place your code in a report and call the report with submit ... return in your module pool? For the data tables in the interface, you may export them and import them.. this will ensure that everything is good with your code and the place where you call the code from. I believe the issue is Module Pool rather than anything else. But that's just a doubt and we need to do this to confirm it.
Best Regards,
Abd-Al-Aleem -
Adobe form output not getting displayed for the whole length of the page
Hi All,
I have developed an adobe form using webdynpro application. While testing, the output(pdf) does not occupy the entire page/screen from end-user side. But when I test the same from my side, the output appears fine . Could anyone suggest me on this?
Regards,
Allwin.Did you check the resolution at end user side? Is it different from your resolution?
To overcome this check what is the height and width you have specified for InteractiveFormUI element in your Web Dynpro application. Have you specified in pixels like 300px? You need to enter it as 100% for both.
Chintan -
Call an RFC as a Workflow step
Hi,
I need to integrate inside a workflow (designed via Process Composer) a call to a backend RFC.
In detail, I need to make a callback to the backend when a process is created to register the successful creation of the process itself.
So it should be something like this:
START --> AUTOMATED RFC CALLBACK --> Workflow tasks --> END
I'm trying adding an EJB and linking it to the workflow with a Mapping Activity, but I'm not sure that I'm doing the right thing.
I've found a SAP guide that shows how to call an EJB from a workflow with a Mapping Activity but I'm having problems making things work.
Can someone suggest me if this is the right way to get the things done?
As a side note:
I work in a multi-track development environment. Every track has inside a project representing a specific workflow. Could it be possible to have a single EJB, placed in a track, to handle all the callback request from all the workflows from different tracks?
Thank you,
PietroHi,
a little update...
I've made the EJB work! This is an excerpt of the code:
@Stateless
public class ActivationCallbackBean implements ActivationCallbackLocal {
// FUNCTION NAMESPACE
private static final String NAMESPACE_FUNCTION_PARAMETER = "mycompany.com/mctfc_invoice_approve";
// PARAMETER NAMES
private static final String P_ID = "ID";
// PARAMETER LOOKUP NAME
private static final String NAME_PROPERTY_INPUT_ID = SdoRenamingHelper
.renameXsdElementToSdoProperty(new QName(
NAMESPACE_FUNCTION_PARAMETER, P_ID), false);
public DataObject invokeSdo(DataObject input, InvocationContext invContext) {
boolean isBackendCallSuccessful = true;
Type typeInput = input.getType();
String id = input.getString(typeInput
.getProperty(NAME_PROPERTY_INPUT_ID));
Now, as I said I have multiple workflows and I'd like to have only one EJB to handle all the calls. In order to do that I've added a special input parameter to discriminate which workflow is the "caller". But I've got a problem. When I define in Process Composer an EJB Function under "Rules and functions" in order to point to the EJB, i got a fixed value for the namespace.
Since the namespace is mandatory to retrieve the input values in the EJB and the namespace is based on the workflow I'm working with:
NAMESPACE_FUNCTION_PARAMETER = "mycompany.com/mctfc_invoice_approve";
(mctfc_invoice_approve is the name of one of the workflows) what can I do to have only one EJB and overcome this limitation? Is this possible?
Thank you,
Pietro
Edited by: pietro.m on Apr 4, 2011 5:09 PM -
Adobe form is printing wrong data for the first print attempt
Hi All,
I need a quick help from Adobe print form gurus. Until now i dint get an issue on printing adobe interactive form from my portal. For eg., when i am giving a print for the first attempt, it was printing the form with wrong data in form fields and whereas when i tried to print it for the second time, then it is printing properly with right information.
Please help.
Regards,
Praveen Kambala.Hi Praveen,
Find out the data what is being printed for the first time, and check what is the flag that is making the change. Hope that should resolve your issue.
Thanks,
Rakesh. -
Calling Adobe form from Webdynpro component?
Hi All,
I have a WD Component which displays all the personel nos and by selecting one personel no and clicking on a button it has to show the Adobe form which gets the data from BADI.and this is working fine.
but here my question is in the below code what is" Process"?
where we find this? please explain me this statement concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
my code is:
method ONACTIONACT_FORM .
wd_this->fire_from_main_plg(
DATA lo_nd_pernr_tab TYPE REF TO if_wd_context_node.
DATA lo_el_pernr_tab TYPE REF TO if_wd_context_element.
DATA ls_pernr_tab TYPE wd_this->element_pernr_tab.
DATA lv_objid LIKE ls_pernr_tab-objid.
DATA L_TEXT5 TYPE TEXT5.
navigate from <CONTEXT> to <PERNR_TAB> via lead selection
lo_nd_pernr_tab = wd_context->get_child_node( name = wd_this->wdctx_pernr_tab ).
IF lo_nd_pernr_tab IS INITIAL.
ENDIF.
lo_el_pernr_tab = lo_nd_pernr_tab->get_element( ).
IF lo_el_pernr_tab IS INITIAL.
ENDIF.
lo_el_pernr_tab->get_attribute(
EXPORTING
name = `OBJID`
IMPORTING
value = lv_objid ).
data l_pernr type p_pernr.
move lv_objid to l_pernr.
MOVE SY-UNAME TO L_TEXT5.
CALL FUNCTION 'HR_ASR_WDA_SET_EMPLOYEE'
EXPORTING
PERNR = l_pernr
ENAME = 'Rajak'
ID = L_TEXT5.
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 l_url type string.
data lt_parameters type tihttpnvp.
data ls_parameters type IHTTPNVP.
Generate the url to be called.
call method cl_hrrcf_wd_services=>construct_wd_url
EXPORTING
iv_application_name = 'asr_process_execute'
it_parameters = lt_parameters
RECEIVING
rv_url = l_url.
Pass the data using Application Parameters
concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->CREATE_EXTERNAL_WINDOW(
url = l_url
title = 'Submitted candidate'
has_menubar = abap_false
has_toolbar = abap_false
has_location = abap_false ).
lo_window->open( ).
Regards,
Lakshmi.Hi,
in my scanario ,adobe form is updated or getting values from BADI. How to find the BADI's name ?and how it triggers?where do i find the exit handler etc?
Can you explain me this?
Regards,
Lakshmi. -
Getting dump while calling adobe form
Hello All,
I am working on a webdynpro application and within the application I am calling a adobe form, when I call the adobe form I am getting the following short dump:
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.
The following syntax error occurred in program "/1BCDWB/SAPLSM00000027 " in
include "/1BCDWB/LSM00000027F01 " in
line 587:
"Field "BKPF-WAERS" is unknown. It is neither in one of the specified t"
"ables nor defined by a "DATA" statement. ."
I looked at the adobe form and the interface and the field WAERS is being defined there but I am not sure then why I am getting this dump.
Can you please help me on this.
Thanks,
Rajat
Moderator message: wrong forum, please have a look in the dedicated "Web Dynpro ABAP" forum.
Edited by: Thomas Zloch on Feb 9, 2011 3:23 PMHi,
Try to generate the interface and adobe form and also the generated FM "/1BCDWB/SAPLSM00000027"
Regards,
Srini. -
Suppress Print Dialogue while calling ADOBE FORM
Hi,
How to suppress the Print dialogue when I call PDF FORM.
In Smart form interface we have a field no_dialogue in the structure SSFCTRLOP to suppress print dialogue.
But in the Function Module generated by Adobe Form or in the Adobe Form Interface we don't have such structure to control the print dialogue.
awaiting the answers.
Ram.
Edited by: RamMohan Rao on Sep 17, 2008 7:29 PMHi,
Try to generate the interface and adobe form and also the generated FM "/1BCDWB/SAPLSM00000027"
Regards,
Srini.
Maybe you are looking for
-
URGENT HELP! NEED A HELPING HAND!
is it possible to "listen keyboard" for web-applications and execute needed classes (programms) according to this keypresses?
-
Add vendor name to output list in FBL1n
For transaction FBL1n i would like to add the vendor name (LFA1-NAME1) as a special field. However, this field is not available (only for one-time vendor) with OBVU. Is it possible to add this field and if so, how can i add it? thanks and regards, Ma
-
JDeveloper NullPointerException at View Component Palette
Hi everybody... The JDeveloper 9.0.3 is throwing an exception when I try to view the Component palette from the main menu or Ctrl+Shift+P command. The exception is as following: java.lang.NullPointerException void oracle.ideimpl.palette.PaletteI
-
Workflow Customizing Error: "Workflow: No workflow definition found"
Hi experts, I am currently configuring Workflow on our newly installed ECC 6.0 using the Automatic Workflow Customizing (SWU3). I was able successfully executed all necessary items including the RFC destination but when i choose the 'Start Verificati
-
Please can anyone help with my G5
I have a G5 dual 2gig and in idle mode it seems to a be slightly overheating as my fans start to blow harder and I get my mouse sticking I am running the latest version of Tiger with 3.5gigs of ram I did post in the IDvD, Logic Pro, and the Final cut