‎2010 Feb 17 7:26 PM
hey all,
In Module Pool Programming , User needs to have the previous entered values to reflect on pressing the SPACE BAR for the input field ( Customized one ) .
For Example:
Module Pool MP997400
Input Field Country
Cached values would be : Chicago
New York
Boston
These are the previous values entered for the Input field are stored. By pressing the SPACE BAR these values appear in the Drop down box so that the User can select it off easily rather than typing completely .
NOTE: SAP standard Input fields ( Already existing Data elements) does have this functionality while our custom fields ( the z data elements ) dont have !!!
Can any body suggest how to acheive this ??
Edited by: abhishek nms on Feb 18, 2010 12:56 AM
Edited by: abhishek nms on Feb 18, 2010 12:59 AM
‎2010 Feb 18 6:27 AM
I don't know if you will be able to control cache values...
PID will not work in your requirement.
Regards,
Mohaiyuddin
‎2010 Feb 17 7:39 PM
Hi,
I think you need to give some parameter ID in the screen field attributes. Go to the screen field attributes and fill the parameter ID with some value say ZZZ. This ID is used for storing the data in the memory. You can give different IDs for different fields.
You can give the parameter ID in the dataelement also. But even in this case you need to give the ID for the screen fields manually.
Thanks,
Vinod.
‎2010 Feb 17 7:49 PM
I hope answer will solve your problem, at 2 places you can attach 'Parameter ID'
1) In the module pool program - for the corresponding field - Screen painter attributes -> Attributes -> Dict -> parameter ID
2) If same place exists in the custom table, custom data element then you can attach to the data element itself so that every time you refer that field automatically you will have that data.
For parameter ID creating search in SCN / google.
Thanks
Satyasuresh Donepudi
‎2010 Feb 18 6:27 AM
I don't know if you will be able to control cache values...
PID will not work in your requirement.
Regards,
Mohaiyuddin
‎2010 Mar 02 4:18 PM
I have tried figuring out with Parameter ID but it did not work out !
Here is the SAP standard solution:
In SAP easy Access screen, Press ALT + F12 > options > Local Data
in the History grouping, Enable history for fields upto X characters as the My custom field length is 70 .. I have increased it to 75.
Make sure You Re-start the SAP GUI
Please refer to SAP NOTE 399180.
It works !!
Thanks for all your efforts