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

Different user different behaviour of same program

Former Member
0 Likes
1,996

Hi,

I have developed one customized program for passing values using BDC. That program consist 5 different standard t codes.

At the end I have to capture the messages and show it in the form of ALV. I am running this program using customized T-CODE.

This program is giving me different result in different users. I have checked the user setting through SU01, but couldn't solve the problem.

SOS.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,781

Hi

Check those standard tcodes has some thing to do with user id

(It will be more helpful to if you can tell us what those tcodes were)

Regards

sateesh

11 REPLIES 11
Read only

Former Member
0 Likes
1,782

Hi

Check those standard tcodes has some thing to do with user id

(It will be more helpful to if you can tell us what those tcodes were)

Regards

sateesh

Read only

Former Member
0 Likes
1,781

Can you please tell the names of the tcodes.....for enjoy transactions BDC is not the correct approach

Read only

Former Member
0 Likes
1,781

Hi Surya,

Different user id s may have diffrernt authorization.

This might be a reason.

Check it out.

Read only

Former Member
0 Likes
1,781

After you execute the transaction, run SU53 transaction. SU53 will give you authorization failed for that user .

Read only

rainer_hbenthal
Active Contributor
0 Likes
1,781

- different authorizations SU01

- different parameters (time, date, decimals settings) SU01

- different program parameters (SU3)

Read only

Clemenss
Active Contributor
0 Likes
1,781

Hik surya,

it is an analysis task: Try to categorize the differences in results, what transactions, etc.

Regards,

Clemens

Read only

Former Member
0 Likes
1,781

The t codes which I have used in my program are

MB31, KGI2, KSS2, KKAX, KO88 & CO02

I have checked SU53 it says authorization successful

I have checked SU03 also didnt help.

Read only

0 Likes
1,781

Hi,

OK, and what are the different results?

Do the transactions bear same results when executed without bdc by different users?

Regards,

Clemens

Read only

0 Likes
1,781

Yes , the T-Codes give same results in diff. users when they were being executed seperately.

When I am executing all those using my program the following things happen

1- Those tcode working fine and producing same result as if they were being run independeltly in my user-id.

2- The productiong order is getting locked in CO02 and variance are also getting calculated in my user-id.

3- When I am running same program in other user-id, I am always getting formatting erros for T-code KGI2 for the fileds

CODIA-AUFNR and RAKUF-FROM.

4- I have used ALFA routine to convert AUFNR as its being used in that KGI2 screen in similar way.

5- I have used NUMC format for FROM and condense its value before passing in to KGI2 screen.

6- While executing BDC I am passing following options.

wa_opt-dismode = 'N'.

wa_opt-updmode = 'A'.

wa_opt-cattmode = ' '.

wa_opt-defsize = ' '.

wa_opt-racommit = ' '.

I have tried several combinations for these options, but didnt work.

SOS.

Read only

0 Likes
1,781

Hureyy I have solved the problem.

Read only

Former Member
0 Likes
1,781

I have used BDC_CURSOR to solve the question.

In recording I was getting three fields instead of two.