Reg: Access the container element value inside the Task's description tab
Hi All,
I need to call one of my container element into the task's description tab as text symbols.
Please let me know how to do it.
Regards,
Selva.
define an importing element in the task container.
map this importing element with the element in the workflow container.
now you can use this task container element in your description text box. (method exxplained in the previous post to this problem)
rgds,
Similar Messages
-
Setting the container element values
Hi Experts,
While I am trying to set the container element values, it is resulting in an error.
We are designing a leave request WF using WS12300111. We are using ABAP classes.
Inside a method, I have written the following code :
swc_set_element container 'PERNR' lv_pernr.
It is giving an error. It says 'SWC_SET_ELEMENT' not defined.
First of all i would like to know if we can use this statement in ABAP classes. If we have to set a value of a container element, how can we go about doing the same in ABAP classes.
Kindly guide me on the same.
Cheers,
Belinda ClarkeHi,
No, you cannot use those in the ABAP classes. (EDIT: Or you can, put it doesn't make really any sense.)
Just make exporting parameters into your method. Put your variables (PERNR, etc.) in those. Then do the binding from method to the task container (in the task editor). This way you will get the values from a method to the task container.
Regards,
Karri
Edited by: Karri Kemppi on Sep 9, 2011 9:24 AM -
Container element value late update in ECC6
Hi All,
I have a problem with container element "RECEIVED" which has incomplete value. I'm using function SAP_WAPI_READ_CONTAINER (simple container) in my custom object ZBUS2081 method priceapproval. When 2nd person want to approve the workitem, the container value of element name "RECEIVED" only has previous approval person instead of table that has 2 line values (previous person who has already approved and 2nd person who want to approve this workitem).
We have upgrade our SAP version from 4.7 into ECC6/ERP6, which in 4.7 version this container element returned table of 2 line values.
Since the container element value has late to update the value, then it did not recognise as a final approval at the end of workflow step and raise an error for agent determination. If there is any related SAP note, please let me know.
Thanks,
CharlieHello Charlie !
Your RECEIVED container stores approver details.
Please check the binding between method container to task container to workflow container.Imperfect binding could be a reason why approver details are not populated properly.It seems your container is multiline container.Make sure the method,task and workflow containers are multiline enabled.
Check at SWO1, whether the PRICEAPPROVAL method behaves as expected and if you are using rule for agent determination, you have to check the rule at PFAC as well as binding details.Also check at workflow log.
Hope you have delegated ZBUS2081.
Regards,
S.Suresh -
Retrieve element path inside the flash movie
Hi,
I would like to refer to an element in a flash movie from the
outside, to do it i need the element path inside the movie.
for example i have a movie containing 4 frames, on the 4th
frame in have movie clip called "mc1" that contains 3 frames, on
the 3rd there is a movie clip called "mc2" that i should refer to
it from the outside.
To do it i need to go to frame 4 and then go to frame 3 in
"mc1".
Is there a simple way to retrieve this list of frames using
jsfl, action script or any other script?
Thanks
Mayano, as long as the html file is not a valid XHTML file.
You could load some html code from a text file and place it
inside of a textfield with enabled html...if this is what you want
to do. -
I have a provider hosted app in sharepoint which works locally without problem. I followed this tutorial to publish it to azure
http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/09/05/how-to-deploy-a-provider-hosted-app-as-an-azure-site.aspx
However after publishing the webservice doesnt work I get this exception:
[InvalidOperationException: The type 'x.IntranetWeb.Services.AppEventReceiver', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.]
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +62739
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1429
System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +52
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +598
[ServiceActivationException: The service '/Services/AppEventReceiver.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'x.IntranetWeb.Services.AppEventReceiver', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found..]
System.Runtime.AsyncResult.End(IAsyncResult result) +486572
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +174
System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult ar) +345998
System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +9683593
My web.config which I didnt touch.
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=301880
-->
<configuration>
<appSettings>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="ClientId" value="xx-04e7-4caf-854a-89c20577d7da" />
<add key="ClientSecret" value="ljguTvxHR+xx+Pl1IMg1Hjt5rsQ=" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<customErrors mode="Off"/>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<!--Used by app for SharePoint-->
<binding name="secureBinding">
<security mode="Transport" />
</binding>
</basicHttpBinding>
</bindings>
<protocolMapping>
<add binding="basicHttpBinding" scheme="https" bindingConfiguration="secureBinding" />
</protocolMapping>
</system.serviceModel>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
</configuration>
and a piece of the code of the remote event receiver
<%@ ServiceHost Language="C#" Debug="true" Service="x.IntranetWeb.Services.AppEventReceiver" CodeBehind="AppEventReceiver.svc.cs" %>
namespace x.IntranetWeb.Services
public class AppEventReceiver : IRemoteEventService
Follow me on Twitter
levalencia BlogHi,
The issue here is the mapping of the interface to the service in question, and usually points to a possible mistype or rename of something within your service architecture.
You need to make sure your namespace and service name here match your service name itself.
For detailed information, you could refer to:
https://haddicus.wordpress.com/2011/06/06/service-attribute-value-not-found-wcf-services/
http://stackoverflow.com/questions/9557221/the-type-restservice-weddingservice-provided-as-the-service-attribute-value-i
Regards -
How to display values inside the Pie chart?
Hi Expert,
How to display the values inside the Pie chart, instead of Mouse over values. Can u pls help me to do this one.
Is it possible can we use mentioned below kind of pie charts in Xcelsius 2008.
Thanks & Regards,
Tamil
Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 10:41 AMHi A G,
Thank You for quick response!!!
in this Text tab I am able to see below check box only
1) Chart Title
2) Sub Title
3) Legend
4) Mouse-Over
Kindly advise me if i am wrong and let me know how to achieve this.
Note: We have Xcelsius 2008 environment
Thanks & Regards,
Tamil
Edited by: Rajesh Kumar Thoppe on Dec 13, 2010 1:58 PM -
Accessing the text/property file inside the root context
Hi
I want to access the property file lying inside the root context folder
via plain java classes using IO.
Could you please help me out.Hi
Using this.getClass().getClassLoader().getResource("config_settings");
In order to load the properties file, uses the classpath search mechnism.
Basically it means that java will look for your file in the classpath.
The defualt class path of a web server is usualy the following:
ContextName/Web-Inf/Classes;ContextName/Web-Inf/lib
This is why it is working for you when you put your properties file under ContextName/Web-Inf/Classes, but it doesnt work when it is under ContextName/*, as this is not a part of the classpath search.
You have 3 options:
1.Put you properties file under the sever defulat classpath
(ContextName/Web-Inf/Classes;ContextName/Web-Inf/lib,if it's under lib, the file has to be inside a jar file)
2.Add ContextName/* to your server classpath ( in tomcat->setClasspath.bat file )
3.Instead of using "this.getClass().getClassLoader().getResource("config_settings"
read your file directly using the java.io.* library and give it the full path to the file,
you can store the full path in web.xml file, or using getServletContext().getRealPath("") to locate the context path and read the file from there( but then you are using the Servlet API )
Hope it helps
all the best
tal -
Hi,
How should I understand the parameters/argument values in the {} and [] right after a function?
For instance the {[Name="control"]}[Content] part in the
control=Excel.CurrentWorkbook(){[Name="control"]}[Content]
and also the [Control]{0} part in the periodctrl=control[Control]{0}.
Thanks.
Regards,The "[]" operator in M is like the "." operator in C-like languages, if that helps. It takes an aggregate value with named components and it selects one of those components. In the case of the record "Foo", "Foo[Bar]"
returns the field named Bar. In the case of the table "Baz", "Baz[Quux]" returns the column named Quux.
Similarly, the "{}" operator in M does subscripting of lists -- like the "[]" operator in C-like languages. If "Foo" is a list, then "Foo{0}" returns the first element of the list, "Foo{1}" returns the second
element of the list, and so on.
In the case of tables, it's also possible to use "{}" with a record argument, in which case it will return the row which matches the record criteria -- provided there is exactly one. So if "Foo" is a table, then "Foo{[Bar = 1]}"
will return the row for which the Bar column has a value of 1.
Many of the data access functions in Power Query return what we call "navigation tables". Sql.Database, for instance, returns a table with columns named Name, Schema, Object, Kind and Data. Each table in the database has a single entry in this
navigation table. When we index into the table with "table{[Schema="dbo", Object="table"]}", we're selecting the single row that matches those criteria. This gives us a record. We then want to pick the "Data" field of
that record, which contains the actual table data. That's why there's typically a "[Data]" at the end of expressions which fetch data from the SQL table. -
Container element value does not display
Hi,
I am facing a strange issue.
There is one step in my custom workflow which sends sap mail. The subject of the e-mail has a container element ¬if&. When I check the workflow log this container element gets set with a value just before this step and so I expect it to be displayed in the e-mail .
But the issue is i am getting the mail in my inbox which says ....¬if& ......
i.e Instead of displaying the value of this container it displays the text ¬if&.
The same container element is used in the same e-mail message body where it displays correctly.
has anyone faced this kind of an issue before?
Thanks,
SimmiYes it is set to Expression.
This mail step was not created from scratch.
I just changed a few texts in the subject of this Mail step in an already existing workflow without touching the container element in the subject. But after i did this change and tested teh workflow, the container element no longer displayed any value in the subject, but it does continue to show value in the message body.
Any suggestions to solve towards this issue will be extremely helpful.
Thanks,
Simmi -
Container Element Value in Runtime
I am somewhat new to Workflow.
I have an error status on WorkFlow, for the reason that the value is not retrieved for the Container Element in the Workflow Condition. How can we check that whether the value is being retrieved by the container element in the Runtime?Hi Jaideep,
When the state of the workflow is set to errror, please go to the workflow log in 'List with technical details' mode (cube button).
Select the step that is in error and open the 'Step History' tab.
Here you would come to know the exact error that is being encountered.
Also you can debug the BO methods if called by setting the method as foreground and putting a breakpoint in the method.
The method would go into debugger when executed and there you can debug it.
Hope this helps!
Regards,
Saumya -
Pass Container Element Value Dynamically
Hi Experts,
We are facing an issue with Workflows. Whenever I restart a WF that has already ended up in Error, I need to pass it Certain Container Element Values Dynamically as it restarts the same WF again with the same Container values and it again ends up in Error. Is it possible that I can change these values during Runtime.
I have searched few SAPNotes also but could not find some Solution. Is anyone has worked on this Scenario before please respond.
Is this Possible.. Because this is the only way how we can allow that background Process to work.
Regards,
Kanikahi,
>In SWIA select a work item that will prompts you to next window.
>In the next window select technical details -> that will opens other window
This works fine.
>in that window select edit -> change
that will display some containers like
Logically delete
change container
deadline monitoring
This is not happening... Unable to fins anything known as "Edit/Change"..
Hope i could attach screen-shots...to know where im missing this link
regards,
kanika -
How to use the same column value in the casecadeing parameter in ssrs report?
Hi frnz,
I have a table site contains one filed SiteCode
Now i have fields like below using the below quries
SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
3.Using these two datsets and create a Casecadeing paramet in ssrs report.
4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
I have done the follw but ididnt get the o/p.
I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
down list.
Note:Here i will use the Single Table to get the all the sitecodes
Can some one please help me out for this report.
Thanks.Hi,
Try below links for your reference:
http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
http://msdn.microsoft.com/en-us/library/dd255197.aspx
http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
Ignoring the DOCTYPE element while parsing the xml
I am using JAXB parser to read from and write into my xml file using java code. My xml file contains a DOCTYPE element pointing to a .dtd file which does not exist, due to which I get a FileNotFoundException when JAXB tries to read the xml file. Hence, after unmarshalling the xml file using jaxb, I use a SAXParser to get an XMLReader which removes this DOCTYPE element as given below -
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
parserFactory.setValidating(false);
XMLReader reader = parserFactory.newSAXParser().getXMLReader();
reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
After making the required changes to the xml file and marshalling it back, I then use an XMLWriter to add the DOCTYPE element back to the xml file as given in the code snippet below -
SAXReader saxReader = new SAXReader();
Document document = saxReader.read(_file);
document.addDocType(rootElement, publicUri, systemUri);
XMLWriter output = new XMLWriter(new FileWriter( _file ));
output.write( document );
output.close();
Right now I am using both, the JAXB parser to read from and write into the xml file and SAXParser/SAXRader just to delete/add the DOCTYPE element. I want to avoid using two different parsers in my class and want to know if JAXB provides any mechanism to delete and then add this element while parsing the xml file.Standard answer for this FAQ: set an EntityResolver on your parser that sends an empty string instead of the DTD. The API docs have an example that you could modify to do that.
-
Hi all,
I use the device DAQ USB-6341 to generate the desired voltage waveform by the "finite samples" sample mode.
I notice that the channel resets to zero volts after the DAQmx task is done and the DAQ USB-6341 does not have
the property AO.idleOutputBehavior to select "Maintain Existing Value".
How can I maintain the last AO value after the DAQmx task is done on device DAQ USB-6341 ?
Thanks.
GodelHow many computers do you have in the network?
What is the IP address and default gateway number on your computer?
In order to connect to the wireless network, WVC80N should get valid IP address from the access point.
If the access point has capacity to assign a private IP address to the computers and devices then I think you can use WVC80N. -
May I know how to change the color of texts inside the indicator box?
Can anyone tell me how to change the color of texts inside the indicator box? I have tried to use property node but not really know how it functions.
In fact, I am writing a program for which the number inside indicator on front panel will show red color if the measured value can't reach the requirement. I am using LabView 6.1 Professional
Thank You for your attention!!!!!!Simply use a property node with "NumText.TextColor" and wire the correct color depending on your test result.
The attached simple example (LV 6.1) lets you change it from the front panel. In your case, you would use your test output instead of a FP switch, of course. Message Edited by altenbach on 05-25-2005 09:05 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
TextColor.vi 18 KB
Maybe you are looking for
-
Creating an Array of a Complex Object Type
hi, We have 5 different variables of a complex type(defined by an xsd). We want to put the values from these 5 objects into a single array variable of the same complex type. Is there any function in bpel to do this? Can we specify an element with a c
-
Installing Third Party Actions in PSE 7
I have figured out a way to add third party actions to PSE 7.<br /><br />It is similar to PSE 6, byt now all the files are in one directory, and they have changed the format of the XML files.<br /><br />Any suggestions or comments on how to improve t
-
[AS] Change Colour of all page items on layer
Hi I am trying to set up a script to change the colour of fill, stroke and text of page items on one layer, and having very little luck, what I have so far is below, as it stands I seem to only be creating the swatch, could I get a few pointers on ho
-
Top Picture is while the program, bottom is when exported as a PDF
-
Maximum Package Size and Duration for HD Streaming?
Hey All, I've taken the HD plunge and am editing my first piece of video. I've finished and I want to export it to stream to my PS3 and/or Xbox. My question is what are the best settings for export to Quicktime MP4 1080 HD for maximum packet size and