‎2007 Jan 27 12:05 AM
Hi,
In BADI I have EV_CUSTOMER_INFO Exporting parameter with type string. I want to send text message to this parameter with multiple lines.
How do I can send?
I have text with more than 250 chars, I want to split the text in multiple lines and sent to BADI. Right now its displaying in one single line.
Can any one help me..
Thanks.
‎2007 Jan 27 12:14 AM
Hi,
Use the fn. mod RKD_WORD_WRAP and give the delimiter value.
You can split the text into multiple line.
Regards
Deepu.
Reward points if this is helpful.
‎2007 Jan 27 12:14 AM
Hi,
Use the fn. mod RKD_WORD_WRAP and give the delimiter value.
You can split the text into multiple line.
Regards
Deepu.
Reward points if this is helpful.
‎2007 Jan 27 12:20 AM
sorry I hope I didnt put my question clearly.
I need to send the text to the BADI parameter (BADI paramter has type string) .
This FM only splits the text right. But I have to send the text to BADI with diff lines.
And also this is for SRM.
Thanks a lot.
‎2007 Jan 27 12:20 AM
Hi,
Try this..
CONCATENATE 'FIRST LINE' 'SECOND LINE' SEPARATED BY
CL_ABAP_CHAR_UTILITIES=>CR_LF.
Sorry if this is not working..
Thanks,
Naren
‎2007 Jan 27 12:21 AM
‎2007 Jan 27 12:31 AM
Hi Naren thanks for the answer,
I put the code .. but in out still its displaying all the text in single line.
I used the code in my BADI like this ..
CONCATENATE TEXT-001 TEXT-002 TEXT-003 into EV_CUSTOMER_INFO SEPARATED BY CL_ABAP_CHAR_UTILITIES=>CR_LF.
when I c in debug mode it is separating with ## for each text. But out put is still in single line.
‎2007 Jan 27 12:32 AM
Hi,
Is the output capable of displaying multiple lines..Is the output displayed in a text editor??
Thanks,
Naren
‎2007 Jan 27 12:37 AM
Out put field id declared in BADI like this
EV_CUSTOMER_INFO Exporting Type STRING Customer Output Information
Its a string.
So is it possible to split the text?
Thanks.
‎2007 Jan 27 12:43 AM
Hi,
The output I was mentioning is not the output parameter...I am mentioning the screen fiel that the string is getting displayed..
Is that Screen capable of displaying multiple lines..Are you displaying the values in text editor container??
Thanks,
Naren
‎2007 Jan 27 12:46 AM
Hi Naren,
sorry.. Yes the screen is capable of displaying multiple lines.. It is displaying in browser after registration process is complete.
‎2007 Jan 27 1:02 AM
Is it possible we can do it from carriage return functionality?
If so And what is the carriage return character for text ?
Thanks.