‎2006 Jul 22 10:29 AM
Hi,
I am working on a Z program in which i have to download data from various tables and update a Z table...To increase the performance of the program i have made use of SUPPLY DEMAND via context and i have used 2 function modules in the context(One type T and another type P).The program is working perfectly fine in the dev system and not giving any errors but in the test system it gives a dump saying that "CONVT_NO_NUMBER" ,it cannot interpret a company code which is char field as a number...even when that company code is not present in the internal table fields and the clear buffer is being done for the server...
I have also used field symbols for performance improvement so is there any possible way due to which this problem can arise.
Regards,
Ricky
‎2006 Jul 22 12:39 PM
Ricky,
after getting the dump you should enter debugger and analyze the situation. Possibly a structure of a Z table is different in development and test system.
In debugger, check the conflicting value for where it comes from and where ist should go to. See the call hierarchy for this.
I guess you may not have transpoirted all relevant objects.
Regards,
Clemens
‎2006 Jul 22 12:39 PM
Ricky,
after getting the dump you should enter debugger and analyze the situation. Possibly a structure of a Z table is different in development and test system.
In debugger, check the conflicting value for where it comes from and where ist should go to. See the call hierarchy for this.
I guess you may not have transpoirted all relevant objects.
Regards,
Clemens
‎2006 Jul 23 12:07 AM
Hi, the reason for your error may be that you may have a company code in your test system that contains alpha characters. This is allowed in R/3. The CONVT_NO_NUMBER exception tells me that you may be trying to move a company code value with an alpha to a numerically typed field. Please make sure that the target field is defined as t001-bukrs.
Regards,
Rich Heilman
‎2006 Jul 23 3:00 AM
Hi Ricky,
This issue would come when you are passing field of number type to field of char type.
You can move this field into a temporary variable of character type and use that temp. field in assigning to comp. code.
Since code was working on DEV, it seems that user profile is different for user running the program in DEV and Test client. Pls check and try making the user profile parameters in Test client same as DEV client and then run the program.
Cheers,
Vikram
Pls reward for helpful replies!!
‎2006 Nov 28 7:38 AM
Hi,
The problem was solved.It seems that the buffer was not able to take large amount of data so that is y for a few fields the alphanumeric value was coming to the numeric fields.
I used the Function module 'DELETE_CONTEXT_BUFFER' after every major call using SUPPLY...DEMAND.