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

Module Pool Program-Negative value is not displaying on screen....dump...

Former Member
0 Likes
4,147

Hi Experts,

i have designed the Screen in Module pool program , in that i am fetching data from DB and displaying on screen,

in record there are some amount (DEC type) fields, but my prob is some records having Negative values like (1234-),

in this case it is going for dump.

in dump it is telling like below:

The current screen processing action was terminated occurred where the application could not continue.

can anyone pls help out me , what is the reason.....

Thanks in advance,

sudha.

1 ACCEPTED SOLUTION
Read only

suman_pr
Product and Topic Expert
Product and Topic Expert
0 Likes
2,365

Hi,

In the screen painter attributes, you'll have to set the Format of the field to DEC. Then, automatically the "With Sign" checkbox is displayed in the Dict Tab of the attributes.

Just check that box and the V is appended automatically.

Regards,

11 REPLIES 11
Read only

Former Member
0 Likes
2,365

HI,

go to the screen from the flow logic and give a V in the field where u want to give the negative value at the end .

Regards

Madhukar

Read only

Former Member
0 Likes
2,365

Hi,

If you are using the field from dictionary tik the check box 'From dict.' and modify as 'V'

otherwise tik the check box 'with sign' , in the screen painter.

Thanks&Regards

Edited by: ManuSNair on Sep 22, 2010 10:40 AM

Read only

0 Likes
2,365

Hi MAnu, Thank u very much for your replay, as you told i try to check the checkbox from Dictionary ,

but it giving error like "The ABAP Dictionary contains no field information about itab-fieldname.e

and is not allow me to change taye into 'V' , and

i try to check "with sign" check box, but i cant able to find in screen painter....

can anyone help how to resolve it .....

Thanks in advance,

sudha.

Read only

0 Likes
2,365

Please refer .

Also, the checkbox property is available from Element list window . You can access it with F7. It also propably must be of certain numeric type in order it is active. The above thread should guide you in this regard.

Regards

Marcin

Read only

Former Member
0 Likes
2,365

Hi,

Goto to the layout in the screen , double click on the input field then the attributes will appear in ,

that attributes there is TEXT in which it is showing like this ___________________ , just remove on dash from the text and add a V over there i.e __________________V

Read only

0 Likes
2,365

Hello Madhukar, thanks for u r replay, as u told i have changed in attributes, but that is for description for field right,

eventhough i ve changed like V_______ , its not allowed to like _______V , still its not working...

i suspect this is not the place need to change, bcoz its only for description rt, need to change properties like that..

is there any changes pls......

Thanks,

Sudha.

Read only

0 Likes
2,365

Sudha ,

Tats not for description , in tat text field it will display the value by giving a V then it should allow , check the program is activated correctly or not and wat is the field type of the given field ?

Read only

0 Likes
2,365

Thank you very much to all.

Solved and Rewarded

Thanks,

sudha.

Read only

suman_pr
Product and Topic Expert
Product and Topic Expert
0 Likes
2,366

Hi,

In the screen painter attributes, you'll have to set the Format of the field to DEC. Then, automatically the "With Sign" checkbox is displayed in the Dict Tab of the attributes.

Just check that box and the V is appended automatically.

Regards,

Read only

Former Member
0 Likes
2,365

Hi Sudha,

I don't know, why it is not coming, one of the reason may be the version of SAP you are working with.

I think putting a V, at the end of the text box will solve the problem.

Thanks&Regards

Read only

Clemenss
Active Contributor
0 Likes
2,365

All fiels on screens (dynpro) should have full reference to a data element or dictionary field with data element- Only then all characteristics including F4 and F1 are available.

If your field is based on a data element that is based on a domain where you have the 'SIGN' flagged, you should copy data element and domain, in the domain output characteristics flag the SIGN field.

All other possible solutions are only second choice.

Regards,

Clemens