Application Development 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: 

Posting of negative values into talble using table maintenance

Former Member
0 Kudos

Hi All,

I created a ztable as per customer requirement. It has a field called amount with data element as curr.

I created a table maintenance for uploading data into the table. Some of the values are negatives also.

When tried to add entries having a negative value for eg: -5000.00, I got a error message saying negatives values not permitted.

Then I deleted the table maintenance , entered the same values through SE11 using table entries menu, it was successful.

Please let me know the reason why for the same table if negative value is entered through table maintenance was not permitted , whereas possible through SE11.

Thanks in advance.

Vengal Rao.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

use the dataelement which is capable of both signs +/- .

For example /IBS/E_RBTRGV:RBD: Amount with +/- Sign

Rhea.

3 REPLIES 3

Former Member
0 Kudos

I tried to replicate the same with currency field got the same error while entering negative value.

When we create a table maintenance generator a function group is create with include program,screens and function modules.So when entering the value there are input checks kept which does not allows us to enter negative values.

I just tried to debug while entering negative values before coming to any conclusion.

Hope this resolves your query.

Note: Just try to debug the screen and check.

Regards,

Gurpreet

Former Member
0 Kudos

use the dataelement which is capable of both signs +/- .

For example /IBS/E_RBTRGV:RBD: Amount with +/- Sign

Rhea.

0 Kudos

Hi,

Thanks for the solution. Issue is resolved.

Vengal Rao.