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 |
how can i transport a idoc from development system to production system? in idoc we are doing bd64 for distribution model view is it mandatory for idoc? and is it possible without creating a distribution model view we can generate a idoc?
hi I am in training of functional module, i am unable to understand what exactly use of IDOC,BAPI,DIM and BIM. As LSMW and BDC methods are used for data conversion from legacy to sap. Might be it is silly question. please explain me
What are the types of subroutines? : abap modularization
What are screen painter? Menu painter? Gui status?
What are the events used in abap in the order of execution?
How to transfer legacy data into base tables by scheduling a time frame using bdc?
what is current version of sap r/3 ?
What is foreign key relationship?
What is meant by authorization? Did you ever work on it? : sap abap hr
15) What is a Normal,Constant and Variable Window?
Suppose in an ALV report in grid we have to disply matnr, ernam,ebeln,ebelp etc.But when we bring the cursor on that specified field it will show "material number" for matnr, "purchase Document Number" for ebeln etc. how do you acheive this?
which one is efficient in following command to copy data from one itab1to another itab2 . both itab table has same structure. 1. move itab1 to itab2 2.move corresponding field of itab1 to itab2 3. itab2[] = itab2[] 4.appends line of itab1 to itab2..