on 02-18-2011 12:07 PM
Hi.
I´m trying to restrict the size of a document that can be uploaded trough the web dynpro FITV_VC_TRIP_DOCUMENTS. There is a view named V_ATTA wich have a method named ONACTIONUPLOAD. In this method, the webdynpro control some features but when trying to use a new line wiht "lv_filewidth = lv_file_upload->get_width( ).", this property returns no value.
Any help, please for limit the size of a document a user can upload with a message?
Thanks in advance, best regards.
can you check here CL_FITV_GOS ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot !!!!!
iI've checked the class CL_FITV_GOS, and find that in method save there is a line like this:
size = xstrlen( iv_content_hex )
So I put the same line in the method ONACTIONUPLOAD as told you and it works !!!! now i have the size and can send a message if the size is grater than a limit.
Hope this could be a reference for any other that have the same problem.
Thank you very much,
best regards
User | Count |
---|---|
82 | |
9 | |
6 | |
6 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.