Is DIAdem script with Extended Classification functionality of DIAdem Professional executable by DIAdem Base?
The Professional license adds 3D model data mapping and Extended Classification functionality to DIAdem. If I make a script that uses the 3D model data mapping functionality in DIAdem Professional it is possible to use this same script on a PC with only DIAdem Base (according to http://sine.ni.com/ds/app/doc/p/lang/nl/id/ds-263)
Is this also true for the Extended Classification functionality? Is it possible to make a script with DIAdem Professional and execute this same script on a PC with only DIAdem Base to generate a report?
Thanks,
Roger
Hi Roger,
My understanding is that the VBScript you create that uses the extended classification function will work fine in DIAdem Base.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Similar Messages
-
SQL script with a prompt functionality.
Hello experts,
I tried searching this on the net but was unsucessful...
Bascially I need to update an sql script with a prompt functionality..Basically I would like a user prompt that would enter 'Yes or No' to compile invalid objects using utlrp.
If Yes, it should compile it
If No it should exit out...
Can anyone please help.. Need to do this today.
Edited by: user568296 on Oct 2, 2009 8:18 AMHi,
As someone suggested, you're probably better off doing this at the OS level.
SQL*Plus does not have any good mechanism for conditional branching. One trick you can do in SQL*Plus is to run one script from another by saying <tt>@@filename</tt>. By using a substitution variable (which can be defined based on the results of a query) in place of a literal filename, you can make this dynamic.
For example, the following script runs either
recompile.sql or
goodbye.sql
based on the answer to a prompt:
ACCEPT recompile_now PROMPT 'Do you want to recompile objects now? '
COLUMN next_script_col NEW_VAL next_script
SELECT CASE
WHEN UPPER ('&recompile_now') LIKE 'Y%'
THEN 'recompile'
ELSE 'goodbye'
END AS next_script_col
FROM dual;
@@&next_script<tt>@@filename</tt> assumes filename.sql is on the same directory as the calling script. You could also give a full path name using only one @-sign:
<tt>@pathname</tt> -
Send back to author issue in HCMFP with extended notification functionality
Hi,
We are using HCM Forms and Processes in our project .When the Form is sent back to author by the manager, author receives the email using extended notification functionality where the author clicks on the link provided in the notification email to open the form.Till here everything working fine, but when the author sends the form again for approval with required changes , the approver could not see the latest changes in the form. He still see the old data. Please note standard Task TS04000020: PD Form Is Edited Again by Author is used in the workflow.
We tried the same scenario, where author access the form through UWL, make necessary changes and send the form for approval. In this case,latest changes can be seen by approver without any issue.But, as per business we can not provide UWL and should use extended notification functionality only..
Please help in resolving the issue with extended notification functionality as early as possible.
Thanks,
Pavan.Hi Viji,
Regarding your question.. here is the business requirement.
1. Author fills the HCM form , hit check and send button, so that workitem goes to approver's UWL.Author do not have portal, but performs this process from SAP GUI itself using the webdynpro link as shown below.
https:// pint01.xxx.net:8043 /sap/bc/webdynpro/sap/asr_pd_process_execute?sap-wd-configId=ZXX_PD_PROCESS_EXECUTE
2. Approver has buttons on the form to approve, reject or send back to author.
3. When author hits the "send back to author" button, the work item (task TS04000020) will be created for the author.
4. The notification email will be sent to author using the program SWN_SELSEN.The email contains a link as shown below to open, edit,check and send it again for approval.
https:// pint01.xxx.net:8043 /sap/bc/webdynpro/sap/asr_process_execute?WI_ID=000000052545
The problem here is, when the author makes changes and send the form for approval, the approver still see the old content only in the form.
Thanks,
Pavan. -
Help Needed With "Extend Marker" Function Not Working
I have several Clips and used the "DV Start/Stop Detect" function to find the time code breaks, which seems to work well. I've now got a clip full of Segment markers.
The problem arises when I try to use Extent Markers "Option + `" to make subclips. When I put the play head on a subsequent marker, the Marker/Extend function is grayed out.
Extending a marker that I have created using the M key works perfectly.
Why can I not use the Extend function on Segment Markers?
Any help on this is greatly appreciated. I have 30 odd clips that I need to set up segments for, and doing it manually will add hours to my workload.
Thanks
Gary
Dual G5 2.5 GHz Dual Core, 2.5 GB RAM, 500 GB HDD Mac OS X (10.4.3) Final Cut Studio FCP 5.0.4Thanks for the reply.
I am completely aware of items 1 through 3, and never Extend markers in the Timeline. Only the Viewer.
To perform an Extend Marker and avoid headaches, load the captured clip - the one with the video icon in the Browser - into the Viewer. Then, as you scrub along in the Viewer, Option-` as needed.
That is precisely what I am doing.
To Extend the marker I first double click the clip to load the entire clip into the Viewer, where all the Section markers are displayed. I then check Mark>Markers>Extend and the function is grayed out. However, if I move the playhead one frame prior to the Section marker, the previous Section marker extends to the frame prior to the new play head position.
If I do this with manually entered markers (using the M key, creating Marker 1, 2, 3.... in sequence on the Viewer timeline), then the Previous marker is extended to the frame immediately prior the the current play head position - i.e. from Marker 1 to Marker 2. I do not have to move off the Marker 2 position to be able to extend Marker 1.
Also, simply selecting all your Markers and either dragging them to another bin (or pressing Command-U) does not produce the needed subclips?
Of this I am also aware. I find the Command-U process just confuses the issue, creating more clips to manage (others may disagree). I prefer to simply drag the "Subclips" directly from the Main clip into a Timeline.
Because you're doing all this to get subclips, right? Or wrong?
If I understand your reply correctly, I think you misunderstood my problem. I have been using subclips for several years, and find them VERY useful, especially with multi-camera shoots. So, I am quite familiar with creating and extending markers.
I just started experimenting with the Detect feature and find it works quit well (most of the time). My problem is that the Segment markers created by the Detect process, do not perform the same as manually place markers, as far as the Extend marker function is concerned, anyway.
BTW - By using the TC display in my Panasonic PV-GS400 Camera, and sending the FCP video via Firewire to the camera, the camera displays the TC on the captured clip, which I then rename the marker to for TC reference. As long as the Date/Time on the cameras are properly synced, syncing clips in the Timeline is a breeze!!
Anyway, to clarify, my process is as follows:
1. Capture a clip.
2. Display the clip in the Viewer
3. Select "DV Start/Stop Detect" and watch as the section markers appear in the Viewer.
4. In Viewer, place play head on the first Section marker
5. Press the M key to Edit Marker.
6. Change the Name of the marker to the timecode of the Marker now displayed in the Camcorder window.
7. Use Shift-Down Arrow to move to the next Section Marker
8. Press Option+` to Extend the previous marker - which does not work and is grayed out in the Mark>Markers>Extend menu.
9. Back to step 5.
This process works perfectly with manually created markers. Because the Extend works if I move the play head one frame prior to the current Section marker, this tells me there is something "special" about the Section marker that disables the Extend function, unlike a manually created marker.
BTW - If I delete the Section marker, and create a manual marker at the same frame, the Extend marker function works again. Again, indicating that Section markers are different somehow from manual Markers.
Hopefully, this wordy explanation of my process clarifies my problem.
Aside: The clips are supplied to me by a customer on a 500GB FW800 drive. FCP5 was used to capture the clips from the original Tapes (which I do not have access to). I am the editor for the project.
Thanks again for the reply. It is greatly appreciated. If there is any other info that I have missed that will help figure this out, please let me know and I will post a response a quickly as possible.
Gary -
Problem with extended SQL functions in RTF Template
Hello,
I'm new to BI Publisher and I'm trying to create a new rtf template. I've created my layout and added fields without any problems, but I'm having trouble trying to insert calculations such as add,substract,multiply,divide, etc.
Here is an example of what I'm trying to do:
<?xdofx:STAFF_ASMT+100?>
Where STAFF_ASMT is one of my fields. When I add this function all I get is the actual value from that field returned on the first page, and then on other pages I get the value plus an extra zero.
So with my example data below I get: 6600 on page 1 and 51830 on page 2. Any ideas on what I'm doing wrong or if it is possible to do what I'm doing? Also, is it possible to add/substract/multiple two or more fields together?
Something like this: <?xdofx:STAFF_ASMT+GROSS_INV?>
I was going to add all of these functions to my SQL statement, but I have 30 or so calculations I want to perform in the layout and I don't want to have to write that all out in SQL.
<ROWSET>
<ROW>
<STAFF_ASMT>6600</STAFF_ASMT>
<GROSS_INV>0</GROSS_INV>
</ROW>
<ROW>
<STAFF_ASMT>5183</STAFF_ASMT>
<GROSS_INV>0</GROSS_INV>
</ROW>
</ROWSET>
Thanks for your helpWhen I tried that I get the following error message when I click the Validate Template option:
[080609_031631893][][ERROR] [Line 162.184] Incorrect XPath: +
And when I try to generate a PDF preview I get:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:439)
at RTF2PDF.main(RTF2PDF.java:289)
Caused by: oracle.xdo.parser.v2.XPathException: Error in expression: './/+'.
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571) -
Adobe Acrobat X: Attachments and Extended Reader Functions...
All,
after adding attachments (e.g. PDF documents) to a PDF document and saving the document with "Extended Reader Functions" an error is shown in the Java debugger window:
SyntaxError: missing ) after argument list
10:Document-Level:ADBE::FileAttachmentsCompatibility
Adobe creates a document-level javascript function called "FileAttachmentsCompatibility" within ADBE.
Looking into the source code, the error can be easily seen
app.alert("Dieses Dokument hat Dateianlagen. zum Anzeigen der Anlagen klicken Sie auf "Speichern", um eine Kopie des...
(a part of the German version is shown)
As one can see, the highlighting "Speichern" (saving) is inside of double quotation marks.
This can only be solved by - again - saving the newly created document as a copy. Opening this document, one can edit the faulty script
Find below the corrected version:
var v = app.viewerVersion;
if (v < 7)
var n = 0;
if (this.dataObjects != null)
n = this.dataObjects.length;
if (v >= 5 && v < 6 && n > 0 && (app.viewerVariation == "Full" || app.viewerVariation == "Fill-In"))
if (this.external)
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen klicken Sie auf "Speichern", um eine Kopie des Dokuments zu speichern. Öffnen Sie die Kopie in Adobe Acrobat, und wählen Sie "Datei" > "Dokumenteigenschaften" > "Eingebettete Datenobjekte".", 3, 0);
else
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen wählen Sie "Datei" > "Dokumenteigenschaften" > "Eingebettete Datenobjekte".", 3, 0);
else if (v >= 6 && v < 7)
if (n == 0)
var np = this.numPages;
syncAnnotScan();
for (var p = 0; p < np && n == 0; ++p)
var annots = this.getAnnots(p);
if (annots != null)
for (var i = 0; i < annots.length; ++i)
if (annots[i].type == "FileAttachment")
n = 1;
break;
if (n > 0)
if (this.external)
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen klicken Sie oben in der vertikalen Bildlaufleiste des Dokumentfensters auf das schwarze Dreieck und wählen "Dateianlagen".", 3, 0);
else
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen wählen Sie "Dokument" > "Dateianlagen".", 3, 0);The script was automatically created by the Adobe Acrobat software...
I know the issue, but is there any bug-fix available? I don't want to correct it for every document!
Correction: Above you find the automatically created document.
A corrected possibility is shown below:
var v = app.viewerVersion;
if (v < 7)
var n = 0;
if (this.dataObjects != null)
n = this.dataObjects.length;
if (v >= 5 && v < 6 && n > 0 && (app.viewerVariation == "Full" || app.viewerVariation == "Fill-In"))
if (this.external)
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen klicken Sie auf 'Speichern', um eine Kopie des Dokuments zu speichern. Öffnen Sie die Kopie in Adobe Acrobat, und wählen Sie 'Datei' > 'Dokumenteigenschaften' > 'Eingebettete Datenobjekte'.", 3, 0);
else
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen wählen Sie 'Datei' > 'Dokumenteigenschaften' > 'Eingebettete Datenobjekte'.", 3, 0);
else if (v >= 6 && v < 7)
if (n == 0)
var np = this.numPages;
syncAnnotScan();
for (var p = 0; p < np && n == 0; ++p)
var annots = this.getAnnots(p);
if (annots != null)
for (var i = 0; i < annots.length; ++i)
if (annots[i].type == "FileAttachment")
n = 1;
break;
if (n > 0)
if (this.external)
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen klicken Sie oben in der vertikalen Bildlaufleiste des Dokumentfensters auf das schwarze Dreieck und wählen 'Dateianlagen'.", 3, 0);
else
app.alert("Dieses Dokument hat Dateianlagen. Zum Anzeigen der Anlagen wählen Sie 'Dokument' > 'Dateianlagen'.", 3, 0); -
Using variables in a calculation function in Diadem script
Hey guys,
I'm new to working with Diadem Scripts. I have tried the two different ways below to make the values of a channel equal to the results of a formula containing created variables. I can do it if the formula contains values in place of the variables using the calculator method. I would appreciate any guidance on how to correct the syntax in the below scripts.
Option Explicit 'Forces the explicit declaration of all the variables in a script.
dim a, b, c
a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
Ch ("[2]/ROP (ft/hr)") = a + b* Ch("[2]/Backhead Pressure (psi)") + c* Ch("[2]/Backhead Pressure (psi)")^2
Or
Option Explicit 'Forces the explicit declaration of all the variables in a script.
dim a, b, c
a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
call ChnCalculate("Ch(""[2]/ROP (ft/hr)"")="&a+&b"*Ch(""[2]/Backhead Pressure (psi)"")+"&c"*Ch(""[2]/Backhead Pressure (psi)"")^2")I think you need to use channel name strings of the format "Group Name/Channel Name" in your ChnCalculate function. I usually use a formula, a symbol array, and a value array to get this done:
Dim a, b ,c, sFormula, aSymbols, aValues
Redim aSymbols(6), aValues(6)
aSymbols(0) = "a"
aSymbols(1) = "b"
aSymbols(2) = "c"
aSymbols(3) = "A"
aSymbols(4) = "B"
aValues(0) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Va
lue
aValues(1) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
aValues(2) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
aValues(3) = Data.Root.ChannelGroiups(2).Channels("ROP (ft/hr)").GetReference('ref type')
aValues(4) = Data.Root.ChannelGroiups(2).Channels("Backhead Pressure (psi)").GetReference('ref type')
sFormula = "Ch(A) = a + b*Ch(B) + c*(Ch(B))^2"
Call ChnCalculate(sFormula,aSymbols,aValues)
CLAD -
Indesign document read with Extend Script
Hi, I am very new to indesign,
I have given a task, to read indesign .indd file with Extend Script. The details are,
I have one indesign doument, say 'Test.indd'. I want to access that document usiing javascript,
and I want to know how many pages are there, how many textFrames in one page, like this.
Is it possible with Extend Script? If yes, Can you tell me how we can acheive that?
I searched with google, bt I have not found any clue regarding to this
Thanks,
ShridharIt's better to ask at Indesign Scripting forum
http://forums.adobe.com/community/indesign/indesign_scripting?view=discussions -
Extended Rebate Functionality with Variable Keys
Hello All,
I am trying to find information on extended rebate functionality in 4.7. I have looked though white pages G72, G63, and G64 but have yet to find what I am looking for.
Basically I want to be able to spread a rebate settlement (credit memos) to multiple partners in a customer hierarchy evenly based on their individual sales volume (instead of one Rebate recipient per agreement I want many based on customer hierarchy node).
I also would like to spread the settlement against multiple materials.
I have heard this is may be possible using the variable keys and structure S469 but for the life of me I cannot figure out if it is possible to do what I am asking.
I really appreciate any help that can be extended to me.
Thanks,
LanceHi Lance,
thr price-conditions ( values or rabates ) are stored in Tables like S+++ ( S469).
You want to have an access to a pricing table with other keys as you found in the standard system.
Therefor : make you own S9++.
there are the following steps:
Check, if your key is in the selected keys for pricing - if not, add it there.
The field must be in an apend of structure KOMG ( generally ) and KOMP ( for position fields ) or KOMK ( for header fields ).
Create your own S9++ -- ( in Pricing, i have about 150 own pricing tables ).
Next : go to the Customizing of the ?? German = Zugriffsfolge ?? for the condition.
Here you can add up to 99 Zugriffe to get the condition. Here you need your new S9++ and you have to connect it with the fields.
( i have had problems with the 'little' number of 99. for one Condition i need up to 160 Zugriffe - i have split it up into 2 Conditions ).
In one S9++ you can connect several fields to one Condition table.
The customer - numer and the hierarchi - number and the recipienst-number - all fields are of the sae kind.
In the Zugriffsfolgen, you can do several Zugriffe for the same Table S9++ - but in the connection of the fields, you can variate the souce fields -- first Zugriff : Customer - number / secons Zugriff : Hierarchy 1 / ....
With this method, you can also add customer fields of VBAP or VBAK into your pricing module.
I hope, youve got an idea, where t go. see also in the SAP documentation - in german, i have picked many things out of the documentation.
Hans -
Data exchange Mainscript (SCRIPT) with script block (DAC)
Is there any way to exchange data beetwen a Mainscript (SCRIPT) with
user-dialoges and script block (DAC) in this way that the script in
scriptblock can access to this data?
Background: I write a DAC-Application with some script-blocks for
reading and writing data to/from real devices. During the development
I'd like to simulate all device accesses because I don'd have the
devices in my office. I write all scripts with a branch for simulation
an real measurement on startup.
How can I execute a swich (simulation / mesurement) without changing
all my scripts all times? Can a script read a variable anyway (Variable
from Mainscript, Diadem-Uservariable or "Hilfsvariable" like L1)?
Can I fill "DeviceParam1V" with content of a variable?
I could use a input channel connected with a formula-block for it. (The
formula-block can read a variable.) But this way is uncomfortable an
don't work for input blocks.
Martin Bohm
[email protected]Because the DAC Script is executed in its own runtime environment you cannot use the DIAdem variables as in a normal VBS or a SUD.
Still, there are ways to exchange information.
First of all by an extra channel as Input (you named it)
Secondly, there are several variables you can use. Have a look at the Script DAC block. There are two fields called Parameter1 and Parameter2. And each signal you configure has a parameter of its own.
Prior to starting the scheme, you can use a script to change the value of those parameters:
Call DACObjOpen("Script-in1")
VBSSignalParam(1) = "abc"
Call DACObjClose("Script-in1")
Is changing the parameter of the first signal that is configured.
Call DACObjOpen("Script-in1")
VBSParameter1 = "1st device parameter"
VBSParameter2 = "2nd device parameter"
Call DACObjClose("Script-in1")
is changing the global device parameters.
On the side of the Script DAC driver VBS you cann use the paramP funtion to access the signal parameter that corresponds to the actual channel (as referenced by ChannelnumberP)
' SFD_ReadChannel
' Zweck : Lesen eines Wertes für den Kanal "ChannelNumberP"
' ChannelNumberP | Kanalnummer aus dem Block-Dialog
' ParamP | Vom Anwender definierte Variable aus dem Block-Dialog
' DataP | Variable zur Rückgabe des neuen Kanalwertes. Diese
' | Variable sollte zumindest auf einen gültigen Wert
' | initialisiert werden.
' ErrorP | Variable zur Rückgabe einer Fehlermeldung. Wird diese
' | Variable gesetzt, stoppt DIAdem die Messung
Sub SFD_ReadChannel( ChannelNumberP, ParamP, DataP, ErrorP )
End Sub
To acces the device Parameters, use the init function:
' SFD_Init
' Zweck : Diese Prozedur wird während des Messungsstarts aufgerufen
' DeviceParam1V | Erster Parameter, der vom Anwender im DAC-Block
' | eingegeben werden kann
' DeviceParam2V | Zweiter Parameter, der vom Anwender im DAC-Block
' | eingegeben werden kann
' ErrorP | Variable zur Rückgabe einer Fehlermeldung. Wird diese
' | Variable gesetzt, stoppt DIAdem die Messung
Sub SFD_Init( DeviceParam1V, DeviceParam2V, ErrorP )
End Sub
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany -
Extended Rebate functionality (and its use)
Iu2019m currently working at an international customer with operations in Europe. They sell products in almost all countries in Europe, which are being sourced normally from one single plant.
They are using the intercompany billing process.
They are currently using the standard Rebate functionality, including Rebate settlement.
They are facing with an issue with the Rebate settlement process.
They setup the rebate agreement with an element of a material, e.g. the material pricing group, since the product portfolio is too large to use a material in the rebate agreement.
Normally a product is delivered from one source (one single plant), but occasionally the product will be delivered from another plant (in another country)
The issue in the rebate settlement is the proper determination of the tax code and therefore the proper tax percentage. This since the products can be from several source (delivering plant) in several countries.
It is impossible to create all combinations in a rebate agreement, including the delivering plant, since there could be over 30 of them.
We have already thought of the fact to include the material tax classification in the setup of the rebate agreement.
Currently we are looking at the following options
Implement Vistex u2013 a (fairly) expensive proposition
Do nothing u2013 this will mean, that the Finance department will need to use a (custom) BW report to make financial posting and Credit Memou2019s
Made enhancements in the current process u2013 this will mean a long time for analysis and a longer time to made the enhancement and even a longer time to properly test all changes.
Implement Extended Rebate functionality. We have been looking at this and have a couple of questions on this:
Can we turn on the extended rebate functionality for existing agreement types?
Should we create new agreement types and use Extended Rebate functionality on the new agreement types?
The configuration of the Variable keys u2013 are there any hidden u201Cissuesu201D we should be aware off?
Any comment, documentation, link to documentation, remark, suggestion is welcome.
Thanks and regards,
Jan PelHi Jan Pel,
Did manage to find a solution for your problem?
We are facing a similar issue but the situation is more difficult since we don't use standard sap to determine the tax. Instead we use an external system and due to this we don't have more than 2 tax codes maintained (they are meaningless really).
I'm also trying to understand the standard sap behavior for tax determination on the rebate settlements. Since the settlement is creating an item per condition record, how is the correct tax applied (and multiple documents/items created if different tax applicable). Is standard sap creating different settlement invoices/items in the settlement invoice if there are different tax codes in the underlying billing documents in scope of the rebate agreement?
I would appreciate your feedback.
Thanks and best regards,
Kevin -
When working in DIAdem SCRIPT, it is often necessary to work on more than one file at once. The way this is implemented at the moment is with tabs:
However, it can be quite tedious to switch back and forth between 2 scripts for things like copy/pasting, comparing code or simply editing code on 2 files concurrently.
My suggestion would be for a SCRIPT editor with split screen functionality, roughly like this:
With many users working with widescreens today, this would better make use of screen real-estate.Obviously coding without it is a pain.
Louval -
Can I merge Photoshop CS6 with extended into Photoshop CS4 or CS5 will work together ?
Can I merge Photoshop CS6 with extended into Photoshop CS4 or CS5 will work together ?
Versions of Photoshop have different installation trees and user preferences. You do not merge Photoshop versions. Each version is independent. When you install newer versions of Photoshop the are options to migrate your presets and Preferences. You can start and use any version installed on your machine. For the most part newer version of Photoshop are backwards compatible with older versions of Photoshop. However some changes Adobe make to Photoshop change user interfaces and and the way Photoshop performs some functions these changes break some user actions, scripts and user work-flows. In fact all the version you listed CS4, CS5 and CS6 have comparability issues. In that respect Photoshop CC is not any better it has compatibility issues.
Newer versions of Photoshop have new functions and updated old function. Older versions can not handle everything save by newer versions of Photoshop. If you save PSD and PSB files with the maximum compatibility option checked. Older version should be able to open you layer document with layers that look like what was saved though some layer may be altered and may even be a different layer kind then was saved. If you need to support older versions of Photoshop always use the maximum compatibility option. -
Text-input component with auto-complete functionality for mobile
Hey guys,
I wonder if there is a text-input component with auto-complete functionality optimized for mobile development with AIR like the one that Android provides natively as you can see here http://developer.android.com/reference/android/widget/AutoCompleteTextView.html and here http://developer.android.com/resources/tutorials/views/hello-autocomplete.html.
At least I didn't find it in the latest SDK and I think such a component is pretty standard nowadays. Or did I simply overlook it?
Thank you guys for any advice.
Regards,
ThiloHi relaxtraja,
thanks for your reply!
I knew that there are a lot of auto-complete scripts on the web. What I was hoping was, that Adobe provides an officially supported auto-complete component optimized for mobile as part of the SDK (like in the Android SDK as I pointed out), but that doesn't seem to be the case. It's sad, because it's an essential part of modern UIs in mobile applications.
I've already created an auto-complete component by myself based on Spark components and I will end up using it. But I will have to optimize it for mobile applications beforehands. I just think something this essential should be provided by the SDK.
However, thanks for posting!
Regards,
Thilo -
Need some help with the Table Function Operator
I'm on OWB 10gR2 for Sun/Solaris 10 going against some 10gR2 DB's...
I've been searching up and down trying to figure out how to make OWB use a Table Function (TF) which will JOIN with another table; allowing a column of the joined table to be a parameter in to the TF. I can't seem to get it to work. I'm able to get this to work in regular SQL, though. Here's the setup:
-- Source Table:
DROP TABLE "ZZZ_ROOM_MASTER_EX";
CREATE TABLE "ZZZ_ROOM_MASTER_EX"
( "ID" NUMBER(8,0),
"ROOM_NUMBER" VARCHAR2(200),
"FEATURES" VARCHAR2(4000)
-- Example Data:
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (1,'Room 1',null);
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (2,'Room 2',null);
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (3,'Room 3','1,1;2,3;');
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (4,'Room 4','5,2;5,4;');
Insert into ZZZ_ROOM_MASTER_EX (ID,ROOM_NUMBER,FEATURES) values (5,'Room 5',' ');
-- Destination Table:
DROP TABLE "ZZZ_ROOM_FEATURES_EX";
CREATE TABLE "ZZZ_ROOM_FEATURES_EX"
( "ROOM_NUMBER" VARCHAR2(200),
"FEATUREID" NUMBER(8,0),
"QUANTITY" NUMBER(8,0)
-- Types for output table:
CREATE OR REPLACE TYPE FK_Row_EX AS OBJECT
ID NUMBER(8,0),
QUANTITY NUMBER(8,0)
CREATE OR REPLACE TYPE FK_Table_EX AS TABLE OF FK_Row_EX;
-- Package Dec:
CREATE OR REPLACE
PACKAGE ZZZ_SANDBOX_EX IS
FUNCTION UNFK(inputString VARCHAR2) RETURN FK_Table_EX;
END ZZZ_SANDBOX_EX;
-- Package Body:
CREATE OR REPLACE
PACKAGE BODY ZZZ_SANDBOX_EX IS
FUNCTION UNFK(inputString VARCHAR2) RETURN FK_Table_EX
AS
RETURN_VALUE FK_Table_EX := FK_Table_EX();
i NUMBER(8,0) := 0;
BEGIN
-- TODO: Put some real code in here that will actually read the
-- input string, parse it out, and put data in to RETURN_VALUE
WHILE(i < 3) LOOP
RETURN_VALUE.EXTEND;
RETURN_VALUE(RETURN_VALUE.LAST) := FK_Row_EX(4, 5);
i := i + 1;
END LOOP;
RETURN RETURN_VALUE;
END UNFK;
END ZZZ_SANDBOX_EX;
I've got a source system built by lazy DBA's and app developers who decided to store foreign keys for many-to-many relationships as delimited structures in driving tables. I need to build a generic table function to parse this data and return it as an actual table. In my example code, I don't actually have the parsing part written yet (I need to see how many different formats the source system uses first) so I just threw in some stub code to generate a few rows of 4's and 5's to return.
I can get the data from my source table to my destination table using the following SQL statement:
-- from source table joined with table function
INSERT INTO ZZZ_ROOM_FEATURES_EX(
ROOM_NUMBER,
FEATUREID,
QUANTITY)
SELECT
ZZZ_ROOM_MASTER_EX.ROOM_NUMBER,
UNFK.ID,
UNFK.QUANTITY
FROM
ZZZ_ROOM_MASTER_EX,
TABLE(ZZZ_SANDBOX_EX.UNFK(ZZZ_ROOM_MASTER_EX.FEATURES)) UNFK
Now, the big question is--how do I do this from OWB? I've tried several different variations of my function and settings in OWB to see if I can build a single SELECT statement which joins a regular table with a table function--but none of them seem to work, I end up getting SQL generated that won't compile because it doesn't see the source table right:
INSERT
/*+ APPEND PARALLEL("ZZZ_ROOM_FEATURES_EX") */
INTO
"ZZZ_ROOM_FEATURES_EX"
("ROOM_NUMBER",
"FEATUREID",
"QUANTITY")
(SELECT
"ZZZ_ROOM_MASTER_EX"."ROOM_NUMBER" "ROOM_NUMBER",
"INGRP2"."ID" "ID_1",
"INGRP2"."QUANTITY" "QUANTITY"
FROM
(SELECT
"UNFK"."ID" "ID",
"UNFK"."QUANTITY" "QUANTITY"
FROM
TABLE ( "ZZZ_SANDBOX_EX"."UNFK2" ("ZZZ_ROOM_MASTER_EX"."FEATURES")) "UNFK") "INGRP2",
"ZZZ_ROOM_MASTER_EX" "ZZZ_ROOM_MASTER_EX"
As you can see, it's trying to create a sub-query in the FROM clause--causing it to just ask for "ZZZ_ROOM_MASTER_EX"."FEATURES" as an input--which isn't available because it's outside of the sub-query!
Is this some kind of bug with the code generator or am I doing something seriously wrong here? Any help will be greatly appreciated!Hello Everybody!
Thank you for all your response!
I had changes this work area into Internal table and changed the select query. PLease let me know if this causes any performance issues?
I had created a Z table with the following fields :
ZADS :
MANDT
VKORG
ABGRU.
I had written a select query as below :
I had removed the select single and insted of using the Structure it_rej, I had changed it into Internal table
select vkorg abgru from ZADS into it_rej.
Earlier :
IT_REJ is a Work area:
DATA : BEGIN OF IT_REJ,
VKORG TYPE VBAK-VKORG,
ABGRU TYPE VBAP-ABGRU,
END OF IT_REJ.
Now :
DATA : BEGIN OF IT_REJ occurs 0,
VKORG TYPE VBAK-VKORG,
ABGRU TYPE VBAP-ABGRU,
END OF IT_REJ.
I guess this will fix the issue correct?
PLease suggest!
Regards,
Developer.
Maybe you are looking for
-
Problem in RFC for CCAP_REV_LEVEL_MAINTAIN
Hi, I am a BizTalk developer and my requirement is to update the Rev Lev of a material in SAP. My basic findings told me to use the BAPI: CCAP_REV_LEVEL_MAINTAIN. But when I'm trying make an RFC on CCAP_REV_LEVEL_MAINTAIN I'm getting the following er
-
Azure mobile services error cannot find module 'azure-storage'
this is driving me nuts for past five days now and still no solution. After asking the questing at StackOverflow and azure-storage npm, I thought of now posting the same question here so that it reaches to more targeted 'microsoft azure' experts. in
-
HI There I have recently configure Data guard with Database 10g (10.2.0.4-64 bits) on Windows 2007 server. My Data Gurad Configuration show Success status with 2 databases on same (or local) location. My questions are 1-When I query SHOW PARAMETER LO
-
netflix has disappeared from my apple tv menu so I can no longer select it under internet. all I have is youtube etc. How do I get it back?
-
Running sa-update on 10.4.11
Hi, I've just updated my Tiger server to SpamAssassin 3.2.5 and issuing "spamassassin -V" shows 3.2.5 so I'm fairly happy that it has worked. Thing is, I'm trying to run sa-update and it seems to be failing. I'm issuing "sa-update --nogpg" and I get