This website is not affiliated with, sponsored by, or approved by SAP AG.

Long variable or URL in task editor

Business WorkFlow

Moderators: Snowy, thx4allthefish

Long variable or URL in task editor

Postby wcxfcpca » Fri Aug 04, 2006 2:35 am

Hi all,
I am trying to put a URL into a custom task. The contents of the task will end up as a mail item.

The problem that I have is that the attribute of the business object that I use to hold the url is 255 characters long and when the task gets executed the url variable gets truncated to 80 characters. This is seen in SWI1 for the task as well as the email.

Does nayone know a way around this ?

I have tried to split the url up into > 1 variable and placed these next to each other but the result is that the url is split over 3 lines - not just spread over 3 lines but split up. When it gets into outlook and I edit the message and remove the line breaks the link works.


SAP basis version 7.0
cprojects business object BUS2173 added a url virtual attribute
copied sap standard task 2870000 and changed description to include url

Regards
Regards Peter Carroll
wcxfcpca
 
Posts: 24
Joined: Fri Sep 30, 2005 2:32 am
Location: Perth

Postby Swalt » Mon Aug 07, 2006 2:44 am

Hi,

Check note 945493:

Symptom

The task for a node of a Workflow Definition is based on the object type WEBSERVICE (or is a delegation type of WEBSERVICE) and triggers either the method PROCESSDIALOG or PROCESSBATCH . Such nodes are not processed correctly if corresponding WebFlow Service parameters are transferred that have more than 255 characters (such as URLs).

Solution

Import the Support Package or implement the attached corrections.

Later
Swalt
Swalt
 
Posts: 65
Joined: Tue Nov 19, 2002 11:56 am
Location: Jo'burg, South Africa

Postby wcxfcpca » Wed Aug 09, 2006 7:09 pm

Thanks for that Swalt.

I tried it but it did not make a diference in my situation as the lines containing the url are being split even if they are less than 255 characters long.

Regards Peter Carroll
Regards Peter Carroll
wcxfcpca
 
Posts: 24
Joined: Fri Sep 30, 2005 2:32 am
Location: Perth

Re: Long variable or URL in task editor

Postby jackjack » Mon Nov 10, 2008 1:25 am

Sorry for replying a very old thread.

I was looking for a solution for this, and i found this topic.
Anyway, I solved it by separating the URL into 4 variables.
And in the Send Mail step, all the 4 variables next to each other.
Well, it solves my problem.
jackjack
 
Posts: 24
Joined: Sun Oct 15, 2006 9:08 pm


Return to Business WorkFlow

Who is online

Users browsing this forum: No registered users and 2 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.