‎2007 Mar 06 11:49 AM
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
‎2007 Mar 06 12:02 PM
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á
‎2007 Mar 06 12:02 PM
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á
‎2007 Mar 06 12:11 PM
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.
‎2007 Mar 06 12:13 PM
U can use NO-GAP statement
<b>WRITE: LV_NUM NO-GAP.</b>
Vasanth
‎2007 Mar 06 12:16 PM
Hi!
Try this way.
SHIFT LEFT lv_186_field DELETING LEADING SPACE.
Regads
Tamá
‎2007 Mar 06 1:48 PM
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??
‎2007 Mar 06 1:58 PM
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
‎2007 Mar 06 1:59 PM
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.
‎2007 Mar 06 12:06 PM
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^
‎2007 Mar 06 2:21 PM
Hi,
for reservation look at RESB, VBBE.
or take FM
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
Regards, Dieter