SOAP and Export Functionality
How does one enable Export Functionality on a form?
We're trying to use SOAP to load information dynamically into a form running in a browser. Works fine with Acrobat but doesn't work with Adobe Reader 7.0.
I see in the documentation that you need Export rights on the form in order to make SOAP calls. Is this something that can be done with Form Server 7.0 or does it require something else.
Thanks
-- Mordechai
Given that SOAP would seem to be a basic tool to create interactive forms, i.e. the classic populate a dropdown list based on information already in the form, it seems curious it wouldn't be considered a core capability when using Form Server to generate interactive forms.
In the Adobe marketing materials the value proposition around Reader Server extensions appears to be related to taking the form out of the browser, e.g. saving it for offline usage, emailing it around for markups, etc.
I don't get why SOAP calls would be disabled in the basic browser connected to a server scenario.
Similar Messages
-
Resizing and export function in LR and printing adjustments
(1) Lightroom version 5 should correct deficiencies in the export function, Many picture agencies/websites require a target file size in megabytes, say a minimum of 24MB or 48MB in RGB or sRGB-Only megapixels can be enterd in LR. LR does not display the original nor developed/cropped image size in MB so following compression to an 8 bit jpeg, it is not clear what target file size has been achieved unless it is separately opened in Photoshop or when uploaded. There is also no means of viewing within LR the resultant upsized image at 1:1 in the export window to check for artifacts/softness before exporting, so poor quality or under sized images can be exported. An accurate preview display would be useful. ( 2) Separately, I am not sure why LR4.4 and earlier versions do not the allow the export of the same image more than once to the same or different folder on the computer? There also seems to be a low limit on the file size than can be exported. (3) The print module should preview accurately the lightness and contrast adjustments for printing which would avoid a lot of wasted ink and paper. The soft proofing mode does not in my view accurately do this either.
If you'd like to submit features for possible inclusion into future versions of Lightroom, here is the link to use.
http://feedback.photoshop.com/
As far as Lightroom 5 is concerned, the list of features is relatively fixed and can be seen in Lightroom 5beta, and it is unlikely that additional new features will appear in Lightroom 5.
Regarding (1), I simply don't understand why anyone would require a specific megabytes for a photo. It makes no sense to me. Depending on what manipulations I perform on a photo, I can get the same photo to be many different sizes, but I'm not adding value nor am I producing a superior photo, I'm just changing the megabytes.
Regarding (2), I never tried exporting a photo twice, but it seems to me that if you just change the name on the second export file, there shouldn't be a problem. Am I wrong? -
Hi all,
My application does not work properly after I do the export/import application function. When I import the application, two things fail - the page authorization scheme and the breadcrumbs.
What can i do to avoid this problem ?
jeff.Jeff,
The breadcrumbs problem is a bug. When you installed the app as a new app ID, the data wasn't adjusted correctly by the install program. You need to edit each page's menu region and select the correct menu region from the lov in the Type attribute. This bug has been fixed in later releases. I changed this on page 1 and 2 for you.
The auhorization schemes all seem to depend on the successful execution of the before header process on page 1: BEGIN
SELECT lower(gid) into :P1_GID
FROM USERS
WHERE lower(email)=lower(:APP_USER || '@oracle.com');
END;This process fails because of the association of the dependence on '[email protected]' being in your users table.
Scott -
How to enable Validate and Export in FDM task
Hi everyone
I am working with setting up an FDM Task to Import, Validate and Export data to HFM.
The Task is able to import data to FDM, but I cannot make the process start the Validate and Export functions. If I do the process manually, then data is imported to HFM succesfully.
Am I missing something in the scripts or do I need to enable some feature in FDM?
Action Script:
Sub BatchLoadLedgerTrans()
'Declare Local Variables
Dim lngProcessLevel
Dim strDelimiter
Dim blnAutoMapCorrect
'Initialize Variables
lngProcessLevel = 50 'Import
strDelimiter = "_"
blnAutoMapCorrect = 0
'Create the file collection
Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter), FileName)
'Execute a Standard Serial batch
BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
End Sub Integration Script:
Function LedgerTrans_EDW_to_HFM(strLoc, lngCatKey, dblPerKey, strWorkTableName)
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
cnss.open "Provider=SQLNCLI11; Data Source=10.250.200.10; Initial Catalog=EDW; User ID=FDM-user; Password=MyPassword"
cnss.CommandTimeout = 0
'Create query String - VIEW
strSQL = "Select * "
strSQL = strSQL & "FROM EDW.hfm.ledgertranstable "
'Get data
rs.Open strSQL, cnSS
'Check For data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records To load!"
Exit Function
End If
'Loop through records And append To tTB table In location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = lngCatKey ' PlngCatKey
rsAppend.Fields("PeriodKey") = dblPerKey ' PlngCatKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Account") = rs.fields(2).Value
rsAppend.Fields("Desc1") = rs.fields(2).Value
rsAppend.Fields("Entity") = rs.fields(6).Value
rsAppend.Fields("ICP") = rs.fields(8).Value
rsAppend.Fields("Amount") = rs.fields(14).Value
rsAppend.Fields("UD1") = rs.fields(5).Value
rsAppend.Fields("UD2") = rs.fields(9).Value
rsAppend.Fields("UD3") = rs.fields(10).Value
rsAppend.Fields("UD4") = rs.fields(7).Value
rsAppend.Fields("UD5") = rs.fields(13).Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
LedgerTrans_EDW_to_HFM = True
End Function Best regards
Frederik
Edited by: Frederik Andersen on Jun 1, 2013 1:32 AMFound the solution.
The variable lngProcessLevel should be set to "12" to execute the full Import, Validate and Export.
Best regards
Frederik -
Any example to import and export itab to function module
hi all,
as the table parameter in function module is obsolete, please advise an example on how to pass in an internal table
and return back the result in an internal table as well.
for example, i have itab1 and itab2. By using table parameters i got the following code. Please advise alternative way by using import and export.
""Local Interface:
*" TABLES
*" itab1 STRUCTURE Zitab1
*" itab2 STRUCTURE Zitab2
loop at itab1 into wa_itab.
**do some logic here to assign value to itab2 and return.
wa_itab2-a = xxx .
wa_itab2-b = xxx.
append wa_itab2 to itab2.
endloop.
thank you.hi,
suppose you have two structure name struc1 and struc2.
create table type zitab1 & 2 for both.
please do the following:
""Local Interface:
*" IMPORTING
*" VALUE(itab1) TYPE Zitab1
*" EXPORTING
*" VALUE(itab2) TYPE Zitab2
you can avoid to use the obsolete table parameters as well as LIKE in function module creation.
cheers -
Difference between Import and Export parameters in Function Module
Hi All,
I am unclear about the import and export parameters, when i create a function module. Can anyone explain abt this. However when i call the function module in any program the import parameters in Function module are displayed as exporting in program amd the export parameters as importing.
Any help on this would be appericiated.
Shejal.HI,
Import parameter in FM is the value u provide to FM for processing.
export is the value u get from FM after processing.
when u call a FM in a progam the import parameter will appear as Export bcos u r giving value to the FM.
and u r getting value from FM in import parameter(bcos u r importing).
rgds,
latheesh
Message was edited by: Latheesh Kaduthara -
Import and Export Vs. Tables in a Function module interface
Hi,
i need to import and export internal tables to/from a Function Module.
Passing internal tables using import and export is good enough or do i need to use 'Tables' option. Please let me know the reasons if possible.
thanks for your help.
GK.you can use changing but you have declare a table type and use it in changing..
however TABLES is declared aas oblselete in ECC version 6.0
No Points Plz -
When I use the export function of quicklime (export to iPad,iPhone, Apple TV ... format), nothing append and I have the following error message on the monitor windows, (I'm using quicktime Version 10.4 (833) with OS X Yosemite ):
06/11/2014 22:22:03,507
QuickTime Player[1723]
postExceptionEvent caught non-fatal NSInvalidArgumentException '*** -[NSDictionary initWithObjects:forKeys:]: count of objects (0) differs from count of keys (4)' with backtrace (
0 CoreFoundation 0x00007fff8ac6564c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8924f6de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8ab98dcd -[NSDictionary initWithObjects:forKeys:] + 941
3 Foundation 0x00007fff8a6a8bcc -[NSDictionary(NSDictionary) initWithCoder:] + 245
4 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
5 Foundation 0x00007fff8a6854a6 _decodeObject + 278
6 Foundation 0x00007fff8a6a9921 -[NSKeyedUnarchiver decodeObjectOfClasses:forKey:] + 173
7 Foundation 0x00007fff8a75f2b4 -[NSError initWithCoder:] + 253
8 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
9 Foundation 0x00007fff8a6854a6 _decodeObject + 278
10 Foundation 0x00007fff8a6ab0c9 +[NSKeyedUnarchiver unarchiveObjectWithData:] + 89
11 QuickTime Player 0x000000010dcd8253 QuickTime Player + 758355
12 QuickTime Player 0x000000010dc8981f QuickTime Player + 436255
13 QuickTime Player 0x000000010dc894fb QuickTime Player + 435451
14 QuickTime Player 0x000000010dc6ce48 QuickTime Player + 319048
15 AppKit 0x00007fff93c5d75a __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1714 + 113
16 AppKit 0x00007fff93c4efca -[NSDocument continueActivityUsingBlock:] + 323
17 AppKit 0x00007fff93c5d5cb __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke_21706 + 458
18 AppKit 0x00007fff93c5d0ec __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1690 + 1365
19 AppKit 0x00007fff940903b6 -[NSVBSavePanel didEndPanelWithReturnCode:] + 68
20 AppKit 0x00007fff9409323d -[NSVBSavePanel didEndSheet:returnCode:contextInfo:] + 154
21 AppKit 0x00007fff93f718d9 -[NSWindow _endWindowBlockingModalSession:returnCode:] + 315
22 AppKit 0x00007fff9409307c -[NSVBSavePanel observeValueForKeyPath:ofObject:change:context:] + 560
23 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
24 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
25 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
26 ViewBridge 0x00007fff959cbbd7 -[NSViewBridge nonLocalChangeInProgress:block:] + 382
27 ViewBridge 0x00007fff95a15766 -[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 275
28 ViewBridge 0x00007fff95a158f1 -[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
29 CoreFoundation 0x00007fff8ab3e33c __invoking___ + 140
30 CoreFoundation 0x00007fff8ab3e192 -[NSInvocation invoke] + 290
31 ViewBridge 0x00007fff95a1bce3 __deferNSXPCInvocationOntoMainThread_block_invoke + 85
32 ViewBridge 0x00007fff95a1b91e __deferBlockOntoMainThread_block_invoke_2 + 390
33 CoreFoundation 0x00007fff8ab8354c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
34 CoreFoundation 0x00007fff8ab75655 __CFRunLoopDoBlocks + 341
35 CoreFoundation 0x00007fff8ab75196 __CFRunLoopRun + 1814
36 CoreFoundation 0x00007fff8ab74838 CFRunLoopRunSpecific + 296
37 HIToolbox 0x00007fff8cb6f43f RunCurrentEventLoopInMode + 235
38 HIToolbox 0x00007fff8cb6f1ba ReceiveNextEventCommon + 431
39 HIToolbox 0x00007fff8cb6effb _BlockUntilNextEventMatchingListInModeWithFilter + 71
40 AppKit 0x00007fff9383b821 _DPSNextEvent + 964
41 AppKit 0x00007fff9383afd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
42 AppKit 0x00007fff9382ef73 -[NSApplication run] + 594
43 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
44 libdyld.dylib 0x00007fff8ec845c9 start + 1
timestamp: 22:22:03.507 Thursday 06 November 2014
process/thread/queue: QuickTime Player (1723) / 0x7fff78cd0300 / com.apple.main-thread
code: line 844 of /SourceCache/ViewBridge/ViewBridge-99/ViewBridgeUtilities.m in logCaughtException
#exceptions
06/11/2014 22:22:03,525
com.apple.appkit.xpc.openAndSavePanelService[1748]
remote view failed to set bridge object {
URL = "file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v";
URLs = (
"file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v"
index = 1;
result = 1;
} for key most-recent-completion due to Error Domain=com.apple.ViewBridge Code=8 "L’opération n’a pas pu s’achever. (com.apple.ViewBridge erreur 8)." UserInfo=0x61000006ebc0 {com.apple.ViewBridge.error.hint=most-recent-completion, com.apple.ViewBridge.error.description=NSViewBridgeExceptionError}; service call stack was (
0 ViewBridge 0x00007fff959e8b30 -[NSViewServiceMarshal setRemoteObject:forKey:] + 341
1 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
2 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
3 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
4 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661407 com.apple.appkit.xpc.openAndSavePanelService + 9223
5 AppKit 0x00007fff93dead5a -[NSSavePanel _dismissModeless:] + 109
6 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a66191c com.apple.appkit.xpc.openAndSavePanelService + 10524
7 AppKit 0x00007fff93ded580 -[NSSavePanel ok:] + 449
8 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661952 com.apple.appkit.xpc.openAndSavePanelService + 10578
9 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
10 AppKit 0x00007fff93a0a5e7 -[NSApplication sendAction:to:from:] + 410
11 AppKit 0x00007fff93a0a410 -[NSControl sendAction:to:] + 86
12 AppKit 0x00007fff93bdedaf __26-[NSCell _sendActionFrom:]_block_invoke + 131
13 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
14 AppKit 0x00007fff93a52f2c -[NSCell _sendActionFrom:] + 144
15 AppKit 0x00007fff93bc5ab2 -[NSButtonCell _sendActionFrom:] + 39
16 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
17 AppKit 0x00007fff93a6da66 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
18 AppKit 0x00007fff93a6ccc1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 491
19 AppKit 0x00007fff93a6c289 -[NSControl mouseDown:] + 714
20 AppKit 0x00007fff93f65fef -[NSWindow _reallySendEvent:] + 12827
21 AppKit 0x00007fff939f065c -[NSWindow sendEvent:] + 368
22 AppKit 0x00007fff939a21e6 -[NSApplication sendEvent:] + 2238
23 ViewBridge 0x00007fff959d18ab -[NSViewServiceApplication sendEventWithoutCatch:withForwarding:] + 652
24 ViewBridge 0x00007fff959d1fbd -[NSViewServiceApplication sendEvent:withForwarding:] + 29
25 AppKit 0x00007fff9382efe8 -[NSApplication run] + 711
26 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
27 libxpc.dylib 0x00007fff88837ef2 _xpc_objc_main + 793
28 libxpc.dylib 0x00007fff88839a9d _parse_sysctl_once + 0
29 ViewBridge 0x00007fff95a20165 xpc_connection_handler + 0
30 ViewBridge 0x00007fff959d4ff7 NSViewServiceApplicationMain + 1892
31 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a665035 main + 208
32 libdyld.dylib 0x00007fff8ec845c9 start + 1
33 ??? 0x0000000000000001 0x0 + 1
timestamp: 22:22:03.525 Thursday 06 November 2014
process/thread/queue: com.apple.appkit.xpc.openAndSavePanelService (1748) / 0x7fff78cd0300 / com.apple.main-thread
code: line 3847 of /SourceCache/ViewBridge/ViewBridge-99/NSViewServiceMarshal.m in __47-[NSViewServiceMarshal setRemoteObject:forKey:]_block_invoke_2
#communications_failureHi,
have you tried to connect on the command line (instead of using R3trans) ?
db2 connect to AE1 user sapae1 using .....
If this works and you have verified that the DB2DB6EKEY is set properly, use dscdb6up to update the password in the password file dscbd6.conf.
Then try again to use R3trans to connect.
Best regards,
Jens -
DRM/MDM Import and Export File types - Question
Hi Guys,
We have been implementing Hyperion DRM to our existing Oracle Environment for managing the company's sales data which comes from multiple data sources. In my experience and research, I feel DRM is an excellent tool but there are some questions I have in our mind. The following are the few questions that I\we have.
a) How does the Import and Export of data functionality works in DRM? In this forum, I have found some one saying we can only import the data through flat files, in other words, "text file" with the delimiters [ ] seperated by comma. My question is, Is there any other possible way to import the data, Such as getting the data directly from the database tables? To get the data, Do we need to have any integration points or do we need to use SOAP APIs (& programming)?
b) While we exporting the data, can we export it directly to the Oracle database tables? What are the integration points needed for this kind of export?
c) Is there any sample guide or design document available for creating the hierarchy and nodes. I just want to know how the attributes that we have "is transformed" into the hierarchies and nodes in DRM? In the past, I used Essbase, which is integrated with DRM and that process was straight forward since we imported and exported data directly from DRM to Essbase.
I would appreciate any suggestion offered to me regarding the questions posted above.
Thanks in advance,
Leo
Edited by: user10201910 on Apr 1, 2009 4:58 PM
Edited by: user10201910 on Apr 1, 2009 5:00 PMHi,
1.As per my knowledge the Import can be done using Flat files only,we can import the data from Oracle Tables once the structure is ready in DRM.
2.We have an utility called Export to Table(in the last tab when you performing an Export along with Export to File), which requires the DB mapping to be done properly,
Thanks! -
GUI_DOWNLOAD and UPLOAD Function Modules?
Hi All,
What exactly done by GUI_DOWNLOAD and UPLOAD Function Modules?
Akshitha.What you exactly want know?
Here is the Sap documentation for both FM:
FU GUI_UPLOAD
Short Text
Upload for Data Provider
Functionality
The module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.
Example
Binary upload: No conversion or interpretation
begin of itab,
raw(255) type x,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'BIN'
filename = 'C:\DOWNLOAD.BIN'
tables
data_tab = itab.
Text upload
begin of itab,
text(255) type c,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'ASC'
filename = 'C:\DOWNLOAD.TXT'
tables
data_tab = itab.
Parameters
FILENAME
FILETYPE
HAS_FIELD_SEPARATOR
HEADER_LENGTH
READ_BY_LINE
DAT_MODE
CODEPAGE
IGNORE_CERR
REPLACEMENT
CHECK_BOM
VIRUS_SCAN_PROFILE
NO_AUTH_CHECK
FILELENGTH
HEADER
DATA_TAB
Exceptions
FILE_OPEN_ERROR
FILE_READ_ERROR
NO_BATCH
GUI_REFUSE_FILETRANSFER
INVALID_TYPE
NO_AUTHORITY
UNKNOWN_ERROR
BAD_DATA_FORMAT
HEADER_NOT_ALLOWED
SEPARATOR_NOT_ALLOWED
HEADER_TOO_LONG
UNKNOWN_DP_ERROR
ACCESS_DENIED
DP_OUT_OF_MEMORY
DISK_FULL
DP_TIMEOUT
Function Group
SFES
FU GUI_DOWNLOAD
Short Text
Download an Internal Table to the PC
Functionality
Data transfer of an internal table form the server to a file on the PC. The Gui_Download module replaces the obsolete modules Ws_Download and Download. The file dialog of the download module is available in the class Cl_Gui_Frontend_Services.
Further information
TYPE-POOLS: ABAP.
Binary download table
DATA: BEGIN OF line_bin,
data(1024) TYPE X,
END OF line_bin.
DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
Ascii download table
DATA: BEGIN OF line_asc,
text(1024) TYPE C,
END OF line_asc.
DATA: data_tab_asc LIKE STANDARD TABLE OF line_asc.
DAT download table
DATA: BEGIN OF line_dat,
Packed TYPE P,
Text(10) TYPE C,
Number TYPE I,
Date TYPE D,
Time TYPE T,
Float TYPE F,
Hex(3) TYPE X,
String TYPE String,
END OF line_dat.
DATA: data_tab_dat LIKE STANDARD TABLE OF line_dat.
Get filename
DATA: fullpath TYPE String,
filename TYPE String,
path TYPE String,
user_action TYPE I,
encoding TYPE ABAP_ENCODING.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
WINDOW_TITLE = 'Gui_Download Demo'
WITH_ENCODING = 'X'
INITIAL_DIRECTORY = 'C:\'
CHANGING
FILENAME = filename
PATH = path
FULLPATH = fullpath
USER_ACTION = user_action
FILE_ENCODING = encoding
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
IF user_action <> CL_GUI_FRONTEND_SERVICES=>ACTION_OK.
EXIT.
ENDIF.
Download variables
DATA: length TYPE I.
Binary download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = fullpath
FILETYPE = 'BIN'
IMPORTING
FILELENGTH = length
TABLES
DATA_TAB = data_tab_bin
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.
Ascii download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = fullpath
FILETYPE = 'ASC'
IMPORTING
FILELENGTH = length
TABLES
DATA_TAB = data_tab_asc
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.
DAT download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = fullpath
FILETYPE = 'DAT'
IMPORTING
FILELENGTH = length
TABLES
DATA_TAB = data_tab_dat
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.
Parameters
BIN_FILESIZE
FILENAME
FILETYPE
APPEND
WRITE_FIELD_SEPARATOR
HEADER
TRUNC_TRAILING_BLANKS
WRITE_LF
COL_SELECT
COL_SELECT_MASK
DAT_MODE
CONFIRM_OVERWRITE
NO_AUTH_CHECK
CODEPAGE
IGNORE_CERR
REPLACEMENT
WRITE_BOM
TRUNC_TRAILING_BLANKS_EOL
WK1_N_FORMAT
WK1_N_SIZE
WK1_T_FORMAT
WK1_T_SIZE
WRITE_EOL
FILELENGTH
DATA_TAB
FIELDNAMES
Exceptions
FILE_WRITE_ERROR
NO_BATCH
GUI_REFUSE_FILETRANSFER
INVALID_TYPE
NO_AUTHORITY
UNKNOWN_ERROR
HEADER_NOT_ALLOWED
SEPARATOR_NOT_ALLOWED
FILESIZE_NOT_ALLOWED
HEADER_TOO_LONG
DP_ERROR_CREATE
DP_ERROR_SEND
DP_ERROR_WRITE
UNKNOWN_DP_ERROR
ACCESS_DENIED
DP_OUT_OF_MEMORY
DISK_FULL
DP_TIMEOUT
FILE_NOT_FOUND
DATAPROVIDER_EXCEPTION
CONTROL_FLUSH_ERROR
Function Group
SFES -
What is the best way to import and export footage from the 5D Mark II?
Hello,
I've just finished shooting what I am considering to be my directorial masterpiece. Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing. Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline. I want to know the best way to retain resolution before I delve into this project.
My questions:
1) What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
2) What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
3) What is the best way/ codec/ format to import and export/ render between premiere and after effects? I am speaking mostly of vfx and color correction. I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
I know this is pretty broad, but as a solo filmmaker I really need someone's guidance. I rarely ever finish my films with the same, crisp look as the footage. I need pipeline help, and really appreciate it!ascreenwriter wrote:
Hello,
I've just finished shooting what I am considering to be my directorial masterpiece. Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing. Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline. I want to know the best way to retain resolution before I delve into this project.
My questions:
1) What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
2) What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
3) What is the best way/ codec/ format to import and export/ render between premiere and after effects? I am speaking mostly of vfx and color correction. I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
I know this is pretty broad, but as a solo filmmaker I really need someone's guidance. I rarely ever finish my films with the same, crisp look as the footage. I need pipeline help, and really appreciate it!
1. Follow the advice above. Also use the Media Browser to import the footage in case you have spanned media files. Import files with the Media Browser.
2. It largely depends on what you wish to ouput to: Blu-ray, web, etc. This FAQ gives the best answer: What are the best export settings?
3. Use the Replace with Adobe After Effects Composition function. -
How to extract data from an arbitrary xml file and export in a nice csv file?
Hallo,
I'm facing big problems in the use of XML files. I have an
application which generates XML files with clusters containing arrays
and scalars like in the example pasted below. My task is to
read it and export the data in a human-friendly CSV document.
Since I don't know the actual content of the cluster, I need some kind
of intelligent vi which goes through the XML file looking for arrays
and other data structures in order to export them properly in the CSV
format (columns with headers).
Thank you
<Cluster>
<Name></Name>
<NumElts>3</NumElts>
<Array>
<Name></Name>
<Dimsize>6</Dimsize>
<I32>
<Name></Name>
<Val>0</Val>
</I32>
<I32>
<Name></Name>
<Val>1</Val>
</I32>
<I32>
<Name></Name>
<Val>2</Val>
</I32>
<I32>
<Name></Name>
<Val>3</Val>
</I32>
<I32>
<Name></Name>
<Val>4</Val>
</I32>
<I32>
<Name></Name>
<Val>5</Val>
</I32>
</Array>
<DBL>
<Name></Name>
<Val>3.14159265358979</Val>
</DBL>
<String>
<Name></Name>
<Val>ciao</Val>
</String>
</Cluster>
Solved!
Go to Solution.Thank you again,
I'm forwarding my vi draft with many comments and an xml file sample.
Data in cluster is stored according to the LabVIEW schema, infact it is generated by LabVIEW.
What I'm trying to do is to access the element of the cluster and read their content using the Invoke node and Property node functions. Could you give it a look, there may be something wrong, I'm not able to access cluster children.
Which funcions should I use? Could you give me an example? You may use the draft I enclosed...
Then write these data in a csv file
should be the easier part.
BODY{font:x-small 'Verdana';margin-right:1.5em}
.c{cursor:hand}
.b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none}
.e{margin-left:1em;text-indent:-1em;margin-right:1em}
.k{margin-left:1em;text-indent:-1em;margin-right:1em}
.t{color:#990000}
.xt{color:#990099}
.ns{color:red}
.dt{color:green}
.m{color:blue}
.tx{font-weight:bold}
.db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
.di{font:small Courier}
.d{color:blue}
.pi{color:blue}
.cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
.ci{font:small Courier;color:#888888}
PRE{margin:0px;display:inline}
<?xml
version="1.0" encoding="iso-8859-1" ?>
<Contents type="Data"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="XMLSection.xsd">
<section name="beta"
date="7/31/2009" time="3:43:03 PM" version="1.0">
<Cluster>
<Name />
<NumElts>1</NumElts>
<Array>
<Name />
<Dimsize>4</Dimsize>
<DBL>
<Name>number: 0 to 1</Name>
<Val>0.93317638164326</Val>
</DBL>
<DBL>
<Name>number: 0 to 1</Name>
<Val>0.79233924020314</Val>
</DBL>
<DBL>
<Name>number: 0 to 1</Name>
<Val>0.39199947274518</Val>
</DBL>
<DBL>
<Name>number: 0 to 1</Name>
<Val>0.74817197429441</Val>
</DBL>
</Array>
</Cluster>
</section>
</Contents>
Attachments:
read_array.vi 12 KB -
Fields missing in import and export structure PPCO0001 - PPCO0023
Hello Experts,
I'm hoping that you can help me. I am trying to add some logic in user exits to default data and do some checking in production orders. It would be great if I could talk to you about what Iu2019m trying to do and the problem that Iu2019m running into.
My main problem is that in the exits provided (enhancements PPCO0001 u2013 PPCO0023), most of the time either fields being imported or the field being exported do not include the fields that I want to change or check. Iu2019m wondering if there is some way to just pull-in the data and change/check in addition to what is already available to the exit. - Can I append the structures?
Hereu2019s an example below:
u2022 PPCO0006 Enhancement to predefine fields in order header
With this enhancement you can take fields from the order header in your own program and process them or define values for them and transfer the changed data again to the standard system. The transfer to the system takes place before you reach the order header screen. EXIT_SAPLCOZF_003 Exit for predefining fields in order header. The fields in the order header (structure CAUFVD) are placed in the function exit. All the fields that you can define or change are defined in the structure HEADER_CUST. The contents of HEADER_CUST is transferred back to CAUFVD on leaving the function exit.
Problem 1.
The documentation sounds greatu2026. Seems like the right place -- all the data I need is supposed to already be in CAUFVD_IMPu2026. BUT HEADER_CUST and HEADER_CUST_EXP do not have the fields that I need change. If I try to append the structure and include additional CAUFVD fields I either get a warning in the activation because of duplicate fields or If I try to add them as Zfields the program doesnu2019t take the change data because it does a move-corresponding from HEADER_CUST_EXP to CAUFVD and the Z fields donu2019t match. - what is the correct way to change header values if the fields that you want to change are not already defined in the structure HEADER_CUST?
Problem 2.
It seems that this exit occurs prior to pulling in the data from the standard routing (which would normally populate CAUFVD-PLGRP ... at the time of the exit this field is blank so i cannot use it to determine the value for another header field. I could get around this by reading directly PLKO but that won't help me if I cannot add CAUFVD-FEVOR as a field availble for changing/defaulting.
Problem 3.
If I get around Problem 2, I still have another problem. In PPCO0007& PPCO0001 I'm trying to change the user status to block the order from being printined until it passes the validation check and is error free. In PPCO007 I can block the order from being saved or in PPCO0001 I can raise a message that an error was found... but I need to change the user status at the same time as rasing the error or blocking the save.
Thanks so much for any guidance that you can give.Dear,
When you do so, in the PPCO0001 customer enhancement, you should carry out follow actions based on the status changes since the contents of the STATUS_TABLE and STATUS_TABLE_OLD Exist is EXIT_SAPLCOBT_001 and CALL FUNCTION 'STATUS_CHANGE_EXTERN'
For details refer the OSS note 86553
Hope it will help you.
Regards,
R.Brahmankar -
Prefixed XMLNS and exported XML from PDF
I have the following XSD sample:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.irs.gov/efile" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="efileTypes.xsd"/>
<!-- =================================== ATTACHMENTS TO MESSAGES =================================== -->
<!-- IRS Submission Manifest -->
<xsd:element name="IRSSubmissionManifest">
<xsd:complexType>
<xsd:sequence>
I am importing the XSD file into Designer and generating all possible fields. I include a button to generate XML output using Acrobat. When I load the PDF into Acrobat and generate the XML, I want the following result:
<IRSSubmissionManifest xmlns="http://www.irs.gov/efile" xmlns:efile="http://www.irs.gov/efile">
However, no matter how I edit the XSD, I can only generate the following result:
<IRSSubmissionManifest xmlns="http://www.irs.gov/efile">
How do I get the " xmlns:efile="http://www.irs.gov/efile" " fragment to appear in the IRSSubmissionManifest element?
Thank you.Thanks again for your help.
I tested your code as-is on a webpage for testing XLST, and when I gave it some sample XML data it returned all the element content with the element tags removed. The sample data is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<IRSSubmissionManifest xmlns="http://www.irs.gov/efile"><SubmissionId>2</SubmissionId><EFIN>123456</EFIN><TaxYear>2011</TaxYear><GovernmentCode> IRS</GovernmentCode><FederalSubmissionType>1040</FederalSubmissionType><TaxPeriodBeginDate >20110101</TaxPeriodBeginDate><TaxPeriodEndDate>20111231</TaxPeriodEndDate><TIN>123456789< /TIN></IRSSubmissionManifest>
I altered the fourth line of your XSLT to read as follows: <xsl:template match="IRSSubmissionManifest">
I tested that XSLT on this page: http://xslttest.appspot.com/
And the result was exatly what I needed.
However, I since imported that XSLT into the PDF in Designer and the transformation doesn't occur. The generated XML has all element tags removed. I receive no error messages regarding the XSLT when I save the PDF file in Designer.
So close yet not enough.
I wonder if the XML export functionality doesn't like having the root element tag altered. Regardless, it doesn't seem like any of the data supplied is in error. -
How To Use Exported Function "CallInstrument" of LabView.exe ?
Hello!
I want to use the function "CallInstrument" to dynamically call VIs with LabView. Did anyone has experiences with this function?
All I kow is following:
The function is used by LabView Internals and its Runtime Library. Its exported by LabView.Exe and lvrt.dll.
Its prototype is maybe:
int CallInstrument(CPStr* VIPath, int controlcount, int indicatorcount, int options, [ Variable List of Control/Indicator Parameters ]... );
( CPStr Type is a StringArray of PStr (Short PascalStrings) as it is used by LabView to store Path datatypes. )
I whould be glad, if anyone has information about this function.Dear Rolf Kalbermatter,
Thirst, thanks a lot for your answer! -
You sure right, It whould be much much more comfortable to use the VI Server.
And you're also right... using a undocumented dll-function is absolutly no longtime solution.
Currently I am using VI Server for my problem, but it doesn't fit my interesst so much.
But I will explain, what I'm trying to do.
I want to call a VI dynamically from LabView, giving Parameters to its Controls and receive Results from its Indicators.
Realy no big job, but VI Server only let you do this that easy if you have a VI Typedef. otherwise... with untyped VIs, its not that simple. Ok.. its not impossible, you can use "GetAllControlValues" and "SetControlValue" (functions from VI server) and the call "RunVi". But this can get slow (>100ms per call :/ )
I'm looking for a alternative function, which let me call a VI dynamically with userdefined Parameters. Maybe you know the ActiveX Interface IVirtualInstrument and its Function "Call2" - it is a nice example, what kind of function i want.
But this function is not directly available by the VI Server--- i don't know for what reason.
Then i tried to make use of "Call2" from within LabView, and it took me some time to find out the right Parametersyntax but finnaly i got it and it worked fine ... but it was no long time until problems occur. I cannot tell what really went wrong, but sometimes labview simply crashed or hang into a loop reseting some VIs. And its also impossible to stop a running vi, with has made a call to "Call2", if the call doesn't return by itself.
Next step is/was trying to take advantage of CallInstrument. So, yesterday... after hours of analysing assemblercode, i finnally found out the correct use of LabView.exe->CallInstrument and i'm very impressed about its speed (0-15ms per call). The prototype seem to be the same as you explained in your reply int CallInstrument(Path path, Bool modal, int32 nInputs, int32 nOutputs, ...)
But It has the same problem as its ActiveX derivat "Call2".. if you call an endless looping VI, LabView cannot stop your caller-vi. The other bad thing is, that this function is using dynamic paramterlist, which are placed directly onto the stack!
That means that the paramter count on the stack is NOT FIXED (printf makes it the same). LabVIews DLL InvokeNode doesn't support this.
At my current position, it looks like i have three possiblities but no one fits into my interesst.
(continued with next answer)
Maybe you are looking for
-
Just got an iPhone 3GS, How do I connect to home WiFi network?
I posted this in the network discussion as well, but wasn't getting answers and I need to resolve this problem as soon as possible. I just got my brand new iPhone 3GS. I just recently finished fully charging it and activating it. I am exploring my ne
-
SD-MMC is not working correctly
Respected Sir, My laptop pavilion g6 series 1111-el ,my sd-mmc is not working properly when i insert adaptor with memory card it show but after 1 somre time it doesnot show anything.when i copy something from card it show
-
How do I see my most looked at websites in the main viewing pane when I open a new tab?
This used to be what I saw on the main area in front of me, but now I have a thing with MySearchDial in front and I can't change back. I have deleted My Search Dial from the programs. Thanks for your help. Harry
-
Hello I've packaged my classes and relevent images and html help into a jar file in a structured directory format. I'm using the method this.getClass().getResource(String path) to access the files. On linux my program executes 100%, images load, html
-
Materials of requisition 14009209 item 00010 alr. ordered in full
Dear SAP Experts, We have created one Services PR has one line item 10, for line item 10 we have 5 services. Against this services PR we created one Services PO for half quantity of services. For rest of quantity of services , we are creating 2nd ser