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

Remove Space

Former Member
0 Likes
1,176

Hello,

1) How to remove spaces from classical report??

2) At the time of sales order the stock is reserved. we want to know the name of table where we get this reservation information. In SAP we can view reservation by T.Code : MD04.

thanx in advance,

Shardul Shah

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,102

Hi!

1. What do you mean? During the program compilation the editor removes all unneccessary spaces. You can try out Pretty printer also.

2. You can check ALL KIND OF stock of a material in transaction MMBE. Sometimes in the sales order is not really reserved, but the delivery date is pointing to a date, when there were not enough stock from that material.

Regards

Tamá

9 REPLIES 9
Read only

Former Member
0 Likes
1,103

Hi!

1. What do you mean? During the program compilation the editor removes all unneccessary spaces. You can try out Pretty printer also.

2. You can check ALL KIND OF stock of a material in transaction MMBE. Sometimes in the sales order is not really reserved, but the delivery date is pointing to a date, when there were not enough stock from that material.

Regards

Tamá

Read only

0 Likes
1,102

at the time of print the data using write statement, its taking much spaces with the data.

I want to remove unnecessary spaces with the data.

e.g : 01.01.2005 / ________________186.

i want to remove space between date and 186.

means it should be 01.01.2005 / 186.

Read only

0 Likes
1,102

U can use NO-GAP statement

<b>WRITE: LV_NUM NO-GAP.</b>

Vasanth

Read only

0 Likes
1,102

Hi!

Try this way.

SHIFT LEFT lv_186_field DELETING LEADING SPACE.

Regads

Tamá

Read only

0 Likes
1,102

If same way if i want to remove 186___________/01.01.2005

means output should 186/01.01.2005 , then can u send me with example??

Read only

0 Likes
1,102

Actually i want to display SRNNO / Date in a single column.. but i m not able to display it as SRNNO using much spaces.

my output coming like :: 186_______________/ 01.01.2005

but it should be :: 186 / 01.01.2005

thanx if u can help

Message was edited by:

Shardul Shah

Read only

0 Likes
1,102

test this..

report y_test1.

data : v_char(25) value '186___________/01.01.2005'.

translate v_char using '_ '.
condense v_char no-gaps.

write : v_char.

Read only

Former Member
0 Likes
1,102

hi

good

if you r talking about the classical report output than check the position number that you have given and try to adjust them ,

thanks

mrutyun^

Read only

Former Member
0 Likes
1,102

Hi,

for reservation look at RESB, VBBE.

or take FM

CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'

Regards, Dieter