in report gui we are giving customer number if it is wrong
entry then how to write the code to restrict wrong entry?
Answer Posted / raju
Hi Busha,
i want to check the field kunnr from kna1, then
parameter : pa_kunnr type kunnr. (This is input field)
select single kunnr into pa_kunnr
from kna1
where kunnr eq pa_kunr.
if sy-subrc ne o.
message i000(zexp). ( zexp is message class,
i message type
000 message number)
endif.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you find if a logical database exists for your program requirements?
Can I execute user exits? If yes, how?
What is the basic difference internal tables and database tables? : abap data dictionary
What are the two methods for modifying sap standard tables?
What are the events in ABAP language?
How are BAPI different from normal function modules?
Explain different types of attributes of function module?
Difference between stand alone CRM and back-end CRM
What is the table & field to identify the no of items (bottles) stored in one case?
Explain difference between primary key and unique key?
out bound process code for quotation?
What is the structure of bdcmsgcoll? : abap bdc
What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr
What are th control break events in abap?
what is field string ? & where we are using field strings?