Term comparison for InPath
I have a clob column with XML data.
<attrs><attr name="ESB_Availability_Status"><string>D</string></attr><attr name="ESB_Available_Stock"><int>0</int></attr><attr name="ESB_IsTaxable"><boolean>true</boolean></attr><attr name="ESB_isLeaseAvailable"><boolean>true</boolean></attr></attrs>
When I use the following query it does not match and find any rows.
SELECT
extractValue(
XmlType(attributes),
'/attrs/attr[@name="ESB_Availability_Status"]/string'
) AS ESB_Availability_Status
FROM
MyTable
WHERE
CONTAINS(
attributes,
'{D} INPATH (/attrs/attr[@name="ESB_Availability_Status"]/string)'
) > 0
But when I update the column with data like this with value P (or for that matter any other charcter N,DQ etc.). It retrieves data.
<attrs><attr name="ESB_Availability_Status"><string>P</string></attr><attr name="ESB_Available_Stock"><int>0</int></attr><attr name="ESB_IsTaxable"><boolean>true</boolean></attr><attr name="ESB_isLeaseAvailable"><boolean>true</boolean></attr></attrs>
SELECT
extractValue(
XmlType(attributes),
'/attrs/attr[@name="ESB_Availability_Status"]/string'
) AS ESB_Availability_Status
FROM
MyTable
WHERE
CONTAINS(
attributes,
'{P} INPATH (/attrs/attr[@name="ESB_Availability_Status"]/string)'
) > 0
What is happening with the comparison term?
As this question has nothing to do with the XML DB, you have lowered your chance of getting the answer you seek.
I think you might be looking for
https://forums.oracle.com/community/developer/english/oracle_database/text
Without knowing your version, or apparently having an index setup like you do what about something like
SELECT
extractValue(
XmlType(attributes),
'/attrs/attr[@name="ESB_Availability_Status"]/string[text()="D"]'
) AS ESB_Availability_Status
FROM
MyTable
which does return empty rows if the condition is not meet or
SELECT *
FROM (SELECT
extractValue(
XmlType(attributes),
'/attrs/attr[@name="ESB_Availability_Status"]/string'
) AS ESB_Availability_Status
FROM
MyTable)
WHERE ESB_Availability_Status = 'D';
Of course there are also XMLTable/XQuery based approaches as well if you so desire.
Similar Messages
-
Creating query on Bex - Quaterly comparison for statistical & Actual
Hi All,
I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
My Key Figures should be
1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
same thing for 4 Quaters. finally with
4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
The report was generated with 'no applicable data'.
I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
Please let me know how can I create this query with these Key Figiures.
Any help would be appreciated. Please respond with the reply.
Thanks,
Aparna.Hi
The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type, Version , Valuation View
Then you can check that you have some information with the combination of values of your chars:
Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
PY -
Vendor Payment Terms config for 30%advance 70% after GR
Hi Guys,
How to configure Vendor Payment Terms for " Vendor Payment Terms config for 30%advance 70% after GR "
Please suggest your expert comments.
Thanks in advance.
Regards,
Jackiesappassion2011 wrote:
Hi Guys,
>
> How to configure Vendor Payment Terms for " Vendor Payment Terms config for 30%advance 70% after GR "
>
> Please suggest your expert comments.
>
> Thanks in advance.
>
> Regards,
>
> Jackie
Hi Jackie,
Do them in trxn OME2
Regards
Shiva -
Payment Terms description for free entry(p006-Others)
Hi Frds,
I have one requirement regarding we have 6 payment terms but last payment term p006-Others,if user is creating vendor master record if he selected payment terms p006 user has to enter the description manully based on his requirement.
for this requirement what can we do.because it is not a free entry it is a one time configuration.Anybody can suggestion for moving forward on this requirement.Advance thanks for your valuable inputs.
Regards,
Nivas.Hi Sriniwas,
As per my knowledge, there is no provision for modifying payment terms 'text' in Vendor master-->payment terms. (No text field available for payment terms description)
May be an option, you can define Inco terms "text" which are also modifiable at PO level as per users need.
If users can refer the free text from "Inco terms text" for defining "other" description of payment term p006
Thanks
Mang -
Dear all,
i have a concern,i have to implement a user exit in tcode j1iin in the FM J_1I7_USEREXIT_CALC_EXC_BASE .now when i try to bring in change mode it says
Carry out modification comparison for FUNC J_1I7_USEREXIT_CALC_EXC_BASE first. No changes possible
...how do i do the modification comparision. i have checked with SPAU and SE95 tcodes but iam unable to compare.please can anyone provide brief explanation and help?
Thanks in advance,
Naren>
naren wrote:
> Dear all,
> i have a concern,i have to implement a user exit in tcode j1iin in the FM J_1I7_USEREXIT_CALC_EXC_BASE .now when i try to bring in change mode it says
>
> Carry out modification comparison for FUNC J_1I7_USEREXIT_CALC_EXC_BASE first. No changes possible
> ...how do i do the modification comparision. i have checked with SPAU and SE95 tcodes but iam unable to compare.please can anyone provide brief explanation and help?
>
> Thanks in advance,
> Naren
Hi ,.
Once You go to SE95 Give the package name as - J1I2 and Execute .
If some Note has been applied for the package (Whcih Contains your FM) then it will show following nodes
Note Corrections
With Modification Assistant
Without Modification Assistant
Appends
So you need to find under whcih node Your update for FM exits .It must be Visible in red .
Now goto Menubar >>Goto >>Modification Adjustment .
once you adjust ,the FM should become Editable .
Regards,
Rajesh -
Reminder & Term Code for prepayments in Performa Invoices or Vendor POs
Hi,
I need set proper Term Code for AR, PO. All orders will be paid before ship the goods, the Terms will be 1/3, 1/3 and 1/3 and 2 weeks apart with each prepayment. PO need pay to vendors 1/2 and 1/2 before they ship.
How to setup those Term Codes and can send the Reminder to me for which Performa Invoice(s) need to follow up with customers as well as the PO vendor payments need to be paid on time?
I will use "Quotation" for Performa Invoice until I get all prepayments to release the shipment. The GL account will set to "Customer Deposit" first. When Quote becomes Invoice then need reverse the "Customer Deposit", how can I setup this GL account for this type of transaction instead of regular AR account?Raj,
This is a good solution, I tried in client's data in Sales - A/R> A/R Down Payment Invoice data but got error when I create the new Installment Payment for 33.33% 0 month, 0 day and installment "Credit Method" is "First Installment", by 15, 30 and 45 days each is 33.33%.
Error detail is:
[Microsoft] [SQL Native Client] [SQL Server] Can not insert the value NULL into column 'GroupNum' table
'Test.dbo OCTG'; column does not allow.....
Which quick way I can link the error solution in SAP B1?
I tested another one on my laptop with OEC data, when I applied 33.33% of $4,000 the 1st installment is $1,333.33 (I manually entered the 33.33%) even I set the Payment Term for 3 installments already, the balance showed $1,333.33. Where is the mistake? Oh, I did not add any patch to my 2007A yet. I downloaded the patch in the basket but did not install yet.
Thanks, -
Year Over Year Comparison for Multiple Years
I have a business request where the client is asking for a year over year percentage comparison for multiple years
So for example
Applications
2015 5
2014 10
2013 22
So in year 2015 we can see that applications is currently down (5-50/10 - [New-Old/Old] by -50% compared to year prior
In year 2014 we are down -55%
Ultimately I wanted to display the following
Applications
2015 -50%
2014 -55%
2013
I have an idea of how to do this for a single year, where a presentation variable is fed in then I can just do this year minus previous year.
I was wondering, how can I do this calculation or presentation in OBIEE? Can this be done within answers? Or does something need to be done in the RPD?As long as your model is correctly done with a time hierarchy you can just use the time series function AGO to get the value of previous year.
So in the formula you can calculating your delta in % comparing the current year amount and the previous one.
You can do it in the analysis directly, but if you will often need to access "previous year measures" would be a good idea to add it in the RPD so you don't need to write the formula every single time. -
Carry out modification comparison for J_1BV45A first. No changes possible
Hi, every expert,
when I change the object J_1BV45A, It appears the error as below:
"Carry out modification comparison for J_1BV45A first. No changes possible
Message no. EU 526
Diagnosis
You are trying to edit an SAP object which has already been changed or enhanced in the current system.
A new version of this object, changed by SAP, has been imported into the system with a Release upgrade.
The new SAP version has not been reconciled with the modified version.
System Response
The system will deny access in change mode or enhancement mode until the objects have been reconciled.
Procedure
Run the modification adjustment (SPAU) for the object. If the object is supported by the Modification Assistant, you can adjust it by clicking the stoplight."
I don't know how to use SPAU to adjust it ? and I donn't know where is the tab 'stoplight'.
Anyone could help me how to resolve it ?
Best Regards,
MichaelDear Michael,
Could you please tell us that in recent days have you upgraded patch of any SAP component in your system? Please check in your system is there any SAP Note in inconsistent status in your system. You can see the status in tcode SNOTE.
As per suggessted by Ruchit , please take the help of ABAPers & resolve the issue.
Let us know the status.
Thank You.
Kind Regards,
Rafikul Hussain -
HELP: need to do version comparison for large no.of programs
i need to do version comparison for a large set of programs(approx.4000).anybody has any technique to do it fast,plz lemme knw.
Hi
try using this FM
/SDF/CMO_COMP_VERSION
AKB_VERSION_COMPARE
Regards
Shiva -
Modification Comparison for SAP object
When we try to modify the program /DBM/MT_TILL_FUNC_D2063, reports the following message
u201CCarry out modification comparison for REPS /DBM/MT_TILL_FUNC_D2063 first. No changes possibleu201D
We just update our DSAP BM 6.00 system to service pack SAPK-60007INDBM from SAPK-60005INDBM.
Before this update was made, we were able to modify the programs, and there was not necessary for a registration key, know on it is necessary to input this key, we input the key from the marketplace, but still we canu2019t modify it.
We already try to do the recommendation mentioned, but the object doesn't show in the browser panel.
What can I do to resolve this issue?
Alvaro CorpenoHello Alvaro
This message is caused because there is/are some object locking the object DBM/MT_TILL_FUNC_D2063 . So to check what action is necessary to take to do so you need to check if the objects are notes or just reuqests:
- Transaction SE16
- Table SMODILOG
- List all entries for object DBM/MT_TILL_FUNC_D2063
- There you will see for each record field OPERATION
- Check all entries that contains OPERATION = 'NOTE'
- On field MOD_NAME you can check the note number - last 4 digits are note version
- Upload this note via SNOTE transaction.
- This action will update system entries and unlock the object
Kind regards
Carlos Machado -
Version comparison for BW objects
Hello guys,
How to see versions of BW objects like, Infocube, Multiprovider, datasource? I wanted to do the version comparisons for few objects in Dev with respect to Production. How do I make sure that both have the same versions and there is no harm in transporting it from dev to prod.
In case we already did the changes in dev before checking the comparison, what do we do?
Please give me complete process of version comparison and where exactly I could see for versions.
Please reply asap.
Thanks in adv.
Regards,
BMW 325ciUnfortunately, there is no tool delivered with SAP BW that provides the ability to compare objects across the landscape. There are some third-party tools that provide this functionality.
You could create your own by create an ABAP program, or several ABAP programs, using the following BAPI Function Modules to get the details of the objects in each environment and then do a comparison:
InfoCube - BAPI_CUBE_GETDETAIL
InfoObject Catalog - BAPI_IOBC_GETDETAIL
InfoObject - BAPI_IOBJ_GETDETAIL
InfoPackage - BAPI_IPAK_GETDETAIL
InfoSet - BAPI_ISET_GETDETAIL
DSO - BAPI_ODSO_GETDETAIL
MultiProvider - BAPI_MPRO_GETDETAIL -
Can not update Term value for metadata columm field to empty
Hi ,
I have created a TermSet for Sitecollection and created Managed metadata column called Delivery linked with the Term (onsite , online, etc..) in the Term set . If i try to update the Term Value for Metadata Colum field to
blank ( e.g remove onsite so it has blank value) then click Save , it does not save the blank value it reverts back to the original value set for that metadata field. The metadata column is set "not to require to contain information"
& do not force unique value
Any idea
Thanks
mpHi,
I understand that you want to change a metadata column to be blank. I cannot reproduce your issue. I can set the managed metadata column to blank as expected. Can you reproduce this issue with another managed metadata column? Or does this happen to the only
managed metadata column?
Here are my steps to achieve this:
Open the root site of the site collection in browser.
Click Site Actions> Site Settings. Click Term Store Management under Site Administration.
Created the term store. Then create a managed metadata column to use this term store(have tested this column with both list and library).
Set "not to require to contain information" & do not force unique value &Allow fill in value& Don’t specify a default value.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support -
File comparison for RoboHelp?
Is there a way to do a file comparison for RoboHelp projects?
I've read in the online help that you can do a file comparison if
you're using version control software, which we're not. Our
reviewers would like a way to see what has changed between
versions.
Thanks.I have always been impatient with editors and reviewers who
insist on changes being flagged. In my view, this is the lazy
person's way of doing a half-hearted job. They don't want to look
at anything but the changes. I wouldn't handle my contributors that
way; why let reviewers off the hook?
The underlying assumption is the material was at least
correct, if not perfect, before changes and doesn't warrant a
second look. A foolish assumption. Additionally, this approach will
fail to spot contradictions and inconsistencies between new
material and earlier text that wasn't revised.
Yet I can and will suggest a tool, one I would never use for
editorial review, that pinpoints with dead-on accuracy any
differences between files.
It's useful for controlling the publishing process and for
checking back on what RH has published between versions.
An inexpensive application available on the Web is Beyond
Compare. It will let you set up side-by side (or above-and-below)
comparisons with options for various degrees of control, such as
file revision level, date/time stamps, file size and so on. You can
flag files that differ by checksum or as little as a binary value.
You can open a mismatched pair and review differences line by line.
You can even suppress the display of files and lines with no
changes.
That's my rant for today. Good luck.
Harvey -
SAS vs Oracle comparison for statistical modeling
Hi,
I am working on a project that require a lot of statistical analysis. as we are in a preliminary phase of determining which way to go, someone recommended to use SAS.
would you be able to share your experience/comments related to SAS vs Oracle comparison when it comes down to using statistical models within each of these applications. and is there a list of all statistical models that Oracle offers (it could be handy to compare it with our requirements.)
Plus, would also like to know if there is a way to test these models... just like APEX is offered free for testing purposes @ apex.oracle.com
Thanks in advanceYou don't go into much detail regarding what types of statistical technques that you might want to use. First, Oracle both partners with SAS and competes and SAS. In terms of Oracle technology for statistics and models, we ship about 50 basic statistical technques with EVERY Oracle Database for free. Those stats include below. See SQL Reference Guide for details:
Descriptive Statistics
DBMS_STAT_FUNCS: summarizes numerical columns of a table and returns count, min, max, range, mean, median, stats_mode, variance, standard deviation, quantile values, +/- n sigma values, top/bottom 5 values
Correlations
Pearson’s correlation coefficients, Spearman's and Kendall's (both nonparametric).
Cross Tabs
Enhanced with % statistics: chi squared, phi coefficient, Cramer's V, contingency coefficient, Cohen's kappa
Hypothesis Testing
Student t-test , F-test, Binomial test, Wilcoxon Signed Ranks test, Chi-square, Mann Whitney test, Kolmogorov-Smirnov test, One-way ANOVA
Distribution Fitting
Ranking functions
rank, dense_rank, cume_dist, percent_rank, ntile
Window Aggregate functions (moving & cumulative)
Avg, sum, min, max, count, variance, stddev, first_value, last_value
LAG/LEAD functions
Direct inter-row reference using offsets
Reporting Aggregate functions
Sum, avg, min, max, variance, stddev, count, ratio_to_report
Statistical Aggregates
Correlation, linear regression family, covariance
Linear regression
Fitting of an ordinary-least-squares regression line to a set of number pairs.
Frequently combined with the COVAR_POP, COVAR_SAMP, and CORR functions
Kolmogorov-Smirnov Test, Anderson-Darling Test, Chi-Squared Test, Normal, Uniform, Weibull, Exponential
Additionally, Oracle has a Database Option called Oracle Advanced Analytics which delivers 12+ hi-performance, data mining algorithms (e.g. clustering, decision trees, regression, association rules, anomaly detection, text mining, etc.) as native SQL functions that can be called from SQL, the R language or the Oracle Data Miner workflow GUI (ships with SQL Developer). There is a LOT more information on the OAA Option here http://www.oracle.com/technetwork/database/options/advanced-analytics/index.html?ssSourceSiteId=ocomen.
Hope this helps. cb -
A short term fix for KEYNOTE. What do you think?????
I do not need to repeat the issues that this community is identifying. I am impressed by the astute observations and good ideas that are coming from this group. While 6.0 may be a decent program for the casual user, the problems caused for professional users is profound.
I am not sure whether Apple's audiences is us anymore---the presentation professionals, and the uber-users. IF their market is not the amateur, then we may find the end of very good era, where there was a powerful tool for persuasion and storytelling. As a professional, I have moved organizations from PowerPoint to Keynote, but for the first time, are having them reconsider. While those working on a MAC can continue to use 5.3, those recently purchasing an iPad have no choice. That lack of choice is Apple's greatest insult, and I am recommend that those who agree with the text below send feedback to allow the iPad (like the MACs) keep both, and allow those with recent iPad purchases to download 5.3 (at least until the problems are remedied).
While I understand the need to make a product that works across a number of devices, the removal of 5.3 (on the iPad) has created problems with horrid financial and business consequences for many of us.
Some of the problems that I am encountering:
6.0 will not create a presentation that can be opened in 5.3, either on my computer or a client computer. (My large corporate clients are NOT going to upgrade for a while, so work I (or anyone else) would create for them on 6.0 cannot be used.. It would be suicide for me to insist that my client's IT department upgrade a product across their organization. I cannot also open anything created on the iPad, so Keynote as a creation tool on the iPad is useless.
6.0 removed features and corrupts the showing of 5.3 presentations---fonts are unavailable and corrupted, some moves are not supported, actual content displays are changed. Therefore programs look terrible if created on 5.3 and converted
6.0 automatically upgrades (without any warning) any 5.3 presentation opened if both 5.3 and 6.0 are on the MAC. If both 6.0 and 5.3 are loaded, clicking any file will open and convert it. The only option is to make sure that the file is opened via OPEN AS, but if the file is accidentally clicked, the file will be forever lost t 6.0.
There is not away to globally set 5.3 as the default option (it is supposed to work on the folder level but is broken).
Since many of us have 100s of active presentations on our computers, and since many with features are no longer supported by 6.0, it would be a mistake to upgrade to 6.0 while there still exists the problem of accidentally converting when clicking on a file.
I understand that these problems may be addressed, but it could weeks.
A recommended easy fix....
We all recommend to the engineering department to let people put 5.3 back on the iPad, at least until the fixes can be made to 6.0.
Put a SAVE AS 5.3 function on 6.0, especially on the iPad
Fix the bug that does not allow CHANGE ALL to default the opening to 5.3
Talk to national leaders (there are a few hundred) in presentations, to create a program that as good or even better than 5.3.
Again, my suggestion for a short term fix would be reinstating the ability to use 5.3 until the fixes are addressed and full featires are restored. Give us, the user, the option of which one to use. If you agree, pehaps we can get some traction by sending this recommendation as feedback.
By the way, do you realize that KEYNOTE is not even listed in Apple's pulldown menu of products..... our favorite product is considereed an "other."Thank you Keith for your information.
In this case I am not worried about the origin of the idea and some compensation to the creator. If this modification will lead to happier costumers of Apple and more efficient use of material and thus better for the environment (as Apple claim they are always improving ) then I am satisfied.
It is good that Apple has this Policy and I agree that they can use any idea submission to them as their own. This Idea is so basic and easy to carry out that I believe that many others have thought of it.
Sometimes it can be good to get a pair of extra eyes or brain to spot were you can improve.
thanks again for your info
Maybe you are looking for
-
Hard drive keeps cloning itself in finder
This is the second time I saw this on a Mac, and never happened to me before (being working in a AASP for the last 9 years) The disc fails, and won't boot, but you can see all the data starting up in Target or mounting the HD as an external device in
-
My library of 800 songs has been replaced by 48 older items which I believe are off an older device (old nano belonging to another family member). How do I get my songs back?
-
I have 2 cds stuck in my mac pro..... :-(
How can I get them out or should I take it in for repair?
-
Resizing Image in AlertSet. Line Graph
Hi Experts, I am using a dvt component LineGraph I have created an alertSet and placed some alarms. But when I click on zoom icon, the alarm icons are also stretching along with the graph. Is there a way to resize the alarm icons after the graph is z
-
Internal Mic in MacBook Pro 9,2 (mid-2012)
I'm trying to get my internal mic to work after my recent install on a MacBook Pro 9,2 (mid-2012), but without much success. I've installed alsa, alsa-utils, alsa-plugins, etc., and audio output works fine, but the internal microphone still doesn't