2011 Jan 24 1:46 PM
Hi,
My problem statement is like this:
Both CRM and ECC teams are working on a requirement. ECC has a report program which calls a function module in CRM. If sy-subrc = 0, then control proceeds further.
K1D and K1A are development and test systems in CRM.
KLD and F6A are development and test systems in ECC.
So K1D and KLD are linked together. Similarly K1A and F6A are linked together.
The issue is, when ECC team executes the report program in KLD, CRM FM returns sy-subrc 0. But if they execute the same report program in F6A, CRM FM returns sy-subrc 2. Strange thing is if I test the FM independently in CRM for the same test data in K1A, value of sy-subrc is 0.
Versions of both the programs are same across all systems.
Any pointers on this will be highly helpful.
Regards,
Narendra
2011 Jan 24 2:43 PM
Dear Narendra,
Seems to me this is an authorization problem: did you check that already? Just look at the autorization roles of the ECC user in the different systems and cross-check it against your own user (apparantly, the necessary roles have been assigned to your user, but the ECC team user does not have the necessary roles).
Best regards,
Guus
Edited by: Guus Jansen on Jan 24, 2011 3:51 PM
Hi,
My problem statement is like this:
Both CRM and ECC teams are working on a requirement. ECC has a report program which calls a function module in CRM. If sy-subrc = 0, then control proceeds further.
K1D and K1A are development and test systems in CRM.
KLD and F6A are development and test systems in ECC.
So K1D and KLD are linked together. Similarly K1A and F6A are linked together.
The issue is, when ECC team executes the report program in KLD, CRM FM returns sy-subrc 0. But if they execute the same report program in F6A, CRM FM returns sy-subrc 2. Strange thing is if I test the FM independently in CRM for the same test data in K1A, value of sy-subrc is 0.
Versions of both the programs are same across all systems.
Any pointers on this will be highly helpful.
Regards,
Narendra
2011 Jan 24 2:43 PM
Dear Narendra,
Seems to me this is an authorization problem: did you check that already? Just look at the autorization roles of the ECC user in the different systems and cross-check it against your own user (apparantly, the necessary roles have been assigned to your user, but the ECC team user does not have the necessary roles).
Best regards,
Guus
Edited by: Guus Jansen on Jan 24, 2011 3:51 PM
2011 Jan 25 5:54 AM
Hi Guus,
Thanks for your reply. I made authorization checks from CRM side, but not in ECC. I will now ask them to verify.
Hope this will resolve the issue.
Regards,
Narendra
2011 Dec 03 11:56 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |