XML Forms show raw xml after transport
Hallo experts,
at the moment I am working to set up a SAP Enterprise Portal 7.4. I was able to export KM content from our old 7.0 portal.
The only problem i am experiencing is that xml forms, that I exported and imported through standard KM export / import, are showing as raw xml.
The forms are available in forms builder and I also generated a preview (compiled the form) for each form and saved after that.
There are no errors in the log that point me in a direction, so please help.
Do you have any ideas what I am missing?
Best regards,
André
Hi Zlatin,
-> 1
By Default identic properties queries are connected by an 'OR'.
Please have a look into the documentation for further info.
http://help.sap.com/saphelp_nw04/helpdata/en/85/80b3d4c9ef11d5993e00508b6b8b11/frameset.htm
-> Search Options
So far it's not possible to connect two identic proerties by an 'AND' within the standard.
You can preset a search filter via the relevant Search Option Set.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/765140c770cd01e10000000a155106/frameset.htm
Regards Matthias Röbig-Landau
Similar Messages
-
Filter Predefined Properies, Feedback Search, XML Forms Show form issues
Hi all,
I have created XML forms with XML builder and I have some questions.
1. When filtering by predefined properties I want to filter by two properties, which are the same. For example, if there is a publication with two authors and author is the predefined property, in the first field I write the name of the first author, in the second field I write the name of the second author, the result is all publications, which are by both authors and all publication, which are either by the one, or by the other.
I don't have this problem when I filter by two different predefined properties. For example the author and the year. Than the result is all publication, which are by the author AND published in the requested year.
How can I set this option to be able to filter by two same predefined properties and the relation between both properties to be AND?(only publications by both author)
2. In the Show form I have created link to the feedback, using XML Forms BUilder, but I need to write first the feedback to be able to see already existing feedbacks,
if there are any. In the ResourceRendering Form I have created link to the feedback by LayoutSet, where I can see first, if there are already existed feedbacks.
If there is any possibility to set a LayoutSet for the Show Form or any other way in the Show form to display first the existing feedbacks and than to be able to write a new.
And something else reffering to the Show form, is it possible to rate the item from Show form or at least to have link to the rating, not a link to the Details.
I have tried to create a link to the /Properties/col:rating, but it doesn't work. The link dispays the value, if it has been already rated.
3. Is it possible to search for any information in the feedbacks(to make the feedback searchable)?
Thanks in advance for any help.
Best regards,
ZlatinaHi Zlatin,
-> 1
By Default identic properties queries are connected by an 'OR'.
Please have a look into the documentation for further info.
http://help.sap.com/saphelp_nw04/helpdata/en/85/80b3d4c9ef11d5993e00508b6b8b11/frameset.htm
-> Search Options
So far it's not possible to connect two identic proerties by an 'AND' within the standard.
You can preset a search filter via the relevant Search Option Set.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/765140c770cd01e10000000a155106/frameset.htm
Regards Matthias Röbig-Landau -
XML Forms Builder - Create XML in external System
Hi,
Is it possible to create a XML file in a system external to Portal (the DataModel is the same) and after uploading it to the Portal and obtain the same behavior (rendering) of a XML created in Portal by the form generated by XML Forms Builder?
I've tried to do it, but the file is not rendered as expected.(It appears the XML File but not rendered by the XSL generated by XML Forms Builder).
Regards,
AndréI found the solution in the following threads:
[https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013|https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013]
[https://www.sdn.sap.com/irj/scn/thread?messageID=823596|https://www.sdn.sap.com/irj/scn/thread?messageID=823596] -
XML forms show content of HTML document
Hi all,
I want to show the content of a html document stored on portal KM in the SHOW form. Can this be done? The user can browse in the EDIT form to this html document and store its path. By using a label I can only show the document path or make a link to the document. I'm unable to show the docs content.
How can this be done?
Thanks,
FrederikI think this could be done by directly editing the XSL. Unfortunately making changes this ways renders the forms unmanagable because you'll lose your changes when you try to use the forms builder after making your changes.
As for how you can actually do this in XSL, you'll probably have to research that more to be sure. I think you can use a document() function, but I'm not really an XSL pro. -
Data Form showing wrong total after Planning Refresh
Hi. My end users are having an issue in Planning after a refresh.
Existing projects (budgets) display correct information through data forms. However, when opening a data form to input numbers for a new budget, the data form is populated with the sum of all budgets, instead of showing the expected $0 dollar values.
In an attempt to fix the issue, we've run a few data refreshes through the Planning Desktop. They run without error, but do not fix the problem.
Any suggestions will be greatly appreciated.
We are using planning version 9.2.0.2.The data form should show exactly what is in essbase so if you query essbase with the Excel Add-in you should see the same number.
Seems like either your data is not what you expect it to be or the form definition is incorrect.
Regards,
-John -
We have all relevant documents and information to show to adobe that this students edition of lightroom for my daughter is valid and that she could get a license number to make it usable after the 30 days test period.
But when we try to submit the relevant adobe web form including copy of her students license of the University we face an error message indicating that the target page could not be found.
At least up to now we have found no way to contact adobe fro this topic. Just chat is offered.
Is there someone who could help us?
Regards from GermanyYou had probably best tried to use the chat option. I'm wondering if maybe the website you are trying to access is not available in Germany. That's only a guess.
-
My form showing an alert after prcessin the bill report
I m sending my code and i want to remove message and run the biill process easly bill is not processing and show msg--: bill already processed
my code is
declare
cursor c_agcd is
select distinct bilagcd,nvl(trde_disc,0),agty,fedn,f_typ from cr_agmast
where unit=:block3.unit and bilagcd is not null
and bilagcd in( select distinct oldagcd from cr_dbksup
where unit=:block3.unit and publ=:block3.ppubl and supdate between :frdt and :todt and rsup<>0
and BTYP='Y' ---and agty=:block3.agty or :block3.agty is null)
and (oldagcd =:block3.pagcd or :block3.pagcd is null))
order by cr_agmast.f_typ desc,cr_agmast.bilagcd;
sup_rec c_agcd%rowtype;
v_typ varchar2(5);
vagty varchar2(5);
vagcd varchar2(15);
vtrde_disc number(7,2):=0;
v_rec_cnt number:=0;
cursor c_supply is
select sum(rsup),oldagcd ,supdate,sor,publ,comm from cr_dbksup
where unit=:block3.unit and publ=:block3.ppubl and oldagcd is not null
and oldagcd = vagcd and supdate between :frdt and :todt and rsup<>0
group by oldagcd,supdate,sor,publ,comm
order by supdate;
ppubl varchar2(6);
vedtn varchar2(5);
tot_sup number(8) :=0;
rate number(7,2) :=0;
vcomm number(7,2) :=0;
gross_amt number(12,2):=0;
v_gross_amt number(12,2):=0;
v_disc_amount number(12,2):=0;
net_amt number(12,2):=0;
disc_amount number(12,2):=0;
bagcd varchar2(20);
billno varchar2(20);
pdate date;
pcopy number(10):=0;
/*cursor c_rate is
select distinct amtr from cr_rate where edtn =vedtn;*/
/* cursor c_rate is
select distinct sor from cr_dbksup where unit=:block3.unit and
edtn=sup_rec.fedn and glcode = sup_rec.glcode;
cn number(5);*/
cursor c_rate is
select distinct sor from cr_dbksup
where unit=:block3.unit and publ=:block3.ppubl and
edtn=sup_rec.fedn and oldagcd = sup_rec.bilagcd;
cn number(5);
cursor c_dt is
select distinct fr_date FROM fin.freeze_type
where divn=:block3.unit AND fr_typ='SCR';
v_fdt date;
begin
select count(*) into v_rec_cnt from cr_bill
where unit=:block3.unit and publ=:block3.ppubl and bldate = :block3.bill_dt;
if nvl(v_rec_cnt,0)>0 then
message('Bill Already processed for this Publication '||:block3.ppubl);
message('Bill Already processed for this Publication '||:block3.ppubl);
raise form_trigger_failure;
end if;
:system.message_level :=25;
-----check validationfor freeze Voucher
open c_dt;
fetch c_dt into v_fdt;
close c_dt;
if v_fdt>:block3.bill_dt then
message('Freeze date '||v_fdt||' Not allowed to Enter/Update/Delete Data of Freeze Date ');
message('Freeze date '||v_fdt||' Not allowed to Enter/Update/Delete Data of Freeze Date ');
raise form_trigger_failure;
end if;
--message('i m here ');message('i m here ');
open c_agcd;
loop
fetch c_agcd into vagcd,vtrde_disc,vagty,vedtn,v_typ;
exit when c_agcd%notfound;
pcopy :=0;
v_disc_amount :=0;
gross_amt :=0;
disc_amount :=0;
net_amt :=0;
--message('i m here c_supply');message('i m here c_supply');
open c_supply;
loop
fetch c_supply into tot_sup,bagcd,pdate,rate,ppubl,vcomm;
exit when c_supply%notfound;
v_gross_amt := tot_sup*rate;
v_disc_amount := v_gross_amt*vcomm/100;
pcopy := pcopy + tot_sup;
gross_amt := gross_amt + v_gross_amt;
disc_amount := disc_amount + v_disc_amount;
tot_sup :=0; rate :=0;vcomm:=0; v_disc_amount :=0;
end loop;
net_amt := round((gross_amt - disc_amount),0);
select nvl(count(1),0) into cn from cr_bill
where unit=:block3.unit and publ=:block3.ppubl
and agcd =bagcd and bldate = :block3.bill_dt;
if nvl(cn,0) = 0 then
billno := bill();
end if;
synchronize;
:block3.dagcd := bagcd ;
:block3.amount:= net_amt;
synchronize;
--message('i m here net_amt '||bagcd||' , '||billno);message('i m here net_amt '||bagcd||' , '||billno);
if net_amt is not null and net_amt >0 then
update cr_bill set totblamt = gross_amt , copr =pcopy, amtr = net_amt, comm_per =vtrde_disc, comm_amt = disc_amount,
frdt =:block3.frdt , todt = :block3.todt, agty =vagty ,surt =rate,doctyp='SCR'
where unit=:block3.unit and publ=:block3.ppubl and agcd = bagcd and bldate = :block3.bill_dt; --and edtn = vedtn;
if sql%notfound then
insert into cr_bill(unit,bldate,bill,agcd,glcode,totblamt,publ,edtn,copr,amtr,comm_per,comm_amt,frdt,todt,agty,surt,doctyp)
values(:block3.unit,:block3.bill_dt,billno,bagcd,bagcd,gross_amt,ppubl,vedtn,pcopy,net_amt,vtrde_disc,disc_amount,
:block3.frdt,:block3.todt,vagty,rate,'SCR');
end if;
update cr_outmast set amount =net_amt,balance = net_amt
where unit=:block3.unit and doctyp='BIL' and publ=:block3.ppubl and agcd =bagcd and billdt = :block3.bill_dt;--and edtn =vedtn;
if sql%notfound then
insert into cr_outmast(unit,agcd,glcode,doctyp,billno,billdt,voucherno,voucherdt,publ,amount,balance,edtn)
values(:block3.unit,bagcd,bagcd,'BIL',billno,:block3.bill_dt,billno,:block3.bill_dt,ppubl,net_amt,net_amt,vedtn);
end if;
end if; -- for o balance entry
close c_supply;
end loop;
close c_agcd;
commit;
forms_ddl('commit');
message('Bill has been Processed');
message('Bill has been Processed');
--set_item_property('process',visible,property_false);
go_item('exit');
end;The data form should show exactly what is in essbase so if you query essbase with the Excel Add-in you should see the same number.
Seems like either your data is not what you expect it to be or the form definition is incorrect.
Regards,
-John -
XML reports show in XML format instead of Defult output PDF in R12
I am facing a problem in XML report in oracle R12 ,
when I am running the report ,it through warning msg and output is coming in XML format instead of PDF .
Please let me know the solution.
ZulqarnainI am facing a problem in XML report in oracle R12 ,
when I am running the report ,it through warning msg and output is coming in XML format instead of PDF .What is the warning message?
Please let me know the solution.Please check the OPP log file for any errors. Also, please post the contents of the concurrent request log file here.
https://forums.oracle.com/forums/search.jspa?threadID=&q=XML+AND+Output+AND+PDF&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to use adifferent Show form to display a document created by XML forms
Hi,
I have created some XML documents using an XML form.
The XML form contains two Show forms, Show & Show2. The default is Show. When I view the XML document via a KM Docs iView the default Show form is used to display the resource.
If I wish to display the XML document using a KM Docs iView, but using the Show2 (non-default) form how is this done?
I have created Layout Sets for each of the different ways to display the XML forms, but there is no option to choose Layout Set in the KM Docs iView config.
Thanks,
Tom
Edited by: Tom Parle on Apr 3, 2008 12:45 PMHi Tom,
Check out the SAP Help site [Linking Your Own List Forms into iViews|http://help.sap.com/saphelp_nw04s/helpdata/en/0e/1affa0f8c47447a164998b60025aea/frameset.htm]
I think it explains exactly what you are looking for.
Hope it helps,
Robert -
Xml forms not rendered in default layout set - urgent
Hi guys,
I've to display several properties and to provide the rating and feedback service in conjunction with xml forms because a "NewsRenderer" doesn't support the display of additional properties.
So I tried to use one of the default layout sets (e.g. "Consumer Explorer") but the <b>xml forms are not rendered after selecting the "contentLink"</b> (displays raw content of xml document). I'm looking quite a long for a command that opens and renders the xml forms in a new window - without any success...
Please help! TIA
Regards
Joerghi,
you have to create a XMLForms Repository Filter. Check this link:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/21/8df33eef091f39e10000000a114084/frameset.htm">XMLForms Repository Filter</a> -
Hi,
i have created one xml form using form builder...there are three views..edit, renderer list and show....then in portal, i created one iview using newsexplorer layout set for edit form and newsbrowser layout set for show form . My problem is...wich layout set i have to choose for getting rendererlist form? one more thing, before creating iviews, should i have to create any folder in km repository ? i am using ep 6 sp2.
regards
ramHi ram singh,
There are some steps that you could follow :
1. Create the XML FORMS using the XML FORMS Builder
a) On Edit panel create your form that will be visible on NewsExplorer Layouset.
b) On RenderList create how your form wil be visible on NewsBrowser Layouset.
2. Create first Iview for Admin:
a) Set the layouset to "NewsExplorer"
b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
3. Create second Iview for users:
a) Set the layouset to "NewsBrowser"
b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
That's all! Now you can create new items using the Admin iView, which will be storage on KM path that you had set on steps 2 and 3. When you open your User Iview will be show all xml files that exists on your "/MyFolderForXMLFORM".
<b>There are some helpful links above:</b>
How to create XML FORMS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
Creanting XML FORMS
http://help.sap.com/saphelp_nw04s/helpdata/en/fd/bd016254946048a4d7a17c2aad7600/frameset.htm
Cheers,
Alcides Flach -
Dynamic FormUID For Forms Created with XML
I'm able to load a form via XML using VB6 and the SDK (screen painter generated). The problem is that I get an error if the form already exists and is loaded again due to the fact that I'm not able to assign a dynamic and unique FormUID on initial form creation like you can when creating a form via the SCG. Is there a way to assign a unique FormUID on the fly using the SDK and an XML form?
Hi Greg,
After I read the XML from a file, I manually change the FormUID to a unique one via XML before I the XML into SBO. I have not found anything inside the SDK which does this, so unfortunately you have to do it yourself.
Regards, Lita -
Hi, I wanted to know if we can control what XML form shows up in a Document library i.e. if I right click on a folder in KM, say Supply Chain > New > Forms, then is there a way by which I can control what forms show up when I click on "New". Thanks for your help.
Sincerely,
SriHi Victor, Thanks for your help. In my portal, the Document libraries I am trying to access i.e. SRM, SCM, Netweaver etc. are in:
root > GCP Content > GCP Documents > Solutions and Services. Now, when I go to any of these folders, i.e. SRM etc. I want to be able to control which forms are being displayed. I did create a test folder at the location which you have mentioned and also mentioned the required Folder Path but still it does not show up in : root > GCP Content > GCP Documents > Solutions and Services. Can you please provide me with some assistance? Thanks.
Sincerely,
Sri -
How to change the Hyper links color in the XML form
HI SDNs
Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview. I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
Appreciate if you give suggestion.
Thanks
RamanaHi Ramana,
The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
Hope this helps.
Kind regards,
Joost -
Dear all,
I am trying to create News form in XML forms builder but XML form builder persitently throws following error.
Error: The edit form does not contain a save button or link
Warning: The name property is not referenced. A GUID will be used as the XML file name.
what may be the reason.
Regards,
MuraliHi
1) data schema not expanding ?
check ur JRE version installed on ur computer.
some JRE version doesnot support XML Forms builder functions.
my JRE version is 1.5.0.70. It really works here .
upgrade or degrade the version of JRE in ur computer will solve ur problem.
2) Error: The edit form does not contain a save button or link
Warning: The name property is not referenced. A GUID will be used as the XML file name.
This is something to do with u.
have a look at the manual how to create the XML forms builder onceagain will solve ur problem.
Check these links:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/fe743c74fa6449e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3f9a090-0201-0010-d4bb-bb3fc5e91cc5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/7f99a69d-0701-0010-1783-cf847ec929f8
Regards,
Vijay.
Edited by: vijayakumar kanniah mohan on May 2, 2008 10:05 AM
Maybe you are looking for
-
N95 Wifi WPA connection problem
I recently bought the Nokia N95 and everything is working except the wifi WPA part. I DL the latest firmware (v20.0.015) but that didn't help. Everytime i connect with my home wifi lan it asks for a password. It doesn't matter what password i try it
-
Remote Management/ARDAgent
doing a disk permissions verification/repair i get Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired. now i did notice a softwre update recently for Remo
-
Best workflow for creating games for pc and starling games in AIR
best workflow for creating games for pc and starling games in AIR. I need to develop for tablets with starling and AIR as well as for pc without starling ie: downloading from a server. In starling you have to 1. instantiate starling 2. use texture at
-
Hi, Can any one pleae explain about se16n? how to create and execute ABAP query or Quick View with some example in product costing or anything else? Thanks, Nivi
-
Good study guide for Oracle Certified Associate SE 6(Java) Certification
Hi I am going to take Oracle Certified Associate SE 6(Java) Certification next month.But I am not aware of which reference book to follow to clear the exam. Can you please suggest reference book to clear the exam. Thanks & Regards, Dinesh K Reddy.