Processes&Forms: Background scenario step

Hello,
I have been requested to develop a process to generate employee's certificates, basically with following flow:
  1 employee selects a certificate (advanced backend service that can show additional criteria based on certificate selected)  - done
  2 system selects the certificate template (smartform) and generates PDF - done
  3 attach PDF to process as an attachment
  4 send email with attachment and process details
for point 3, i need to attach the PDF to a process. I thought about 2 solutions:
          - create a step in same scenario for attachment -  but then i need this step to be concluded in backend of workflow (no dialog)
          - create a specific scenario for attachment generation - same difficulty as above
basically i need to know how to conclude a scenario step programmatically by adding an attachment to that step.
Thank you in advance for any suggestions.
Regards,
Carla Sousa

A few things I would do to handle this differently....
I am assuming the employee is notified some how that they have been awarded a certificate? No? Yes?
1. You don't need an "advanced" service for this...just a regular backend generc service will do.
2. have your Adobe form be your certificate then filled in with the employee's data from the backend service.
3. the employee can then print/save the form as they wish.
If this is driven by HR (ie. award the employee)....
1. same thing....no "advanced" service needed.
2. merge employee data into your Adobe form (which is the certificate).
3. HR admin completes the "certification for employee".
4. now workflow could pick this up if additional approvals are needed or send to the employee.
5. employee is notified (via email) of the award/certificate and follows link in email or through portal or NWBC to the process. From there, like above, they can print/save the cert as needed.
Now, if you are using FPM and/or you absolutely have to have an attachment added, then you simply need to look at SAP's own  code for how a user does that and just mimic it. I have done it in the past for processes where I need my form within the process to check for an attachment included and used SAP's own standard functions to "read" attachments. Same idea.
Good luck!

Similar Messages

  • Infotype Update Operation Control at Form Scenario Step

    Hi All,
    To start with, I created a P&F object with one scenario step. So with that, it is supposed to update the infotype data at this very stage. This works fine.
    Now, I want to extend it with another step for HR admin to review before update. So now I have two scenario steps: FS1 (employee fills data and send which only saves the data in process object) and FS2(HR Admin reviews the data and sends which updates the database). I created a workflow with task TS33700021 for HR admin to process form. FS1 lies outside the workflow and FS2 becomes part of workflow. Now when I launch the process to fill the form and click on 'Send', though it does trigger the workflow to send the task to HR Admin but it also saves the data in infotype.
    I know in the above process, I haven't done anything to stop the update in the first scenario step. But what exactly that 'something' is, which I have to do to stop the back end service from updating database.
    Best Regards,
    Bhaskar

    1. Transaction hrasr_dt under Settings for Start Step , ensure you have configured save configuration correctly.
    2. In the workflow where second second step FS2 is used set &SEND_VARIATION& element as save to DB/Infotype.
    Refer http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/42/f280b91e5132c3e10000000a1553f6/content.htm
    Regards.

  • HCM P&Forms:How to create a user event and scenario step mapping

    Hi Friends
    I have a problem with Form Scenarios --> Other Attributes -->User Events:
    At present the values are: Operation :- the_operation_name
                                               Field Groups :- Field Group assigned
                                               Usable from scenario step :- Emp_Req_scenarion_stepname1
    I need to enter a new mapping here so that the operation is available in another scenario step as well.
    But in the edit I can enter only the operation name, not able to enter the scenario step.
    Can someone please suggest a solution or work around. Your inputs are appreciated.
    Thanks!
    Sajimol.
    Edited by: Sajimol Unni on Mar 2, 2010 11:54 PM

    Not quite true. A "user event" looks at what fields you selected for your "field group" for the event. Then ANY operation that has that field associated with it will get called (unless a "rule" stops it). User Events in HCM P&F are REALLY BAD in my opinion (I have ranted on them in many threads, blogs etc.). There are ways to deal with them and also ways around using them (see my blogs). I think this is one area in HCM P&F that needs a major overhaul/re-thinking.

  • Processes&Forms: Workflow processing

    Hello,
    I have some doubts regarding workflow processing of process&forms:
    1. I need to have a scenario step executed in background.
    2. The objective of this scenario step is to add an attachment to that scenario step
    Any hints how to do this?
    Thank you in advance.
    Regards,
    Carla Sousa

    VERY easy....
    1. There is a STANDARD task delivered by SAP to perform scenario form steps in the background. USE IT!
    2. You could do this either (a) using the task to do a background form step to do this, but then your step would need a backend generic service config'd for it to do the "attachment". or (b) the easier way, just have a task execute your own custom ABAP method to do the attachment (it could read the process number that you bind to it, then pick up what ever...or all...form fields you need to then figure how/what to attach. To do the attachment, use SAP's own standard functions/methods for adding an attachment to a process(hunt down their code....don't have access at the moment to find it for you...pretty easy though).
    Good luck!

  • Sending an email, containing an adobe interactive form, as a step in a gp

    I'm trying to create a process in gp.
    the first step is an interactive form that is submitted to netweaver and starts the gp process.
    second should be another interactive form that the system sends out to an email account.
    wstarting the process by interactive form is not a problem, but sending out emails seems impossible to me :-P...
    i tried by myself, but couldn't work anything out.
    then i searched for a while in the sdn and found the following article by ginger gatling:
    Guided Procedures:  Passing email address for Interactive Form step
    it doesnt help either. dunno what version of netWeaver she was using, but at least in version 7.0 it's not working like she describes. also it's not possible to insert an email adress via predefining the appropriate field in the attributes tab.
    i would be very glad if someone could provide me a hint to solve this problem.

    This is the way how to send the form through mail.
    Generate and Send the Form
    The next step is to write the ABAP program which will create the form and email it to the vendor so that it can be filled offline.
    The program will have the following steps:
    u2022 Data retrieval and processing : A select statement for the pre-populated information
    u2022 Obtain the name of the Generated Function Module of the form
    u2022 Start the form processing
    u2022 Call the Generated Function Module
    u2022 End form processing
    u2022 Send the form to the vendor using Business communication services (BCS)
    Data Retrieval and Processing
    This can be as simple as a select statement to complex data selection. In this example we select the vendor number, name and company code from the vendor table LFA1 based on the vendor from the selection screen
    Get vendor data
    select single lifnr name1 bukrs from lfa1 into wa_vndbnk where lifnr = p_lifnr.
    Get the Generated Function Module
    The next step is to get the generated function module. Call function module FP_FUNCTION_MODULE_NAME and pass the form name to it. The parameter e_funcname will contain the name of the generated function module name.
    First get name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
    exporting
    i_name = 'ZVK_TESTHD'
    importing
    e_funcname = fm_name.
    Start the Form Processing
    Form printing needs to be explicitly opened and closed. Use the function FP_JOB_OPEN to open the form for printing. The parameter ie_outputparams determines printer settings. This parameter is also where we ask the generated function module to return a PDF file back. Since this is an offline scenario and there is no printing involved we need to suppress the printer dialog popup as well. Optionally there is a parameter connection which can be used to determine the RFC destination for ADS.
    Set output parameters and open spool job
    fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
    fp_outputparams-GETPDF = 'X'. " launch print preview
    call function 'FP_JOB_OPEN'
    changing
    ie_outputparams = fp_outputparams
    exceptions
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    others = 5.
    Call the Generated Function Module
    This is similar to the generated function module in Smart Forms. Since the parameters of the function module are defined in the interface, this will vary from form to form. However, /1bcdwb/docparams is a standard parameter. This is used to set the forms locale. This is also where we tell the form that it is fillable. Once this parameter is set - if the ADS is configured correctly (including the credential) - a fillable savable form will be returned when the function module is executed.
    Set form language and country (->form locale)
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'US'.
    fp_docparams-FILLABLE = 'X'.
    Now call the generated function module
    call function fm_name
    exporting
    /1bcdwb/docparams = fp_docparams
    Z_VNDBNK = wa_vndbnk
    importing
    /1BCDWB/FORMOUTPUT = fp_formoutput
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    End Form Processing
    Use the function FP_JOB_CLOSE to close the form for printing.
    Close spool job
    call function 'FP_JOB_CLOSE'
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    Send the Form to the Vendor
    The PDF file generated is available in the parameter fp_result which is returned by the generated function module. The next step would be to extract this PDF and send it to the vendor using BCS.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = fp_formoutput-PDF "PDF file from function module
    TABLES
    binary_tab = lt_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 Vendor,' TO lt_message_body.
    append ' ' to lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.'
    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 = 'Vendor Payment Form' ).
    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 = 'Vendor Payment Form'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
    i_att_content_hex = lt_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 'email address',
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    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 ).
    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 'The payment form has been emailed to the Vendor' type 'I'.

  • HCM Processes & Forms Cost Assignments Defaults

    Hello Everyone,
    I have a question about making Cost Assignments for Infotyps like "Additional Payment" (0015) or "Employee Remuneration Info" (2010) within a Processes and Forms Scenario. This is really a huge requirement for us because the hole Company is split in several subsidiaries so we need to book the costs to different cost objects.
    In the Backend World (PA30/PA61) when creating a record for either one of the Infotypes I can choose the Option "Maintain cost assignment" so I can define a different cost object where the costs of the created record should be booked.
    I know the data of the cost assignment get's stored in the tables ASSHR & ASSOB. But as I'm using the SAP Backend Services SAP_PA and SAP_PT I can't make any DB update/insert statments after the records are created.
    Did anyone implemented a Scenario like this before?
    Would be awesome if someone could give me an advise.
    Best regards,
    Tobias

    If the infotypes in  question are standard PD infotypes you could use SAP_PD service to update them.
    For any other tables you will have to go with a advanced generic service or do the update in a background workflow task.
    Refer here to the post by Christopher Solomon's Profile | SCN: http://scn.sap.com/community/erp/hcm/blog/2012/08/20/hcm-processes-forms-when-all-else-failsadvanced-generic-services
    Hope this helps.
    Regards.

  • Assertion_Failed dump when accessing Design Time for Processes & Forms EP3

    After exhausting SAP note searches and the SDN community forums, blogs & wiki searches, I decide to make my first SDN post:
    After installing Enhancement Pack 3 to the base ECC 6.0, we got the Design Time for Processes & Forms node in the IMG under HR Administrative Services. I was able to get in to it the very first time without any issues; however once I selected one of the sample SAP processes, I received an "Assertion_Failed" dump in the section of code saying a referenced node must exist. In debugging, we did see a node that is referencing a node that does not exist,  which is causing the dump. The dump occurs in CL_HRASR00_DT_OBJECT_BROWSER, Method ASSERT_OBJ_HIER_IS_CONSISTENT (line 71). 
    I now get this dump each time I try to execute the Design Time for Processes & Forms node in the IMG. Note: when accessing process the old way, there is no issue.
    To me is seems like either EP3 was not installed completely, something went wrong in the activation of those business functions, or the copy of the sample forms from client 000 did not grab everything.  In debugging, it appears that the missing reference node is related to some form scenario node.   Also note that all the steps under Technical Settings were completed.
    Has anyone seen this issue before?
    Thanks for any help you can give.  If I find the solution, I will post the answer here as well.
    -Jeff Glynn
    Edited by: Jeffrey Glynn on Oct 22, 2008 1:54 AM

    Hi Jeff,
    I believe we had the same issue here.
    There is an SAP Note (below) for this. Please let me know if this works.
    Note 1075650 - New Design Time tool Corrections for the dump
    Note Language: English Version: 1 Validity: Valid from 18.07.2007
    Summary
    Symptom
    Dump on executing the transaction HRASR_DT which starts the new design time
    tool of the HR Administrative services
    More Terms
    Design time tool HRASR_DT HRadmin
    Cause and Prerequisites
    Solution
    The solution to the dump occuring would be resolved by applying the SP
    Alternately the dump can be
    resolved by performing the following steps manually :
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTOBJHIER and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Select the following entries:
    i. OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT
    ii.OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT_START
    5. Click on EDIT entries button on the header
    6. Enter in the field REF_OBJECT_TYPE the value as FORM_SCENARIO
    7. Click on the Next button on the header bar to navigate to the next entry
    8. Repeat Step 6 for this entry also
    9. Save the modification
    Additionaly, perform the following steps as well:
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTTOOLS and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Click on CREATE entry button on the header
    5.Enter the following to create a new entry:
    TOOL TYPE = FSCN_MSG_MAPPER
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_FST_MESSAGE_MAP
    6. Enter the following to create a new entry:
    TOOL TYPE = PROC_EXEC_FREQUENCY
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_PRT_EXEC_FREQ
    7. Save the new entries
    These adjustments should resolve the dumps hindering to start the new
    design time tool

  • Target reconciliation Process Form

    Hi,
    I had done target reconciliation for lotus notes and the users got linked with OIM. I did some changes in the process form (I added CompanyName field) now when i am going target reconciliation again it is not get the companyname field in the process forms for the users. I checked the database table it contains the values for companyname. So it is not showing me the new updated process form for the users.
    Thanks & regards,

    Hi,
    I gonna tell you my trade secret.Let me understand your problem first.
    1.You created the process form and did the reconciliation and user got linked.
    2.You updated the process form and did the reconciliation again ,event got linked but process form did not get updated.
    Problem:
    See this is very old scenario that we face,atleast in my 3 years of OIM career I did faced this issue.With every provisioned resource OIM keep the information of process form in respective UD_Process form Name .Along with that it also contain the process form version so when ever you create a new version of process form it works fine for new provisioned object but OIM does not update the process form version in UD_ table for old entries. Thats why when you view the process form it will not show you the latest modified field.
    Solution:
    Every problem has solution yes I agree so what you can do to resolve the problem.First always design in a such a way that you don't need to modify the form but if you already done this mistake so this is how you can solve the problem.
    1.Take one user and provisioned it to lotus note resource.
    2.Get the usr_key of this user.
    3. select orc_key from orc where usr_key= ?? (Key that you get in step 2.
    4.select * from UD_LOTUSFORM where orc_key=?? Key that you get in step3
    5.Now you will see a field called UD_LOTUSFORM_VERSION ..See what is the value of this version.
    6.Update UD_LOTUSFORM set UD_LOTUSFORM_VERSION=?? ( Value you get in step5) WHERE 1=1 (It will update all existing entry)
    7.Run the reconciliation again.
    You are done buddy.Let me know if you have any questions.
    Regards
    Nitesh

  • Error occured while sending a form in test in HCM Process & Forms

    Hi
    An error occured while testing my process in Design Time Tool. All the process, form, and workflow are consistent and activated, however when I send the form in test program available in Design Time Tool I get a Short Dump (as below) followed by the error "Workflow Item Not Found, Workflow Not Started."
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_UNKNOWN
    ABAP Program           CL_POBJ_CASE==================CP
    Application Component  PA-AS
    Date and Time          23.02.2012 09:38:34
    Short text
    Message type " " is unknown.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_POBJ_CASE==================CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    Only message types A, E, I, W, S, and X are allowed.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "MESSAGE_TYPE_UNKNOWN" " "
    "CL_POBJ_CASE==================CP" or "CL_POBJ_CASE==================CM00D"
    "IF_POBJ_CASE~CREATE_CASE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Looking forward to your expert advice to resolve this error.
    Best regards
    Imran

    This can be a few things....
    1. Make sure you set up your number range for CASE Mgmt (t-code SCASE_NUMBERANGE)
    2. if the POBJ_MODEL is missing in your CASE Mgmt environment
    3. if the doc id for your object models (process, scenario, case) are somehow "out of whack" (not matching) between CASE mgmt, SCASE_CUSTOMIZING and SRMREGEDIT
    4. authorization issues (which it more likely is)... I know it sounds weird, but even giving you SAP_ALL will not do it (even it is missing some of the auth objects). You have to be able to read/write to CASE Mgmt (so the related auth objects are needed....look for ones with S_SRM* or S_SCM*). Also, WF-BATCH user needs this auth as well!
    This part can be a PAIN to get sorted out.

  • Customizing Requisition request in HCM Processes & Forms

    Hi HCMers,
    We have just upgraded our development system to EhP4 in ECC and E-Recruiting systems, and SP5 in E-recruiting. We want to use the simple requisition request process in HCM Processes and Forms but have several customizations to apply. For example, changes to the form and the workflow.  As a developer I am able to create the custom Adobe form, the custom workflow, and apply any necessary enhancements to ABAP code. However I am unclear how to link these in via the HCM Processes and Forms framework so that they will be called from the standard screen in MSS (Manager Services > My Requisitions > Create New Requisition Request). I did find the tutorial for building a process scenario from scratch, but I can't find the "simple requisition" form in HRASR_DT, but I find the simple form in SFP as ISR_FORM_SRQ1.
    So, my question - what is the best way to implement these customizations? Should I copy the existing process scenario for exstended requisition (HR_MSSRCF_REQUISITION) into a Z_HR_MSSRCF_REQUISITION and make all my changes; or create my form scenario and process scenario from scratch?  Do we need to change the webdynpro for the Create New Requisition Request to call the new form and scenario, or is there a place that is configured? Do I really even need to use the HCM processes and form framework?
    If I sound clueless it's because I am Anyone wanna give me a clue?
    Thanks for any help you can give!
    Margaret

    Cpoy HR_MSSRCF_REQUISITION to your Z one by using the transaction SPRO-> personnel management and then HR Administrative Services and then Configuration of Forms/Processes and then execute the Design Time for process and forms.
    select your Process that is HR_MSSRCF_REQUISITION  and copied to your Z one. once you copied then you can given there your own workflow template  and in the form Secnerio you can also given your own customize adobe form.
    In the process start you can assign the role assignemnt to manager then this process would be visible in MSS under manager.
    Hope this would help you.
    thanks,
    Amar

  • Process + Servlet to invoke process + form + database

    GetMortgageForm process
    The following illustration shows the GetMortgageForm process (see Figure 2).
    Figure 2. A LiveCycle ES process that returns an interactive form.
    Note: This document does not describe how to create a process by using Adobe LiveCycle Workbench ES. (For information, see Workbench ES Help.)
    The following table describes the steps in this diagram.
    Operation Description
    1 The user submits a custom identifier value and the operation to perform. In this situation, assume that the user is applying for a mortgage. The input parameters for this process are a string value that specifies the form name (named formName) and another string value that represents the custom identifier value (named custId).
    Note: In the Java application logic located in the Java servlet, the formName and custId process variables are referenced.
    2 The process uses the customer identifier value to perform a relational database look-up for additional customer information by using the JdbcService service's Execute SQL Statement operation. The custom identifier value acts as the primary key value.
    3 Merges customer data into an XML data source that is used to prepopulate the form. (See "Prepopulating Dynamic Forms" in Programming with LiveCycle ES.)
    4 The mortgage form is rendered with customer data located in some of the fields, such as the address field. This action is based on the Forms service's renderPDFForm operation.
    The Java servlet receives the form (return value for the process) and writes the form to a client web browser. The name of the output parameter is RenderedForm. This parameter is a process variable and its data type is FormsResult.
    Note: In the Java application logic located in the Java servlet that invokes this process, the RenderedForm process variable is referenced.
    This interactive loan form is rendered by the GetMortgageForm process (see Figure 3).
    Figure 3. An interactive form.
    Note: This document describes how to use the Invocation API to invoke a LiveCycle ES process. It is recommended that you are familiar with the Invocation API before you follow along with this document. (See "Invoking LiveCycle ES Processes" in Programming with LiveCycle ES.)
    Summary of steps
    To create a Java servlet that invokes a LiveCycle ES process, perform the following steps:
    1. Create a new web project.
    2. Create Java application logic that represents the Java servlet.
    3. Create the web page for the web application.
    4. Package the web application to a WAR file.
    5. Deploy the WAR file to the J2EE application server.
    6. Test your web application.
    Note: Some of these steps depend on the J2EE application on which LiveCycle ES is deployed. For example, the method you use to deploy a WAR file depends on the J2EE application server that you are using. This document assumes that LiveCycle ES is deployed on JBoss®.
    Creating a web project
    The first step to create a Java servlet that can invoke a LiveCycle ES process is to create a new web project. The Java IDE that this document is based on is Eclipse 3.3. Using the Eclipse IDE, create a web project and add the required JAR files to your project. Finally, add an HTML page named index.html and a Java servlet to your project.
    The following list specifies the JAR files that you must add to your web project:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    For the location of these JAR files, see "Including LiveCycle ES Java library files" in Programming with LiveCycle ES.
    Note: The adobe-forms-client.jar file is required because the process returns a FormsResult object, which is defined in this JAR file.
    To create a web project:
    1. Start Eclipse and click File > New Project.
    2. In the New Project dialog box, select Web > Dynamic Web Project.
    3. Type InvokeMortgageProcess for the name of your project and then click Finish.
    To add required JAR files to your project:
    1. From the Project

    Peter - Set the Source Used attribute of P42_FK1 to "Only,..." .
    Scott

  • HCM Process & Forms: Date & Time Stamp issue in Prev Comments Box

    Hi
    We implemented HCM Process and Forms and we are in EHP4.  We need user name, date and time stamp in each step for audit purpose.
    Form Process Example:
    Step1: Manager -> Initiates a Form for employee pay/position changes  (REQUEST)
    Step2: 1-Up Manager -> Approves a Form for employee pay/position changes (APPROVE)
    Step3: HR Admin -> Process a Form for employee pay/position changes (PROCESS)
    Process Overview: HR Admin can open a form once all steps are completed and they want to see all 3 steps date & stamp here.
    New Comments -> To enter user comments in each step. Used data type HRASR_CURRENT_NOTE
    Previous Comments-> To display prev. step / user's comments including user name, date & time. Used data type HRASR_PREVIOUS_NOTES.
    I tried all different property settings in the form. May be I am still missing some property settings here.
    Issue:  If user enters any comments in "New Comments" box then only date & time stamp is coming along with their comments in "Previous Comments" otherwise not showing anything, just blank in the Prev. Comments.  I added some code in form script in case no data in "New Comments" then default a value ":" . It is working fine for first step but not working the same for other 2 steps.
    Trying in different way:
    Creating 3 text fields in a form just for display purpose and modifying each field (data set) with some text (combination of user name, system date and time) at each stage/step in a BADI.
    Method: IF_HRASR00GEN_SERVICE~DO_OPERATIONS
    Here it is updating correctly for first step/stage (REQUEST) and other 2 fields are not updating accordingly. I did debug for each step and updating the data set correctly but finally not dispalying the valuse in a form except first field.
    Can someone please share your ideas or inputs.
    Appreciate your time & help!
    Thanks
    Hari

    Hi Sahir
    Thank you for your reply.
    As I explained in my post, user details with date & stamp are coming when user enters some comments otherwise it is blank., All users may not enter comments because it is not a "required".
    HR is needed this for audit purpose, just at end of the process they need to see all user names, date & stamp in the form. Forget about comment boxes, Can't we make just simple text fields with user details for each step (all 3 stages)?
    FYI:
    Issue:  If user enters any comments in "New Comments" box then only date & time stamp is coming along with their comments in "Previous Comments" otherwise not showing anything, just blank in the Prev. Comments.  I added some code in form script in case no data in "New Comments" then default a value ":" . It is working fine for first step but not working the same for other 2 steps.
    Appreciate your inputs !
    Thanks
    Hari

  • Lookup Field with a Lookup Query on Process Form in OIM 11gR2

    Does anyone know how to render a field on a process form so that when modifying the field for the resource a "Search and Select" window appears and allows the user to search for the value based on the lookup query defined for the field in Design Console? The lookup field has been defined as a lookup query through Design Console and tested by previewing the form in DC. When creating the Form through OIM System Administration the field is created as a Text Field, not a Lookup. Creating a new Field through OIM System Administration only allows you to create the field using a lookup code not using a lookup query. I've tried to remove / add the field in the UI (create sandbox, customize, etc.) and add it back as a Input LOV but it doesn't get added and the error in the logs say java.lang.RuntimeException: Input LOV is not supported for this attribute, please make this attribute searchable in order to drop this as an input LOV. The field is defined as searchable in the Form Designer in OIM System Administration. In fact I can't even add it back as an ADF Input Text Field w/ Label, I suspect I'll have to "Regenerate" the form to even get it back on the form. Any help is appreciated. Next step is to try to export the sandbox, massage and import.
    Thanks,
    Ryan

    Finally got an answer out of Oracle after trying to figure this out as well. Apparently Lookup Queries are not supported at all by the R2 Web UI. They indicate that according to product management this will not be fixed.

  • Unable to Modify Process form in Design Console

    Hi All,
    I am trying to add a new field to Remedy Process form. I fallowed these steps
    1. Created a new version of the form.
    2. selected the new version.
    3. added a new field and saved the form.
    I didnot activate the form. When I close and open the form the newly added field is not showing up.
    I looked in the log and I did not find any errors.
    Any suggestions why this is happening.
    Thanks

    When you close & open up the form again it might not always show you the version you created. Did you confirmed it ? ? If its still not working then try activating the form once , check it and revert to older version. It should work although.

  • Smart forms background logo

    Hi
    Please clarify me regarding smart forms background logo. I'm trying to migrate sap script into smart forms, for the background logo in smart form is it required to write ABAP code, please let me know?
    2) Is it possible for background pictures in script? Is there any document regarding logo/pictures in sap script or smartforms? is there standard forms like purchase order etc., in smart forms? Please correct me If i'm wrong...
    Regards
    sree reddy

    Hi
    Background LOGOS are possible only in smartforms not in Scripts
    see the logo printing for Scripts and Smartforms and the important smartforms and scripts with their programs
                   SAP SCRIPT
    To create a logo in SAP printouts just do the following
    1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
    2. Run  program RSTXLDMC and enter the following parameters
       Enter file name                     C:\COMPLOGO.TIF
       UOM                           CM
        Line width for text                132
        Text name                     ZHEX-MACRO-COMPLOGO
        Text ID                          ST
        Text language = E
        Number of Tiff gray levels (2,4,9) 2
    3.  Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally in the text element, mention
            /: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
    Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!
    You will not be able to see the logo in a test print. The same will be printed in actual printout.
                          SMARTFORM
    1)     In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and   position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) Use  TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server
    SD
    SALES ORDER/ENQUIRY/QUOTATION
    Output type         : BA00
    ScriptForm Name     : RVORDER01
    Driver Program Name : RVADOR01
    smartform name
    DELIVERY NOTE
    Output type         : LD00
    ScriptForm Name     : RVDELNOTE
    Driver Program Name : RVADDN01
    smartform name      : LE_SHP_DELNOTE
    Smartform Driver Pgm: RLE_DELNOTE
    INVOICE
    Output type         : RD00
    ScriptForm Name     : RVINVOICE01
    Driver Program Name : RVADIN01
    smartform name      : LB_BIL_INVOICE
    Smartform Driver Pgm: RLB_INVOICE
    MM
    PUCHASE ORDER/RFQ/CONTRACT
    Output type         : NEU
    ScriptForm Name     : MEDRUCK
    Driver Program Name : SAPMF06P
    smartform name      : /SMB40/MMPO_L
    smartform driver program: /SMB40/FM06P
    GOODS RECEIPT
    Output type         : WE01
    ScriptForm Name     : WESCHEINVERS1
    smartform name      : /SMB40/MMGR1_A
    smartform driver program: /SMB40/M07DR
    GOODS ISSUE
    Output type         : WA01
    ScriptForm Name     : WA_SCHEINVERS1
    smartform name      : /SMB40/MMGI1_A
    smartform driver program: /SMB40/M07DR
    FI Forms
    Account Statement   : F140_ACC_STAT_01
    Cheque Printing     : F110_PRENUM_CHEK
    Balance Confirmation: F130_confirm_01
    Dunning Form:         F150_DUNN_01
    check the link below it provides steps to convert sap scripts to smartforms
    http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
    SMARTFORMS -Driver Program
    PO: /SMB40/FM06P
    SO: /SMB40/RVADOR01
    GR: /SMB40/M07DR
    Reward if useful
    regards
    Anji

Maybe you are looking for

  • I am getting ORA-01008:not all variables bound error

    Hi all, i am getting ORA-01008:not all variables bound error while executing the following code... Could any one help me to find out the problem...i am very new to ODP.net and Oracle .. I am using VC++.net for run this code. Here is the code..... #in

  • Why is the new version asking 4 times for my password upon launch?

    MacOS 10.10.1 iTunes 12.0.1.26 Since the last update each time that I am launching iTunes, I get the login window asking me 4 times to input my Apple ID password. Can this be disabled somewhere?

  • How to create paragraph box type format in screen painter?

    Hi Experts, I am designing a screen and stuck where, I have to create a field name "REMARKS" which will show the input/output text box in Paragraph format. I want a textbox which can show the input values write by user as remarks upto 250 characters.

  • HRESULT = 0x88780078 no driver. How to resolve it

    my pc sound device get grey whenever i try to access it and i always update driver after that it start working when i run dxdiag i received this error HRESULT = 0x88780078 no driver. How to resolve it..??? electrifying

  • HT1433 connecting hp 4000 n printer to mac os x 10.6.8

    I recently acquired a HP Laserjet 4000 N printer and I cannot seem to figure out how to print. I have connected the printer to my Imac via an ethernet connection but the computer still does not seem to recognize the printer. Can somebody help walk me