Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Same exception handling not working across different systems

Former Member
0 Likes
785

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
755

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

3 REPLIES 3
Read only

Former Member
0 Likes
756

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

Read only

0 Likes
755

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

Read only

Former Member
0 Likes
755

This is an authorization issue.