Change workitem text using PFTC
Hi all,
We have to change some workitem texts adding Shopping cart number. We have changed some of them successfully but we have 2 of them where Shopping Cart Number is not available:
Task 14007938 - Present Changes to Creator
Task 10407972 - Change Rejected Shopping Cart
It is strange because structure REQ is available but Shopping cart number field is not available.
Do you know if there is any other way to do that? I am looking also for OSS notes...
Thx in advance.
Manel
Hi Naz
The Base object (_WI_Object_ID - Leading Object) in the this task is of type BUS2014.
1) Create a subtype of BUS2014 and do the delegation between the two. (This will enable new attributes to be referenced directly using BUS2014.
Use this link to know more on delegation:
Business Object Delegation - Business Intelligence (BusinessObjects) - SCN Wiki
2) Create a new virtual attribute in that subtype which calculates the value of the contract
Following links can guide you to create Virtual Attributes
http://scn.sap.com/docs/DOC-39432
**************** - Working with Business Objects
3) Now include the value in the standard task -> PFTC-> Task Type as TS -> Task as 20000172-> Display ->Select tab Basic Data-> then Menu Item Edit ->Work item text - Redefine
Use the new attribute created for value to display the value. ( by delegation, you can now refer to this new attribute of Z subtype using _WI_Object_ID - Leading Object
Regards,
Modak
Similar Messages
-
Change workitem text using PFTC in ECC for Task TS20000172 – release contract
Hello,
I would like step by step guidance on changing the worklist item description for Task ID TS20000172. Currently the contract goes for approval and the worklist item reads “Release of Contract 4600000000”. How can I add the value of the contract in the worklist text? I looked in transaction PFTC, Container tab but could not find the variable ‘Value?’. Please advise?
Thanks, NazHi Naz
The Base object (_WI_Object_ID - Leading Object) in the this task is of type BUS2014.
1) Create a subtype of BUS2014 and do the delegation between the two. (This will enable new attributes to be referenced directly using BUS2014.
Use this link to know more on delegation:
Business Object Delegation - Business Intelligence (BusinessObjects) - SCN Wiki
2) Create a new virtual attribute in that subtype which calculates the value of the contract
Following links can guide you to create Virtual Attributes
http://scn.sap.com/docs/DOC-39432
**************** - Working with Business Objects
3) Now include the value in the standard task -> PFTC-> Task Type as TS -> Task as 20000172-> Display ->Select tab Basic Data-> then Menu Item Edit ->Work item text - Redefine
Use the new attribute created for value to display the value. ( by delegation, you can now refer to this new attribute of Z subtype using _WI_Object_ID - Leading Object
Regards,
Modak -
Program exit to change workitem text
Hi All,
I have a requirement to change work item text at runtime, i am using program exit to change the task contrainer variable which is being used to display work item text. i have written a code in program exit to update container element, but it's not reflected to change workitem text, when i check in ln workflow log the variable shows with updated value.
Please help to solve issue.
Many thanks,Hi Gupta,
I used below code to update container element.
CASE im_event_name.
WHEN swfco_event_after_creation.
CLEAR l_value.
CALL METHOD l_wi_cont->get
EXPORTING
name = 'LV_WITEXT'
IMPORTING
value = l_value.
REPLACE '$' INTO l_value WITH lv_id.
CALL METHOD l_wi_cont->set
EXPORTING
name = 'LV_WITEXT'
value = l_value.
With above code LV_WITEXT is updated with new value, but same is not displayed as workitem text in inbox.
After workitem displayed in inbox if i use FM SWL_REFRESH_WORKITEM_TEXT explicitly to refresh, workitem text getting refreshed.
Many thanks. -
Process Controlled WF - Change Workitem Text
Expert's,
I noticed that is possible to change workitem text in process controlled workflow, but i need to inser a field that is not available in the workflow container. Is there any exit available in the workflow or is compulsory to change standard workflow to perform this modification ?
Thanks in advance,
Best regards,
Mário.Hi,
How about adding custom attributes in Business Object Repository? Transaction SWO1.
http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4aaf4453d11d189430000e829fbbd/content.htm
Regards,
Masa -
How to change Vendor text in shopping cart using BADI/Function module
Hi
If any could help me out that i want to change vendor text using BADI/FMs.
Using BADI" bbp_catalog_transfer" i dint find any parameter for vendor text. please let me know if there any idea to resolve the problemHi,
you should find the vendor text within the BAdi
BBP_DOC_CHANGE
Method for shopping carts
BBP_SC_CHANGE
Here you could use the Changing Parameter
CT_LONGTEXT
The table contains 2 important fields:
TDID, where you can identify the type of text, in your case this should be ITXT for standard shopping carts (vendor text within positions)
TDLINE: which contains the text
You are now able to change the vendor text directly within this BAdi with standard ABAP methods.
Best regards
Andreas -
Hi,
I want to redefine the workitem text of a standard SAP task (Task 10008212, check shopping cart in SRM). Using the transaction pftc_dis I changed the work item text and I can see only the redefined customer text when I display this task again.
But the issue the workitem text change is not reflecting in the workitems for shopping carts.
Can someone please let me know if this is the correct way to add a customer definition for a work item text.
Regards,
SooryaHi,
I followed the following procedure:
1) Translation of f the task work item text (translation with SE63, transport object with key R3TR PDTS, ex: R3TR PDTS 91000031)
2) Imported to production the missing translation (transport order created using SLXT)
3) For the existing workitems I changed manually, using LSMW, the text using transaction SWI1; Edit -> display workitem ; goto -> technical workitem display; Edit -> Change; execute "Change workitem text
Kind regards
Jorge -
xCode interface builder:
When I try to change the color property of a label's text by using the RGB values, the background color also changes to the same value automatically.
in other words:
While setting the RGB values for text colour of labels, the background colour also changes unless we use the sliders.
How to make sure that only the color of text changes and not the background?You can simply do this.
[labelname setTextColor:[UIColor colorWithRed:38/255.0f green:171/255.0f blue:226/255.0f alpha:1.0f]]; -
Using cue points to change a text box
Ok I asked a simlar question before but I am still having trouble getting it to work.
I have a video with 11 Cue points and at each cuepint I want the Typebox to change it text at each cue point.
When the video is playing I want a the textbox to change the text when cue point 1 is reached. This is the code I am using. But every always goes straight to the whatever the last functions text and skips all the other before it. Its bassically this code repeated with difffernt function name and string.
import fl.video.MetadataEvent;
flvplayer.addEventListener(MetadataEvent.CUE_POINT,section2Cue);
function section2Cue(event:MetadataEvent):void{
for(var String = "section2" in event.info){
typebox.text = "Hello"; }
So basically I want to tell flash, when CuePoint1 is reached text = "hello world" and when CuePoint2 is reached I want the text ="Hello Again". I don't know what I am doing wrong or what is the best way to tell flash how to do thisOk, I tryed that code Basically I want to call upon each cue point individually and have an event for each one. So how i tell it to display this only when Cuepoint1 is reach and display that only when Cuepoint2 is reached. What data would help ?
Most of my code is just buttons to reach each cuepoint within the video. I got that to work fine.
I'll supply it anyways
import flash.events.MouseEvent;
// Assign a new skin to my FLVPlayback instance using ActionScript
flvplayer.skin = "player.swf";
flvplayer.fullScreenTakeOver = false;
//select section menu button
selectBtn.addEventListener(MouseEvent.CLICK, openMenu);
function openMenu(event:MouseEvent): void{
trace("working");
selectMenu.gotoAndPlay(2);
selectMenu.closeX.addEventListener(MouseEvent.CLICK, closeMenu);
function closeMenu(event:MouseEvent): void{
trace("closing");
selectMenu.gotoAndPlay(11);
//Cuepoint Buttons
selectMenu.sec1.addEventListener(MouseEvent.CLICK, section1Button);
function section1Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section1");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Orion Health EMR Lite Overview";
selectMenu.sec2.addEventListener(MouseEvent.CLICK, section2Button);
function section2Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section2");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Adopt Electrionic Patients Records Easily";
selectMenu.sec3.addEventListener(MouseEvent.CLICK, section3Button);
function section3Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section3");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Introducing Orion Health EMR Lite";
selectMenu.sec4.addEventListener(MouseEvent.CLICK, section4Button);
function section4Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section4");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Meet Mr. Smith - Patient Registration and Intake";
selectMenu.sec5.addEventListener(MouseEvent.CLICK, section5Button);
function section5Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section5");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Orion Health EMR Lite in the Exam Room - Clicnical Documentation and Orion Health HIE Integration";
selectMenu.sec6.addEventListener(MouseEvent.CLICK, section6Button);
function section6Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section6");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Working with Orion Health EMR Lite - Documentation";
selectMenu.sec7.addEventListener(MouseEvent.CLICK, section7Button);
function section7Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section7");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Order Entry in Orion Health EMR Lite";
selectMenu.sec8.addEventListener(MouseEvent.CLICK, section8Button);
function section8Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section8");
flvplayer.seek(cuePointInstance.time);
typebox.text = "ePrescribing";
selectMenu.sec9.addEventListener(MouseEvent.CLICK, section9Button);
function section9Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section9");
flvplayer.seek(cuePointInstance.time);
typebox.text = "ePrescribing";
selectMenu.sec10.addEventListener(MouseEvent.CLICK, section10Button);
function section10Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section10");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Quality and Utilization Reporting";
selectMenu.sec11.addEventListener(MouseEvent.CLICK, section11Button);
function section11Button(event:MouseEvent):void
// Replace video_instance_name with the instance name of the video component.
// Replace "Cue Point 1" with the name of the cue point to seek to.
var cuePointInstance:Object = flvplayer.findCuePoint("section11");
flvplayer.seek(cuePointInstance.time);
typebox.text = "Summary";
As for data? This is all I know about my CuePoints
Would the best way to acheive changing type is to change the way my movie clips are set up? Instead of telling it within the actionscript maybe telling it to go to next frame within a movieclip with the content? I don't know exactly how to word what I am trying to acheive but I'm trying!
thanks! -
Search box text used by command-F search - can this be changed?
I started using Safari much more in Leopard than I previously did before. One annoying thing I have discovered is that if I use the search box to search the Internet, whatever I entered now becomes the search text when I use command-g (Find again) or command-f (Find).
This is not the behavior I am accustomed to with Firefox. In Firefox using the search box has no affect on the text used by command-f (Find) and command-g (Find again).
I have looked through the preferences and options but haven't found anyway to change Safari's behavior. Do you have a solution?Hi Duane,
I must admit you have me stumped as well. I noticed that command-f also picks up what I last entered in Spotlight and the search text is retained across Safari restarts.
For the life of me I can't see where it's picking this information from. I even searched all my user files via find/grep to see where it was storing it between starts - nothing found...
The only good thing about the 'weirdness' is that the search text is selected by default so you can immediately overwrite it.
Very odd... -
Using the Gradient tool to change button text
I have had a request to change the text on a number of buttons on the website that I am maintaining. I thought it would be a simple case of cropping the text, editing this using the background colour and then pasting back in. The background colour, however, seems to be graduated so when I paste it back in, it doesn't match. What is the easiest way of using the Gradient tool to achieve this?
Sorry if this seems a bit on a 'RTFM' request, but time is of the essence.
Thanks.I see, the buttons are all pixels at this point.
That's still pretty easy...
1. Edit the text out of the original button by duplicating the part of the button that doesn't have text over it. You can just use the rectangular marquee and duplicate some of the gradient to the right or left of the text and move it over the text. It will take a little care, but it's pretty easy if you work zoomed-in.
2. Determine what font they were using through a site like http://www.whatthefont.com. In this case it looks like a pretty close match to Tahoma Bold.
3. Choose the Text tool and type the same text, then use the various adjustments in the CHARACTER panel to get it to match very closely. Looks like it needs to be horizontally scaled in width to 110% or so.
4. Erase that text then type the text you want.
Hope this helps!
-Noel -
How to change the browser used for Google search from context menu of selected text?
How to change the browser used for Google search from context menu of selected text?
It uses Safari. But I want to use Chrome (it's my default browser).How to change the browser used for Google search from context menu of selected text?
It uses Safari. But I want to use Chrome (it's my default browser). -
Upgraded to lion and all is good. However, cmd+ has been hyjacked by the OS to bring up the dashboard. I use cmd+ and cmd- to change the text size in Pages. Is there a way to change the Lion keyboard shortcuts to get the functionality back for Pages? The cmd- still works to reduce text size in Pages, so it's even more frustrating that cmd+ does something else.
thanks in advanceWell on my MBP running Lion 10.7.2 Command+ or - does not do anything, and that is using either Command+ or Command(+ shift)+. I do not have pages installed.
The point is that Command+ and Command- should control the text size in Pages (we're not talking about any othr program, just Pages). Those are hard-set (programmed in the software) keyboard commands for Pages.
In Pages, Command+ should increase the text size, and not bring up the Dashboard. And that is the OP's problem - that command is bringing up Dashboard, which it should not do. Apparently there is some setting somewhere that is causing Command+ to do the wrong thing - and that's what we're trying to find.
So at least on my MBP Command+ certainly does not bring up the Dashboard....
Good - it's not supposed to, nor is that what the OP wants.
By the way, if you use Safari and/or Mail, you'll find that Command+ and Command- adjust the text size in those programs. Ditto Numbers, TextEdit, Bean, and many other programs - it's a fairly common assignment, hence not one which usually needs to be added via Keyboard Shortcuts. -
How can I change Label's text using ActionScript?
Hi~ everyone~
I want change Label's text using ActionScript.
Test.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" initialize="init()">
<fx:Script>
<![CDATA[
private function init():void{
var btn:BtnScript = new BtnScript();
this.addElement(btn);
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Label x="182" y="149" text="Label" id="lbl"/>
</s:Application>
BtnScript.as
package
import flash.events.MouseEvent;
import mx.controls.Alert;
import spark.components.Button;
public class BtnScript extends Button
public function BtnScript()
super();
this.addEventListener(MouseEvent.CLICK, eventHandler);
private function eventHandler(event:MouseEvent):void{
// lbl.text = "changed text";
// HOW CAN I ACCESS LABEL IN MXML FILE?
I'm about to learn flex. Please help me.
Thanks in advanced.You could achive this very easily(but this shouldn't be used in production code as it'll be difficult to manage as the project grows) by defining a static data member varibale of DataType Label something like below, (modified/added code in BOLD)
Test.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" initialize="init()"
creationComplete="creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
private function init():void{
var btn:BtnScript = new BtnScript();
this.addElement(btn);
private function creationCompleteHandler(event:FlexEvent):void{
Model.someLabel = lbl;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Label x="182" y="149" text="Label" id="lbl"/>
</s:Application>
BtnScript.as
package
import flash.events.MouseEvent;
import mx.controls.Alert;
import spark.components.Button;
public class BtnScript extends Button
public function BtnScript()
super();
this.addEventListener(MouseEvent.CLICK, eventHandler);
private function eventHandler(event:MouseEvent):void{
// lbl.text = "changed text";
// Now use Model.someLabel which is basically 'lbl'.
Model.someLabel.text = "changed text"; //Mission Accomplished....
Model.as
package
public class Model
public static someLabel:Label;
Note: This approach is just to give you an idea but instead should use the MVC pattern. -
Also the tab key ti jump from one form window to the next to fill them in, does not work anymore.
It is especially annoying typing emails using webmail. I can only navigate trough the text using my mouse.
I am sorry to post in here but I was not able to give feedback on the blog. Maybe I need to be logged in??Create a new profile as a test to check if your current profile is causing the problems.
See:
* [https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile Basic Troubleshooting: Make a new profile]
If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
See:
* http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Error in determining the variable for Workitem Text
Hi Friends,
My workflow is getting triggered by the event but during sending a notification to the agents the variables which i used in the workitem text is not coming. It is showing variables in workitem text cannot be displayed.
I checkd in the workflow log. The same variable is coming till the task of sendmail but its not coming into the mail notification.
But when i tirgger the WF manually the workitem text is cmng........Can u tell me from wher dis error cmng from??
Thanks
KumarRead,
ABAP Proxy error : GET_BUSINESS_SYSTEM_ERROR
Dump "GET_BUSINESS_SYSTEM_ERROR" when changing relationships.
They might help
Regards
Juan
Maybe you are looking for
-
Hello all - I have recently upgraded from PSE–3 to PSE–9.0 on my Intel MAC running OSX 10.5.8. With PSE–3, when I wanted to save a psd file as a jpg, I would click File/SaveAs, and in the subsequent window select JPG. When I did that, the file name
-
Need some help with a flash gallery
Hello everyone :) I really stuck on my flash gallery, I purchashed it and set up the xml file and everything works fine, but when I upload it to my website and I add the flash to a page, it dont show up. Ive been told that the problem is that the gal
-
Problem with OVS search result table..pls hlp
Hi friends, I have crated an OVS search help. .and its working fine when i hit F4. but when i hit search button.. the result table is showing more number of rows(blank), though the result has just 2 records returned. there are many no of blank rows.
-
I'm going crazy! Setting up Airport Express to extend existing wireless net
Please help me, I'm going crazy! I am trying to set up my Airport Express as a "WDS remote/relay station" to bridge my existing BT HomeHub (the new black one) broadband wireless network to other wireless PCs, Playstation, etc located in other rooms o
-
Does Oracle DB have the utility to compute the CRC?
Hi Pros, CRC stands for Cyclic redundancy check as we all know, there are ways of caculate it using programing language like Java, C#,etc, since we are undertake the ETL job for data warehouse, there are many update operation in DB using SQL, so I am