‎2008 Nov 25 11:52 AM
Hi all..
in the Alv report on the selection screen,i have given one fields for which only entries greater/above 100 $ should be displayed.Although while making variant i am givng the field value as 100,but it is not able to relate this value as a value in USD.kindly let me know what is to be made changes as a part of validating this field on the selction.
thnks in adv
‎2008 Nov 25 11:56 AM
Post u r code which u have written at at selection-screen ....
regareds
Sas
‎2008 Nov 25 11:59 AM
PARAMETERS: field type p decimals 2.
AT SELECTION-SCREEN.
IF field le '100.00'.
MESSAGE 'Only amounts greater that 100 are permitted' TYPE 'E'.
ENDIF.
It will prompt an error message each time user enters amount less or equal to 100, hence will not allow to go further in the program.
I hope it will help you
M.
‎2008 Nov 25 12:07 PM
i am sorry if i am unable to pass on the correct idea.
the requireemtn is like.
i have certain fields on the slection screen,one of those is coming from eban-preis.Now on the selection if i am inputting 100,it should only display the conversions above 100 $ only.
there are conversions which are in other currency also but i am displaying the conversions in dollars only.
So,my question is....i wish to add a code,may be before the display of the final alv for which only the converted value above 100$ should be displayed.
hope i explained properly.
‎2008 Nov 25 12:13 PM
Hi,
try like this
data : v_value(20) type c.
concatenate <selection screen field> '$' into v_value.
condende : v_value.
if the final internal table is it_final.
delete it_final where <give the field> LE V_value.
Regards,
Nagaraj
‎2008 Nov 25 12:44 PM
Hi Tanisha
Suppose you declared a parameter p_preis.
So first you select all the values of preis as per your need and then you delete from the internal table like this.
Delete i_table where preis le p_preis.
hope it will solve the problem.
Regards
Neha
‎2008 Nov 25 12:00 PM
i havent written at selection screen till now.
the slection scren parameter is eban-preis.
now i want to put eban-preis > 100$ in the logic,for this condition only,it should give the display and not lesser than that.
please help.
‎2008 Nov 25 12:02 PM
Hi,
Try like this...
at selection screen on field <give selection field name>.
if <selectionfieldname> GT '100$'.
ELSE.
THROW ERROR MESSAGE.
endif.
Regards,
Nagaraj
‎2008 Nov 25 12:02 PM
USE :
AT SELECTION-SCREEN ON S_QTY.
IF NOT S_QTY IS INITIAL.
IF S_QTY LE 100
MESSAGE.
ENDIF.
ENDIF.