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

How can a lock object be called in the transaction?

971


What is direct input method ?

1881


What are table clusters?

969


Under Data Transfer Portion of ABAP, what do you mean by DX Project

2254


What are the payroll related infotypes? : abap hr

1027


What is sap abap data classes?

1009


Name the abap/4 modularization techniques?

1031


To how many tables can an append structure be assigned. : abap data dictionary

1025


What are the different buffering methods?

971


In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary

1110


What are two different ways to add fields to sap tables?

971


Folder types in smatforms? 2)What is Command line?

2356


What is update task

8332


What are the events in ABAP language?

1011


What is open sql vs native sql ?

2548