CO-PA characteristics's attribute on FI document
Hi,
I'd like to know how to configure each of CO-PA characteristics's attribute(*) on Accounting document item.
(* attribute = Required, Optional, or No display)
Regard,
Akira
For the particular GL account, using the t-code FS00 goto the tab "Create/Bank/interest". There you should see the field status group for that GL account.
Goto t-code OBC4. Select your Field Status Variant. Then select the Field Status Group which you found for your GL account. Click on this Field Status Group and go to "Additional Account Assignments". There you should be able to set the status for each of CO-PA attributes.
Let me know if this worked for you and pls assign points.
Similar Messages
-
How to get value of MA attributes on Contract Document phase change script
Hi,
I need to get value of Master Agreement attributes on Contract Document phase change.
When Contract document phase changes to Supplier Draft, I want values of Master Agreement - Publish date, vendor visible, email.
But I am unable to retrieve the same.
I wrote IBean code to get but was not working.
Please help me resolve this issue.
Thanks,
SaloniHi Saloni,
There is nothing different that you should do for this script.
Use the getParentIBean() function on Contract Document to get the parent MA/SA. From there on it is as simple as using the correct getters to fetch the values.
Hope this helps.
Thanks
Devesh -
"EQG-31210:Missing security attribute value from document" for crawl CDB
I am using Secure Enterprise Search to crawl Content Database. But the crawler throws the following exception for all the document the crawler crawled.
13:18:24:424 INFO filter_1 submitting doc http://dvod1.cn.oracle.com:7778/content/dav/cn/mtblog/t/te/TEST1/2007/06/only_a_test.html with status: 200
13:18:24:425 INFO filter_1 Processing http://dvod1.cn.oracle.com:7778/content/dav/cn/mtblog/t/te/TEST1/2007/06/only_a_test.html
13:18:24:425 ERROR filter_1 EQG-31210: Missing security attribute value from document: http://dvod1.cn.oracle.com:7778/content/dav/cn/mtblog/t/te/TEST1/2007/06/only_a_test.html oracle.search.crawler.WebCrawlerException oracle.search.crawler.URLAccess:processUrlEntry:2759 oracle.search.crawler.CrawlingThread:submitForProcessing:7183 oracle.search.plugin.ocs.cservices.CSBrowse:submit:1727 oracle.search.plugin.ocs.cservices.CSBrowse:processDocument:1334 oracle.search.plugin.ocs.cservices.CSBrowse:processNextItem:1083 oracle.search.plugin.ocs.cservices.CSBrowse:browse:1170 oracle.search.plugin.ocs.cservices.OCSCSPlugin:crawl:154 oracle.search.crawler.CrawlingThread:run:1443Hi Juwan,
Which SES are you using ?
we had seen such exception in SES 10.1.8 if we try to submit a public document . -
Could not retrieve attributes from XML document loaded in JDOM
Hi All,
I am having difficulty reading and parsing the following XML City.xml document using Saxon parser and XPath:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/ /EN" "http://www. w3.org/TR/ xhtml1/DTD/ xhtml1-transitio nal.dtd">
<html xmlns="http: //www.w3. org/1999/ xhtml">
<head>
<meta http-equiv=" Content-Type" content="text/ html; charset=UTF- 8" />
</head>
<body>
<div id="content">
<table class="sresults">
<tr>
<td>
<a href="http:/ /www.abc.com/areas" title=" Hollywood , CA "> hollywood </a>
</td>
<td>
<a href="http:/ /www.abc.com/areas" title=" San Jose , CA "> san jose </a>
</td>
<td>
<a href="http:/ /www.abc.com/areas" title=" San Francisco , CA "> san francisco </a>
</td>
<td>
<a href="http:/ /www.abc.com/areas" title=" San Diego , CA "> San diego </a>
</td>
</tr>
</body>
</html> Below is the code snippets that illustrates how I tried to retrieve the attribute title of <a>:
1. BufferedReader incomingbrXml = new BufferedReader(new FileReader("C:\City.xml"));
2. SAXBuilder saxBuilder = new SAXBuilder(false);
3. Document jdomXmlDocument = saxBuilder.build(incomingbrXml);4. String city_content = null;
5. XPath cityXPath = XPath.newInstance("/ns:html/ns:body/ns:div[@id='content']/ns:table[@class='sresults']/ns:tr/ns:td/ns:a/@title");
6. java.util.List cityList = cityXPath.selectNodes(jdomXmlDocument);
7. Iterator city_iterator = cityList.iterator();
8. while (city_iterator.hasNext()) {
9. city_content = ((org.jdom.Attribute)city_iterator.next()).getValue();
10. if (city_content.length() != 0) {
11. System.out.println("Area Url:" + area_content.toString()); }
12. } I would like to get the following output:
Hollywood , CA
San Jose , CA
San Francisco , CA
San Diego , CA
Instead, the jdomXmlDocument is made up of only the first few lines of City.xml and nothing on the body when debugging in Netbeans and nothing in cityList. I am running this program online so there would not be an issue with entity resolver that took place on line 2.
I am running JDK 1.6.0_17, Netbeans 6.7, JDOM 1.1, Saxon9.1 on Windows XP platform.
Any assistance would be appreciated.
Thanks in advance,
Jack.Hi,
Correction to line 11 - System.out.println("City title:" + city_content.toString()); instead.
Thanks,
Jack -
Characteristics VS Attributes in Planning Area
Hi All:
We have a situation where we need to have, say ABC KEY as an attribute in our planning area. Since ABC KEY is PLANT/MATERIAL dependent and not just MATERIAL dependent, we will have to add 0MAT_PLANT InfoObject to the PA which will complicate the PA. I am not sure how this will play with InfoObjects 0MATERIAL and 0PLANT infoObjects in the same PA.
Question is, how do you handle attributes that is part of InfoOBjects with multiple key if you want them to be included in the Planning ARea.
Pl. help.
Thanks
RyanHi Kishore:
Thanks for your reply. I am not sure if I put forth my question correctly.
Rephrased question will be:
The situation is we need to add 0ABC to the MPOS. But we do not want to add it as a characteristics to the MPOS. We would like to add it as an attribute. What are the issues with it?
I talked to a few friends and they gave me some insight which I have briefed below:
0ABC is an attribute of 0MAT_PLANT. That is, 0ABC is an attribute of a composite characteristic. That characteristic is material AND plant dependent. So, if you add 0MAT_PLANT to the MPOS so that you have 0ABC then you will need to specify a plant or a material to drill-down further in your planning book. That is a pain. So the following are the options I have.
1. Include 0MAT_PLANT as a characteristics in the MPOS and have 0ABC as a characterisitcs and live with the constraint of needing to supply either the plant value or material value to drill-down.
2. Make 0ABC an attribute of 0MATERIAL instead of an attribute of 0MAT_PLANT. In some cases it may not work if the same material has different 0ABC value in different plants.
3. Make 0ABC a characterisic in MPOS and make sure that in the transformation rule to include a routine to populate some constant value if it does not have any value. -
Changing / Updating the Characteristics of Material in Inquiry Document
Hello
My requirement is to update the characteristics of the material of Inquiry line item (VA11/VA12/VA13). I searched the forum but the the only answer i found was using BAPI - BAPI_SALESORDER_CHANGE. But this is not updating the Inquiry Document even after using the BAPI_TRANSACTION_COMMIT.
Please can anyone let me know how I can update the characteristics in the Inquiry Document?check business object 2030 in SWO1
You will find
BAPI_CUSTOMERINQUIRY_CHANGE
BAPI_INQUIRY_CREATEFROMDATA
BAPI_INQUIRY_CREATEFROMDATA2 -
How do i query attributes from xml documents
I want to to query only details in Issue id="705230" (id is an attribute)
I tried this, but does not help. I should be able to query the value of core_org_id attribute
select extract(CLOB_DATA, 'PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID from from pcr_files where existsNode(CLOB_DATA, 'PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]')=1;
-- does not return anything....
I tried to extract value for R_DATE & R_REVIEW_DATE for issue id=705230, but iam not able to.
Data for all the issues is retured.
Here is the query used...
select extract(CLOB_DATA, 'PcrDocument/PcrOrganization/Issues/Issue') ISSUE from pcr_files where existsNode(CLOB_DATA, 'PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]')=1;
Here is the part of XML document iam querying on...
- <ns1:PcrDocument id="PCR-13562" title="EU Disclosures - EC 1060/2009" version="1" pcrPublishDate="2012-01-11T12:49:02" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://integration.mysite.com/ServiceSchema/v3">
- <ns1:PcrOrganization core_org_id="345840">
<ns1:PcrLinkedTo value="ISSUE" />
- <ns1:AdditionalInfo>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL"><br></br>MGH</ns1:Info>
</ns1:AdditionalInfo>
- <ns1:Issues>
- <ns1:Issue id="705230">
- <ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL"><br></br>MGH</ns1:Info>
</ns1:AdditionalInfo>
- <ns1:IssueDetail id="114766798">
- <ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL"><br></br>MGH</ns1:Info>
</ns1:AdditionalInfo>
</ns1:IssueDetail>
</ns1:Issue>
- <ns1:Issue id="727193">
- <ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL"><br></br>MGH</ns1:Info>
</ns1:AdditionalInfo>
- <ns1:IssueDetail id="117994574">
- <ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL"><br></br>MGH</ns1:Info>
</ns1:AdditionalInfo>
</ns1:IssueDetail>
</ns1:Issue>
</ns1:Issues>
</ns1:PcrOrganization>
</ns1:PcrDocument>I did not include the name space declaration for it is working fine. Really? Then I suppose you must be using a schema-based XMLType column?
Is it Object-Relational or Binary XML storage?
You mentioned it is depricated in 11.2, but iam able to run it on 11.2.Deprecated doesn't mean it ceases functioning.
Any suggestions to covert this to XMLTable/XMLQuery format please..If you read the documentation, it covers this part too ;)
Example :
create table tmp_xml of xmltype;
insert into tmp_xml values(
xmltype('<ns1:PcrDocument id="PCR-13562" title="EU Disclosures - EC 1060/2009" version="1" pcrPublishDate="2012-01-11T12:49:02" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://integration.mysite.com/ServiceSchema/v3">
<ns1:PcrRatingDetails>
<ns1:LeadAnalyst>
<ns1:FirstName>xxxxx</ns1:FirstName>
<ns1:MiddleName/>
<ns1:LastName>xxxxxx</ns1:LastName>
<ns1:Title>Director</ns1:Title>
<ns1:Label>Primary Analyst</ns1:Label>
<ns1:Telephone>xxxxxxxxxxxx</ns1:Telephone>
<ns1:Email>[email protected]</ns1:Email>
<ns1:Address>
<ns1:Line1>Main Tower</ns1:Line1>
<ns1:Line2>Neue Mainzer Strasse</ns1:Line2>
<ns1:City>FFT</ns1:City>
<ns1:State/>
<ns1:ZipCode>99999</ns1:ZipCode>
<ns1:Country>Germany</ns1:Country>
</ns1:Address>
</ns1:LeadAnalyst>
<ns1:RatingApprover>
<ns1:FirstName>Nick</ns1:FirstName>
<ns1:MiddleName/>
<ns1:LastName>Mate</ns1:LastName>
</ns1:RatingApprover>
</ns1:PcrRatingDetails>
<ns1:PcrOrganization core_org_id="345840">
<ns1:PcrLinkedTo value="ISSUE"/>
<ns1:AdditionalInfo>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL">
<br/>
<A href="http://www.mysite.com/rts/articles/en/us/?articleType=HTML&assetID=1245321070686" target="_blank">MGH</A>
</ns1:Info>
</ns1:AdditionalInfo>
<ns1:Issues>
<ns1:Issue id="705230">
<ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL">
<br/>
<A href="http://www.mysite.com/rts/articles/en/us/?articleType=HTML&assetID=1245321070686" target="_blank">MGH</A>
</ns1:Info>
</ns1:AdditionalInfo>
<ns1:IssueDetail id="114766798">
<ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL">
<br/>
<A href="http://www.mysite.com/rts/articles/en/us/?articleType=HTML&assetID=1245321070686" target="_blank">MGH</A>
</ns1:Info>
</ns1:AdditionalInfo>
</ns1:IssueDetail>
</ns1:Issue>
<ns1:Issue id="727193">
<ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL">
<br/>
<A href="http://www.mysite.com/rts/articles/en/us/?articleType=HTML&assetID=1245321070686" target="_blank">MGH</A>
</ns1:Info>
</ns1:AdditionalInfo>
<ns1:IssueDetail id="117994574">
<ns1:AdditionalInfo>
<ns1:Info type="R_DATE">Credit Release Date: 09-Apr-2010</ns1:Info>
<ns1:Info type="R_REVIEW_DATE">Credit Last Review Date: 12-Oct-2011</ns1:Info>
<ns1:Info type="AdditionalInfo_QuartelyReport_URL">
<br/>
<A href="http://www.mysite.com/rts/articles/en/us/?articleType=HTML&assetID=1245321070686" target="_blank">MGH</A>
</ns1:Info>
</ns1:AdditionalInfo>
</ns1:IssueDetail>
</ns1:Issue>
</ns1:Issues>
</ns1:PcrOrganization>
</ns1:PcrDocument>')
SQL> set long 10000
SQL>
SQL> select x1.analyst
2 , x1.chair
3 , x1.core_org_id
4 , x2.*
5 from tmp_xml t
6 , xmltable(
7 xmlnamespaces(default 'http://integration.mysite.com/ServiceSchema/v3')
8 , '/PcrDocument'
9 passing t.object_value
10 columns analyst xmltype path 'PcrRatingDetails/LeadAnalyst'
11 , chair xmltype path 'PcrRatingDetails/RatingApprover'
12 , core_org_id number path 'PcrOrganization/@core_org_id'
13 , issues xmltype path 'PcrOrganization/Issues/Issue'
14 ) x1
15 , xmltable(
16 xmlnamespaces(default 'http://integration.mysite.com/ServiceSchema/v3')
17 , '/Issue'
18 passing x1.issues
19 columns issue number path '@id'
20 , rating_date varchar2(40) path 'AdditionalInfo/Info[@type="R_DATE"]'
21 , rating_review_date varchar2(40) path 'AdditionalInfo/Info[@type="R_REVIEW_DATE"]'
22 , issue_detail number path 'IssueDetail/@id'
23 , id_rating_date varchar2(40) path 'IssueDetail/AdditionalInfo/Info[@type="R_DATE"]'
24 , id_rating_review_date varchar2(40) path 'IssueDetail/AdditionalInfo/Info[@type="R_REVIEW_DATE"]'
25 ) x2
26 where x2.issue = 705230
27 ;
ANALYST CHAIR CORE_ORG_ID ISSUE RATING_DATE RATING_REVIEW_DATE ISSUE_DETAIL ID_RATING_DATE ID_RATING_REVIEW_DATE
<LeadAnalyst xmlns="http://integration.mysite.com/ServiceSchema/v3"> <RatingApprover xmlns="http://integration.mysite.com/ServiceSchema/v3"> 345840 705230 Credit Release Date: 09-Apr-2010 Credit Last Review Date: 12-Oct-2011 114766798 Credit Release Date: 09-Apr-2010 Credit Last Review Date: 12-Oct-2011
<FirstName>xxxxx</FirstName> <FirstName>Nick</FirstName>
<MiddleName/> <MiddleName/>
<LastName>xxxxxx</LastName> <LastName>Mate</LastName>
<Title>Director</Title> </RatingApprover>
<Label>Primary Analyst</Label>
<Telephone>xxxxxxxxxxxx</Telephone>
<Email>[email protected]</Email>
<Address>
<Line1>Main Tower</Line1>
<Line2>Neue Mainzer Strasse</Line2>
<City>FFT</City>
<State/>
<ZipCode>99999</ZipCode>
<Country>Germany</Country>
</Address>
</LeadAnalyst> -
SAPKW70016 bugs with reference characteristics and attributes
Hi, experts!
I have very big problem.
When we've imported SAP BW SP 16 somthing went wrong as of reference characteristic and attributes.
1) If InfoSet contains reference characteristic, it can't be activated. (Error message RSO404)
2) If transformation rule is "read master data" and source characteristic contain compounded characteristic wiht same attribute as target field, and componded characteristic is above lexicographical then source characteristic. When you save this transformation this source field is removed from transformation rules? transformation can't be activated!!!
3) When you use in compounded characteristics which are reference characteristic and you want to use this source characteristic in rule "read master data" you'll get dump.
Now about reason and trials to resolve this problems.
2) The reason is incorrect sorting and reading internal tables with characters in source fields in transformation with attribute target field. Problem is resolved with using rule "ABAP", FM "RSAU_READ_MASTER_DATA".
3) and 1) The reason is program look for name REFERENCE character in table in field BASE characteristics names. Problem was resolved only fo happen 3) with disable "better" functionality "lookup_master_data" (note 1092539).
Problem 1) is still open...
What can I do?
Thanks for all replies!
P.S. Notes 1116379, 1112742, 1125321 have been implemented.
Best regards,
Antoshkin Vitaly.Hi, did you try to implement this following notes ?
1158243 InfoSet in MultiProvider: Error message R7I 135
1157410 InfoObject as InfoProvider: Follow-on note for Note 1063194
1152136 Error during master data reading (ERROR_IN_MD_BUFFERING)
1147263 Temporal hier. join characteristic, compounding, attributes
1119777 THJ characteristic for referenced characteristic is missing
1118497 Incorrect where-used list for referencing characteristics
It´s have important corrections for SAPKW70016 version.
I hope that this notes can be helpful.
Best regards,
Walter Oliveira. -
Standard codes for insp. characteristics, char. attributes and defects
Hi
Can anyone refer to standards and standard database developed and maintained by international research / standard setting bodies that be used as QM basic data for inspection characteristics, attribute codes, defects codes, or other master data.
Maybe standard codes available are different for pharma and chemical industry.
Please reply.
Edited by: Muhammad Mobashir on Feb 3, 2010 11:23 AMLike we see Oreda for Reliability Centered Maintenance that can be used in Plant Maintenance module
Edited by: Muhammad Mobashir on Feb 4, 2010 10:06 AM -
Jaxp-Unable to remove an attribute permanently from document object
Hi
I have a requirement where I have to strip out an attribute called "xmlns" at the root element of my xml document.
for eg: <UserProfile xmlns="http://foo">
<ID>1234</ID>
<Name>Bob</Name>
</UserProfile>
I tried using API's
1) document.getDocumentElement.removeAttribute("xmlns")
After this my xml document look like this
<UserProfile >
<ID>1234</ID>
<Name>Bob</Name>
</UserProfile>
Also tried this..
2) Attr att=document.getDocumentElement().getAttributeNode("xmlns");
att.setValue("");
document.getDocumentElement().setAttributeNodeNS(att);
After this my xml document look like this
<UserProfile xmlns="">
<ID>1234</ID>
<Name>Bob</Name>
</UserProfile>
Irrespective of all this , when I gave the new xml document to Jaxb for processing , Jaxb complains that
unexpected root element
uri:http://foo
Though this attribute neither visible nor accessible using any DOM apis, still this attribute exists as part of this document.
Could somebody explains a little more about this behaviour or help me to resolve this..
Any feedback will be deeply appreciated,
Ranjith Pillai.Ranjith,
I am facing the same problem and still not been able to figure out what's wrong with parsing.
Here is the XML document before cleaning
INFO: Clean CamMessage=
<?xml version='1.0' encoding='UTF-8'?>
<CamMessage>
<originator name="CLARIFYCRM" version="1.0"/><security><key>rO0ABXNyACFjb20uY2luZ3VsYXIuY2FtLmF1dGguU2VjdXJpdHlLZXkhdeFvAoQflwIABEoADGNy
ZWF0aW9uVGltZUoAB2V4cERhdGVMAApjbGllbnRUeXBldAARTGphdmEvbGFuZy9DbGFzcztMAAh1
c2VySW5mb3QAD0xqYXZhL3V0aWwvTWFwO3hwAAAA/HwfQv8AAAD8fDGSf3ZyACJjb20uY2luZ3Vs
YXIuY2FtLmNhcmUuYXV0aC5DU1JBdXRoAAAAAAAAAAAAAAB4cHNyABFqYXZhLnV0aWwuSGFzaE1h
cAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAAAAH
dAAIUGFzc3dvcmR0AAtDTEFSSUZZQ1JNO3QAEm9yaWdpbmF0b3IudmVyc2lvbnQAAzEuMHQABFNp
dGV0AAMwMDF0AAZVc2VySWR0AApDTEFSSUZZQ1JNdAAKQ29tcGFueU5icnQAAjM1dAAPb3JpZ2lu
YXRvci5uYW1ldAAKQ0xBUklGWUNSTXQAD1Byb2Nlc3NPbkJlaGFsZnEAfgAPeA==</key></security><request action="Login"><select><field name="Password">CLARIFYCRM;</field><field name="Site">001</field><field name="UserId">CLARIFYCRM</field><field name="ProcessOnBehalfUserId">CLARIFYCRM</field><field name="CompanyNbr">35</field></select></request><response><resultSet/></response>
</CamMessage>
INFO: Clean CamMessage=
<?xml version='1.0' encoding='UTF-8'?>
<CamMessage>
<originator name="CLARIFYCRM" version="1.0"/><security><key>rO0ABXNyACFjb20uY2luZ3VsYXIuY2FtLmF1dGguU2VjdXJpdHlLZXkhdeFvAoQflwIABEoADGNy
ZWF0aW9uVGltZUoAB2V4cERhdGVMAApjbGllbnRUeXBldAARTGphdmEvbGFuZy9DbGFzcztMAAh1
c2VySW5mb3QAD0xqYXZhL3V0aWwvTWFwO3hwAAAA/HwfQv8AAAD8fDGSf3ZyACJjb20uY2luZ3Vs
YXIuY2FtLmNhcmUuYXV0aC5DU1JBdXRoAAAAAAAAAAAAAAB4cHNyABFqYXZhLnV0aWwuSGFzaE1h
cAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAAAAH
dAAIUGFzc3dvcmR0AAtDTEFSSUZZQ1JNO3QAEm9yaWdpbmF0b3IudmVyc2lvbnQAAzEuMHQABFNp
dGV0AAMwMDF0AAZVc2VySWR0AApDTEFSSUZZQ1JNdAAKQ29tcGFueU5icnQAAjM1dAAPb3JpZ2lu
YXRvci5uYW1ldAAKQ0xBUklGWUNSTXQAD1Byb2Nlc3NPbkJlaGFsZnEAfgAPeA==</key></security><request action="Login"><select><field name="Password">CLARIFYCRM;</field><field name="Site">001</field><field name="UserId">CLARIFYCRM</field><field name="ProcessOnBehalfUserId">CLARIFYCRM</field><field name="CompanyNbr">35</field></select></request><response><resultSet/></response>
</CamMessage>
Code to unmarshal
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
unmarshaller.setValidating(false);
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new File( "test.xml"));
//Document doc = db.parse(inMessage);
cmcamList = (CamMessage )unmarshaller.unmarshal( doc );
//test.xml is actually the clean xml message as above.
Appreciate any help in resolving the problem.
Thanks,
Nilesh -
Extracting attributes from XML document using plsql
Hello,
I have successfully written a plsql procedure that has been
using Xpath to extract the element values from an XML doument:
i.e.
l_xpath := '/Form_Data/Person_Details/Initials';
l_DomNodeList := xslprocessor.SelectNodes(l_RootNode, l_xpath);
l_DomNode := xmldom.item(l_DomNodeList,0); -- first Element
l_DomNode := xmldom.getfirstchild(l_DomNode);
l_id_number := xmldom.getNodeValue(l_DomNode);
However the data (Initials) I wish to extract is now stored as
attributes within the Person_Details element and I was wondering
how I would go about explicitly extracting the attributes values!
I have not been able to find any examples, although I have been
pointed in the direction of xmldom.getattribute without any
success!
Any help, or code examples greatly appreciated,
- Mark...example:-
xpath.VALUEOF(i_doc,v_PricingPath||'@LockIndicator'); -
Message attribute(document) not populating , if iam sending from procedure
hello,
I am sending messages to various managers from a cursor for loop in my
procedure.
my message has an document type atttribute, which is referencing this item_attribute. and this attribute is the body of my message.
Before sending, i am setting the item attribute of type Document called
'MGR_MESSAGE_BODY' by calling wf_engine.setItemAttribute and
avalue=>
'plsql:koc_overtime_web_pkg02.show_mgr_message_TST/'||itemtype || ':' || ItemKey);
but it seems show_mgr_message_TST is not calling.
PROBLEM is that message is sending, but with empty.
BUT if i am sending messages through workflow builder's notification activity, its working.?
below is the testing code:-
BEGIN
for o in outer_cr(l_batch_id , l_period_id)
Loop
l_second_approver := o.second_approver;
--// LOG
insert into delete_it(COL1, col2, col3, col4) values
(l_batch_id, l_period_id, l_second_approver, o.cnt);
wf_engine.SetItemAttrText(
itemtype => Itemtype,
itemkey => Itemkey,
aname => 'SECOND_APPROVER_KOCNO',
avalue => l_second_approver);
-- wf_engine.SetItemAttrText(
itemtype => itemtype,
itemkey => itemkey,
aname => 'MGR_MESSAGE_BODY' ,
avalue => 'plsql:koc_overtime_web_pkg02.show_mgr_message_TST/'||itemtype || ':' || ItemKey);
tst := wf_engine.GetItemAttrText(
itemtype => Itemtype,
itemkey => Itemkey,
aname => 'SECOND_APPROVER_KOCNO');
insert into koc.delete_it(COL1, col2, col3, col4) values
(' loop-after-getattr: batch, period, second appr', l_batch_id, l_period_id, tst);
l_nid := wf_notification.Send(
role=>l_second_approver,
msg_type=>itemtype,
msg_name=>'MGR_APPROVAL_REQUEST' ,
due_date=>null,
callback=>null,
context=>null,
send_comment=>null,
priority=>null);
insert into koc.delete_it (col1, col2) values ('nid=', to_char(l_nid));
End Loop;
END;Hi Jayanthi,
I want to send email to internet address and not to SAP user. Like for example can I send the attachment to my yahoo id??
If I change to
i_reclist-receiver = give sap user id
i_reclist-express = 'X'.
i_reclist-rec_type = 'B'.
this will surely work but it comes to my SAP Office Inbox but I need to send it to any address on the internet. Is it possible?
Please do reply.
Thanks in advance,
Rashmi -
Xml attributes - importing and displaying in InDesign document to print
Hello! I am importing XML into InDesign. I need to display the metadata within the attributes in the document that will be printed . For example, if I'm creating a lesson plan and the "Toady's Lesson" tag has the attributes of: "lesson 2", "Day 2", "Read pages 3-5". I want those attributes to display under "Today's Lesson." Is it possible to this with InDesign? I did not write this code so there's nothing I can do on that end, I have to work with what was given to me. I've been looking into this for a couple of days and can't find anything on this topic. I would greatly appreciate your help with this!
thanks!!Hi
You are right each cell nee to be tagged in XML tables, if you are working with more than hundreds/thousands of cells, be careful in content tagging. adding/removing columns/rows would really affect the structure of the XML and if it need to extract/export the content the structure of XML will not be correct. It is better to avoid XML tables in case of adding/removing columns/rows. -
BPEL 11g 1.1.6 -.7 XML document looses attribute names on enqueue
We are in the process of migrating BPEL processes from 10.1.2.3 to 11.1.1.6
We're using an AQ adapter to write inbound XML messages into an Oracle queue.
Our developer has ran into an odd situation -
When the message is written into the queue, the XML looses all the attribute names. The values are still there, but the names vanish...
Example...
<ShipNotice Version="3.0">
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>12345</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
*<DateTime DateTimeQualifier="On">20130409T150425Z</DateTime>*
</ThisDocumentDateTime>
Becomes:
<ShipNotice Version="3.0">
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>12345</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
*<DateTime ="On">20130409T150425Z</DateTime>*
</ThisDocumentDateTime>
(Note the DateTimeQualifier attribute is gone.)
This happens for every attribute in the document with the exception of the root element...
Does this ring any bells with anyone?Correction on that... the attribute in the root element is also removed.. my bad...
So I should have said...
Example...
*<ShipNotice Version="3.0">*
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>12345</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
*<DateTime DateTimeQualifier="On">20130409T150425Z</DateTime>*
</ThisDocumentDateTime>
Becomes:
*<ShipNotice ="3.0">*
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>12345</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
*<DateTime ="On">20130409T150425Z</DateTime>*
</ThisDocumentDateTime>
... -
Updating Document Attributes via XML
I found an article in Metalink which gives the following example:
<?xml version = '1.0' standalone = 'yes'?>
<CustomDoc>
<UPDATE reftype="path">/public/MyiFS/MyDoc.myextension</UPDATE>
<MyCustomAttribute>NewValue</MyCustomAttribute>
</CustomDoc>
This updates the custom attribute "MyCustomAttribute" for document
"MyDoc.myextension" stored in the "/public/MyiFS" folder, which is an
instance of the subclassed document type with the registered
extension of "myextension".
Source Article: http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=125517.1
Has anyone gotten this to work? If so could you give a real example? I don't believe we created a custom document type, but we have added some custom attributes which show up for every document we put in iFS.
nullI found an article in Metalink which gives the following example:
<?xml version = '1.0' standalone = 'yes'?>
<CustomDoc>
<UPDATE reftype="path">/public/MyiFS/MyDoc.myextension</UPDATE>
<MyCustomAttribute>NewValue</MyCustomAttribute>
</CustomDoc>
This updates the custom attribute "MyCustomAttribute" for document
"MyDoc.myextension" stored in the "/public/MyiFS" folder, which is an
instance of the subclassed document type with the registered
extension of "myextension".
Source Article: http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=125517.1
Has anyone gotten this to work? If so could you give a real example? I don't believe we created a custom document type, but we have added some custom attributes which show up for every document we put in iFS.
null
Maybe you are looking for
-
I have a MacBook Air. I purchased Adobe Lightroom 5, the program is on a CD. The MacBook Air does not have a CD slot and therefore no way to down load the program that I can find. Is there some way to use Lightroom 5 on my computer?
-
When I open Outlook the window doesn't open with the program
When I click on the Outlook icon the program opens at the top of the screen, but the window showing my messages, inbox, etc is not opening up automatically and when I open it up using the MESSAGE VIEWER option under the Window option it lists all my
-
Hi all, I need to find data on a cube loaded in delta mode, but only related to last request... It's possible find data in this mode with an abap query? tnx
-
Posting date should not be in past
Dear SAP Expert, in T code MB31, if date of posting is in past, system should give error message. waiting for your valuable reply. Regards Pravin
-
Using both aperture and iphoto
is there a way to use both aperture and iphoto without duplicating all the pictures? can I just point aperture to the iphoto folder with my pictures? i would like to use both, but don't want to have to duplicate all of my pictures, my hard drive can'