‎2010 Aug 25 4:37 PM
Hi,
I have a parameter for Application Server File Path (i.e. directory).
The problem with /SAPDMC/LSM_F4_SERVER_FILE is that if the input directory doesn't exist, it gives a short dump saying that message type ' ' was raised in F4. The last option would be that i have to validate the directory path before passing it to above FM.
The problem with 'F4_DXFILENAME_TOPRECURSION is that it returns file name, not file path.
Do you know any FM or method that can be used for F4 in on value requestion addition.
The code is as follows:
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Best Regards,
Abinash
Edited by: Rob Burbank on Aug 25, 2010 3:11 PM
‎2010 Aug 25 10:25 PM
Let me tell you one idea
Just disable input in at selection screen output.
Later in event at selection screen on value request use the fm /SAPDMC/LSM_F4_SERVER_FILE( donot pass any parameters to it ) and let the user choose the directory. Then using fm DYNP_VALUES_UPDATE just update the path to the input field.
So no validation required because user cannot give a manual input and he can only choose it from help.
‎2010 Aug 25 10:25 PM
Let me tell you one idea
Just disable input in at selection screen output.
Later in event at selection screen on value request use the fm /SAPDMC/LSM_F4_SERVER_FILE( donot pass any parameters to it ) and let the user choose the directory. Then using fm DYNP_VALUES_UPDATE just update the path to the input field.
So no validation required because user cannot give a manual input and he can only choose it from help.