2017 Jan 24 7:18 AM
Dear expert
I have used FM 'RH_RELATION_MAINTAIN' to delete 0008 relation between position and person in advance generic service , but i get runtime error:
'Screen output without connection to user'
is there way to execute the FM without connection to user
please advise
Regards
Ghadeer
2017 Jan 24 8:50 AM
you can't (or should not) delete a relation.
The correct way is to delimit an old relation and create the new one with BEGDA = delimit_date + 1.
Use fm RH_CUT_INFTY
2017 Jan 24 8:50 AM
you can't (or should not) delete a relation.
The correct way is to delimit an old relation and create the new one with BEGDA = delimit_date + 1.
Use fm RH_CUT_INFTY
2017 Jan 24 12:15 PM
Thanks Volker
I have copied the FM 'RH_RELATION_MAINTAIN' and change the parameter 'SUPPRESS_DIALOG' to 2 , its working fine and delete the relation between the position and person (pp01) , but the problem when i check PA30 the position still there in IT0001!
Please advice
2017 Jan 24 12:40 PM
You could use report RHINTE30 to transfer the changes you made in OM to PA infotypes.
Or extend your report to update infotype 0001 separately (HR_INFOTYPE_OPERATION, operation COP)
2017 Jan 25 1:48 PM
Thank you
I have tried to call RH_RELATION_MAINTAIN to 008 relation to position then i called 'HR_INFOTYPE_OPERATION' to copy new record in IT0001 for the same pernr ,but in PA30, new reocrd in IT0001 created but with old position even i also pass it in the record parameter of the FM !
So how can i copy IT0001 record with new position ?
Regards
2017 Jan 25 2:06 PM
first cut relation between old position and pernr (e.g. 01/01/2016 to 12/31/2016)
than create relation between new position and pernr (01/01/2017 to 12/31/9999)
than copy P0001 with new position and BEGDA = 01/01/2017
2017 Jan 25 5:10 PM
Dear Volker
Thank you
all work fine , i cut the old position and create new relation , then i copy P0001 with new position and new begda , but when i copy the P0001 record i got error 'POSITION_NOT_FOUND' ! even i have checked in the backed its add to the pernr !
Regards
2017 Jan 26 9:28 AM
check tables HRP1000 and HRP1001 if the new position/relation exist with the correct BEGDA/ENDDA
or try to copy P0001 manually and debug PAI modul what exactly causes the error
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |