on 04-26-2017 8:29 AM
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
Hi,
you shared 'EV_REASON of type SO_TEXT255 with multiline uncheked'. Is it possible to check the Multiline and test again from scratch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.