hi friends,
In smart form how can we convert the decimal to whole no.
for ex. i have date like 5.456. now i want convert to whole
no. after point value more then 5 means the no should come
6. below 5 means its come 5. any body can help me with code.
its urgent.
Thanks.
Answer / komal sardar
try this code this will definately help you.
DATA: AD(10) TYPE C, " before Decimal
BD(10) TYPE C. " After Decimal
SPLIT VALUE AT '.' INTO BD AD.
IF AD+0(1) GE 5.
BD = BD + 1.
ELSE.
BD = BD.
ENDIF.
Is This Answer Correct ? | 4 Yes | 1 No |
Difference Between domain and data element?
what are parameters of DDCinsert fun module ?
How field validations can be done in LSMW?
wat is the difference between A-gate & W-gate?where are they used?
What is the relation between Badi and Bapi ?
Explain the differences between se01, se09 and se10?
in which table idocs are stored?
what is a difference between user exist and coustmer exist?
Explain how is batch input process different from processing on line?
write the program for prime numbers between 1 to 1000
****THANK YOU ALL ABAP EXPERTS**** I got a JOB as ABAP Consultant in Infosys.I cleared the interview.The question posted here are really good.I cleared interview based on this material only.It really works.I thank all members who posted que&ans here. Those who are in search of job in MNC study this question set only you will get sucess. Thanks once again allinterview.com and members of this community. tulika20021@rediffmail.com
0 Answers AC Tech, Accenture, IBM,
In sap script how to print bar code in vertical manner