Creating new record instead of update existing one in Bank application
HI Mate
Here is my issue and I want from ur help
Bank information iview---when i am doing "EDIT" option in that it will edit the bank details,But when i check the records in SAP HR system.it is creating extra record instead of replace that record with payroll date.
Could anyone please help me to fine the solution ASAP.as it is very import for me
Thanks
Keshari
Note 965324
Check your time contraints
As per the timeconstraint validation if you edit the record it is
changing this validity for the future and the gap is included. That is
the system standard behavior as per the configuration. To achieve the
desired behavior you need to create a new record or change
timeconstraint to 1 (but in this case only one record may exist at a
given period).
I kindly ask you to refer to note 818957 which explains the Use Cases x
Timeconstraint configuration.
ie
to achieve the functionality you have to create new future record.
Reason is you are using TC:3, in which gaps are allowed, but you dont
want gap in between.
When an employee wanted to change his/her bank details
via portal effective future date, system is
giving error as "Change in the payroll past not possible". This error
appears for the scenario as mention below :
1. Payroll is processed and Exited for the period 16th Dec 2010 to
31st Dec 2010 on 28th Dec 2010 (3 days in advance).
2. Employee wanted to change bank details on 29th Dec 2010 effective
1st Jan 2011 via ESS portal.
3. An error Change in the payroll past not possible" is shown while
saving the data.
In your case either you have to use TC:1, since you don't want gap in
between, or you have use new button to create future record.
Similar Messages
-
Creating new graphics object from a existing one and sending it for print
Hello,
i have a graphics object which is big in size, I am creating a new graphics object from the existing one as given below
//map is a graphic object
Graphic g1 = (Graphic)map.create(x,y,width,height);
Graphic g2 = (Graphic)map.create(x,y,width1,height1);
Graphic g3 = (Graphic)map.create(x,y,width2,height2);
arrayList.add(g1);
arrayList.add(g2);
arrayList.add(g3);
Now I want to send the graphic object g1,g2,g3 for print in the method
public int print (Graphics g, PageFormat pf, int idx) throws PrinterException {
// Printable's method implementation
if (curPageFormat != pf) {
curPageFormat = pf;
pages = repaginate (pf);
if (idx >= 3)) {
return Printable.NO_SUCH_PAGE;
g = (Graphics) arrayList.get(idx);
return Printable.PAGE_EXISTS;
This is not working... what is wrong. can anybody suggest..
I tried standardprint.java to print a object inside a scrollpane, it is not printing the entire diagram. so I am thinking of something like this.... Please let me know what to do....
Thanks
SerjThe easy way to do this is create a copy using Windows Explorer.
Open the project and go to File > Rename.
Then you have your 2013 ready made project.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Every time I click a link, it opens in a new tab instead of the existing one.
Whenever I left click on any link, Firefox opens the link in a new tab. Previously it would only open a link in a new tab if I either middle clicked, or right clicked and specifically selected 'Open Link in New Tab.'
This may be because the site is instructing the browser to open them in a new tab (I know, it's a big usability issue, but the web is still young...). Can you try it on other browsers and see what happens? If the same happens, yes, it's probably the site that's telling the browser to open the link in another tab.
If you want to eliminate that behavior, and be in full control of where the links open (middle click to open in new tab, left click to open in the same tab - as it ''should'' be), I suggest you install an extension like [https://addons.mozilla.org/en-us/firefox/addon/1122/ Tab Mix Plus], which, among other things (many things, it's an absolutely phenomenal extension) will let you configure "links that open in a new window" to open on the current tab. -
Creating new records while querying existing record
Hi,
I have one master - detail form.
First i created 1 record. Request ID is the primary key. Now request id generated. For ex.: 10
Request Id, date, requestor , location, status fields are in header block.
In lines block, i hv some other fields.. and one field called 'Activity'.
While creating first record, the activity will be 'New'.
Then i'll query the record '10'.
when i'm changing the activity 'New' into 'Upgrade', it should create new record with new request ID.
How to do this?
I hv written procedure that, i'm taking field values to local variables. Then assigning the local variable values to field values.
It is not creating as new record. It overwriting the existing record with new values. Existing record is missing.
Pl. give steps.
Thanks
KaviHi,
Okk, you will have to do two things. Create two trigger on block level on which you want to do your changes.
1. First trigger. (PRE-UPDATE)
In pre-update trigger u will have to write the complete insert statement into the same table with new req id. like
DECLARE
vReqNo DATA_TYPE;
BEGIN
SELECT MAX(REQ_ID)
INTO vReqNo
FROM your_table;
INSERT INTO your_table
(req_no, fields....)
VALUES
(vReqNo, :forms_values);
END;
2. Create 2nd trigger on block level (ON-UPDATE)
write in this trigger
NULL;
for viewing the inserted record. What u have to do is in ON-UPDATE after null; create one timer NO_REAPEAT.
and in timer u will have to set the block property to req_id = generated_req_id_from_pre_update_trigger and
execute_query;
hope it will work...
-Ammad -
I recently tried testing Server 2012 for installation and I had a major issue. Windows 8 also uses the same method for installation so this should also apply to Windows 8. I thought this might be helpful for other people who have the same
problem. My setup is a 1U server with no DVD drive, no hard drives, and only USB. I have a new hard drive that I wanted to install Server onto, so I put it in and ran the installer off a thumb drive. I kept receiving the following error when
I tried to format the hard drive and proceed with the installation:
"We couldn't create a new partition or locate an existing one. For more information, see the Setup log files."
After hours of troubleshooting, I determined my problem was I was using a thumb drive to install it, and Windows didn't like it. Some people had similar issues when similar devices were plugged in (i.e. external hard drives, SD cards, CF cards, etc).
In my case, it was the installation drive itself was a thumb drive. I ended up digging up an external DVD drive and placed the installation onto a DVD. Worked flawlessly. Now I am up and running.
I tried
the steps here to no avail.
Hope this helps anyone else with the same problems.Hi,
Thanks for sharing. We really appreciate your time and efforts. Hope your experience will help other community members facing similar problems.
Leo Huang
TechNet Community Support -
How to create new record with old values
Dear all
i have creation page with 45 fields are there
user will enter all the fields and save it will call to non editable mode
if user will click on change button it will call to editable mode
in that my requirement is user wont change among those ites(45 items)clcik on save again it will call to view mode
in that user will change any one of the value among 45 items and click on save button i need to create one more record in database
if user wont edit any one of the field out of 45 items i dont want to create new record in database
how can we achieve thsi functionality
Regards
SreekanthHi Srikant,
When user may edit the record, the same row may get updated in vo. Thus over writing existing row instead of creating new row.
Approach1..
On the page where user may edit records, instead of presenting records of existing row, present copy of existing row. So
In AM... (Later on you can put vo logic to its proper place, i.e. vo java file)
public void viewPageCallSetup()
Row originalRow=vo.createRow();
Row dummyRowForEdit=vo.createRow();
//COPY THE ORIGINAL ROW TO DUMMY ROW. IF THERE IS DIRECT METHOD TO CREATE COPY OF EXISTING ROW, THAT MAY BE MUCH BETTER.
for(int i=0;i<vo.getAttributeCount()-1; i++)
dummyRowForEdit.setAttribute(i, originalRow.getAttribute(i));
vo.insertRow(dummyRowForEdit);
vo.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(dummyRowForEdit);
call this method in contoller's processRequest..
string oid=pagecontext.getparameter("oid");
if(pageContext.getparameter("Purpose").equals("Edit")) //Means user clickED the edit button so we need to replicate the row
am. viewPageCallSetup(oid); //calling this method in am
else
In PFR...
if(pageContext.getparameter("Purpose").equals("Edit"))
am.xxcostedit(oid); //calling this method in am
in case user selects "Cancel" on edit form,we need to remove the duplicate row. So in AM write a method to remove the duplicate rowd on click of "Cancel" button on edit form.
Rest of the logic is same for "Save" button. Just say commit.
Abdul Wahid -
RH_INSERT_INFTY not creating new records
Hi All,
I am using the FM RH_INSERT_INFTY to insert new records in HRP1000.
See the below FM call :
CALL FUNCTION 'RH_INSERT_INFTY'
EXPORTING
fcode = 'INSE'
vtask = 'D'
order_flg = 'X'
commit_flg = 'X'
authy = 'X'
PPPAR_IMP =
OLD_TABNR = ' '
REPID = ' '
FORM = ' '
keep_lupd = keep_lupd
TABLES
innnn = it_i1000
EXCEPTIONS
no_authorization = 1
error_during_insert = 2
repid_form_initial = 3
corr_exit = 4
begda_greater_endda = 5
OTHERS = 6.
But instead of creating new records it is changing the existing record in HRP1000.
Actually I want to create new records with different long text and short text in different languages so in case object id and object type even the dates can be same but the language would be different.
So I need to create a new records with a different language key and different short text. But this function module is changing the existing object short text,long text and language.
Could you please reply at the earliest.
Thanks & Regards,
PoonamHi,
you're right, this function didn't create new record when i want to create a record with same object but have different language.
you can use this function for your problem : RH_INSERT_INFTY_DIRECT
i tried and it works.
CALL FUNCTION 'RH_INSERT_INFTY_DIRECT'
EXPORTING
vtask = 'V'
KEEP_LUPD =
tables
innnn = p1000
EXCEPTIONS
NO_AUTHORIZATION = 1
ERROR_DURING_INSERT = 2
REPID_FORM_INITIAL = 3
CORR_EXIT = 4
BEGDA_GREATER_ENDDA = 5
OTHERS = 6
Regards, -
I have imported all objects from an old access db (.adp file) into a new db (.accdb). All of my data lives in sql server so I have added all the tables and views to the .accdb as linked tables. My forms all connect to data, but I am having issues
with a sub form. The sub form does not allow for creation of children records tied to the parent record the way the old db did/does.
Correct - old format .adp file (notice the empty second record in sub-form with the defaulted date of today's date):
Incorrect - new .accdb file (notice the lack of empty second record in sub-form like above):
If I click the create new record icon in the bottom of the subform, it creates a completely blank record not tied to the parent record (fields blacked out in screen shots above). When using this button all parent record fields are blank.
I have also verified the child table used in the sub-form has a valid Fky relationship to parent table used in the parent form.
Have you checked each forms 'Filter' property (in Design view) to make sure they are blank and that each forms 'Filter On Load' property to make sure it is set to 'No'? Also, you might try inserting the following commands in each forms On
Open event:
DoCmd.RunCommand acCmdRemoveAllFilters
DoCmd.ShowAllRecords
If you can open each forms Record Source and they are showing that new records are able to be entered (the new record * is showing at the bottom of the recordset), then check each forms On Load and On Open events to make sure there is no filtering.
In addition, check any macro or VBA commands behind the button that opens the main form to make sure there is no SQL filtering in the DoCmd.OpenForm command.
If one of the forms Record Source does NOT allow new records, then you will need to change that Record Source so the new record * indicator shows.
Out of ideas at this point. -
Create new user same as a existing roles and Privileges
Hi Team,
I am a junior DBA. New user Joined in Application team. So, Client requested me.....
Crerate new user with same privileges as like as existing user.
As of now i am creating user like "create user username identified by "password". Then grant privileges to that user. earliar I never comapare or copied users.
Please suggest any one how to create new user as like as existing user roles and privileges.
Thanks,
VenkatFor basic cloning:
select dbms_metadata.get_ddl('USER', '...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('ROLE_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('OBJECT_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_granted_DDL(‘TABLESPACE_QUOTA’, ‘...’) FROM dual;
Then just replace the username with the new one you want to create. -
Dynamic Action-Delimiting a record and creating new record
Hi ,
My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
Iam able to delimit all records in the Subtype but , Iam not able to create new records.
My code for delimiting is as given below, in T588Z,
9901 2 06 801 P P9901-SUBTY='2'
9901 2 06 802 P PSYST-IOPER='MOD'
9901 2 06 803 P P9901-STATS='X'
9901 2 06 804 P P9901-PREAS='91'
9901 2 06 805 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 2 06 806 W P9901-ENDDA=RP50D-ZZDATE3
9901 2 06 807 I MOD,9901,3
9901 3 06 808 P SY-UCOMM='UPD'
9901 3 06 809 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 3 06 810 W P9901-ENDDA=RP50D-ZZDATE3
The above code is working fine.
My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
9901 3 06 811 P SY-UCOMM='UPD'
9901 3 06 812 P PSAVE-ENDDA<>P9901-ENDDA
9901 3 06 813 P P9901-STATS<>'X'
9901 3 06 814 I INS,9901,3
9901 3 06 815 F BEGIN_DATE(ZHSRAS_T588Z_9901)
9901 3 06 816 W P9901-BEGDA=RP50D-ZZDATE3
9901 3 06 817 W P9901-ENDDA='99991231'
Kindly help me on this.Hi shahana,
1. I have not worked on this dynamic action.
2. But instead of doing in 2 steps,
it is usually done in 1 step only, manually.
3. If we CREATE record from some date,
then the OLD will AUTOMATICALLY get Delimited.
(We don't have to do anything specially for delimiting
the old record)
regards,
amit m. -
How to clear the previous filter text when creating new record??
Dear All,
my question is i i created table having filter and sorting.
when i m searching data through filter text data is coming but i want to clear that text(filter text) when i am creating new record.
for my case when i am creating new record all blank field is coming but in that filter text box previous data is coming which one i was searching.
but i need when i will create a new record tat filter text should be clear.
Thanks
DambyDamby, please tell us your jdev version.
Check my blog http://tompeez.wordpress.com/2011/10/29/jdev-how-to-reset-a-filter-on-an-aftable/ you can add this to the button you use to create the new record.
Timo -
When I've worked on my private home-page and want to controll the results, how do I get my Mac to take the new version instead of the old one? I tried cmd R without any change! Who knows? Nina
Try clearing the cache - command-option-e in Safari.
-
Create condition record with reference to existing condition record
how to create condition record with reference to existing condition record?
Hi,
See this link :
http://help.sap.com/saphelp_47x200/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
You can create with reference with Tcode : VK14 (or VK34)
Or in VK12, you can copy condition records with copy rules.
Regards,
Lionel -
When creating new records in any entity getiing error in mscrm 2011
Dear all;
when i try to create new record in any entity for example opportunity i am getting this error
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Server was unable to process request.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147023878</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
/>
<Message>Server was unable to process request.</Message>
<Timestamp>2013-09-04T12:10:21.3522306Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
please helpHi Anwar,
As suggested above enable the trace, This would help you get the exact and detailed error.
Steps:-
1. Start the trace
2. Reproduce the Error
3. Stop the trace.
4. Look in the log file and search for error.
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
Adding New Customer Address to an Existing one
Adding New Customer Address to an Existing one
Hi
We have a lot customers set up in Oracle and they only have a
ship to address and now we would like to add the bill to address
to these customers. Since there are a lot of customers I was
wondering is there is an open interface we can use to that.
Thank you
alphaHi Chandu,
1.In Infospoke -> General tab -> DataSouce(here infobject - 0BPARTNER).
2. Destination tab -> choose radio button(DB Table or Flat file).
3. Goto tab infoobjects -> select required fields you want to send from left to right.
4. Give the selection accordingly(here i think PATRNER). But it should be available in your datasouce(Infoobject-0BPARTNER), if you want to give selection on this. I didnt understad what you mean of <b>"hide"</b> in your previous reply. If this is not available in your infoobject(OBPARTNER), How CAN YOU GIVE SELECTION ON THIS attribute...?
5. Try to add this field in Infoobject(0BPARTNER) and populate.
6. Trnasformation tab.
Here you can see Source Structure, Target Structure and Addin implementation.
Source Structure - system will generate according to the field you selected in InfoObjects tab(You cant change it).
Target Structure - You can define your own structure if you want or you can modify the generated structure. By default system generates Target Structure same as Source structure(if you want to add any more fields you can add here, but you have to populate those fields with your own coding in BAdi), Which is Addin implementation.
Srini
Message was edited by: Srini
Maybe you are looking for
-
Can't install Win 8.1 x64 on MBP - "can't update boot configuration"
I just upgraded my MBP's hard drive to a 1TB SSD and installed Yosemite as a new computer - not from back up. I wanted to BootCamp Windows 8.1 64 bit on about 250 GB of the SSD but I keep getting the error, "Windows could not update the computer's bo
-
Change the Apple ID to a new one without a password?
I'm working on a company Imac IOS10.10.3. A former employe made an Apple ID on this machine. How can I erase or change the Apple ID to a new one without a password? It's impossible now to update update certain apps like Imovie.
-
Premiere Pro 2014.2 is crashing
I have my MacPro I purchase in January of 2014 and never really had any crashing issues. Since the latest update to PPRO 2014.2 it is crashing allot. Like every hour. Also was able to render by HARDWARE RENDERING OPTION and had to switch to SOFTWARE
-
Wot should I do????
-
Hi All, I want to know from which table(s) I can get the details (about all entries) of documents for which G/R is completed and IV has not completed or vice versa along with quantity, value & dates. Do suggest. Regards,