Problem in Forms Step in Workflow....

Hi Gurus,,,,,
I have created a simple workflow using a container element a form step and a mail step.
The action for the Form is Approve . I have made 1 field as  input and all others as output only and written the code inside the flow logic.
When executing the form I am able to see the initial from screen, but when I click on the  APPROVE button, the screen disappers and the details for the selected item are not coming. However, the mail is being sent.
please help....
Thanks in Advance......
Abhi..

When you press the approve button the form will disappear along with the details you  have provide. You have to fetch the details from binding from task to Workflow container.
I think you have to use Approve with query.
Thanks
Arghadip

Similar Messages

  • Problem in Form step-type

    Hi Experts,
    I am new to workflow and exploring various step-types of it. I am using FORM step-type in my workflow.
    The container element is of the type EKKO and action type is CHANGE.
    When i execute the WF by giving a PO number and make any changes in the output and click on save and exit, the changes that are made are not getting reflected in the EKKO table.
    Do i need a separate code for updating the table?
    Thanks in advance.
    Regards
    Balu

    Thanks for the suggestion Arghadip.
    I was going thru a blog on WF step-types, in which it was mentioned that after pressing SAVE AND EXIT button , the data gets saved in the required table from which the container element is created. Hence i thought that additional code is not necessary.
    Could u plz tel wher exactly the code needs to be written.
    Regards
    Balu

  • 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>

  • Regarding runtime error ehile execution of Mail step in workflow

    Hi all when i execute mail step in workflow i am getting following error-
    SQL error in the database when accesing a table.
    How to correct the error
       Database error text........: "SQL system error. MSGID= Job=038082/DEV05/WP02"
       Internal call code.........: "[RSQL/INSR/ARFCSDATA ]"
       Please check the entries in the system log (Transaction SM21).
       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:
       "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
       "SAPLARFC" or "LARFCU03"
       "END_TRANSACTION_NONE_LOCAL_UPD"
       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
    Please guide.
    Thanks.

    Hi Sanjay,
    Firstly are you using Send mail Activity or are u calling Fm SO_DOCUMENT_SEND_API1.
    Well  I suppose u are calling the FM, in that case just check the data that you are fetching before calling this FM. This error is related to sql query so check your select statements used before sending mail.
    Hope this helps.

  • How to link a custom ADF form to BPM workflow

    Hi All
    Hope you are doing well.
    I've a basic knowledge on BPM, but had to start off with a project.
    My scenario is as below.
    1. User A clicks on a task in his BPM Worklist which should trigger an email to the same guy with a link in it (which is an ADF form to create a new row in a db with some values)
    2. Now, A clicks on the link send to him on Email, which opens up an ADF form where he provides all the details, along with the reviewer name(say, B, typically his manager, but he has to provide it, not derived automatically using getManger()) and submit.
    3. Now, this action should trigger an Email to the reviewer that he has provided in the form(step 2) where he can either approve or reject, with comments.
    4. Once B approves, A has to get a notification email saying the row has been created.
    The row that gets created in a db is a WS operation (createProject(with all the details))
    I'm seriously confused in designing this requirement.
    If I start the workflow with a Initiator pattern, just a click on the task should send an email to himself...How can this be done?
    How do we get in the ADF form that is in a seperate prj in to this workflow?
    How do we capture the values from the ADF form in to the BPM workflow?
    Would some one throw some light on how do we capture this scenario
    Regards
    RaviKiran

    Hi Tom Daria,
    This should work in SharePoint workflow 2013 task form.
    You can follow the step in the article you provide to custom the task form page, I tested it with the step, it can successfully bind the custom form page to the task content type.
    In the form page approve button event, you can add the logic to redirect to another page. In the workflow, associate the workflow with the custom task content type that will use the custom task form.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Calling Transaction through User Decision step in workflow

    Hi all,
    Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
    Can you ppl let me know how can I achieve this?
    Pls reply ASAP...
    Thanks
    Sangharsh

    Hello Sangharsh ,
    Please Check the paramater of of the method which you define.
    e.g. I define CALL_TCODE_CJ03 method
          which have the parameters FLAG,ProjectDefinition,WBSElement2,User
          with export, import checkbox.            
    Pass the paratmeres in programs
    e.g.
    BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.                      
    DATA:                                                          
          FLAG(1),                                                        
          PROJECTDEFINITION TYPE PROJ-PSPID,                              
          WBSELEMENT2 TYPE PRPS-POSID,                                    
          USER TYPE USR21-BNAME.                                                                               
    SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.                
      SWC_GET_ELEMENT CONTAINER 'User' USER.                                                                               
    GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                                                                               
    SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                             
      CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.                                                                               
    SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.    SWC_SET_ELEMENT CONTAINER 'User' USER. 
    END_METHOD.
    I hope it will help you.
    ***Assigning points is the way to say thanks in SDN.***
    Minaxi Shah

  • Read Data's from the Form step type at run time

    Hi Experts,
    I have the 'Form' step type in my workflow and it will displays some values at the Run time. In this form I have one IO field called 'Comments'. So at the runtime manager can Enter the comments on it.
    Now my need is I need to get the 'Comments' data from that form. How can I get this value?
    Thanks in Advance,
    Helps will be Appreciated..

    I got the solution.
    Thanks All..

  • Problem with One-Step Approval of Contracts ws14000088

    Hi, I have a problem with the  One-Step Approval of Contracts ws14000088, the workflow can't find  approverat the task TS14007969
    regards
    Dayana

    Hi
    <b>Please go through these links, which will definitely help -></b>
    Which SRM version are you using ?
    Re: Problem with one step approval contract workflow
    Re: No Approver(s) Found
    Reminders for work item
    Re: How to add a new field to the notification mail
    Do let me know.
    Regards
    - Atul

  • Urgent : N-Step 14000109 workflow - Unable to identify Approvers

    Hi Gurus,
    We are using SRM 5.0. I'm trying to configure the N-Step over value limit workflow 14000109. I've made configuration for SLApprover and Spending and approval limits in the org structure. i've activated the workflow and has mentioned the start condition.
    To understand that this workflow is being triggered, i've just configured this workflow for one particular product category AK00 I.e. I didn't configure any workflow for any other product categories. When I Create shopping cart using AK00 category, and check the shopping cart i get no errors while i pick up any other product category it mentions that no workflow found. So this confirms me that N-step workflow is being triggered.
    but the issue is it doesn't identify the approvers. It builds a preview without mentioning who the approvers are.
    Could someone help me as to how to fix this problem. Is this anything related to Agents? I'm not sure as to how configure agents.
    Please help.
    Regards,
    Sam K

    Hi
    <b>Please try the following pointers, which will definitely help -></b>
    <u>
    Re: Sample Code needed for N-step approval SC BADI
    Problem with WF 14000109 Approval n-step over Value Limit
    Re: WF  14000109 Approval n-step over Value Limit
    Indentifying 'amount' based approvers in an N-step dollar approval process
    SRM Workflow Admin Task..
    Re: How to use workflow 'WS14000109'
    Re: SRM Approval error
    Workflow debugging
    <b>Other related links -></b>
    Re: Problem with one step approval contract workflow
    Re: No Approver(s) Found
    Reminders for work item
    Re: How to add a new field to the notification mail
    </u>
    Do let me know.
    Regards
    - Atul

  • Problem in triggering the correct workflow on  AdobeForm submission for PCR

    Hi All,
    I am facing a problem involving triggering of workflows through Adobe form submission. I have created a scenario for "Employee seperation" in QISRSCENARIO transaction and assigned it to an approval workflow. I have also activated and assigned the BUS7051-Created event in the workflow Basic Data. My workflow also triggers perfectly when i submit the adobe form. Everything is perfect till here.
    Now i have to create another scenario for "Request for Transfer" Now for this i had to create a seperate workflow. My problem is since both these workflows are assigned to the same event whenever i submit the "Employee seperation" form both the workflows get triggered. <b>Is there a setting where i can configure the corresponding workflow to be triggered for the respective scenario's alone?</b> How do we handle this situation?

    Hi Jocelyn/Raja,
    I am trying to use SWB_COND for differentiating between the different workflows. I have created a virtual attribute W_SCENARIO_KEY for this. I tried populating this scenario key by using the following staement,
    <b>
    CALL FUNCTION 'ISR_SPECIAL_DATA_GET'                       
      EXPORTING                                                
        notification_no                     =  object-key-number
    IMPORTING                                                 
        SCENARIO                            = w_scenario_key.  
      SWC_SET_ELEMENT CONTAINER 'W_SCENARIO_KEY' W_SCENARIO_KEY.</b>
    When i try to include W_SCENARIO_KEY as a start condition the workflow shows up an express message and fails to trigger. In ST22 i can see that there is an exception "INVALID_NOTIF_NUMBER" raised.
    But if i don't set this as a start condition all the workflows activated to BUS7051-CREATED are triggered and in the WF logs i can see the correct value of W_SCENARIO_KEY for the respective notification number.
    I am not sure why this happens when i set it as a start condition alone.
    I instead used a select statement as shown below,
    <b>select * from viqmel into table itab_VIQMEL          
                  where qmnum = object-key-number.       
    loop at itab_viqmel where qmnum = object-key-number. 
    w_scenario_key = itab_viqmel-auswirk.                
    endloop.</b>
    After inserting this statement it works fine without any issues. Any idea on why ISR_SPECIAL_DATA_GET cant be used in the virtual attribute implementation?
    The following is the dump i get if i use ISR_SPECIAL_DATA_GET,
    Information on where terminated                                                                 
        The termination occurred in the ABAP program "SAPLQISR9" in                                 
         "ISR_SPECIAL_DATA_GET".                                                                    
        The main program was "RSWDSTRT ".                                                                               
    The termination occurred in line 39 of the source code of the (Include)                     
         program "LQISR9U01"                                                                        
        of the source code of program "LQISR9U01" (when calling the editor 390).                                                                               
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    9 *"  EXCEPTIONS                                                                               
    10 *"      NO_INTERNAL_SERVICE_REQUEST                                                       
       11 *"      INVALID_NOTIF_NUMBER                                                              
       12 *"      INT_SERVICE_REQUEST_NOT_FOUND                                                     
       13 *"----
       14                                                                               
    15 * local data                                                                               
    16   DATA: lt_dummy TYPE qisrsgeneral_param.                                                 
       17                                                                               
    18   DATA: lr_isr_document TYPE REF TO cl_isr_xml_document.                                  
       19                                                                               
    20   DATA: ls_notif TYPE qmel.                                                               
       21                                                                               
    22 * MAIN                                                                               
    23 * try buffer first                                                                      
       24   CALL FUNCTION 'ISR_SPECIAL_DATA_BUFFER_GET'                                           
       25     IMPORTING                                                                               
    26       ET_SPECIAL_DATA       = special_data                                              
       27       ED_SCENARIO           = scenario                                                  
       28     EXCEPTIONS                                                                          
       29       BUFFER_EMPTY          = 1.                                                        
       30                                                                               
    31   IF sy-subrc eq 0.                                                                     
       32     EXIT.                                                                               
    33   ENDIF.                                                                               
    34                                                                               
    <b>   35 * check notification number                                                             
       36   SELECT SINGLE * FROM qmel INTO  ls_notif                                              
       37                             WHERE qmnum = notification_no.                              
       38   IF sy-subrc NE 0.                                                                     
    >>>>>     RAISE invalid_notif_number.                                                         
       40   ELSEIF ls_notif-auswirk IS INITIAL.                                                   
       41     RAISE no_internal_service_request.                                                  
       42   ENDIF.     </b>                                                                               
    43                                                                               
    44 * set scenario                                                                          
       45   scenario = ls_notif-auswirk.                                                          
       46                                                                               
    47 * read ISR XML document                                                                 
       48   CALL METHOD cl_isr_xml_document=>read_for_display                                     
       49     EXPORTING  id_notif_no         = notification_no                                    
       50     IMPORTING  er_isr_xml_document = lr_isr_document                                    
       51     EXCEPTIONS bds_error = 1.                                                           
       52                                                                               
    53   IF sy-subrc NE 0.                                                                     
    54     RAISE int_service_request_not_found.           
    55   ENDIF.                                           
    56                                                    
    57 * read data from XML document                      
    58   CALL METHOD lr_isr_document->get_data_from_xml

  • Problem with Decision step execution

    Hi Friends,
    I have a problem with executing a decision step. When I execute the decision using SAP_WAPI_DECISION_COMPLETE the workitem goes to completed state and doesn't do anything after that. But when I execute the same step from SBWP the subsequent steps gets executed and rest all works fine. I am sure there is a problem with Decision step . The task I am using is TS00008267. Is there a replacement for this step or is there something to do with feature ADVANCE WITH DIALOG or agents .I have agents in place. Please help.
    -Rajesh

    when I write the decision using FM , the WI is set to completed but
    I am not sending any status to workflow container from the task container
    . Is this the issue for workflow not able to continue !
    There is no necessity of sending any result back to the workitem container. In the decision step container , it contains a standard container element WIResult it will populated based, on the decision you took on the workitem (IF it is a Decisionworkitem).
    when I execute the FM to write the decision, the task ( generic decision task)
    is not getting executed.
    Can you pelase  let us know what is the return code, th function module is retruning back, once you try to execute the workitem  by using the FM, if it is other than zero then can you please let us know what is the message.
    , Before trying to execute the workitem can you please check whether the workitem is stored in the standard workitem header table SWWWIHEAD. as the above function module will validate the workitem from the header table.....

  • First Step in Workflow Verification

    Hi,
    I did the workflow configuration by using SWU3 successfully. For initial testing, i did Start Verification Workflow and i got the intial workitme in my SAP inbox. The i selected First step in Workflow Verification in my SAP inbox, but in the next sceen it was not displaying the Use Decision Steps (Immediatley and Later). It was showing blank screen. This is happening for all workflows (selected standard workflows for testing purpose). Initial workitem is displaying in my SAP inbox abd after executing nothing is displaying in the second screen. My understanding is becuase of authorization to execute the work item.
    If any one faces the same problem, please share with me.
    Regards,
    Steve

    Hi,
    Check your container object and see the Decisions are alloted are not?
    Standard Program - It will go to another user. it wont come to you.
    Regards,
    Nandha

  • New line formatting required in document template step in workflow

    Dear all,
             I use document template step in workflow.
             In the document template step ,I use MS-Word as document class.
             I have to populate all employee names in the word document whose probation expires on a particular date.
             When my workflow attains execution, all employee names appear in single line in the word document.
             I want each employee name to appear in one line i.e., in new line in the word document.
             Is there any ABAP data dictionary type for new line?
            Please suggest me a solution to this problem.
    Thanks and regards,
    S.Suresh

    Dear Raj!
              Thanks for your immediate response.
              I populate all employee names using custom method in the BOR zbus1065.All these employee names are inturn passed to multiline workflow container which in turn passed to word document.
              I did binding as following in the word document  of document template step:
    Following employee probation expires shortly
                         {&EMPLOYEENAME&}
              Though I am getting all employee names,all the employee names appear in single line.
               I want each employee name to appear in new line.
              Please suggest solution for which I will be grateful.
    Thanks and regards,
    S.Suresh

  • Interactive Forms objects in workflow

    Hi everbody,
    I'm currently trying to configure a workflow scenario with Interactive Forms by Adobe.
    My problem is to initiate a workflow object with interactive forms. From my understanding the object type "dynp_form" in workflow builder doesn't have to do with interactive forms. Which object type do I have to use?
    My next question is: can I use the predefined forms from SAP Forms Builder (SFP) in the workflow?
    I thought about ISR-Wizard to define a form in the QISRCONF. But this doesn't seem to work either.
    I have already configured the Adobe Document Services. The test program FP_PDF_TEST_00 works.
    I'm working on SAP NW '04s ECC6.
    Thanks for your replies,
    Olaf

    Hi,
    Welcome to Adobe Interactive Forms Development.
    Well to start with, you got two options to go ahead...
    Option-1 :
    Using ISR Based Adobe Interactive Forms Development, where we develop forms using SFP transaction and attach them to a scenario which is defined in QISRSCENARIO txn. To get a better understanding about this ISR/PCR's, check this one.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/54/957e40ec66ce62e10000000a155106/frameset.htm
    Option-2 :
    Using Web Dynpro based Adobe Interavtive Forms Development, where we design our Web Dynpro Application which has the Adobe Form. To have a better understanding of this development scenario, check this site.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c1151c55b33119e10000000a1553f7/frameset.htm
    Well coming to your Workflow related query, My suggestion is to refer the Standard PCR based Workflows WS50000031 & WS50000041.
    Yes, you can very much use the Standard forms in your custom workflows, for this you require to attach your workflow template number to the ISR Scenario.
    My replies are well understood only after refering to the above mentioned links.
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Hindi font problem in forms

    My aplication requires text input in hindi font by implemneting PJC.The pjc is working fine but the text box is not picking correct font from aplication server.I have deployed form on 9i AS.
    Please help.

    Hello All,
    Pls some one respond.
    Am i missing any steps to use unicode fonts in my app....or this is very common problem of forms and unicode fonts....or do i have to register the fonts in any other config files?
    One more info regarding fonts is required.....from where forms load the list of fonts in item property pallete and in layout font selection dropdown...? Since i m not getting same fonts in both the lists.
    Regards,
    Jinesh

Maybe you are looking for

  • How do I add text to a photo when making a calendar from iPhoto?  I see the text box for the dates but not for the actual photo...thanks.

    I can't find a way to add text to a photo once it's been put into the top pane of the calendar month...is there a way to do this since I'd like to add a descriptor to the photos?  I see the text box when you click on the calendar date, but don't find

  • Security project.. help needed

    hi friendz and gurus! i am doing a project on security and permissions i have planned to use passwords for that purpose and i have to use java! coz' i am a student and doing this for purpose of learning. can somebody implementat the encryption algo o

  • Need Urgent help with wl 7 client connecting to secure webservice

    Hi I am trying to connect from my ejb client in wl7.0 to a secure web service and I am getting the following error.. <Jun 10, 2004 10:09:54 AM CDT> <Debug> <TLS> <000000> <Exception during handshake, stack trace follows javax.net.ssl.SSLKeyException:

  • Issue Saving and Opening in Dreamweaver 8

    Hello, I am currently working with a group on web design and need help.  Whenever we try saving the pages we make as .html and re-open them, the frame(Top Nestled Left, Left Frame) we inserted and anything in the frames dissapear, even when multiple

  • Linkage and process flow for credit memo

    Hi Experts,    I am creating an outbound zfunction module for consignment settlement.Need to select frbnr,lifnr,budat,ebeln,werks,lgort,erfmg based on object key of nast table.Kindly please advise the flow and linkage of the fields for selection. Tha