2009 Nov 06 10:51 AM
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.
2009 Nov 06 10:59 AM
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
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.
2009 Nov 06 10:59 AM
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
2009 Nov 06 11:06 AM
Can you please tell the names of the tcodes.....for enjoy transactions BDC is not the correct approach
2009 Nov 06 11:06 AM
Hi Surya,
Different user id s may have diffrernt authorization.
This might be a reason.
Check it out.
2009 Nov 06 11:10 AM
After you execute the transaction, run SU53 transaction. SU53 will give you authorization failed for that user .
2009 Nov 06 11:15 AM
- different authorizations SU01
- different parameters (time, date, decimals settings) SU01
- different program parameters (SU3)
2009 Nov 06 12:32 PM
Hik surya,
it is an analysis task: Try to categorize the differences in results, what transactions, etc.
Regards,
Clemens
2009 Nov 06 1:23 PM
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.
2009 Nov 06 6:02 PM
Hi,
OK, and what are the different results?
Do the transactions bear same results when executed without bdc by different users?
Regards,
Clemens
2009 Nov 07 7:31 AM
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.
2009 Dec 23 5:07 PM
2009 Dec 23 5:08 PM
I have used BDC_CURSOR to solve the question.
In recording I was getting three fields instead of two.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |