Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What do you understand by work area and internal tables in abap? Why do we use it?

1101


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

2270


How many lists can a program can produce?

1063


How do you find the information on the current screen? : abap bdc

1071


In which table the material master data is stored?

1015


Did you use buffering?

1084


What is PS structure

2169


What is the difference of update types in call transaction method ? : abap bdc

1155


what are the various types of parameters and how are they distinguished from one another?

1201


What is the different between template and a table?

1128


What is static attribute

1568


What are the types of bdc s?

1137


What is the difference between dialog program and a report?

1071


What are the domains and data elements?

1568


If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?

1396