Skip to Content
0

Rejection Reason in Purchase Order not getting Displayed Completely in "Send Email" step

Apr 26, 2017 at 07:29 AM

211

avatar image

Hi All,

We have an issue , Rejection reason entered by user while rejectiong the Purchase order is not displaying completely.It is displying it in the single line and truncating the text.

We are using function module SAP_WAPI_READ_CONTAINER to read attachment text entered in rejection comments into workflow container EV_REASON of type SO_TEXT255 with multiline uncheked.

After geting data into EV_REASON we are sending email to user via SEND ITEM step of workflow builder.In Workflow log i can see EV_REASON is filled with entire rejection reason but in email user is able to see EV_REASON in only one line.

Thanks,

Arpita

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Aditya Varrier May 03, 2017 at 10:51 AM
0

Hi Arpita,

when you use your container inside your editor or sendmail step(which has rejection text), SAP gives you 3 options.

select "All lines with line break"

Hope it helps.

Aditya V

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thanks Aditya..

I have made that EV_REASON as multiline and also selected "All lines with line break". It is taking multiple lines now.

but it is displaying 132 characters including spaces in 3 lines. It is not displaying characters beyond that.

Is there any limitation or space issue?

Thanks,

Arpita

0

Hi Arpita,

yes, I guess, may be try to create couple of multi-line containers and place them in one line below other

&value1&

&value2&

something like this..

Hope it helps.

Aditya V

0

Thanks Aditya..

I am not able to do split of REASON as there is no fixed length and style of entering the reason.

Is it possible to give a popup message before sending mail if char length is more than 132 chars.

Actually rejection reason text box is configured on portal side not on ECC side.Is there any way to limit that text box length to 132 char on portal side.

Thanks,

Arpita

0
Mike Pokraka May 31, 2017 at 11:31 AM
0

If you use a long field (255) and then send out a short one (132), it will be truncated. This line length limit is well-documented.

One solution is to use a shorter field for input.

If it was me I would use a string field in a text box to make it nice and user-friendly and then format it into lines of length <=132 prior to emailing out. But that's more work.

Share
10 |10000 characters needed characters left characters exceeded
Anjan Paul Jun 01, 2017 at 08:55 AM
0

Hi,

you shared 'EV_REASON of type SO_TEXT255 with multiline uncheked'. Is it possible to check the Multiline and test again from scratch

Share
10 |10000 characters needed characters left characters exceeded