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

System Variable NOT set when accessing Transaction through Portal

Former Member
0 Likes
472

Hi all,

There is a BADI(CRM_MKTPL) which i have implemented in SAP CRM. In the BADI there is a validation which i am performing when the transaction is SAVED (SY-UCOMM = 'SAVE'). It runs perfectly when i run it through SAP GUI.

When i run the same transaction through Portal the BADI is triggered but strangely the system variable (SY-UCOMM) is NOT set. Could you please explain this behavior and the way to overcome it?

Thanks & Regards,

Rahul.

Hi all,

There is a BADI(CRM_MKTPL) which i have implemented in SAP CRM. In the BADI there is a validation which i am performing when the transaction is SAVED (SY-UCOMM = 'SAVE'). It runs perfectly when i run it through SAP GUI.

When i run the same transaction through Portal the BADI is triggered but strangely the system variable (SY-UCOMM) is NOT set. Could you please explain this behavior and the way to overcome it?

Thanks & Regards,

Rahul.

2 REPLIES 2
Read only

andreas_mann3
Active Contributor
0 Likes
444

hi,

have you tried oth. variables like pfkey or tcode?

-> look at complete syst in debugging

A.

Read only

Former Member
0 Likes
444

Are you using Transaction iView in Portal?

If so you will have to pass variable <user_command> (not sure about the variable name) through the iView.

Susanth.