Characters in workitem text

Hi Experts,
have an SRM WF triggering, approver is German. He receives workitem in German translation.
Issue:
a) the workitem text has few junk characters in the beginning of the text and end. Inbetween the text is properly translated in German.
What could be the reason?
SRM version is 5.0 and Support pack is SAPKB70009.
Thanks,
Aditya

Hi,
Please logon system in German and check the workitem text in PFTC_DIS transaction.
If the static text is not garbled, I think it is some dynamic container value. In that case please check your system is Unicode or Non-Unicode.
Regards,
Masa

Similar Messages

  • Inbox: WorkItem text get truncated

    Hi,
    The work item text of a standard task created by me is of 110 character. The work item text can hold upto 120 characters.
    When a workflow was created, the last few characters in the workitem text was truncated.
    Is it SAP limitation or is there any way to get the full text.
    Note: I used variable to display the doucment number in the work item text.
    Thanks
    Suresh Kumar

    hi Suresh,
    based on my experience, the work item text is limited to 50 characters only.
    so if text for work item is longer than that it will be truncated
    hopes it helps
    cheers

  • Reading characters from a text file into a multidimensional array?

    I have an array, maze[][] that is to be filled with characters from a text file. I've got most of the program worked out (i think) but can't test it because I am reading my file incorrectly. However, I'm running into major headaches with this part of the program.
    The text file looks like this: (It is meant to be a maze, 19 is the size of the maze(assumed to be square). is free space, # is block, s is start, x is finish)
    This didn't paste evenly, but thats not a big deal. Just giving an idea.
    19
    5..................
    And my constructor looks like follows, I've tried zillions of things with the input.hasNext() and hasNextLine() to no avail.
    Code:
    //Scanner to read file
    Scanner input = null;
    try{
    input = new Scanner(fileName);
    }catch(RuntimeException e) {
    System.err.println("Couldn't find the file");
    System.exit(0);
    //Set the size of the maze
    while(input.hasNextInt())
    size = input.nextInt();
    //Set Limits on coordinates
    Coordinates.setLimits(size);
    //Set the maze[][] array equal to this size
    maze = new char[size][size];
    //Fill the Array with maze values
    for(int i = 0; i < maze.length; i++)
    for(int x = 0; x < maze.length; x++)
    if(input.hasNextLine())
    String insert = input.nextLine();
    maze[i][x] = insert.charAt(x);
    Any advice would be loved =D

    Code-tags sometimes cause wonders, I replaced # with *, as the code tags interprets # as comment, which looks odd:
    ******...*.........To your code: Did you test it step by step, to find out about what is read? You could either use a debugger (e.g., if you have an IDE) or system outs to get a clue. First thing to check would be, if the maze size is read correctly. Further, the following loops look odd:for(int i = 0; i < maze.length; i++) {
        for(int x = 0; x < maze.length; x++) {
            if (input.hasNextLine()) {
                String insert = input.nextLine();
                maze[x] = insert.charAt(x);
    }Shouldn't the nextLine test and assignment be in the outer loop? And assignment be to each maze's inner array? Like so:for(int i = 0; i < maze.length; i++) {
        if (input.hasNextLine()) {
            String insert = input.nextLine();
            for(int x = 0; x < insert.size(); x++) {
                maze[i][x] = insert.charAt(x);
    }Otherwise, only one character per line is read and storing a character actually should fail.

  • How to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat

    I need to know how to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat. I have a request from a customer to do so and after googling I have came up with nothing. Also the customer would like it if they could convert said pdf form to a microsoft word document with the text form.

    There's no limit on the number of characters you can enter into a text
    field, unless you set it as such.

  • Minimim characters in a text box

    It seems silly that it is so easy to set the maximum number of characters in a text box (ie. Properties>Options>Limit of X characters) but that there is no easy equaivalent for minimum characters? At least not in Acrobat 9 anyway, don't know about the never versions!
    Does anyone know if the minimum number of characters can be set with Javascript?

    That was intended to be a rhetorical question. So what you really want is if the field is not blank, that there should at least be some minimum number of characters. What is the minimum number that you want to enforce? Youd probably want to use a custom validation script for this, but what exactly do you want to happen if the user only enters three characters but the minimum you want is four? Should the three characters that were entered be rejected altogether, or should the focus just be set back to the field so the user can enter more, or something else?
    Here's what a script that rejects the entry might look like:
    // Custom validate script for text field
    (function () {
        // Allow nothing
        if (!event.value) return;
        // Set the minimum number of characters
        var min_chars = 4;
        // Reject the entry and alert user if fewer than the minimum
        if (event.value.length < min_chars) {
            event.rc = false;
            app.alert("Please enter at least " + min_chars + "characters.\r\rYou entered " + event.value.length + " characters.", 1);

  • 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.

  • Task name appears instead of workitem text

    Hi,
      I have a dialog task. Whn I test the WF frm my system, I am getting the workitem text specified for the task in PFTC and its working fine. but when i test the same workflow in another system with the same user id & pwd, i am not getting the workitem text. Instead the task name is displayed in the inbox.
    Any settings needs to be checked? Plz let me know.
    Thanks,
    Sivagami

    Hi, thr was no translated text maintained for the workitem text .the prob is solved.

  • Non printable characters in a text file..

    hi,
    How to get blank lines and non-printable characters
    and remove those characters from the text file being uploaded from application server .
    thanks,
    Anil.

    Take a look at the constants in cl_abap_char_utilities. A simpler solution would be to ask for a file without such characters...

  • Removing the Control Characters from a text file

    Hi,
    I am using the java.util.regex.* package to removing the control characters from a text file. I got below programming from the java.sun site.
    I am able to successfully compile the file and the when I try to run the file I got the error as
    ------------------------------------------------------------------------D:\Debi\datamigration>java Control
    Exception in thread "main" java.util.regex.PatternSyntaxException: Illegal repet
    ition
    {cntrl}
    at java.util.regex.Pattern.error(Pattern.java:1472)
    at java.util.regex.Pattern.closure(Pattern.java:2473)
    at java.util.regex.Pattern.sequence(Pattern.java:1597)
    at java.util.regex.Pattern.expr(Pattern.java:1489)
    at java.util.regex.Pattern.compile(Pattern.java:1257)
    at java.util.regex.Pattern.<init>(Pattern.java:1013)
    at java.util.regex.Pattern.compile(Pattern.java:760)
    at Control.main(Control.java:24)
    Please help me on this issue.
    Thanks&Regards
    Debi
    import java.util.regex.*;
    import java.io.*;
    public class Control {
    public static void main(String[] args)
    throws Exception {
    //Create a file object with the file name
    //in the argument:
    File fin = new File("fileName1");
    File fout = new File("fileName2");
    //Open and input and output stream
    FileInputStream fis =
    new FileInputStream(fin);
    FileOutputStream fos =
    new FileOutputStream(fout);
    BufferedReader in = new BufferedReader(
    new InputStreamReader(fis));
    BufferedWriter out = new BufferedWriter(
    new OutputStreamWriter(fos));
         // The pattern matches control characters
    Pattern p = Pattern.compile("{cntrl}");
    Matcher m = p.matcher("");
    String aLine = null;
    while((aLine = in.readLine()) != null) {
    m.reset(aLine);
    //Replaces control characters with an empty
    //string.
    String result = m.replaceAll("");
    out.write(result);
    out.newLine();
    in.close();
    out.close();

    Hi,
    I used the code below with the \p, but I didn't able to complie the file. It gave me an
    D:\Debi\datamigration>javac Control.java
    Control.java:24: illegal escape character
    Pattern p = Pattern.compile("\p{cntrl}");
    ^
    1 error
    Please help me on this issue.
    Thanks&Regards
    Debi
    // The pattern matches control characters
    Pattern p = Pattern.compile("\p{cntrl}");
    Matcher m = p.matcher("");
    String aLine = null;

  • Can we display a URL  in workitem text??

    Hi Gurus,
    Can we display a URL  in workitem text??
    I am giving http://www.yahoo.com  but it comes as a normal text.
    I have give a URL along with Workitem text, So once the approver will check the mail notification in workflow inbox, by clicking on the URL given he  can see the other details of that order. Those information can help him out in taking decision.
    Thanks & Regards,
    Manoj Tiwari

    Hi Jocelyn,
    Here users will use the business workplace to see the new workitems, and thats why we want to see the URL there itself.
    I have checked SCOT and i can see following node.
    FAX Telefax
    INT Internet
           SMTP
    X40 X.400
    RML Remote Ma
    PAG
    PRT
    I could not find RAW Node.Please correct me if i am wrong.
    I have gone through the documentation of report  <b>RSWUWFML2</b>  and it says "The report sends notifications for work items by e-mail to SAP users who have an Internet e-mail address.  This enables users who do not normally use the Business Workplace to be informed about new work items." But we dont want to send the workitem to email address, we want to send it to Business workplace inbox.
    I think i was not able to explain you the correct requirement, i am explaining you once again, we will not use any internet email address to notify about the new work item, we will only use business workplace of sap to check or to see new workitem received, and we want url with hyperlink there only.
    Grtz.
    Thanks & Regards,
    Manoj Tiwari

  • Issues regarding workitem text

    HI All,
    I see the Workitem text mismatches when compared to Workitem lying in SBWP and the email send to ms outlook and also surprisingly when compared to SBWP and SOST I see the same mismatch.Can some one help me in finding the issue and also the first line of the email is the subject or title and from second line my custom workitem text follows I want to start the custom workitemtext from third line.I want a line gap in between the subject and the custom workitem text.
    Issue ) For example I am a calling text element ZXXXX created in so10 in workitem text .
    ZXXXX =  This Workflow was started by &INITIATOR& on &ACT_DATE& at &ACT_TIME&.
    Note: &INITIATOR& , &ACT_DATE&  and &ACT_TIME& are the variables created in the custom Decission task.
    Below is the code I have written in workitem text choosing command line option.
    INCLUDE 'ZXXXX' OBJECT 'TEXT' ID 'ST' LANGUAGE 'EN' .
    Output : 'This workflow was started by on at.
    Please let me know the solution to fix this.
    Thanks and Regards,
    Srini..

    Hi,
    ZXXXX = This Workflow was started by &INITIATOR& on &ACT_DATE& at &ACT_TIME&.
    &INITIATOR&, &ACT_DATE& and &ACT_TIME& are the variable is known in standard text element i.e. in tcode SO10. This variable may not known to workflow. Hence I would request you to  follow the specific.
    Declare the text element ZXXXX only upto value 'This Workflow was started by'.
    ZXXXX = 'This Workflow was started by'
    and use this workitem text as
    Workitem text = ZXXXX by &_WI_INITATOR& on &ACT_DATE& at &ACT_TIME&.
    &_WI_INITATOR&,  &ACT_DATE& and &ACT_TIME& are the variables of workflow container i.e. workflow container element.
    Thanks
    Sanjay

  • Workitem text in SAP Business Workflow

    Hi guys,
    We are using SRM 5.0.
    We defined a Workitem text in a Workflow task,and want this text to appear in the external mail of the user.
    The mail with the workitem reached the external mail of the approval user.
    The text however does not appear in his mail when the usar has to approve the shopping cart.
    What did I forget to get this working.
    Thanks
    Aart
    Aart

    Some more info:
    Im talking about the Task description (text type 0120)
    The Workitem text is working OK with the external mail.
    It is this Task description I want to let appear in the external mail of the approvar.
    thanks

  • Can I Animate Individual Characters in a Text Block Using the Wiggle Expression?

    I'm new to After Express and just diving in to expressions. I was trying to figure out if there was a simple way to use the wiggle expression in a way that it would wiggle individual characters in a text block independently of each other.
    Definitely appreciate any help.

    Did you try the Wiggly Selector? Alternatively, you could add an Expression Selector and add and Amount expression like this:
    seedRandom(textIndex,true);
    wiggle(1,100)
    Dan

  • Workitem Text need to display in Webdynpro Application

    Hi,
    Requirement : Workitem ID need to capture in WebDynpro application along with workitem text. (i.e.., When user clicks on worktitem from UWL, the workitem text should display in Webdynpro applocation.)
    I have created workflow and Web dynpro application. I have configured in SWFVISU tcode and assigned parameter in webdynpro application parameters tab. Here, If i click's on workitem, it's opening sap web screen. But i want to open webdynpro application screen.
    Kindly suggest to do this..
    Advance Thanks & Regards,
    Jayaprakash N

    Hi Jayaprakash,
        If you are not seeing the button "Launch WebDynpro" when you click on your Workitem then your UWL is not configured. There are a couple of steps for that which are provided quite clearly in the link below .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6?overridelayout=true
    Broadly the steps are:
    Re-register your system alias in UWL configuration. The path for this is System Administration / System Configuration /Universal Worklist Administration
    After re-registering, the portal will add one XML file for your system. Download the XML file, edit and add Webdynpro option specifying the Workflow Task ID and your custom webdynpro application name
    Upload the edited XML file with priority high and clear the cache
    In your WDA application define a plug name 'Start' and define the parameter WI_ID type SWW_WIID
    In your WDA window define a eventhandler HANDLESTART and inside write the code for reading the workitem id. Create a parameter WI_ID type SWW_WIID also for this eventhandler
    Let me know if you are stuck at any point.
    Regards,
    Arpan
    Message was edited by: Arpan Sengupta

  • How to redefine workitem text

    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,
    Soorya

    Hi,
    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

Maybe you are looking for

  • Formatting a date that is inserted into a text object

    The on-line documentation for inserting a date into a form letter instructs a user to insert a Print Date into a text object.  To format the date, the user is instructed to double-click on the date object and then right click and select Format {Print

  • How take a picture of your text message

    how do you take a picture of a text message you receive

  • DO NOT INSTALL 7.0.1 ITS NO GOOD

    I keep checking in and seeing how things are going still the same problems in this board. By now you should know that iTunes 7 is as good as viral and you should return to 6.0.5. Here is a short list of some things you will notice when you install iT

  • What exactly does iTunes photo sync do?

    Using Win7. I have iTunes set to sync photos with my iPhone. I have designated a folder called "iPhone" under "My Pictures" folder.  When I sync my iPhone the photos in Camera Roll do not go onto my computer. I do realize that I am able to use other

  • Passing parameters to RFC iview

    Hi Can anyone let me know how to pass parameters to RFC iview ? i want to pass the parameter through URL to the RFC iview (funtion_params_name1) thanks