BusinessGraphics Category Element
I have the following node for storing data for a simple pie chart:
PieData
|
--- Id (string)
|
--- Label (string)
|
--- Value (double)
I have created a BusinessGraphics element (id = PIE) with one Category and one SimpleSeries:
Category:
descrition: PieData.Label
eventID: PieData.Id
id: Category1
tooltip: PieData.Value
SimpleSeries:
id: SimpleSeries1
value: PieData.Value;
I have mapped the id parameter to the action in wdDoModify:
if (firstTime) {
IWDBusinessGraphics pieChart = (IWDBusinessGraphics) view.getElement("PIE");
pieChart.mappingOfOnAction().addSourceMapping(IWDBusinessGraphics.IWDOnAction.ID, "id");
In the action I have the following:
public void onActionSliceSelected(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent,
java.lang.String id )
//@@begin onActionSliceSelected(ServerEvent)
wdComponentAPI.getMessageManager().reportSuccess(id);
//@@end
Oddly enough even though I've bound the eventID to the PieData.Id attribute, the value returned in id parameter is always the PieData.Label attribute (which is bound to description, NOT eventID).
Any ideas what's going on here?
Hi
Definition clarify that
onAction (String id)
This event is triggered when the user selects a certain area of the business graphic. The parameter is the id of the selected UI element.
and this area could be anything.
Do one exercise
1.Comment this line of code
if (firstTime) {
IWDBusinessGraphics pieChart = (IWDBusinessGraphics) view.getElement("PIE");
pieChart.mappingOfOnAction().addSourceMapping(IWDBusinessGraphics.IWDOnAction.ID, "id");
2. OnAction of BG having two parameter ID and nodeElement , Create these two parameter in your action named onActionSliceSelected, and bind it through parameter (Right click the BG UI element select parameter mappling )
3. Check it with one parameter also i.e ID only
Let see the result
Best Regards
Satish Kumar
Similar Messages
-
Embedding BusinessGraphics inside Interactive Form in WebDynPro
Hi,
Does anyone know if it's possible to embed a BusinessGraphics UI element that has been rendered into an InteractiveForm? Or is there a way the URL to the BusinessGraphic or the binary data of the graphic itself accessible so that it can be bound to the context and passed on to an Adobe Interactive Form UI?
THanksHi,
this is possible with a workaround. You have to programm against the IGS directly to generate the business grpahic and get the URL (This is what the UI element internally does). Then you have to put that URL into Web Dynpro context, bind the imageField-UIElement within the InteractiveForm to that context attribute(do not forget the script "this.value.image.href = xfa.resolveNode(this.value.image.href).value;" in form:ready. This will display the graphic.
Regards
Stefan -
Rss feed won't validate when I use the itunes:order element?
Hi
I'm trying to use the <itunes:order> element -
http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/AddingContent/chapte r12_section3.html
When I run my feed through the W3C rss validator it won't validate. It says - Undefined item element: itunes:order
I also get a recommendation which says - Use of unknown namespace: http://www.itunesu.com/feed
As far as I can tell I'm doing everything correctly. The iTunes and iTunesU namespaces are declared correctly in the root rss element and the itunes:order are where they should be within the <item></item> element.
What am I doing wrong? Any help would be much appreciated.
Here's my rss feed -
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:itunesu="http://www.itunesu.com/feed" version="2.0"><channel xmlns:itunesu="http://www.itunesu.com/feed" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents: all items - Dec 31 2099 12:00AM</title><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><description>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</description><itunes:summary>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</itunes:summary><managingEditor>[email protected] (LSE Web Services: Rich Media Producer)</managingEditor><itunes:owner><itunes:name>LSE Web Services: Rich Media Producer</itunes:name><itunes:email>[email protected]</itunes:email></itunes :owner><webMaster>[email protected] (LSE Web Services: Rich Media Producer)</webMaster><language>en-uk</language><copyright>Copyright © Terms of use apply see http://www2.lse.ac.uk/aboutThisWebsite/termsOfUse/</copyright><itunesu:category code="110" text="Social Science"/><category>Social Science</category><itunes:explicit>no</itunes:explicit><itunes:author>London School of Economics and Political Science</itunes:author><itunes:block>No</itunes:block><generator>SQL</generator ><image><url>http://www2.lse.ac.uk/assets/richmedia/webFeedImages/rss_144/PublicLecturesAudio Generic.jpg</url><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents</title><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><width>144</width><height>144</height></image><itunes:image href="http://www2.lse.ac.uk/assets/richmedia/webFeedImages/iTunes_300/PublicLec turesAudioGeneric.jpg"/><pubDate>Mon, 7 Feb 2011 11:45:00 GMT</pubDate><lastBuildDate>Mon, 7 Feb 2011 11:45:00 GMT</lastBuildDate>
<item><title>LSE Summer School 2010 - Business strategy in a global age [Audio]</title><itunes:author>Professor Costas Markides</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 94</link><itunes:duration>01:25:21</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007121730businessStrategyInAGlobalAge.mp3" length="41003598" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007121730businessStrategyInAGlobalAge.mp3?iTunesRSSPublicLecturesandEvents9999AudioTransc riptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</description><itunes:summary>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</itunes:summary><itunes:order>1</itunes:order><pubDate>Mon, 12 Jul 2010 17:30:00 GMT</pubDate></item>
<item><title>Global Justice [Audio]</title><itunes:author>Professor Amartya Sen</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 92</link><itunes:duration>01:24:10</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007081830globalJustice.mp3" length="20233863" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007081830globalJustice.mp3?iTunesRSSPublicLecturesandEvents9999AudioTranscriptSlidesDocum entJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</description><itunes:summary>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</itunes:summary><itunes:order>2</itunes:order><pubDate>Thu, 8 Jul 2010 18:30:00 GMT</pubDate></item>
<item><title>The Secret State: preparing for the worst 1945-2009 [Audio]</title><itunes:author>Professor Peter Hennessy</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 91</link><itunes:duration>01:15:14</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007071830theSecretStatePreparingForTheworst1945-2009.mp3" length="36141201" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007071830theSecretStatePreparingForTheworst1945-2009.mp3?iTunesRSSPublicLecturesandEvents 9999AudioTranscriptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</description><itunes:summary>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</itunes:summary><itunes:order>3</itunes:order><pubDate>Wed, 7 Jul 2010 18:30:00 GMT</pubDate></item>
</channel>
</rss>I have been in touch with someone at Apple and I was advised that I shouldn't worry about this.
It would seem that the feed validator doesn't recognise the iTunes U namespace and some of the iTunes and iTunes U specific feed elements. The use of an unknown namespace gives an adviosry note and <itunes:order> and <itunesu:category> elements will not validate at all. I suspect there may be other elements that I haven't used in our feeds. -
Help with Capturing Business Graphics data point
Hi,
I created a BusinessGraphics UI element with SimpleSeries and assigned eventId for the categories and data points. I am able to get the series that is clicked through the event but I would like to know which point (value) is clicked as well.
The steps I followed are
1. Created BG UI element, category and SimpleSeries
2. Assigned eventIDs
3. Created an action class and mapped it to the UI element
4. Code in wdDoModifyView is
if (firstTime)
IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("bgCSB");
chart.mappingOfOnAction().addSourceMapping("id", "pointID");
5. Implemented action class with one parameter (pointID) and able to get the value.
Can someone help me to get the data point values from the user click.
Appreciate your help.
Thanks,
KalyanYou have done everything right, except I don't think you can do this with simple series.
Create something like this:
in the context:
series-> (this node can be with 1..1 cardinality and 1..1 selection)
points->
label (string)
value (int)
pointId (string)
in the business graphics:
create one series (not simple one) and add to it one point of numeric type.
in the properties of business graphics bind seriesSource to series context.
Series: bined poitSource to series.points
Series_points: bind eventId to series.points.pointId
bind label to series.points.label
bind valueSource to series.points
Values (these are the numeric values): bind value to series.points.value
in wdDoModify method do the same thing as you have done already.
Now, when you click on a point you will receive in your event in pointId variable the pointId context attribute value.
Best regards,
Anton -
KEU5 – It does not found senders (emisor) for segment.
Dear Expert Sap
Please, I try to explain the following scenary :
I had created one purcharse using ME21N transaction, that it had one service and imputation on cost center (CeCo)
I had created document using ML81N and accepting.
I can lookup posting document FI and it is correct.
I can lookup posting document profit center cost
But it did not create posting on COPA. Because It did not have configuration or specified OKB9: Cost Ctr (KSTAR) assigned - > Cost element master (KOSTL).
When I am excuting this report S_ALR_87013611 - Cost Centers: Actual/Plan/Variance.
I are seing income as statistical posting under cost centres.
Cost centres cannot have 'real' income postings. It is correct.
Because Cost Ele category is equal “12” and (Cost Ele category 11 or 12) are posted AS statistical on cost centers.
Finally:
Bussines need that "posted as statistical on cost centers" => it should create on COPA.
We are thinking that we can using a cycle in KEU5 transacction.
But whem we are executing transaction KEU5 son it get this message:
– It does not found senders (emisor) for segment.
Unfortunately, I am not found one note oss.
Could you check this and recommend the best option? or could you recommend any note oss, please?
All your recomendations will be welcome.
Thanks a lot for your recomendation and help.
Best regards,
Gustavo HermozaThank you very much for your answer, Ronghua!!!
I am thinking about your recomendation about using substitucion (OKC9) to derivate the PAOBJNR as reael account assignment.
It will probably be good idea but Step(Okc9) does not derivate or move characteristics to RKE_GET_ACCTNR Function. Because we dont not know this characteristics.
We had reviwed cost line items for cost center and we are seeing that all document are Material Document and this document dont have fields to derivate characteristics.
Another alternative:
Transaction KA02 change category element.
Field change CElem Category is not possible (transaction data already exists)
Diagnosis
To ensure the consistency of existing data, you can only change object CElem Category if no transaction data exists in the change period; that is, neither plan data nor actual data has been posted.
As transaction data already exists, it is not possible to change objects in this time period.
Procedure
If you still want to change the object, select a suitable change interval by choosing "Edit -> Analysis period...".
I want to show this post it is good.
Profitability segment - ERP SD - SCN Wiki
Thanks a lot for your recomendation and help.
Best regards,
Gustavo Hermoza -
How to use XDOXSLT in rtf template layout for etext template creation
<DEFINE CONCATENATION> BookDetails
<BASE LEVEL> Category
<ELEMENT> Name || '/' || Price
<DELIMITER> '/'
<END DEFINE CONCATENATION> BookDetails
With EFTProcessor the above details are created in xsl file as follows
<xsl:template name="CONCAT_BookDetails">
*I need to declare one more variable here
EG: <xsl:value-of select="xdoxslt:set_variable($mycount, count(.//Category))"/>
--and use this variable for any dyanamic process inside this template. How to achieve this in rtf template by declaring a xdoxslt function. How to declare this
syntax in rtf layout so that it creates a varibale in xsl template using the EFTProcessor. Please help me out. The main point here is to include xslt functions in
rtf template layout for etext template creation.*
<xsl:for-each select=".//Category">
<xsl:call-template name="CONCAT_BookDetails_V"/>
</xsl:for-each>
</xsl:template>in the next time use BI Publisher forum - BI Publisher
<?format-number(ENTERED_CR,'##,##0.00')?>it's works for me
output:
444 -> 444.00
444.55 -> 444.55 -
I have a report which have year(2008), Category(0-1,2-3, ALL), product(0,1,2,3,4..), % sales. I group by all the category elements and called it as All, I am not getting the right percentage sales for the Category ALL other wise for 0-1,2-3 i am getting it right. Please advise where i am doing it wrong. please find the blog for a screen shot of my issue.
http://ravibiblog.blogspot.com/2012/04/report-with-grouping-issue.html
Thanks,
RCPl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
FARXPBSH Failing With "Program was terminated by signal 11" or "Program was terminated by signal 10" (Doc ID 742729.1)
Publishing RXAPPYAC: The FARXPBSH Ends With 'Signal 11' Error (Doc ID 432797.1)
RXi RX Reports Failing With Program Was Terminated By Signal 10 or 11 Errors After FA Rollup Patch 6 (Doc ID 737963.1)
Program was Terminated by Signal 11 when Running Rxi Reports (Doc ID 559425.1)
HTH
Srini -
How to Parse this XML File and require below mentioned value as output using powershell script
Need values for below as an output for below xml file so help me with the script:
Under Criteria Tag-
TimeStamp Display Value
OID corresponding to display value for nodes "Criterion"
Under Report Body Tag--
name in Report Section and OID value
<?xml version="1.0" encoding="UTF-8"?>
<ReportOutput>
<ReportHead>
<Report name="Execution Action" type="detailedchanges_rpt">
<Description></Description>
</Report>
<Criteria>
<TimestampCriterion name="date" displayvalue="08/10/14 23:08">
<Timestamp displayvalue="08/10/14 23:08">1412780929000</Timestamp>
</TimestampCriterion>
<MatchCriterion name="approvalId" displayvalue="Not applied" operator="contains" />
<MatchCriterion name="promotionComment" displayvalue="Not applied" operator="contains" />
<SelectCriterion name="changeWindow" displayvalue="Not applied" />
<SelectCriterion name="auditEvents" displayvalue="(Any)">
<String>auditEventAny</String>
</SelectCriterion>
<SelectCriterion name="attributeDisplay" displayvalue="Changed attributes">
<String>changed</String>
</SelectCriterion>
<SelectCriterion name="versionCompare" displayvalue="Version with current baseline">
<String>disabled</String>
</SelectCriterion>
<BooleanCriterion name="showContentDiff" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayUsers" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayPackages" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayCustomProperties" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="strictPackageMatch" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayCriteriaAtEnd" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<SelectCriterion name="elementExists" displayvalue="Not applied" />
<IntegerCriterion name="maxLinesPerBlock" displayvalue="10">
<Integer>10</Integer>
</IntegerCriterion>
<NodesCriterion name="nodes" displayvalue="TripwireENT.demo.net">
<OID>-1y2p0ij32e8bw:-1y2p0ij32e7cu</OID>
</NodesCriterion>
<MatchCriterion name="nodeName" displayvalue="Not applied" operator="contains" />
<CustomPropertiesCriterion name="nodeProps" displayvalue="Not applied" />
<RulesCriterion name="rules" displayvalue="Critical System Files">
<OID>-1y2p0ij32e7q2:-1y2p0ij31snh6</OID>
</RulesCriterion>
<MatchCriterion name="ruleName" displayvalue="Not applied" operator="contains" />
<MatchCriterion name="elementName" displayvalue="Not applied" operator="contains" />
<CustomPropertiesCriterion name="elementProps" displayvalue="Not applied" />
<CustomPropertiesCriterion name="versionProps" displayvalue="Not applied" />
<AttributesCriterion name="attributes" displayvalue="Not applied">
<Integer name=".missingImpliesFailure">1</Integer>
</AttributesCriterion>
<ContentCriterion name="content" displayvalue="Not applied" />
<MatchCriterion name="auditEventUserName" displayvalue="Not applied" operator="contains" />
<IntegerCriterion name="changeType" displayvalue="Added, Modified, Removed">
<Integer>7</Integer>
</IntegerCriterion>
<SeverityRangeCriterion name="severity" displayvalue="1 - 10000">
<Integer name="min">1</Integer>
<Integer name="max">10000</Integer>
</SeverityRangeCriterion>
<BooleanCriterion name="currentVersionsOnly" displayvalue="Yes">
<Boolean value="true" />
</BooleanCriterion>
<TimeRangeCriterion name="timeRange" displayvalue="All time" />
<PackagesCriterion name="packages" displayvalue="Not applied" />
<SortCriterion name="sortNodes" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortRules" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortElements" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortVersions" displayvalue="Date, descending" isascending="false">
<String>date</String>
</SortCriterion>
</Criteria>
</ReportHead>
<ReportBody>
<ReportSection name="TripwireENT.demo.net" category="node">
<OID>-1y2p0ij32e8bw:-1y2p0ij32e7cu</OID>
<String name="typeName">Windows Server</String>
<ReportSection name="Critical System Files" category="rule">
<OID>-1y2p0ij32e7q2:-1y2p0ij31snh6</OID>
<String name="typeName">Windows File System Rule</String>
<ReportSection name="C:\Temp" category="element">
<OID>-1y2p0ij32e8dr:-1y2p0ij32e586</OID>
<ReportSection name="08/10/14 22:48" category="version">
<OID>-1y2p0ij32e8du:-1y2p0ij32e3ho</OID>
<Integer name="changeType">1</Integer>
<String name="changeTypeName">Added</String>
<Integer name="severity">10000</Integer>
<String name="severityName">High</String>
<Timestamp name="changeTime" displayvalue="08/10/14 22:48">1412779682000</Timestamp>
<String name="approvalId"></String>
<ReportSection name="attributes" category="attributes">
<ReportSection name="DACL" category="added">
<String name="observed">Inherits Entries: true
NT AUTHORITY\SYSTEM, Access Allowed:
Standard rights:
Full Control
Modify
Read & Execute
List Folder Contents
Read
Write
Delete
Read Control
Write DAC
Write Owner
Synchronize
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Administrators, Access Allowed:
Standard rights:
Full Control
Modify
Read & Execute
List Folder Contents
Read
Write
Delete
Read Control
Write DAC
Write Owner
Synchronize
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Standard rights:
Read & Execute
List Folder Contents
Read
Read Control
Synchronize
Specific rights:
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Read Permissions
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Specific rights:
Create Folders / Append Data
Header flags:
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Specific rights:
Create Files / Write Data
Header flags:
Container Inherit
Inherited
CREATOR OWNER, Access Allowed:
Generic rights:
Generic All
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherit Only
Inherited
</String>
</ReportSection>
<ReportSection name="Group" category="added">
<String name="observed">TRIPWIREENT\None</String>
</ReportSection>
<ReportSection name="Owner" category="added">
<String name="observed">BUILTIN\Administrators</String>
</ReportSection>
<ReportSection name="Read-Only" category="added">
<String name="observed">false</String>
</ReportSection>
<ReportSection name="SACL" category="added">
<String name="observed">(null)</String>
</ReportSection>
<ReportSection name="Type" category="added">
<String name="observed">Directory</String>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
<ReportSection name="C:\Windows\System32\drivers\etc\hosts" category="element">
<OID>-1y2p0ij32e8dr:-1y2p0ij32e4kp</OID>
<ReportSection name="08/10/14 23:08" category="version">
<OID>-1y2p0ij32e8du:-1y2p0ij32e3hk</OID>
<Integer name="changeType">2</Integer>
<String name="changeTypeName">Modified</String>
<Integer name="severity">10000</Integer>
<String name="severityName">High</String>
<Timestamp name="changeTime" displayvalue="08/10/14 23:08">1412780929000</Timestamp>
<String name="approvalId"></String>
<ReportSection name="attributes" category="attributes">
<ReportSection name="SHA-1" category="modified">
<String name="expected">de375d8a456a7345323babee88975ca567a2d5c4</String>
<String name="observed">3c5520382f91cb1cd898fee2da4eba3fa338d982</String>
</ReportSection>
<ReportSection name="Size" category="modified">
<String name="expected">829</String>
<String name="observed">854</String>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
<ReportSection name="reportTotals" category="reportTotals">
<Integer name="summary.nodeCount">1</Integer>
<Integer name="summary.ruleCount">1</Integer>
<Integer name="summary.elementCount">2</Integer>
</ReportSection>
</ReportBody>
</ReportOutput>Hi Ritehere,
I know this is simple but am beginner in Powershell Script so I was looking for logic to go through however the output you provided is not what i am looking for and your script is too complicated, as under timestamp i wanted display value and correspoding
to display value the OID name and then name value correspoding to that OID. May be u got it wrong.
Thanks anyways. -
Supress Column Heading - File Content Conversion in Sender Adapter
Hi,
Let me give a more clear picture about my scenario. I need to convert CSV File to XML output:-
My source file has column heading and values. The sample data is mentioned hereunder:-
PERNR;KID;PNALT;NACHN;NAME2;VORNA
;1200;1200;Angus
I have created a data type as under:-
DT_LegacyEmployee (Category - Complex Type)
Employees (Category - Element, Occurence - 1)
Header (Category - Element, Occurence - 0...1)
PERNR_H
KID_H
PNALT_H
NACHN_H
NAME2_H
VORNA_H
Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
PERNR
KID
PNALT
NACHN
NAME2
VORNA
The file conversion parameters in the file sender adapter are mentioned hereunder:-
Document Name - MT_LegacyEmployee
Document Namespace - http://abc.com/xi
Recordset Name - Employees
Rescordset Structure - Header,1,Employee,*
Recordsets per Message - 1
Key Field Type - String (Case Sensitive)
Employee.fieldSeparator - ;
Employee.endSeparator - 'nl'
Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA
I dont' have a key field value. How do we remove the header and show only the values in the xml output. I have searched the forum topics as well checked many blogs related to file content conversion, but nothing helped. Kindly advice how to fix this issue. Thanks in advance.
Regards.
PraveenHi Praveen,
Change your File Adapter as below
Document Name - MT_LegacyEmployee
Document Namespace - http://abc.com/xi
Recordset Name - Employees
Rescordset Structure - Employee,*
Recordsets per Message - 1
Key Field Type - String (Case Sensitive)
Employee.fieldSeparator - ;
Employee.endSeparator - 'nl'
Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA
There is no need for the Header required in the data type.
DT_LegacyEmployee (Category - Complex Type)
Employees (Category - Element, Occurence - 1)
Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
PERNR
KID
PNALT
NACHN
NAME2
VORNA
Now the trick is in the mapping program
Lets assume your mapping looks like
MT_LegacyEmployee ---> MT_TargetEmployee
- Employees ---> Records
- Employee ---> Record
- PERNR ---> TargetPERNR
- .. so on
When you do a mapping from Employee ---> Record apply the following logic.
(PERNR)--->
(TestEquals =) --->(NOT)--->
(Constant) ---> (IF)
(PERNR) (IF Without Else) ---> (Record)
(THEN)
(Employee)--->
When doing this make sure RightClick on PERNR and Select Context ---> Employees.
By default context would be from Employee and it will give you an error of XSD format. So make sure you are changing the context. -
Hi Guys,
I have a problem when i am passing a message from Idoc to Oracle useig JDBC Reaciver i had problem in Runtime..
Below message is my Error message..
channel Jdbc_Rec: processing started; party , service DMZ_DEV
2006-09-07 11:56:33 Error No "action" attribute found in XML document ("action" attribute missing or wrong XML structure)
2006-09-07 11:56:33 Error Exception caught by adapter framework: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
Page 1 / 2
Thanks in advance
Thanks
HariHi Hari,
I was the same <u>stupid</u> error, because I read the doc too quickly...
Go to your Data Type and look at the line "action":
> DO NOT use "insert Element" but "<b>Insert Attribute</b>", because <u>action is an attribute</u> of TableName.
Example: If action has category "Element", then you have
<TableName>
<action>INSERT</action>
</TableName>
and it's wrong... That's why you have "<i>Error No "action" attribute</i> "
But if you use category "Attribute", then you will have:
<TableName <b>action</b>="INSERT">
</TableName>.
And this is exactly what the JDBC adapter want!
Mickael
Message was edited by: Mickael Huchet -
How to read a file which has header and without header
Hi,
I have a file to file scenario wherein there are txt files in the source system, some of which has header and some without header.
How does the sender adapter dynamically identify a file with header and without header.
I knew that File content Conversion in the sender adapter with "Recordsets per message = 1" can read the header. But how to handle dynamically.
Thanks in advance for suggestions and advice.
Regards.
PraveenHi,
Let me give a more clear picture:-
One of my file which has header and the corresponding values is listed hereunder:
PERNR;KID;PNALT;NACHN;NAME2;VORNA;TITEL;TITL2 and so on.....
;1200;1200;Angus;; and so on.........
Other file which has no header but only values in it:-
1200;1200;;Werner;Angus and so on.......
The structure remains same for all the files. The only difference is that some of the file has header in it and some without header. The Message Type is mentioned hereunder:-
DT_LegacyEmployee (Category - Complex Type)
Employees (Category - Element, Occurence - 1)
Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
PERNR
KID
PNALT
NACHN
NAME2 and so on......
I read the file in record row. The file conversion parameters in the file sender adapter are mentioned hereunder:-
Document Name - MT_LegacyEmployee
Document Namespace - http://abc.com/xi
Recordset Name - Employees
Rescordset Structure - Employee,*
Recordsets per Message - 1
Key Field Type - String (Case Sensitive)
Employee.fieldSeparator - ;
Employee.endSeparator - 'nl'
Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA,TITEL,TITL2 and so on........
How do we dynamically identify whether the file has header or not. Even if the file has header or without header, the file needs to be picked and transferred to the target system. Kindly clarify.
Regards.
Praveen -
Problem while sending a FILE?
Here is my scenario: FILE->XI->RFC
My settings:
SENDER
sender business service name: FILE_SEND
sender outbound interface: MAT_OB_ASYNC_MI
communication channel: FILE
RECEIVER
receiver business service name: RFC
receiver inbound interface: MAT_IB_ASYNC_MI
communication channel: RFC
RECEIVER DETERMINATION
sender: service - FILE_SEND, interface - MAT_OB_ASYNC_MI
receiver: service - RFC
INTERFACE DETERMINATION
sender: serive - FILE_SEND, interface - MAT_OB_ASYNC_MI
receiver: service - RFC
configured inbound interface - MAT_IB_ASYNC_MI
interface mapping - MAT_IM
SENDER AGREEMENT
sender: service - FILE_SEND, interface - MAT_OB_ASYNC_MI
sender communication channel - FILE
RECEIVER AGREEMENT
sender: service - FILE_SEND
receiver: service - RFC, interface - MAT_IB_ASYNC_MI
receiver communication channel - RFC
File adapter settings:
adapter type - file (sender)
transport protocol - File system(FNS)
adapter engine - integraion server
source directory - E:
file name - text_xi_input.dat
Qos - EO
Poll interval(secs) - 60
processing mode - archive
add time stap - yes
archive directory - E:\temp
processing sequence - By name
file type - text
adapter status - active
Sender outbound interface(MAT_OB_ASYNC_MI) settings:
category - outbound
mode - async
output message type - M_MATERIAL
message type(M_MATERIAL) structure settings:
data type used - D_MATERIAL
structure - M_MATERIAL,category - element,type-D_MATERIAL
MATERIAL,category - element,type - xsd:string
Receiver inbound interface(MAT_IB_ASYNC_MI) settings:
category - inbound
mode - async
input message type - ZMAT (this is imported from RFC)
message type(ZMAT) structure settings:
structure - ZMAT,category - element,type-D_MATERIAL
MATERIAL,category - element,type - xsd:string
message mapping(MAT_MM) settings:
source message type - M_MATERIAL
target message type - ZMAT
(just only one element MATERIAL exist for mapping)
The text file(text_xi_input.dat)content:
(this has only one line of material number)
TEST_MATERIAL1
After I activated all, I don't see any message comming across. I'm not sure what I'm missing?
I appreciate your response.
Regards
felix.Hi felix,
From the log you have posted, i could find that, the pipeline URL http://xxx:port/sap/xi/engine/entry?action=execute is wrong. It should have been
http://<hostname>:<port>/sap/xi/engine?type=entry
Try changing this parameter in Integration server-> sxmb_adm-->Global Configuration data.
Also check in SLD>Business Landscape>( your XI System)-->pipeline URL
Hope this solves your problem.
Cheers,
Siva Maranani.
Message was edited by: siva maranani -
Rss; item and channel glitch
Hi,
Thanks so much for the previous input.
Now- I went to ensure the rss is accurate through feedburner and I get this Issue/Problem ...lol.
[This is bit strange, because previously the rss was fine since january up until recently.]
rss feed:
http://www.spheresofessence.com/rss/empodcast.xml
Below is the Error Message:
Sorry
This feed does not validate.
line 25, column 1: Undefined itunes:category element: item (8 occurrences) [help]
<item>
^
line 114, column 2: XML parsing error: <unknown>:114:2: mismatched tag [help]
</channel>
again, I tried adjusting things exactly like the tech specs.I tried both space between each item and space between last item and channel and with no spaces..still didn't validate in feedburner.
What is not accurate?
Any help or suggestions would be appreciated.
Thanks!! :-D
mysticI had this same problem, but it wasn't an issue with the "<item>" tag -- as I had thought for the last hour or so.
Looking immediately above the <item> in my code, and comparing sample text side by side, I realized that I had improperly closed (or failed to close) the tag above.
In my case, it is the <itunes:category> tag, which much be closed with an </itunes:category> tag ... or at least in this case it must.
Have a look just above <item> and see if that does the trick.
Good luck. -
Hi everyone
I want to create a Template for Service Master Record number range (Activity number)
E.G. - XX.YY.ZZZZ.
I know that for material master it can be done by using a special template
can someone help me with this issue
if there is any FM that can check that only Service Master Record in this template will be acceptedHi Aviad Barchad,
T-code- ACNR.
click on Groups. and insert new group with you are Number range either external or Internal number ranges .
Now add the service category elements to the group
Example:
Create Activity 01 Group.
Thanks & Regards
Venkat. -
Keeping my query rows on one page.
Please take a look at this URL
http://dev.tms-hq.com/tmsreport.cfr
and please tell me how to keep the query records on one page
and not have the type and category elements repeated on 2 pages.
Thanks so much.There's something covering the navbar on the About Me page. As soon as you get the navbar cleared it should work.
OT
Maybe you are looking for
-
Can i recover lost data from encrypted drive by Bitlocker
Hello Dears. I had encrypted my drive by Bitlocker in windows 7. few days after my friend did quick format in my encrypted drive. my 300 gb of data lost. and nothing saved i remember unlock password. how can i recover my data ??? i need my data i t
-
No Win 8.1 Pro Option at 1K Pricepoint & Yoga3 Performance
Post is basically feedback. I've purchased several Yoga 2's for customer deplyoments. All have been satisfied. Now I'm looking at one for myself and I can't buy one with Win 8.1 Pro version OS for under $1400 Yoga2 or $1500 Yoga3. This was previo
-
How to download a real setup for Adobe Reader 9?
I have a friend who lives in the Sticks (and I do mean the back woods sticks) where she only has a 24.4 KBPS Modem connection to the internet. I voluntered to download some updated software and I cannot figure out how to download the Windows 2000 ve
-
Deleted delivery order tracking
Hi experts, I wanted to find out whether there is any way to find out all the deleted delivery orders. Any table stores these data?
-
Can't add hours to time correctly...
I'm trying to add hours to sysdate when it's formated as HH24MMSS. I tried the following and had no luck: select to_char(sysdate ,'HH24MMSS') + 7/24 from dual;Desired output: -- If select to_char(sysdate ,'HH24MMSS') from dual = 111026 -- Then, I wou