Field for file selection
In Acrobat Text Fields have an option Field is used for file selection. With this Text Fields it is possible to select a File in the File Browser and to show the URL of the selected File in the Textfile with a script like var ft = this.getField("URL"); ft.browseForFileToSubmit(). Has someone found a similar possibility in Designer?
getField does not work on XFA forms. Please have a look at the following document:
http://www.adobe.com/devnet/livecycle/articles/AcroJS_DesignerJS.pdf
Similar Messages
-
Formatted Text field for File Extensions
Hi guys,
Is it possible to create formatted text field for file extension like it should accept *.bmp, .bmp, bmp. etc..... It is not necssary to be a Combo Box. TextField will work.
Thanks in advance.
AZGHARAny one here \Help\Help\Help ;-(
-
ERROR: Select Currency/UoM field for the selected analyzed fields
Hi all
I am currently creating Business Rules in GRC PC 10.0 for the Automated Monitoring Framework.
After completing the Basic Information page, I click [Next] and get to the Data for Analysis page.
If ever I select any field that contains a value for Currency or Unit of Measure, I receive the following error and cannot proceed with creating the Business Rule:
Select Currency/UoM field for the selected analyzed fields
Does anyone have any information/SAP Notes/documentation on what this error is and how to solve it?
Any help will be gratefully accepted.
Kind regards
Gregory Huddlehttp://service.sap.com/sap/support/notes/1904313
-
Addition of field for Dynamic Selection in TCode FBL1N
Hi,
We have a requirement to add the field Partner Bank Type in TCode FBL1N on clicking dynamic selection button (under vendor master) in TCode FBL1N. To achieve this we went to TCode SE36 (Logical database) and selected logical databse KDF and then seleted selection views from the extras menu. There we have selected the table LFBK and then entered 01 (function group for Vendor Master) in the box next to the field BVTYP and selected the checbox on the right of BVTYP to enable Preselection. Saved the changes.
However the field Partner Bank Type does not show in the dynamic selection in TCode FBL1N under Vendor Master. Please help.
Thanks in advance.
MickThanks Miguel.
I found this on the web:
http://joyjitghosh.blogspot.com/2009/05/how-to-add-new-fields-in-dynamic.html
I have done exactly as per the instructions given in the above link, but still I am unable to see the field in the dynamic selections of TCode FBL1N. Any reason why and how can we add the field in the dynamic selections?
Mick -
hi,
I want to record the file selection using BDC. but the dialog box which is for the file selection is also getting displayed while running the BDC program. is it possible that i pass a file name to it without the file dialog box.
Thanks in advance.
Regards,
Aparna.Hi Raja,
I think there is some problem with rewarding points. Even if the post is marked as question, the option for rewarding points is not visible. I too did not receive some points because of this.
I think we should inform this to SDN.
Thanks
Vinod -
Bug v4.0 - no input field for file name in export dialog
Hello,
I run a query, right click in the result grid and choose "Export". There is no input field to provide a file name. I can only export to the default file.
Version 4.0.0.13 on XP
Edit: Seems to be an issue with the settings (maybe those migrated from 3.2.2). When I install without migrating settings I get the full dialog. I will try some combinations and update this post.
Edit: I installed again without migration my settings. When I set the preferences manually I cannot reproduce the bug. Maybe some bug in the import for the preferences? Maybe it only happens on German XPs.
Regards
MarcusThank you, 5p given.
However this is what I execute and in my file chooser dialog the filename field is still blank.
ExampleFileFilter filter = new ExampleFileFilter();
filter.addExtension("html");
filter.addExtension("csv");
JFileChooser chooser = new JFileChooser(new File("REPORT_ONE_"));
chooser.setDialogTitle( "Save Report" );
chooser.setFileSelectionMode(chooser.FILES_AND_DIRECTORIES);
chooser.setFileFilter(filter);
int returnVal = chooser.showSaveDialog(this);
...It is in try-catch, no errors are returned.
Operating System: WindowsXP
Java Version: 1.3.1 -
Metadata field for "file type"?
I'm trying to find a way to sort images in A3's List view, and I can't seem to find a way to use the "File Type." I know I can filter images, but that's not what I want to do. I'd like to be able to have file type as a column so I can sort and have, say, RAWs at the top, followed by JPEG, etc. I've looked through all the fields and, so far, can't find anything that allows this without using a filter.
Tanks in advanceUse File Size, the files can then be listed with the jpeg or raw at the top or bottom of the list as you prefer using Ascending or Descending sort option. This should work due to the difference in file size between jpeg and raw, Allan
-
How to do popup for file download???
Hi,
I'm trying to create a popup for file selection for download. Basically, I want to call:
call method cl_gui_frontend_services=>file_open_dialog
This works fine from a report, but from my web dynpro I get a dump because apparently there is no gui (parameters www_active and activeX are all empty).
Does anybody have any experience with this? I'm thinking:
- am I doing something wrong?
- does this method work with web dynpro at all?
- is there some other CL_WD* class for this purpose?
- are my system settings screwed up?
Thanks for all hints!
IraThis might be helpful:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/42af9f90-0201-0010-6099-ba67e5426bdf
- April King -
Is there a way to simultaneously add text to Comments field for multiple files?
Is there a way to simultaneously add text to Comments field for multiple files? I know I can use Option+Comman+i to bring up the Inspector window but it doesn't have a Comments field. For example, in iTunes you can select multiple files and change metadata for any field simultaneously and easily yet when it comes to the Comments field in the Finder, this seems to be missing.
In our production environment, Comments field is important because we place notes about what drive the file originated then when it gets transferred to LTO-6 tape via LTFS, we can quickly trace it in the event we needed to recreate the hard drive. Because tape archiving is linear, we can't store all of the files on the same tape.
We've tried using Apple's Automator but it too seems to not have a way to batch change text in the Comments field. Any help is appreciated.What is "order data"?
-
Error in updating ALV field catalog in selection tool for Planning Book
Hi ,
I am Implementing BADI '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
1). INIT_OBJECT_LIST
2). F4
3). LOC_PROD_VALUE_LIST
Please help on the same if u have any idea or clue.
Thanks.Hi Srinivas!
Where did you get your implementation from?
It would be nice if you could debug your code!
For the F4 method, have you seen this note?
Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
Also check this note. It contains selection modifications in the BAdI:
Note 376902 - SDP selector: Basis corrections for BADI
I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
Thank you!
Will
SCM Support Consultant -
F4 Help for the selection screen field
Hi Gurus,
I have to display F4 help for a selection screen field. i am using following code:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CODE'
dynpprog = lw_repid
dynpnr = sy-dynnr
VALUE_ORG = 'S'
TABLES
value_tab = gi_text
field_tab = li_fields_tab
return_tab = pi_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
My internal table gi_emp has two fields CODE & TEXT. When i select 1 particular value, it returns the CODE value in the pi_return_tab table.
But my requirement is i have to capture the corresponding TEXT value for the Returned CODE. Ex: following is the F4 help being displayed: -
001 test
001 test1
but is i select code 001(First Value), i also need to capture it's corresponding Text value. In return table pi_return_tab i have only Code value.
Please help me out.
Note: Based on return code i can't search into the internal table gi_code, because as shown in the example, code has multiple text.Sachin,
I think this is what you need. The following code will return the key and the text (OR any other columns), if both columns are in the selection screen the selected values (both columns) will also be passed to the corresponding parameters. If you only need the text to be in the return table and not passed to the selection screen then set the parameter for text with NO-DISPLAY option.
REPORT zktest01 .
DATA :
BEGIN OF value_tab OCCURS 0,
field LIKE e070-trkorr,
text LIKE e07t-as4text,
END OF value_tab.
DATA: t_fldtab LIKE dfies OCCURS 0 WITH HEADER LINE,
t_rettab LIKE ddshretval OCCURS 0 WITH HEADER LINE,
t_dynmap LIKE dselc OCCURS 0 WITH HEADER LINE.
PARAMETERS : p_field LIKE value_tab-field,
p_text LIKE value_tab-text. "NO-DISPLAY.
INITIALIZATION.
t_fldtab-tabname = 'VALUE_TAB'.
t_fldtab-fieldname = 'FIELD'.
t_fldtab-langu = 'E'.
t_fldtab-position = 1.
t_fldtab-offset = 0.
t_fldtab-fieldtext = 'Key'.
t_fldtab-reptext = 'Key'.
t_fldtab-leng = 20.
t_fldtab-intlen = 20.
t_fldtab-outputlen = 20.
t_fldtab-datatype = 'CHAR'.
t_fldtab-inttype = 'C'.
t_fldtab-headlen = 20.
t_fldtab-keyflag = 'X'.
t_fldtab-lowercase = ' '.
APPEND t_fldtab.
t_fldtab-tabname = 'VALUE_TAB'.
t_fldtab-fieldname = 'TEXT'.
t_fldtab-position = 2.
t_fldtab-offset = 20.
t_fldtab-fieldtext = 'Text'.
t_fldtab-reptext = 'Text'.
t_fldtab-leng = 60.
t_fldtab-intlen = 60.
t_fldtab-outputlen = 60.
t_fldtab-headlen = 60.
t_fldtab-keyflag = ' '.
t_fldtab-lowercase = ' '.
APPEND t_fldtab.
value_tab-field = '101'.
value_tab-text = 'dddd'.
APPEND value_tab.
value_tab-field = '202'.
value_tab-text = 'aaaa'.
APPEND value_tab.
t_dynmap-fldname = 'FIELD'.
t_dynmap-dyfldname = 'P_FIELD'.
APPEND t_dynmap.
t_dynmap-fldname = 'TEXT'.
t_dynmap-dyfldname = 'P_TEXT'.
APPEND t_dynmap.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD'
dynpprog = 'ZKTEST01'
dynpnr = '1000'
dynprofield = 'P_FIELD'
value_org = 'S'
TABLES
field_tab = t_fldtab
value_tab = value_tab
return_tab = t_rettab
dynpfld_mapping = t_dynmap
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc EQ 0.
ENDIF.
START-OF-SELECTION.
Jeffrey Satriadi -
User exit/BADI required for coding for the selection custom fields in RSA3
Hi,
I have a requirement in the Datasource extractor. I need to add custom Z fields in the Data souce of the 2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit ZXRSAU01.
Now I can view my custom Z fields in the list as well as on the selection fileds while executing the transaction RSA3. But I need to write code for the selection criteria part. On entering value in the selection criteria of my custom z field, no values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.
On debugging, to my understanding only the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel < Datasorce> .... and the fetch cursor is included inside the macros.
Please let me know any user exits or Badi;s available for it.
Thanks in advanceHi shivu,
you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:
[Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.
Best,
Chris -
Is a record ID field required for File Adapter (Header, Body, Trailer)?
Hi,
File to File scenario. The sender file is a text file i.e. .txt which needs a conversion on the sender file adapter. There are three structures in the file namely header (one), body (many) and Trailer (one). From what I can see I need a record Id field (with the same name) in all the structure types, can anyone confirm this for me?
Thanks,
LeanneThat is correct. If you have a variable number of records of a particular type, then you need a way to accurately identify each type of record... and that is done via the key field (or Record ID) which is present in each record type.
Extract from SAP Online Help:
<i>Key Field Name
If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value *, then the substructures must be identified by the parser from their content. A key field must be set with different constants for the substructures. In this case, you must specify a key field, and the field name must occur in all substructures.
Specify the Key Field Type to be used to compare the predefined values. This entry is used if the key field name is defined.
NameA.keyFieldValue: Specify the value of the key field for the structure. This entry is mandatory if the key field name is set. Otherwise, the entry is ignored.</i>
For more info, refer to the SAP Help:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm -
Click on the file to download
The "Open" Dialog Box pops up
Select "Save File"
Try to click on the box labeled ""Do this automatically for files like this from now on."
The box is disableHello melanie90, see : [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file#w_changing-download-actions Changing download actions]
thank you -
F4 help for file path in selection screen.
Hi there,
I defined one parameter p_path for file path using RLGRAP-FILENAME. I have not got F4 for this. How to solve this problem, can anybody pls help.
Regards,
Naseer.Hi,
refer to the following code:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pc.
DATA: it_tab TYPE filetable,
wf_subrc TYPE i.
DATA: wf_pcfile LIKE rlgrap-filename.
DATA: wf_filter TYPE string,
wf_dir TYPE string,
wf_title TYPE string,
wf_ext TYPE string.
* if p_ml = 'X'. "Manula Load - PC File
wf_title = text-012. "Window title
wf_ext = '.TXT'. "Extension of the file
wf_filter = 'Text Files (*.TXT)|*.TXT'. "File Type
wf_dir = wf_pcfile. "Directory
*Adds a GUI-Supported Feature
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = wf_title
default_extension = wf_ext
file_filter = wf_filter
initial_directory = wf_dir
CHANGING
file_table = it_tab
rc = wf_subrc.
Hope this helps.
<REMOVED BY MODERATOR>
Regards,
Sipra
Edited by: Alvaro Tejada Galindo on Jan 31, 2008 9:48 AM
Maybe you are looking for
-
Best practices on number of pipelines in a single project/app to do forging
Hi experts, I need couple of clarification from you regarding endeca guided search for enterprise application. 1)Say for example,I have a web application iEndecaApp which is created by imitating the jsp reference application. All the necessary presen
-
My bluetooth keyboard (Macnus brand - bought recently in Thailand)(similar to Mac small keyboard) will pair with my iPad using code 8310,and is recognized by my iMac but will not pair? There are very scant instructions with the keyboard and no mentio
-
Cannot open iPhoto in Mavericks. How can I recover my pictures?
I have just updated my OS to Mavericks and now iPhoto does not open because it is version 9.2.3 I want to recover all my pictures!!! How can I do it!? This is my main concern now. I do not want to pay 15 dollars just for the iphoto update, since I ba
-
Managed datasources, Global transactions and XA
I have a question regarding the use of managed datasources and global transactions with oc4j 10.1.3. From the documentation at: http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14428/servdats.htm#CHDGJECC I conclude that managed datasource
-
Recently updated to Leopard and the iLife '08. Started first with some tinkering using iWeb, which is a new concept for me compared to the iLife that I was using ('04). I created and published 2-3 sites using iWeb with relative ease and was pleased w