How to get field action property in a pdf form
Hi all,
In pdf form, there is a Radiobutton field is there.
Now i want to create a checkbox with same properties what and all Radiobutton is having.
I got the all the properties from Radiobutton and created checkbox except "Actions".
I checked with documentation In that i come to know we can able to add script by addJavaScript or able to set actions by setAction.
Is there any possibility to get Action properties from a field???
Please if anybody know let me know.
Thanks and Regards,
Christy
Thanks a lot for your answer.
I have one more doubt
In Acrobat 5 we can easily change field type by selecting changetype option, the only thing we need to give diff name for the field it will change type what we changed with the properties what and we had in old type.(I m explaining here about radio To checkbox).
If it is possible can u please explain in what basis it is working.
Thanks and Regards,
Christy
Similar Messages
-
How to get the 'text' property value of a button in coding?
Hi Experts,
I'm using 10 buttons all are having common action('click'). when i click a button the 'text' value of the button should pass to a function.So the action is same but the passed value will be the 'text' value of the corresponding button. I don't know how to get the 'text' property of a button in coding. Kindly help me to solve this problem.
Thanks and Regards
BasheerHi,
My event is like this.
public void onActionclick(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
String s = ? ; // should get the 'text' property of clicked button
fillInput(s); // function to be called
The called function is,
public void fillInput( java.lang.String id )
String str=wdContext.currentContextElement().getNum();
str = str + id;
wdContext.currentContextElement().setNum(str);
How can i get the 'text' property value of the corresponding button. Click action should be common to all buttons.
Thanks and Regards,
Basheer -
How to get Document Set property values in a SharePoint library in to a CSV file using Powershell
Hi,
How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
Any help would be greatly appreciated.
Thank you.
AA.Hi,
According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
I suggest you can get the document sets properties like the PowerShell Command below:
[system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
$siteurl="http://sp2013sps/sites/test"
$listname="Documents"
$mysite=new-object microsoft.sharepoint.spsite($siteurl)
$myweb=$mysite.openweb()
$list=$myweb.lists[$listname]
foreach($item in $list.items)
if($item.contenttype.name -eq "Document Set")
if($item.folder.itemcount -eq 0)
write-host $item.title
Then you can use Export-Csv PowerShell Command to export to a CSV file.
More information:
Powershell for document sets
How to export data to CSV in PowerShell?
Using the Export-Csv Cmdlet
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to get field separator in flat file using GUI_DOWNLOAD function
hi,
how to get field separator in flat file using GUI_DOWNLOAD function.
thanking you.Hi,
Use WRITE_FIELD_SEPARATOR = 'X'.
Check this sample code
REPORT z_file_download.
DATA: w_name(90) TYPE c.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
END OF fs_flight.
DATA:
BEGIN OF fs_head,
carrid(10) TYPE c,
connid(10) TYPE c,
fldate(10) TYPE c,
price(10) TYPE c,
curr(10) TYPE c,
END OF fs_head.
DATA:
t_head LIKE
TABLE OF
fs_head.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
fs_head-carrid = 'CARRID'.
fs_head-connid = 'CONNID'.
fs_head-fldate = 'FLDATE'.
fs_head-price = 'PRICE'.
fs_head-curr = 'CURRENCY'.
APPEND fs_head TO t_head.
SELECT-OPTIONS:
s_carrid FOR fs_flight-carrid.
START-OF-SELECTION.
SELECT carrid
connid
fldate
price
currency
FROM sflight
INTO TABLE t_flight
WHERE carrid IN s_carrid.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:\flight.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* IMPORTING
* FILELENGTH =
tables
data_tab = t_head
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight.xls'
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t_flight
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
MESSAGE 'Download successful' TYPE 'I'.
ENDIF.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Hi all,
Please tell me how to get field from following path
GO to MSC2N --
insert material, batch , plant , storage location
Now select classification...
there is box containing 'characsteristics descr ' & value
so how to get that value
I think that values are store in table cawn but i wont found any link to get that
Correct ans will be rewardedHi,
If you are trying to get the vaues of these charecteristics in your report, then
Try using the fm VB_BATCH_GET_DETAIL
CALL FUNCTION 'VB_BATCH_GET_DETAIL'
EXPORTING
matnr = is_final-matnr
charg = is_final-charg
werks = is_final-werks
get_classification = 'X'
* EXISTENCE_CHECK =
* READ_FROM_BUFFER =
* NO_CLASS_INIT = ' '
* LOCK_BATCH = ' '
IMPORTING
ymcha = ymcha
* CLASSNAME =
TABLES
char_of_batch = it_batch
EXCEPTIONS
no_material = 1
no_batch = 2
no_plant = 3
material_not_found = 4
plant_not_found = 5
no_authority = 6
batch_not_exist = 7
lock_on_batch = 8
OTHERS = 9
also the function module VC_I_GET_CONFIGURATION
And for table try cabn
Regards
Debarshi -
How to get the PO no in the smart form and in the print program from ME23N
hello all,
I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
Subhabrata.Hello Everyone,
I am new to the forum and also to abap.
Excuse me if it is a basic question.
I am taking care of the output types.
This is 1st time SAP will be implemented .
For purchase order , I go to NACE ---EF----NEU---Processing routines
print output---SAPFM06P---ENTRY_NEU----MEDRUCK
FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
EDI------------RANASTED--EDI_PROCESSING
DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
Are the above settings fine ?
What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
I searched and found that IN ECC 6 , we have to install OSS notes .
Gurus, please help me . Let me know what all oss notes be implemented and how to proceed from here .
Any help will be greatly appreciated ,
Monalisa -
Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.
I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.
-
Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
Thanks!Divya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
How can get difference between 2 dates in the form of days
how can get difference between 2 dates in the form of days
Hi,
Check the following program:
REPORT ZDATEDIFF.
DATA: EDAYS LIKE VTBBEWE-ATAGE,
EMONTHS LIKE VTBBEWE-ATAGE,
EYEARS LIKE VTBBEWE-ATAGE.
PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
TODATE LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
exporting
i_date_from = FROMDATE
i_date_to = TODATE
I_FLG_SEPARATE = ' '
IMPORTING
E_DAYS = EDAYS
E_MONTHS = EMONTHS
E_YEARS = EYEARS.
WRITE:/ 'Difference in Days ', EDAYS.
WRITE:/ 'Difference in Months ', EMONTHS.
WRITE:/ 'Difference in Years ', EYEARS.
INITIALIZATION.
FROMDATE = SY-DATUM - 60.
Regards,
Bhaskar -
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
Unable to retrieve the data in multiple rows within webservice method.Hi Paul,
I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
this is my code
TextField1.rawValue=xmlData.document.rawValue;
xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
for(var i=0; i<count; i++)
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
Table1.Row1.instanceManager.addInstance(true);
Thanks
Hussam -
Index file share with pictures - how to get the "Tag" property as refiner?
Hi,
I'm indexing a folder in file share and in the windows explorer view i gave values to the "Tags" property.
Now i want to set it as refiner in search results. I see that SharePoint gets the properties of: file name, size, picture height, picture width, author... how to get also the properties of Tags? and Dimensions?
keren tsurHi keren,
According to your description, my understanding is that you want to add some refiners based on pictures’ properties in SharePoint 2013 Search.
Firstly, do a full crawl for the content cource.
For the ‘Tags’ refiner, go to the results page, click on edit page and edit the refiners web part, then choose the Choose Refiners picker. Now add the TAGS field to the right hand column.
More information, please refer to the link:
http://social.technet.microsoft.com/wiki/contents/articles/23690.sharepoint-metadata-tag-refiners-not-displaying-in-sharepoint-2013office-365-search.aspx
SharePoint indexes an item based on list/library columns. However, for the Dimensions property of pictures, SharePoint library cannot retrieve the property from pictures . So when crawling, the property cannot be crawed as a crawled property, you are not
able to add it as a refiner in Search. When you use Picture Library, there are Picture Size, Picture Width and Height columns, you can create refiners based on these three columns. You can check them in Crawled properties(CA->Search Service Application->Seach
Schema).
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How to get field label in downloaded file
Hi,
How to get filed labels, when we download a report to an Excel sheet?
Thank UHI,
Hoping that you are using the 'GUI_Download' FM to download. Then you the
following code
TYPES : BEGIN OF type_xlhead,
colname TYPE char50,
END OF type_xlhead.
data: type_t_xlhead TYPE STANDARD TABLE OF type_xlhead,
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_file
filetype = c_asc
write_field_separator = c_x
TABLES
data_tab = rt_rec_result
fieldnames = type_t_xlhead
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
In the table rt_xlhead pass the name of fields.
DATA : s_xlhead TYPE type_xlhead.
CLEAR s_xlhead.
REFRESH type_t_xlhead .
s_xlhead-colname = 'Company Code'(116).
APPEND s_xlhead TO type_t_xlhead .
CLEAR s_xlhead.
s_xlhead-colname = 'Main Asset Number'(117).
APPEND s_xlhead TO type_t_xlhead
CLEAR s_xlhead.
s_xlhead-colname = 'Sub Number'(118).
APPEND s_xlhead TO type_t_xlhead
CLEAR s_xlhead.
Rewards points if useful -
How to get the count property from the oData response
Hi,
I have a fullscreen view in my Fiori app where we call a oData service through table.bindItems() inside the controller.
The binding of items works fine but we have a situation when we need to display the total number of items (for e.g. 515) on the UI. We do not get this information from the VDM, so we plan to use the length property of the getList() method to determine the total number of items. But because of growing feature of the table it only reads 100 items at a time and the length property returns only 100. I have attached the listener attachRequestCompleted() for the model so that once the bindItems() request is complete i can get the length property. But my problem is that i want the total count.
I saw in the debug that when this table.bindItems() gets called it makes a oData service call and in the response i can see that there is a count property available which has the total number of items (515 for my e.g.) but how do i read this count property from the response inside my controller (probably inside my attachRequestCompleted)?? I would really appreciate any help in this regard. Thanks.
Kind Regards,
Ashish
Tags edited by: Michael ApplebyHI Chandra,
Thanks for your suggestions.
But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515), but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
Regards,
Ashish -
How to get value of a elementId in a form
Hello
In a form, I can use a name for a input field or checkbox
<input type="text" name=studentName" />
then I can use:
request.getParameter("studentName") to get value of that name when the form is summitted.
Now I want to use id instead of name.
<input type="text" name="studentName" id ="name" />
Can I get the value of this id "name" in the request ???
Thank you
shoaHi,
Rather not, because "parameters are contained in query string or posted in form data" (from javadoc). And how data is posted you can read in http://www.w3.org/TR/html4/interact/forms.html#control-name.
Regards,
Stefan -
How to get names of all Windows in a Form Application at runtime
Dear All,
I want to get the name of all windows in a form module programatically at run time. How to get it?
Any help or comments will be highly appreciated.
Thanks in Advance.
Best Regards
BilalHi Francois Degrelle,
First of all thanks for the response.
What if I have no items on a content canvas? In my application, I am using content canvas to hold the Image banner and help text of the current form, having no items at all. I am also using tab canvases to hold all items of form. The tabs are displayed on the content canvas at run time. So the tab canvases acts like frames (In my case).
Now if I am looping through items, it gives me the list of all of the tab canvases. Whereas the tab canvas always has no window assigned, as it is displayed on content canvas which has that Window which I need. Thus I am unable to get the names of windows in my case through the above stated procedure.
Another option could be if I can get the name of the content canvas upon which the given tab canvas is displayed?
Any way to do this or some other way to achieve the use case?
Any help will be highly appreciated.
Thanks in advance
Bilal
Maybe you are looking for
-
Best practices for ARM - please help!!!
Hi all, Can you please help with any pointers / links to documents describing best practices for "who should be creating" the GRC request in below workflow of ARM in GRC 10.0?? Create GRC request -> role approver -> risk manager -> security team opti
-
I will be traveling in London for school for 2 months what kind of converter/adapter do I need for my apple products?
-
How do I download a pdf letter and then add text
How do I download a letter in pdf formatt and the add text to answer questions
-
Hi All, I just got a Curve 8900 Tmobile new from ebay. Seller said it was unlocked, but it's not. I need to use it overseas and on ATT when in the US. Problem is this...during set up, there is no email set up icon, and from what I think I've read,
-
Explain me the following replace statement
Hi guys, Please explain me the following replace statement with an example : REPLACE ALL OCCURRENCES OF '''' IN materialgroup_desc WITH ''''''. Please explain me the purpose of the above statement by showing the input and output. Regards, Vishu.