View previous topic :: View next topic
|
Author |
Message |
naveengec
New User
Joined: 24 Mar 2007 Posts: 35 Location: pune
|
|
|
|
Hi,
Please let me know how a program will get triggered when user hits an ENTER in MFS screen. Is there any definition needs to be done in IMS control region when ever a new screen is defined?
My scenario is
User tupes in /FOR modname
a screen gets poped up for customer contact info retrieval
user enters customer number to retrieve customer contact details
How the program to retrieve the customer information is triggered while user enters cust number and hits enter.
Is there any file which keeps track of every screen(map) with the corresponding program to be triggered, if yes kindly share the info. |
|
Back to top |
|
|
Sinkaravelan S
New User
Joined: 21 Apr 2008 Posts: 27 Location: coimbatore-TN india
|
|
|
|
Hi Naveen,
Please go thru MFS completly afterthat you will be getting more knowledge about your question which you asked here.
note: In design,All the input/output field has designed for your requirement.
Rgds, |
|
Back to top |
|
|
t5590ag
Active User
Joined: 21 May 2009 Posts: 139 Location: United States
|
|
|
|
hii naveen.
I don hv ne theoretical knowledge but hv wrkd on this stuff..so my simple understanding is that whenever you give the modname(/for modname) to access ur screen, mfs is validated for presence. If found then all the values from screen(if present) are passed to the mid area of mfs else corresponding low values are passed. From here your program as per the name in mfs is invoked and after processing it returns values to mod area of mfs which are then populated on screen.
Though there is a lot to learn in here but let me if it clears ur doubt.
Anybody pls correct me if anything is amiss in myunderstanding. Will be of great help. |
|
Back to top |
|
|
naveengec
New User
Joined: 24 Mar 2007 Posts: 35 Location: pune
|
|
|
|
Hi Guys thanks for the reply.
As t5590ag said, the MFS should have the first MID field as transaction name. But i could see lot of MFS in our shop which doiesnt have any clue regarding which transaction is getting triggered. Thats how this question arised. I beliece there should be some IMS registry entry done when an MFSGEN is executed which will define a transaction which will get triggered when data is populted to this screen and ENTER is pressed. |
|
Back to top |
|
|
naveengec
New User
Joined: 24 Mar 2007 Posts: 35 Location: pune
|
|
|
|
Sinkaravelan S wrote: |
Hi Naveen,
Please go thru MFS completly afterthat you will be getting more knowledge about your question which you asked here.
note: In design,All the input/output field has designed for your requirement.
Rgds, |
Hi Sinkaravelan, I have gone thru MFS completely, and the book says teh transaction should be defined as the first variable in MID. But it is not the case in my shop. Thats how i ended up posting this question. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Could you please post the first 10 lines of your MFS. |
|
Back to top |
|
|
t5590ag
Active User
Joined: 21 May 2009 Posts: 139 Location: United States
|
|
|
|
Hi Naveen, i came across the same doubt recently as I didnt see the pgm name anywhere in my MFS. Its not required it seems. First 5-6 characters are checked for the MFS-pgm connection I understand. And you will be having certain standards for pgm-MFS nomenclature in your system. For eg. I have MFS ending up with an 'F' or 'M' ..rest of the characters are same as pgm name. Hope this helps.
Also regarding your doubt from where is tran name coming transaction name has to somewhere in the MFS. Pls provide MFS. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Look for your transaction......it should be very similar to the main program it is invoking. |
|
Back to top |
|
|
t5590ag
Active User
Joined: 21 May 2009 Posts: 139 Location: United States
|
|
|
|
Right. Only a character in the end would differ most of the times. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
|