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

Problem in displaying quantity in screen field.

Former Member
0 Likes
485

Hi all,

Am facing a problem in displaying the quantity in a screen.

In my program,am displaying the material no , unrestricted stock , blocked stock and the related pending prs for that material say

mat no - 6021 Un.Res.Stock - 100 blocked stock 10 .

if 2 PRs are pending for tat material, i hav to display in this for mat

Mat.no Un.res.Stock Blockd stock pend.pr

6021 100 10 100012

100013.

But here am getting

Mat.no Un.res.Stock Blockd stock pend.pr

6021 100 10 100012

0.00 0.00 100013.

am using table control for the screen.

i dont want 0.00 to get displayed below the Un.res qty.

since it is a quantity field it is getting displayed with 0.00

Can it be solved?

Thanks

Priya

Hi all,

Am facing a problem in displaying the quantity in a screen.

In my program,am displaying the material no , unrestricted stock , blocked stock and the related pending prs for that material say

mat no - 6021 Un.Res.Stock - 100 blocked stock 10 .

if 2 PRs are pending for tat material, i hav to display in this for mat

Mat.no Un.res.Stock Blockd stock pend.pr

6021 100 10 100012

100013.

But here am getting

Mat.no Un.res.Stock Blockd stock pend.pr

6021 100 10 100012

0.00 0.00 100013.

am using table control for the screen.

i dont want 0.00 to get displayed below the Un.res qty.

since it is a quantity field it is getting displayed with 0.00

Can it be solved?

Thanks

Priya

2 REPLIES 2
Read only

Former Member
0 Likes
431

Hi,

one thing can be done that before passing the data to the table control take work varibale of char type and pass the PRS values to that variable using MOVE Keyword and then to the table control .

ie. data :
     w_prs(10) type c.

move wa_prs to w_prs.  
" pass w_prs to the table control

Hope u got the idea...

thanks

ravi

Read only

Former Member
0 Likes
431

thanksss