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...

What is the difference between CHAIN … ENDCHAIN and FIELD commands in Module Pool?

Answer Posted / dtarunkmr

When You specify FIELD the module you specify is only processed for the field specified in the FIELD statement.If an error or warning message occurs during the module, the system sends the screen again, but
without processing the PBO module . The message is displayed, and only the field to which the check
was applied is ready for input.It is the FIELD statement that is responsible for making the field ready for input again. If you
use a message in a module that is not called from within a FIELD statement, the system displays the
message, but does not make the field ready for input again.


If you want to ensure that more than one field is ready for input following an error dialog, you must
list all of the relevant fields in the FIELD statement, and include both that and the MODULE
statement in a CHAIN … ENDCHAIN block.
n You can include individual fields in more than one CHAIN … ENDCHAIN block.

Many times if the user enters wrong value for one field, then you might want to give option to user to enter all the fields, which is not possible by using Field statement only. This functionality can be achieved by CHAIN – ENDCHAIN.

Syntax

Chain.
Field sflight-carrid value (‘LH’).
Field sflight-connid values (between ‘200’ and ‘500’).
Endchain.

Best Regards,
DTK

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find BAPI?

2007


What do you mean by table control???Where will we use this?

2109


How is the table sorted when you do not specify field name and Ascending or Descending? On what criteria will the table be sorted? Do internal table have keys?

1937


What is the difference between Customizing and Workbench request?

1854


What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT?

2046


In realtime do we configure ALE systems or Administator will take care of that?

1410


What is the difference between .Include Structure and .Append structure?

1723


What is the flow of Invoice?

1505


What is the difference between User Exit and Function Exit?

1471


What events do you know in Module Pool Programming?

1585


What is the difference between VIEW and a TABLE?

1506


What is the difference between Enhancement point and Enhancement Section?

5882


What is the difference between SY-INDEX and SY-TABIX?

2607


There are 1000’s of IDOCs in your system and say you no longer need some of them? How will you get rid of those IDOCs?

1839


Synchronous and asynchronous methods in BDC ?

2021