on 2008 Apr 28 5:20 PM
Hello All,
Can someone please help me to provide an info about creating relationships(IT1001) between PD objects.
I am trying to create a relationship B003 between Organizational unit(O) and Position(S) using the FM RH_RELATION_MAINTAIN. If an error encounters during the creation then the entire processing is blocked in Tcode:PP01. It does not return any exception or error. My problem is that I want to get the errors or exceptions in case of any failure.
In my case error occurred due to 2 reasons: 1) either Cost center of Organizatinal unit is blocked in cost center master
2) Cost center of Organizational Unit is no more valid.
I have used FM RH_INSERT_INFTY but it does not do any validations as specified above. It simply create a new record in IT1001. In cases specified above, this FM should have returned some error.
Is there any other FM or way wherein I can create relations with validations or it returns error.
Thanks,Amit
Request clarification before answering.
Hi,
Check for FMs
RH_INSERT_INFTY.
RH_CUT_INFTY_1001_EXT
RH_CUT_INFTY_1001_EXT_GENERIC
RH_DELETE_INFTY_1001_EXT
RH_DEL_INFTY_1001_EXT_GENERIC
RH_INSERT_INFTY_1001_EXT
RH_UPDATE_INFTY_1001_EXT
Regards,
Manoj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at cost center you are using in CSKS table. The validty to of the cost center might be over so you are seeing that error. It will work fine If you use a valid cost center.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using 'RH_INSERT_INFTY_1001_EXT'
CALL FUNCTION 'RH_INSERT_INFTY_1001_EXT'
EXPORTING
FCODE = 'INSE'
VTASK = 'D'
ORDER_FLG = 'X'
COMMIT_FLG = 'X'
AUTHY = 'X'
WORKF_ACTV = 'X'
TABLES
INNNN = ZHRP1001
ILFCODE = ZILFCODE
EXCEPTIONS
NO_AUTHORIZATION = 1
ERROR_DURING_INSERT = 2
RELATION_NOT_REVERSIBLE = 3
CORR_EXIT = 4.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
39 | |
7 | |
5 | |
5 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.