on 05-25-2010 5:35 PM
Hi everyone,
I am creating a program to update T710. I am using the FM 'HRCM_SALARY_STRUCTURE_UPDATE' and it works beautifully with one minor issue. Whenever I want to update a record, it delimits. ie If a record exist in the db table T710 from 01/01/2010 to 31/12/9999 and I want to change the non-key fields (min, max and ref salaries) along with the endda (to say 31/12/2010), what I want is for one record to exist in the db table from 01/01/2010-31/12/2010 with my updated entries. However, the FM creates two records-one from 01/01/2010-31/12/2010 with my entries and the already existing db record now starting from 01/01/2011-31/12/9999. Is there any work-around for this? ie. is there anyway I could delete the second record being updated by the FM through my program? I have tried searching for FMs to delete but have been unsuccessful..
Any help will be deeply appreciated.
Regards,
Alpana.
We just ended up making an enhancement in the FM 'HRCM_SALARY_STRUCTURE_UPDATE' where only for our custom Tcode, the new line being created after the delimit would be deleted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While using the FM HRCM_SALARY_STRUCTURE_UPDATE try giving the DELIMIT_FLAG = X (export parameters)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The DELIMIT_FLAG is already X. The existing record in the db is from 01/01/2010 to 31/12/9999. I want to modify this to exist from 01/01/2010 to 31/12/2010. I pass a table with this entry in it and the DELIMIT_FLAG is X as inputs for my FM. However, the output is as follows:
one record which corresponds to my entries exists from 01/01/2010 to 31/12/2010. and another with corresponds to the db entries from 01/01/2011 to 31/12/9999. I do NOT want the presence of the second record ie, I only want one record in the db which corresponds to my entries and is valid from 01/01/2010 to 31/12/2010. How do I delete that second record or prevent it from being created in the first place using a program?
Thanks in advance.
Regards,
Alpana
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.