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.
Similar Messages
-
Are update operations possible on form like on a report?
I have a form that I click a CREATE button to create a record with a new id.
Then after more information is entered in fields, I want to click a SAVE button to submit the information for the rest of the form fields to the database.
My problem is I receive an error. It says:
No updateable report found. Multi row updated and delete operations can only be performed on tabular forms of type 'Updateable Report'
I know that I don't have an updateable report. It is a form. But, I need to submit/save the information from the form after the initial create.
What do I do to save the information?
Thanks much,
MaggieIf you have a form, you need to make sure your fields have a source of "Database Column" and that you have found your fields to columns in your database by entering the column name into the source field.
Also, you need to use "Automatic Row Processing" instead of Multi-Row Updates and Deletes. Multi-Row operations will only work with Tabular Forms. You should have a hidden field for your primary key and an automatic fetch routine that runs when that field is not null so you can use your same form for edits. It might be easier for you to start over with the form wizard which puts all of this into place. If your more comfortable it might be easier to code the operations manually as PL/SQL Procedures on your page. -
HCM process and forms - form scenarios
Hi Experts,
Currently i am working on Process and Forms using FPM forms. I have already decoupled couple of infotypes. Is it possible to create a process for more than one infotypes(should we use 2 form scenarios) or should we create one process for each infotype?
Thanks in advance
Regards
PrakashHello Prakash,
There are several posts on this , you can review them before posting the queries.
You can have multiple infotypes within a from scenario.
Go through the post HCM Processes & Forms: Making sense of the new SAP tutorial using FPM by http://scn.sap.com/people/christopher.solomon , to understand the process config.
Hope this helps.
Regards,
Sahir. -
Issue in update of PA & PD data using same form scenario
Hi All,
We're in the process of implementing HCM PF. As per the requirement the form should be able to change PA, PSA, EG, ESG and Job of a position on PD & PA(of corresponding pernr) side. The process is started as a PA form (selection by pernr).
I'm able to change the PA, PSA, EG, ESG of the position attribute but whenever I change the Job it gets updated on the PD side but not the PA side (it still holds the previous job prior to effective date).
In my form scenario I have one PA & one PD service.
Any help will be appreciated and rewarded in resolving this issue.
Thanks,
Mani.
Edited by: mramamoorthy on Mar 14, 2011 7:01 PMHi,
Please check ur ISR Scenario,:
Goto-> Process Form Scenario for Personnel Admin. Infotypes (Service SAP_PA):
Define Operations:
0001->M change
Define Assignment of Fields:
Field Name Number Infotype Subtype Screen Structure Field Name Data Index
Job 1 0001 1 HCMT_BSP_PA_XX_R0001 Job 1
and do Synchronizing Form Fields.
Then Do->Check Consistency of Form Scenarios in IMG activity.
If you get green light then all configuration are correctly update.
Otherwise problem in configuration side.
Thanks -
Not able to Update the Infotype thro'HCM Process and Forms
Hi,
I have done the form and ran the test run in ECC, after completion of execution its not updating the form scenario infotype. Herewith mentioned the trace data ..
C Function Trace Record
Date : 27.08.2010
Time : 17:26:30 : 539,203
Work Process : 0
PID : 0
Client : XXX
User : XXXXX
Transaction : HRASR_DT
Transaction ID : 4C77C682885A4119E10000000A01DF1A
Action :Start of C Function
Function (Group) : rstscb_call_back
Parameters :
Duration : No Duration at Start of Action
Comment :
C Function Trace Record
Date : 27.08.2010
Time : 17:26:30 : 539,203
Work Process : 0
PID : 0
Client : XXX
User : XXXXX
Transaction : HRASR_DT
Transaction ID : 4C77C682885A4119E10000000A01DF1A
Action :Start of C Function
Function (Group) : rstswsf_was_stor
Parameters :
Duration : No Duration at Start of Action
Comment :
Kindly let me know the root cause of the error....
Thanks and Regards,
Santhosh Kumar RHi,
1. Do you Have Workflow.
If yes check in the apprroval or the last step (Processing step-HRAdmin) whether Send Variant is active .
to Update the Database this has to be active.
2. If there is no workflow then
check in the Tcode HRASR_DT at process level.
in Drop down for send variant is update the Application database .
Regards,
Nachy
Hope this helps -
HCM process & Forms - Need logic to handle the Error's when Infotype Update
Hi Experts,
Currently im working with HCM process and forms workflow's. I have ten HCM workflow's and everything is working fine.
Now the issue is, at the time of save, if there is any error like infotype lock or any other Master data error's, then the standard task responsible for save the data, returns the Status as Error.
Already the approval process for the request is carried out, and it can not be make it again. So I need to save the data without re execution of the process or without re-approval.
I searched in standard workflow also. There is no option to handle the Infotype update Error's.
So can any one give me some hint about this? Without the re-initiation i need to save the data's.
Thanks for your time and Suggestions.If you are using the framework to update specific infotypes and they are locked for "no apparent" reason you'll want to open an SAP message. I would highly discourage you from going down the path of calling that FM, from within workflow no less. Workflow in the framework was not intended to do such operations, this is supposed to be handled in the decoupled infotype framework (through configuration)... not to mention you won't be using the dec. infty framework by calling that function.
While I've had to do this before, it was because of a limitation in the framework not something as trivial as a locked infotype. Who knows, it might actually be locked for a legitimate reason?
Andy -
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 PMNot 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: 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 SousaA 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! -
ABAP HR How to create infotype with table control in it like Infotype 0008
Hi Experts.
I need help from u guys. My client requirement is to create custom infotype just like 0008 infotype which contain table control to save amount and wage types. I try to create infotype with table control using PM01, but that table control is in display mode only, i almost search every where to create custom infotype with table control but what ever threads in forum all are they unanswered and most of the threads for creating infotype. But i already done with infotype , but my main problem is table control.
If any one have some suggestion for this please share with me.
<removed by moderator> i am looking for positive reply.
Edited by: Thomas Zloch on Aug 30, 2011 12:54 PMHi
I've created several infotypes with a Table Control and it is always the same story. You have to create a custom Z table to store the Table Control data (if you can have unlimited records), so in the PSXXXX structure you need to add a TABNR field to link the PAXXXX table and the Z one, just like the type table OM infotypes.
Then in your code you have to control every possible operation, INS, MOD, DEL... and update the Z table accordingly (the standard code won't do that)
If your TC fields appear in display mode, take a look at the Groups 1 and 3 in your fields, the must be set with the usual values for a PA infotype.
If you have more questions, just ask,
Regards -
Non-Interactive PDF Form scenario without rthe need of ACF
Hello experts,
i have a question for you. I implemented Dynamic Non-Interactive PDF Form scenario and it works fine. But ... If some user wants to generate the PDF form it's necessary to install Active Component Framework on his computer. Problem is that some users doesn't have admin permissions on their PCs and they are not able to install ACF. Do you have any idea how to walk around the problem? For example generate and save the PDF somewhere on server side and then offer download link to end-user....
Thank you in advance for every reply!
Best regards,
ZbynekI use Adobe Reader 8.1.2 so I think the problem will be somewhere else.
There is written
Step-1: In NetWeaver Developer Studio (NWDS), set the "displayType"
property of your Interactive Form UI element to "native"
instead of "activex".
Step-2: Use the Web Dynpro specific controls from the "Web Dynpro
Native" library to design your interactive form.
Step-3: When the application is developed completly, build and deploy
the application on SAP J2ee engine.
Step-4: Run the application without having the ACF installed on the
browser machine.
in the note 1055911. But I think that we use some controls from other libraries than Web Dynpro Native (step 2). Do you think it could be the problem? The Web Dynpro Native library contains very reduced set of controls.
Regards,
Zbynek -
Log records for PA infotype updates
Hi folks,
I have a question related to the working of how the logs gets created when an infotype record is updated. Here is the scenario: I updated an action for an employee record in action infotype through PA40 and using an upload BDC program, the process took me through screens updating infotypes 0,1,2,7,8 and 19 to complete the action process.The changes are recorded in these tables. However when I checked to see the log records, a log record was created only for infotype 0. Also I did verify that all these infotypes are entered in V_t585A, V_t585b and v_t585C to create logs.
My question is: why the log records was not created for other infotypes inspite of defining these infotypes in the log maintainence tables? I am trying to understand this log creation process because most of our processes is directly dependant on it and poses problems .
Any kind of help is really appreciated.
Thanks in advance.
SKIt is a standard setting. The infotypes, their field groups and field group charcterstics are defined in V_T585A, V_T585B and V_T585C. I believe the end users are missing some process. Because it started to happen since a week or so. The same program was picking the records fine earlier and it has not changed.
I do not know what kind of process they follow. what changed now? Since I am the only SAP guy out here, got to find it out.
They are using PA30/PA40 to enroll and the web application. Both these records did not create the log data. The reocrds went through to SAP.
Could there be any step they might be missing?
Thanks for the quick reply,
SK -
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,
JYou 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 -
Coherence and WebLogic Operations Control
Has anybody tried using WebLogic Operations Control to control a Coherence cluster? I have seen demo screen shots of it working but I am having trouble setting this up myself. All the documentation is more around controlling a set of WebLogic servers so not much help really.
I can configure the controller to start a cache server on an agent but the controller cannot see that the cache has started so after about 5 minutes kills it and does a re-start.
What I would really like is a step-by-step guide or a copy of the controller and agent configuration files from someone who has had this working.
Cheers,
JK.Hi Jonathan,
We have a document we use for internal purposes that explains setting up a coherence service in WebLogic Operations Control (WLOC). This document is currently being edited for external use. The reason it is being edited is that it currently contains directories that match up with a preconfigured setup. If you give me your e-mail address I could send it to you in its current form. You will need to change the directories mentioned in it to match what you have in your environment. I can also send you the final metadata-config.xml that has the coherence service definition in it.
The edited version of the doc will shortly be available on the WLOC OTN site (http://www.oracle.com/appserver/weblogic/operations-control.html).
Thanks for your interest.
-Chinnappa -
I see that you can control which form is used based on security roles, but can you control it based on other field values? I'd like a new record to use a different form until a given status is updated. I have a status of draft and active. So
it would be nice if I could use form1 for those in draft, form2 for those that are active. But I only see where you can control that via the security roles.
I can code all of this via JavaScript, but having the ability to use two separate forms would be nice. Is that even possible.
Best regards,
Jon Gregory RothlanderHello,
Recheck following article - http://gonzaloruizcrm.blogspot.com/2014/11/avoiding-form-reload-when-switching-crm.html
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog -
Query Region Update Operation problem
Hi All,
I have one Query region in Oracle seeded page.
In Query region one table is there.
My Client Requirement is he wants to add one text input field in table. so that user can enter comments in text input field.
He also wants Update button as a Table Action and when he clicks on Update, this comments should get store into Database.
I want to know that Update operation is possible in Query region's table.because when i handle event in controller, it gives me Following Exception.
Logout
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
at oracle.apps.po.common.server.PoBaseAMImpl.executeServerCommand(PoBaseAMImpl.java:115)
at oracle.apps.po.autocreate.server.ReqLinesVOImpl.executeQueryForCollection(ReqLinesVOImpl.java:67)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:437)
at xxadat.oracle.apps.po.autocreate.webui.XXADATAttr15CO.processFormRequest(XXADATAttr15CO.java:73)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.layout.OARowLayoutBean.processFormRequest(OARowLayoutBean.java:366)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.beans.table.OAMultipleSelectionBean.processFormRequest(OAMultipleSelectionBean.java:481)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1042)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(OAAdvancedTableHelper.java:1671)
The page which i have cutomized is /oracle/apps/po/autocreate/webui/ReqSearchPG.
It is on R12.
Can anybody throw some points on this?
Regards
HiteshHi,
I got the problem,
It is a standard functionality of oracle that we can not update Requisitions which are approved.
My client requirement is that after approval of Requisition, he wants to update the Requisition.
I said that it is not possible in Forms as well as OAF.
The system will not allow to update Requisition once it is approved.
Regards
Hitesh
Maybe you are looking for
-
Connected to WiFi, but not loading in my house...
Can anyone help? Not sure what to do here... I am able to connect onto a network (shows the small blue icon in the top left of the itouch). But when I try to use the applications the following are errors that I have been receiving. Safari – safari ca
-
How to cancel syncronous I/O DLL-call?
We have an application with timeout set to 300seconds. If the application is terminated whilst a Send of Receive is in progress, the application is killed, but the NI driver remains active until the timeout is reached (and therefore blocks any furthe
-
How to get Follow on documents
Hi All, I need to find follow on documents for sales orders, e.g, I need to find all accounting documents created for a sales order. I know we have document numbers for Invoices and Credit Memos in VBFA but how do we link them to accounting tables li
-
How to convert generated mail into rfc-822 valid format
Hello everybody, for our customer we generate email addresses, for example [email protected] Regards Georg
-
hi kindly help out what can be problem. mostly at same time in evening it happens