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

Dump while using SUPPLY... DEMAND (CONTEXTS)

Former Member
0 Likes
620

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

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
575

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

4 REPLIES 4
Read only

Clemenss
Active Contributor
0 Likes
576

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
575

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

Read only

Former Member
0 Likes
575

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!!

Read only

Former Member
0 Likes
575

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.