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 can a lock object be called in the transaction?
What is direct input method ?
What are table clusters?
Under Data Transfer Portion of ABAP, what do you mean by DX Project
What are the payroll related infotypes? : abap hr
What is sap abap data classes?
Name the abap/4 modularization techniques?
To how many tables can an append structure be assigned. : abap data dictionary
What are the different buffering methods?
In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary
What are two different ways to add fields to sap tables?
Folder types in smatforms? 2)What is Command line?
What is update task
What are the events in ABAP language?
What is open sql vs native sql ?