Process and Forms - Issue with Method which Uses Imported Form Values

We are doing a project to implement ESS and MSS. Using Adobe Process and Forms we generated a process with form and workflow.
The workflow's first step uses a version of TS17900110 task to move the form to the workflow container.
Binding:
export:
&FORM_STANDARD& @0E\QAssign Value@ @9T\QGets data for...@ &FORM&
'USER_ID' @0E\QAssign Value@ @9T\QGets data for...@ &FORM_FIELD_NAME_1&
'PERNR' @0E\QAssign Value@ @9T\QGets data for...@ &FORM_FIELD_NAME_2&
'AWART' @0E\QAssign Value@ @9T\QGets data for...@ &FORM_FIELD_NAME_3&
Binding
import:
&EMPL_USERID.OBJID& @9S\QReceives data from...@ @0D\QAssign Value@ &FORM_FIELD_VALUE_1&
&PERNR& @9S\QReceives data from...@ @0D\QAssign Value@ &FORM_FIELD_VALUE_2&
&AWART& @9S\QReceives data from...@ @0D\QAssign Value@ &FORM_FIELD_VALUE_3&
The workflow is bringing values for: EMPL_USERID, PERNR, AWART.
We need to write these field values to a table using a method.  We are using a custom task to do this.
The task triggers a method which calls a FM which makes the update to the table.
The step with the custom task is a foreground step which the workflow stops for so we can test execute it.
When we execute there is a breakpoint in the ABAP code which stopps us at the point where the values are being read.
We are trying to read values:  'USER_ID', 'PERNR', and 'AWART' but the debugger is not showing any values being brought in.
The binding we currently have for the step we feel is the problem:
This is all we have in there so far - NEED suggestions/advice:
Binding export:
&ZABSREQ&     @0E\QAssign Value@     @9T\QGets data for...@     &_WI_OBJECT_ID&
(&ZABSREQ& - This is a BOR)
Any information is appreciated.
alicia.morante at gmail.com
alicia.morante at us.army.mil
Edited by: Alicia Morante on Jan 23, 2012 8:43 PM

We were very anxious to solve this issue.
While I was posting my counterpart realized that we did not have target containers setup to receive the values from the workflow.
Once those were set the values were able to be read from the FM.
Here's the binding updated to:
&EMPL_NUM&     @0E\QAssign Value@     @9T\QGets data for...@     &EMPL_NUM&
&SUBTYPE&     @0E\QAssign Value@     @9T\QGets data for...@     &SUBTYPE&
Still gave you some points for helping - Thank you.

Similar Messages

  • Infotype 0000 Creation using HCM Processes and forms in MSS

    Hi,
    I need to create an Action for Transfer an employee using HCM Processes and Forms. So, my form should update infotype 0000, 0001, 0008 etc.
    But when I provide create operation for infotype 0000, system is throwing short dump. When I change the operation to change nothing was creating in infotype 0000 for that respective employee. Is there any way to update infotype 0000 using HCM Processes and forms. Please help me here.
    Thanks & Regards,
    Nayani.

    Hi Chris,
    Thanks for your reply mate.
    I understand that for IT0000 update we don't have to configure it explicitly.We just assign values to MASSG and MASSN and IT0000 should update. I am doing exactly that.
    For the "condition" we do have multiple rules for that and I am familiar about the trickthat the rule fields must be part of the SAP_PA service which is actually making the update. That's all in place and that's working fine.
    Now coming to the problem -
    The "action" is "Return from Career Break" where the only PA infotype that has to be updated is IT0000. Besides that we are updating Absences,IT2001.
    I have tested the process thoroughly and it seems that the system does not allow an IT0000 update without any other PA data change. To test this, I added a PA infotype update in my config and at that time IT0000 got updated beautifully. But when I am trying to update only IT0000, it fails.
    To solve the issue, I had a discussion with my team and we have decided to copy IT0001 along with IT0000. So as of now, we have sorted out a workaround but the technical issue is something I would like to look into.
    If you figure out anything then please let me know.
    Appreciate your help.
    Thanks,
    Saikat

  • Workflow issue in HCM Process and Forms

    Hi,
    I have created one  workflow for HCM Process and form ( Termination) . In that workflow, there are Two levels. First and second level is approved by the respective managers. I am using the Standard TASK TS17900100  both levels having the  Send,  "BACK TO AUTHOR" option.
    When I initiate the form it has generated the process reference number, it went to first level approval  and the respective manger received work item in his UWL inbox  in this stage I have checked in backend (PA20)  infotypes( 0 & 1) are updating automatically and employee has been terminated without approval of work item.
    I have checked in workflow log the work item has with first level manger only.
    any one please help me on this.
    Regards,
    Srujan

    Hi,
    TS17900101 uses --> CL_HRASR00_WF_COMPONENTS / Method WI_EXECUTION_VIA_R3_INBOX.
    In the text of the method you can read the following:
    It is only allowed to trigger a WI via UWL which does not execute
    that method which was customized at the corresponding task (so this
    method). To ensure this if the WI was startet via R3 Inbox then
    exactly this method is called to present an error.
    So, are you approving from UWL or SBWP?
    Regards,

  • How to use buttons in hcm process and forms?

    Hi Experts,
    I want to know how to use buttons in HCM process and form.
    And when i click on the button it was validating all the fields and it was throwing an error ( complete SACHP fields) i am not using this filed in any where of my form.
    So, please help in getting out of this error. And help me with some document, which method will  trigger once we click on the button.
    Thanks & Regards,
    Rocky

    You do not need to add this field to your list. In the view V_T588MFPROPS (SAP delivered), this field is set as mandatory. In configuration, you must maintain the view V_T588MFPROPC (Customer area) and make sure the field is not set to mandatory. This will override the SAP delivered setting and the error message will be not be displayed.
    Derrick Banks
    Banks & Company, LLC

  • HCM Process and Forms - Create and End record using the same form scenario

    Hi All,
    I have the following requirement while using HCM Processes and Forms: Using one form/scenario I need to both create a record or be able to end a record for infotype 841. When looking at the back-end service SAP_PA I have operations Create, Change, Change without delimiting and Delete. My requirement would be to do both a create and a delete I guess, but these two can't be selected at the same time while configuring the form scenario.
    I was thinking about doing somethign with the startdate and enddate instead of using the effective date. But I have no clue how to do that.
    How would this be possible?
    Thanks,
    J

    You are correct in assuming that you cannot have a create and delete on the same infotype. The config will not allow it.  Instead, configure the create and then do the delete via a call to you own method in the workflow or via the advanced generic service
    Cheers
    Ian

  • HCM Process and Forms - Changes to Form Issue

    We have a scenario within HCM processes and forms where the changes being made by an intermediate approval step is not being sent to the next level approver.  For example, in a pay change the initiating manager sends the pay change to his/her boss for approval, then once approved the form is sent to HR for final approval and update into R/3.
    In this scenario the initiating manager starts the process and makes appropriate updates to the form (including comments).  This then routes to that manager's manager for updates/approval.  When processing the form, the approving manager can see the information input by the initiating manager.  The approving manager then has the opportunity to make appropriate changes within the form and add comments before it is approved and sent to HR for final approval.
    Once the approving manager makes changes and sends this to HR, when HR processes the form they see the changes as if it was sent by initiating manager (HR does not see the changes made by the approving manager).
    I appreciate any insight you may have on this issue.
    Regards,
    Brad

    Sounds like you process is designed incorrectly and your are having problems with your process object integrity. You need to be careful with loops/branches when designing your process. Are you doing it all in the same Form Scenario and just using multiple steps? The form scenario will "share" the "data" hence you can have issues. You can split it to a differnt form scenario and pass the data over from the other FS to your FS. Then you know you will have your own data there. I often see people trying to do their whole process within one form scenario and use multiple steps without realizing the data integrity issues with that.
    Hope this helps.

  • Save and submit issues with nested/expanding form

    I've built two forms in designer (Form_B and Form_C, we'll say) which use scripted repeating subforms to accomodate a range of inputs without presenting the user with piles of fields. I need both of them to correctly maintain their state when saved and re-opened, and transmit the data I need through acrobat.com distribution.
    Form B currently doesn't save and re-open correctly:
         There are two levels of repetition, Areas and Categories. There can be one or more Areas, and each Area has one or more Categories. If I open the form (in Acrobat Pro) and fill it out with 2 areas, each area having 2 categories, when i save and re-open the file the second Area is gone, and the first Area has 4 categories.
    Form C has many fields (up to 1500+) but I only need a fraction of them to be submited
         On the assumption that the settings in the "binding" pallet would controll this for me, I made a script to unbind all the unnnessisary fields pre-submit, and reverse the changes post-submit. When I test this, the fields still save and submit despite being set fieldName.bind.match = "none". I would also like to temporarily re-name the submitted fields so they come through with unique names. I have a script to do this, and I tested it by running the script (confirming that they changed by looking at the mouse-over tooltip) and saving the form in that state. The form will open back up with the old(unchanged) names and those fields have lost other layout settings.
    On both forms, all fields and subforms are normally set to binding = "normal", or fieldName.bind.match = "once"
    I currently have no external data bindings (the data view pallet is blank.)
    Any thoughts on why fields whos binding = "none" would still submit/save?
    Or why repeating subforms with binding = "normal" would get lost in a save?
    Is originalFieldName.name = "newName" somehow not sufficient to change how that fieldname gets saved in the data? (despite the apparent name change)
    I've searched all the resources I know for any useful idea on this one, and came up blank. Any help or suggestions would be much appreciated.
    <<<<<   don't rule out "It shouldn't do that, it must be buggy."  I'm starting to lean that way pretty heavily on a couple counts.  >>>>>>
    If anyone would like to see the files in question,  please send me an email at  manager<at>rocklight<dot>net and I'll get a copy of each off to you first thing in the morning.

    I've found a partial answer for the Form_B issue. (areas and categories not saving correctly):
    It looks like another case of this - http://forums.adobe.com/message/1358727#340913
    but for subforms.
    In order to keep my naming consistent, I had every repeating subform at every level called "fields" and within that a subform called "content" etc. (See attached image) It looks like when the file is re-opened, acrobat/reader is finding the First node named "fields" to apply the saved information to, rather than the correct one. When i renamed the subforms to "AreaFields" and "CatFields" it seems to have solved the problem. (It's still giveing me extra categories, but i think more re-naming is going to solve that too.
    Still looking for a solution to the submission problem: how to only submit some of the fields in a form.
    (yeah, the nesting is rediculous, I know, but it was necisary for some formatting elements.)

  • After closing Firefox to use IE8 or any other program, everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU). Then, and only then, does everything behave normally. W

    After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have closed before). Then, and only then, does everything behave normally. What is going on and what am I doing wrong or missing??
    == This happened ==
    Every time Firefox opened
    == about a couple months ago and happens every time I close Firefox.

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: '''[http://kb.mozillazine.org/Kill_application Kill Application]'''
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    '''[[Firefox hangs]]'''
    '''[http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit (Mozillazine article)]'''
    '''[[Firefox is already running but is not responding]]'''
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox SafeMode is a diagnostic mode that disables extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes before starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You have to close and restart Firefox after each change via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your ver. 1.6.0.19; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • Change of Position in MSS with Process and Forms

    Hi,
    I'm trying to create authorizations for a change of position in Process and Forms, but every time that I choose a new position to the employee I get the error, No authorization, with this details:
    No authorization
    Message no. 5A277
    Diagnosis
    You are not authorized to perform this activity.
    System Response
    The system cancels the activity you have tried to perform.
    Procedure
    If necessary, you can maintain missing authorizations in Customizing. Please remember that both the standard authorizations and the structural authorizations are checked.
    I have managed to change the position and create positions in SAP with t-code PPOME, but in the MSS Portal it doesn't work.
    I use authorization with context ( S_ORIGINCON ) with a FM in the structural profile that returns my objects ( O, S, P ). I also have personnel planning authorization ( PLOG ) for the returned objects.
    Any help to overcome this problem will be greatly appreciated.
    Regards,
    Diogo Silva.

    Hi there,
    We stop using SAP code to manipulate the infotype 0001, and started using our own code throw generic services I guess (Not my part of the project).
    The problem was that in a change of position for a new created position or even for an existing position there was a need for access to the default position OBJID='99999999'. That's why when you give authorization for object OTYPE=' ' and OBJID = ' ' you will not get an error, because it gives authorization for all objects, witch defeats the purpose of security.
    If you debug the functions used by the portal (MSS or ESS) you will see that in some FM on the call stack there is passed a flag that controls wether or not there is a authorization check for that default position.
    Basically ww stop using the SAP code, and started calling this FM (BAPI, etc) ourselves, and them we manipulated that flag so that we could circumvent the error.
    I hope it was clear, sorry if it was not, truth be told it was a long time since I finish that project.
    If you need anymore help just let me know.
    Regards,
    Diogo Silva.

  • Use of BADI in HCM Processes and Forms

    Hello Friend's,
                I am feeling trouble in learning HCM Processes and Forms.. Actually i dont know what is the role of BADI in HCM Processes and Forms. one more thing i need to know is OPERATION for backend service. What is the use of operation and how i can trigger the badi methods when running in portal.

    Hi Ramesh,
    Hope this is not too late to help.
    Do_operation will be called whenever there is roundtrip, by triggering event USER_EVENT_CHECK using form scripting.
    example,
    To trigger roundtrip for a drop down list, under exit* event add this
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "USER_EVENT_CHECK";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    regards,
    Xiang Li

  • Creating a new position and updating IT 1028 using HCM processes and forms

    I have to create a new position and update the related infotypes using the design time framework of HCM processes and forms. The problem I am facing is the info type 1028 is not a part of the de coupled infotype framework and does not appear in the service fields list. How can I update the infotype 1028? I was thinking of updating it using the FLUSH method of the class implementing the ADV services interface IF_HRASR00GEN_SERVICE_ADVANCED by calling the function module RH_INSERT_INFTY. But, how do I get the position ID created? Is there any other way of achieving this? Please help as soon as possible.

    HI
    Create one Function Module to return all the vacant positions and load that in a drop down.
    For IT1028 you have to update via the RH_INSERT_INFTY.
    Kind Regards,
    Mukesh

  • HCM Process and Forms - Authorization issue

    Hi Experts,
    I have to developed one HCM process and forms for leave request. Workflow is assigned to the form. When I test the Process with in the R/3 using Txn 'HRASR_TEST_PROCESS' I got the Error,  Work Item Not Found; Workflow Not Started" and "Process Object Not Created".
    Then I tested the same Process with the user who is having SAP_ALL role and now the workflow is triggered and can able to see the work item in the portal UWL. With SAP_ALL everything was fine.
    But my client will not give SAP_ALL role to all users. So I need to find, what are the roles and authorization objects need to execute the HCM process and forms.
    I checked the Help documentation, and I found P_ASRCONT is needed for HCM forms and process. So I assigned to the user but still, the forms getting error.
    Thanks,
    Helps will be highly appreciated.

    Thanks for your reply.
    Transactions su53,st01 and st05 didn't help.
    Any tables or specific transaction for HCM process and forms will be helpful.
    Thanks.

  • Workflow issue in HR Process and Forms

    Hi Experts,
    I am new to HR process and Forms.
    I am facing workflow issue in "change of position" process.
    The process is not going from manager to HR admin.
    Can anybody help me out on this.
    Thanks in advance
    Regards
    Rahul

    Hi Sahir,
    Thanks for your quick response.
    I checked in swi1  but it is showing "no entry exists"
    I have done all basic settings using PFTC and OOCU_RESP tcode but still it is not working.
    is there any other customizing that is needful??
    Regards
    Rahul

  • Use HCM processes and Forms without using the Enterprise Portal

    is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
    1) Create an Adobe form and Interface using SFP
    2) Set up ISR and Form Scenario
    3) Set up Forms configuration to use existing Backend and generic Services
    4) Set up workflow to updated Backend using Services
    is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
    Any ideas will be greatly appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
    The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
    In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
    Best Regards
    Michael Bonrat - Solution Manager HCM Processes and Forms
    Info about HCM Processes and Forms:
    www.service.sap.com/erp: 
    - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

Maybe you are looking for

  • How to back up files from a MacBook to an XP PC

    Hi I am a non-professional but reasonably competent PC fixer for friends and family, within the MS Windows product set thus far. A friend's son has dropped his MacBook and now has the '?' question mark on boot.  He has taken it to an Apple Genius, wh

  • Only first line in a internal tabel should appear in output

    Hi, I have a requirement. I loop at an internal table and that tabl (list_selected_records) records.   Loop at list_of_selected_nodes into wa_selected_nodes.     node = wa_selected_nodes-node_id.     node_level = wa_selected_nodes-node_level.     rea

  • How do you view original CRM billing document from R3

    We have sales orders and billing now in CRM. We have a requirement to link the accounting document to the billing document in CRM. Does anyone know if there is a standard function module to get the document flow or link to the CRM document?

  • Passing Substitution Variable

    Hi Everyone, I'm trying to pass a substitution variable that contains a where clause from TEST2_PROC to TEST1_PROC, but all records are selected by TEST1_PROC as though the variable is ignored even though it contains the correct syntax. Code below. A

  • CRMXIF_PRODUCT_MATERIAL_SAVE - update Product Category

    Hello, i'm trying to update, in CRM, the Product  Category using bapi CRMXIF_PRODUCT_MATERIAL_SAVE. Can anyone help me to use this function? Thank