Using metadata in conditions
I'm trying to make a .targets file
for my NuGet package, which will link to a proper .lib file
depending on the C++ runtime library of a project. This
answer recommends to use %(ClCompile.RuntimeLibrary) metadata
for this. But I cannot use metadata in condition of the <ItemDefinitionGroup> node.
When trying to run MSBuild with the following test script:
<?xml version="1.0" encoding="us-ascii"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="main.cpp">
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemGroup>
<ItemDefinitionGroup Condition="'%(ClCompile.RuntimeLibrary)'=='MultiThreadedDebugDLL'">
<Link>
<AdditionalDependencies>yaml-cpp-MDd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
</Project>
I have the following error: "error MSB4191: The reference to custom metadata "RuntimeLibrary" at position 1 is not allowed in this condition "'%(ClCompile.RuntimeLibrary)'=='MultiThreadedDebugDLL'"."
How can I workaround this issue?
Hi mikhail.matrosov,
I have read your post in stackoverflow. From your update information:
<PropertyGroup Condition="'$(RuntimeLibrary)'=='MultiThreadedDebugDLL'">
<TestProp>defined</TestProp>
</PropertyGroup>
<Message Text="TestProp = $(TestProp)" Importance="high" />
, I know that you want to define a property according to the C++ runtime library. Please refer to the code snippet below. It can satisfy your requirement.
<?xml version="1.0" encoding="us-ascii"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build">
<ItemGroup>
<ClCompile Include="main.cpp">
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemGroup>
<PropertyGroup Condition="'@(ClCompile->'%(RuntimeLibrary)')'=='MultiThreadedDebugDLL'">
<TestProp>defined</TestProp>
</PropertyGroup>
<Message Text="TestProp = $(TestProp)" Importance="high" />
</Target>
</Project>
Below is the screenshot of the result.
I write the elements ItemGroup and the PropertyGroup beneath the target element.
If you write the two elements outside the target, we can't get the value of an item of ItemGroup in a PropertyGroup.
I see that you can use "<RuntimeLibrary>@(ClCompile->'%(RuntimeLibrary)')</RuntimeLibrary>" to get the value of RuntimeLibrary in
ClCompile item. In fact, the value of RuntimeLibrary is actually the string "@(ClCompile->'%(RuntimeLibrary)')".
In the evaluation phase of a build, property evaluation precedes item evaluation. Nevertheless, properties can have values that appear to depend on item values. Consider the following script.
<ItemGroup>
<ClCompile Include="main.cpp">
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemGroup>
<PropertyGroup>
<RuntimeLibrary>@(ClCompile->'%(RuntimeLibrary)')</RuntimeLibrary>
</PropertyGroup>
<Target Name="Build">
<Message Text="Property = $(RuntimeLibrary)" Importance="high" />
</Target>
Executing the Message task displays this message:
This is because the value of RuntimeLibrary is actually the string "@(ClCompile->'%(RuntimeLibrary)')". Item and item transformations were not expanded when
the property was first defined, so the RuntimeLibrary property was assigned the value of the unexpanded string. This is why we can't use the condition like "<PropertyGroup Condition="'@(ClCompile->'%(RuntimeLibrary)')'=='MultiThreadedDebugDLL'">"
outside a target. So "<TestProp>defined</TestProp>" defined beneath that condition doesn't work.
During the execution phase of the build, when it processes the Message task, MSBuild expands the string "@(ClCompile->'%(RuntimeLibrary)')" to yield "MultiThreadedDebugDLL".
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Using multiple 'and' conditions in a SQL query
Is it possible to reduce the SQL required to query using multiple 'and' conditions, e.g. I have a query like the following:
select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
where stat.apy_apn_id = apps.rgn_apt_id
and apps.rgn_apt_id = appt.rgn_apt_id
and stat.application_completed is null
and stat.application_started_date > '01-MAY-11'
and stat.amount_paid is null
and stat.personal_details = 'C'
and stat.further_details = 'C'
and stat.education = 'C'
and stat.employment = 'C'
and stat.personal_statement = 'C'
and stat.choices = 'C'
and stat.reference = 'C'
and stat.student_finance = 'C'
Is there a way, to reduce all the multiple 'and' queries, to be read from say one line? If you know what I mean.......Ah, Ok this looks nice, thanks very much. It doesn't quite run as is because the stat.amount_paid query value is 'is null', while the others are 'C'. I tried amending the relevant line to various versions of the following:-
in (select 'is null' 'C','C','C','C','C','C','C','C' from dual)
which doesn't work.
I can get the following to work so I am assuming that the it is not possible to use different query values within the brackets of the 'in (select....' statement?
select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
where stat.apy_apn_id = apps.rgn_apt_id
and apps.rgn_apt_id = appt.rgn_apt_id
and stat.application_completed is null
and stat.application_started_date > '01-MAY-11'
and stat.amount_paid is null
and (stat.personal_details, stat.further_details, stat.education,
stat.employment, stat.personal_statement, stat.choices, stat.reference, stat.student_finance)
in (select 'C','C','C','C','C','C','C','C' from dual)
Thanks for everybodys help - the suggested alternatives seem so much more elegant -
Using Metadata to generate view as conventional folder structure
Can Metadata be used to generate a view as the conventional folder drill-down?
I have a list with metadata for different projects, releases, content type etc and I would like to view them in folder structure with different hierarchies, i.e. using projects--> releases--> content-type as well as release --> projects --> content-type.
I have asked the same question at : http://stackoverflow.com/questions/22693036/using-metadata-to-view-as-conventional-folder-structureHi,
If your metadata is based on a hierarchical term set you could use ‘Metadata Navigation’.
You may have to change your information architecture a bit to accommodate this approach. More info on ‘Metadata Navigation’ here:
http://office.microsoft.com/en-gb/sharepoint-server-help/configure-metadata-navigation-for-a-list-or-library-HA101820113.aspx
Hope this helps
Cheers
Matt -
We would like to Use the SKTO condition type as Acrual condition
Hello Experts,
We have a requirement to track the possible cash discounts in discounts bucket, Hence we though that we will use the SKTO condition type as a Accrual condition type and post to Accrual accounts at the time of billing document creation.
While processing the Payment we will clear the bucket with relevant discounts with eligible payment terms.
We are debating and discussing the use of SKTO as a Accrual condition type and start posting GL accounts with it (This means that we are removing the statistical check box from pricing procedure).
In a nutshell our requirement is.
1. Track the cash discounts in a Accrual bucket.
2. Relieve the accrual when payment is applied (This will be done in Cash app)
3. What are the consequences of making this change?
4. Is there a better way of managing this?
Thanks
SreedharHi,
Your issue can be solved by CO consultant.
Your CO consultant can generate report from CO-pa documents.(when invoice is released to a/c ,FI and CO documents are generated) and you know SKTO- cash discount amount even if it statistical condition type.
You do not need to change in Pricing procedure for tracking cash discount.
SKTO is linked wtih payment terms and it is applied accordingly through standard programs.
thanks,
Vrajesh
Edited by: Vrajesh G. Nayak on Jun 2, 2010 5:12 PM -
How to use a purchase condition in the sales order
Hello,
Customer would like to have a purchase "day-price" appearing in the pricing of the sales order.
I would suggest to write abap code (reading the correct PU condition record) in a condition base value routine that would be added in the customizing pricing procedure at SD side.
Is there any "more standard" solution for this ?
Thanks,Hello,
Here is the case in more detail :
This question concerns a product that is just purchased, stored, and sold. The purchase-price is based on a "day-price" that is maintained in a purchase condition record on a daily basis. The sales-price should be that daily price with a markup in %.
So, in the sales order, this purchase condition record should be picked up with the material and the pricing date as key. From that base price, a markup can be calculated in sales pricing.
I would suggest to use the field "condition base value" in the setup of the sales pricing procedure (Ref to IMG sales and distribution, pricing control, define and assign pricing procedures). In that field a new routine could be entered that (with a select or function or Bapi) picks up the purchase condition record-value.
I would like to know if this would be a "correct" way of solving this requirement, if there is no "more standard" solution, if anyone has experience with a similar requirement and how you solved it ?
Thanks, -
How to use outer join condition in my below query.
Hi All,
How to use outer join condition in my below query.
In the table APPS_JP.GEDIS_OFFER_HEADER goh I have more records
in the table APPS_JP.GEDIS_ORDER_BUILDS gob I have less number of records.
I want all the records from APPS_JP.GEDIS_OFFER_HEADER goh
including other conditions.
I have tried goh.OFFER_NO=gob.OFFER_NO(+) but same result.
[code]SELECT GOH.ORIG_SYSTEM,
gsp.USER_NAME,
goh.ORDER_NO,
goh.OMEGA_ORDER_NUMBER,
goh.ORDER_TYPE,
gc.CUSTOMER_ID,
gc.OMEGA_CUSTOMER_NUMBER,
CASE WHEN gc.PRIVATE = 'N' THEN gc.CUSTOMER_NAME ELSE '' END
AS COMPANY_NAME,
goh.ORDER_STATUS,
goh.TOTAL_SELLING_PRICE,
goh.TOTAL_MARGIN,
ga1.ADDRESS1
|| ','
|| ga1.ADDRESS2
|| ','
|| ga1.ADDRESS3
|| ','
|| ga1.POSTAL_CODE
|| ','
|| ga1.CITY
AS SHIPPING_ADDRESS,
ga2.ADDRESS1
|| ','
|| ga2.ADDRESS2
|| ','
|| ga2.ADDRESS3
|| ','
|| ga2.POSTAL_CODE
|| ','
|| ga2.CITY
AS BILLING_ADDRESS,
ga.ADDRESS_ID,
gol.DESCRIPTION,
APPS_JP.TZ.to_local_date (goh.OFFER_DATE, goh.OFFER_DATE_UTC)
AS OFFER_DATE,
gc.LEVEL_8,
goh.NO_OF_BUILDS,
gob.SFDC_ID,
goh.PURCHASE_ORDER_NO AS PO,
gc1.CUSTOMER_NAME AS END_USAGE,
gol.LOB,
goh.TOTAL_MARGIN_PCT,
goh.TOTAL_DISCOUNT,
goh.TOTAL_DISCOUNT_PCT
FROM APPS_JP.GEDIS_OFFER_HEADER goh,
APPS_JP.GEDIS_ORDER_BUILDS gob,
APPS_JP.GEDIS_ORDER_LINES gol,
APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER gorc,
APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER ship,
APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER bill,
APPS_JP.GEDIS_CUSTOMER gc,
APPS_JP.GEDIS_CUSTOMER gc1,
APPS_JP.GEDIS_CONTACT gct,
APPS_JP.GEDIS_ADDRESS ga,
APPS_JP.GEDIS_ADDRESS_NORM ga1,
APPS_JP.GEDIS_ADDRESS_NORM ga2,
(SELECT DISTINCT SALESPERSON_ID, USER_NAME
FROM APPS_JP.GEDIS_SALESPERSON
WHERE SALESPERSON_ID IN
(SELECT TO_NUMBER (COLUMN_VALUE) AS SALESPERSON_ID
FROM TABLE (APPS_GLOBAL.SplitString ('337309'))))
gsp
WHERE goh.ORDER_NO <> 0
AND goh.OFFER_NO <> 0
AND goh.OFFER_NO=gol.OFFER_NO
AND gol.BUILD_NO = 1
AND gol.LINE_NO = 1
AND goh.OFFER_NO=gob.OFFER_NO
AND gob.BUILD_NO = 1
AND goh.OFFER_NO = gorc.OFFER_NO
AND gct.CONTACT_ID = gorc.CONTACT_ID
AND ga.CUSTOMER_ID = gc.CUSTOMER_ID
AND ga.PRIMARY = 'Y'
AND goh.LEAD_SALESPERSON=gsp.SALESPERSON_ID
AND goh.OFFER_NO = ship.OFFER_NO
AND ship.RELATION_TYPE = 'SHIP'
AND ga1.ADDRESS_ID = ship.ADDRESS_ID
AND ga1.CUSTOMER_ID = gc1.CUSTOMER_ID
AND goh.OFFER_NO = bill.OFFER_NO
AND bill.RELATION_TYPE = 'BILL'
AND ga2.ADDRESS_ID = bill.ADDRESS_ID
AND goh.OFFER_DATE BETWEEN APPS_JP.TZ.LOCAL_TO_DB_DATE (
SYSDATE - 30
AND APPS_JP.TZ.LOCAL_TO_DB_DATE (SYSDATE)
AND gorc.RELATION_TYPE = 'BASE'
AND gorc.CUSTOMER_ID = gc.CUSTOMER_ID
AND goh.SALES_CHANNEL = gc.SALES_CHANNEL
AND gc.SALES_CHANNEL = 'SMB'
AND goh.LEAD_SALESPERSON IN (goh.CREATED_BY, goh.LEAD_SALESPERSON)
ORDER BY goh.OFFER_NO;[/code]
Please help me how to use this outer join condition.
Thanks in advance.Hi,
If you want all the rows from goh, then you don't want any conditions like goh.OFFER_NO <> 0.
Make all the joins to goh outer joins, and make all conditions that apply to any tables joined to goh (or to tables joined to them) part of the join condition, like this:
FROM APPS_JP.GEDIS_OFFER_HEADER goh
LEFT OUTER JOIN APPS_JP.GEDIS_ORDER_BUILDS gob ON gob.OFFER_NO = goh.OFFER_NO
AND gob.BUILD_NO = 1
LEFT OUTER JOIN APPS_JP.GEDIS_ORDER_LINES gol ON gol.OFFER_NO = goh.OFFER_NO
AND gol.BUILD_NO = 1
AND gol.LINE_NO = 1
LEFT OUTER JOIN APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER
gorc ...
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Simplify the problem as much as possible. For example, do you really need all those tables to show what the problem is? Of course, you need them in tyour real query, but if you understand a solution that only involves 4 or 5 tables, you'll know how to apply it to any number of tables.
Explain, using specific examples, how you get those results from that data.Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ https://forums.oracle.com/message/9362002#9362002 -
Can we use exceptions and conditions at the same time?
can we use exceptions and conditions at the same time? Are there any dependencies between exceptions an conditions?
Exceptions are used when there are some mistakes , or exceeds the supposed values, we can highligt that in different colours for enabling the validator to notice easily. In this we are giving conditions for considering the value as exceptions. suppose, if the values is out of the range -1 to +1 then exception.
But conditions can be considered as the restrictions given in measure level also. So please elaborate what you meant by conditions -
Use of group conditions in subtotal KZWIW
Hi,
I have a specific trouble in the use of group condition in sales order and billing.
Condition Z001 is a group condition and should also update field kzwi2 as base information for condition Z002
Condition Z002 is not a group condition and is calculated based on informations stored in kzwi2.
When creating a document, the field kzwi2 is not updated directly (because Z001 is a group conditions) and the price should be redeterminated manually in order to allow the document to be considered as complete.
Is there any settings that can avoir the manual recalculation of the price?
Many thanks in advance,
Nathalie WinandHi Nathalie:
See Note 1022966 - FAQ for the 'Subto' column (KZWIW) in the pricing procedure
Perhaps it will help you
Regards
Eduardo -
Using metadata as variables for datasets
Can i use meta data as a variable in datasets? (i am an event photographer and have a apreadsheet with (racenumber,time,name) . I want to tag my photos using metadata with the race numbers and then have CS5 add text onto my photos by matching the racenumber from the meta data to the spreadsheet is this possible?
I think you're in the wrong forum. This one's for Premiere Pro, the video editing application. You may want to try Photoshop, Bridge or Lightroom, all of which are more suitable for metadata tagging of large numbers of photos.
-
Exception while retrieving deleted document using metadata based query
Hi,
I am using dbxml 2.4.11 on Mac OS 10.5. My xml documents are stored in the dbxml with some metadata. Index on metadata is built. After delete a document I get an exception (error code is DATABASE_ERROR) while trying to use metadata based query:
com.sleepycat.dbxml.XmlException: Error: DB_NOTFOUND: No matching key/data pair found, errcode = DATABASE_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlResults_hasNext(Native Method)
at com.sleepycat.dbxml.XmlResults.hasNext(XmlResults.java:136)
at gov.nasa.gsfc.md.mms.dbserver.server.XmlDbServerImpl.selectDocuments(XmlDbServerImpl.java:111)
at gov.nasa.gsfc.md.xdba.server.ApplicationServiceImpl.findDocument(ApplicationServiceImpl.java:99)
the code used to query:
query = ... /DIF[dbxml:metadata('md:Id')='1234']
// Perform the query.
XmlResults results = getXmlManager().query(query, context);
while (results.hasNext()) {
XmlValue xmlValue = results.next();
DocumentDTO documentDTO = new DocumentDTO();
XmlDocument xmlDocument = xmlValue.asDocument();
XmlMetaDataIterator metadataIt = xmlDocument.getMetaDataIterator();
XmlMetaData md = metadataIt.next();
while (md != null) {
String name = md.get_name();
String value = md.get_value().asString();
NameValuePair nameValuePair = new NameValuePair(name,value);
documentDTO.addToMetadataList(nameValuePair);
md = metadataIt.next();
retVal.add(documentDTO);
counter = counter + 1;
results.delete();
context.delete();
As name and value of the metadata I use kind of Id. If I use the query with a never before existing Id, I get the expecting error code DOCUMENT_NOT_FOUND, which is ok.
Anybody has an idea why?
Thanks a lot,
Hoan.Hi George,
I use now version 2.4.16, built a new database, but I can't found any records using the code mentioned above. First I thought there would be problem on Mac, tried to install the whole database and app on linux, but the problem still persists. The query I am using is:
collection('////usr/server/gcmdx/xmldb/data/live.bdbxml')/DIF[dbxml:metadata('md:docType')='DIF' and dbxml:metadata('md:internalId')='456']
(Switching back to 2.4.11, I find the records inserted)
I can send a record if you want.
Thank you for your help,
Hoan. -
Hello
We are facing an issue while using a Z discount condition type in price agreement at service contract line item level.
A Z Condition type has been created in ECC and assigned to the pricing procedure. This pricing procedure is downloaded in CRM and determined in the service contract.
A condition maintenance group using this Z condition type is created in CRM and assigned to service contract item category.
Condition records are created in CRM for this condition type/condition maintenance group for specific products along with sales org and discount percentage.
But when the price agreement(using this condition type) is used at the item level of a service contract, the system throws errors (related to product/unit of measure and sales org, even though no issues seem to be there)and thus the price agreement is not allowed to be used.
If anyone has worked on such kind of scenario, please get in touch, I will share more details for the same.
Regards
Ankit AroraDear Ankit,
Once the pricing procedure is downloaded, please maintain the document pricing procedure at service contract header level, and maintain the customer pricing procedure at business partner sales area billing data.
In spro, maintain the pricing procedure for the combination of sales area, document pricing procedure, customer pricing procedure.
Please crosscheck whether the condition table is active or not.
Regards,
Maddy -
IU Elim. "No data found for processing using current selection conditions""
Dear Experts,
While Executing task of Interunit elimination in Consolidation Montior I am getting Message "No data found for processing using current selection conditions"
Ex. is
A)
In Unit X
GL (399999) Account Dr. 65000 (Customer Recon. Ac.) (with Trading Parter X)
GL (499999) Rev.A/c 65000 (with Trading Parter X)
In Unit Y
GL (199999) Exp. A/c Dr. 65000 (with Trading Parter Y)
GL (299999).Account 65000 (Vendor Recon. Ac.) (with Trading Parter Y)
B) GLs in info cube in 0FIGL_C01 are :-
GL Account---CCode--Trading PartnerDebit--
Credit
199999--YY65000-----00000
299999--YY00000-----65000
399999--XX65000-----00000
499999--XX00000-----65000
In COnsolidation WorkBench
1) I have created Document Type
2) Method-
In General Tab
a) Two SIded Selection
b) Per Transaction Currency Selected
In Selection Tab
1St Selection
GL Account = 299999 (Customer Recon. Account)
Company = X
Trading Partner = X
1St Selection
GL Account = 399999 (Vendor Recon. Account)
Company = Y
Trading Partner = Y
Difference Tab
a) Post Diff to "Unit from Selection 1"
b) Key Figure "Period Value GC
c) Check Limit Per Difference Row
Other Differnce
GL Account = 100099 (Other GL)
Currencyce Diff
GL Account = 100510 (Other GL)
Question :-
1) Is the posting is appropriate and does it attracts IU Elimination?
2) The Infocube Details are correct?
3) Any Config issue
May any one suggest, Why Am I not able to get the data?
Thanks
Rakesh ShrivastavDear Sir,
Following are the View at my end in context to your suggestion
1. check the BCS totals data to ensure trading partner is included.
THis is the view of Source Info Cube 0FIGL_C01
GL Account---CCode--Trading PartnerDebit--
Credit
199999--YY65000-----00000
299999--YY00000-----65000
399999--XX65000-----00000
499999--XX00000-----65000
2. Execute the task for the cons group that includes both cons units X and Y
The COns Group Is XYZ
X- Cons Unit
Y- Cons Unit
In Cons Monitor I am executing Test run at XYZ level
3. Although the trading partner for cons unit X should be Y and vice versa, the elimination should still occur with the cons unit X and trading partner X records.
Same as the query description
4. make sure that the items 199999, 299999, 399999 and 499999 are included in the elimination method for either selection 1 or selection 2.
The Method Selection Tab View is
1St Selection
GL Account = 299999,199999
Company = Y
TP = Y
2Nd Selection
GL Account = 399999,499999
Company = X
TP = X
What is your View On That? -
Transaction used for maintaining condition record for contract
Hi All,
In one of the issue user is not able to print contract,we have noticed that default printer is set for user.I need to check what condition record is maintained for user.
Can anyone let me know what is the transaction used for maintaining condition record for contract output.
Regards,
DharmeshHi
MN01 Create Message: RFQ
MN04 Create Message: PO
MN07 Create Message: Outline Agreement
MN10 Create Message: Schd. Agmt. Schedul
MN13 Create Message: Service Entry Sheet
MN21 Create Condition: Inventory Mgmt
MN24 Create Message: Shipping Notif.
MN27 Create message: rough goods receipt
MN10 / MN11 - Scheduling Agreement Delivery Schedule
Vijay -
Derived Column: Assigning and and Using as a Condition
Hi,
I have 1 derived column component with 2 derived columns (see below).
1st derived col:
DerivedColName: col1
Derived Column: Replace 'col1'
Expression: REPLACENULL(col1, col1_DHH)
2nd derived col:
DerivedColName: col2
Derived Column: Replace 'col2'
Expression: ISNULL(col1) ? col2_DHH : col2
As you can see, col1 is being used as a condition to determine the value to assign to col2.
But at the same time, col1 is assigned with a value that depends on the result of REPLACENULL.
My question is, is col1's value in (ISNULL(col1) ? col2_DHH : col2) the original value i.e. before it evaluates the REPLACENULL expression?
I have tested this and it seems that col1 value is the original value (which is what i need). I just want to confirm from you guys that this is always the case i.e. it is deterministic.
Thanks!If they're in same derived column then it takes original value ie prior to start of derived column
If you want evaluated value to be used for second expression then you need to use two derived tasks and join first to second with precedence constraint with option On Success
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Getting an error saying no primary index is used in where condition in SCI.
Hi,
I have develped a report using table PAYR.
The selection -screen of this report consists of Runid, Identification and Payment date.
The select qurey i used is
SELECT chect
zaldt
rwbtr
znme1
voidd
FROM payr INTO TABLE it_details
WHERE laufd EQ p_laufd AND
laufi EQ p_laufi AND
zaldt EQ p_date.
But when i check the code with code inspector im getting an error saying no primary index is used in where condition.
How can i solve this problem.
Pls. provide some pointers.
Thanks.HI Deepti,
The problem is since the fields used in where condition is not mentioned in any of the indexes created for table ( you can check the maintained indexes for table by clicking on the 'Indexes' button or ctrl+F5)
Atlease include MANDT in where condition, or create your own index with the fields which you have used in SELECT query.
this will solve the problem
Regards
Seema
Maybe you are looking for
-
Some Apple Programs can't access Internet
Hi, I am experiencing a very strange problem. My Internet works fine, except for in 3 applications. Mail, iTunes, and System Crash Reporter. I can browse the Internet, chat, and do whatever fine. But Mail refuses to send mail. iTunes cannot connect t
-
Trouble with a new iPod video (and a question)
My new iPod video is causing my computer to freeze when I connect it. I've tried uninstalling and reinstalling iTunes. After that, it seemed to be going OK, but it only downloaded about 500m (of a total of 50g) before iTunes froze again and stopped d
-
I just downloaded the new operating syaytem and all my apps are STUCK in the app store . I can open them in the app store but can NOT creat icons with them only open them
-
Oracle 9i database server 64bit installing problem.
Hi , Can anyone provide me a suitable solution, iam installing oracle 9i database server 64 bit at Windows server 2003 64bit enterprise edition, it shows me some exception error and do not allow me to install. ERROR IS (The image file C:\oracle 9i db
-
Hi In Cisco Prime Infrastructure, where can we find the snmp trap logs and can we do the snmp polling through webconsole, please suggest how we can troubleshoot if the device is not reachable, do we need to login through ssh and check or is there any