‎2006 Aug 08 3:33 PM
Hi Friends,
How to divide one line(value) into 2 lines.
For EG: For one field I have value like ABCDEFGHIJKLMNOPQRSTUVWXY, that value is crossing next cell line. Actually the field itself contains length 30 char. If we give 30 char space for that field other fields wil not have sufficent space. So i need to break that value at 20 char. That modifications should be done in se71 transaction only.
I hope u understand my scenario. please respond quickly.
Thank You,
Rani.
‎2006 Aug 08 3:35 PM
‎2006 Aug 08 3:42 PM
HI,
THANKS FOR FAST RESPONSE. CAN I USE THESE SUGGESTIONS IN SE71. I HAVE TO DO IN SE71 ONLY.
THANK yOU,
RANI
‎2006 Aug 08 3:43 PM
Yes Rani the below statment can be achieved in SE71
&var1+0(15)&
&var1+15(15)&
‎2006 Aug 08 3:51 PM
HI SANTHOSH,
I AM NOT GETTING LIKE THAT.
IF U GIVE UR MAIL ID I'LL SEND U THE SCREEN SHOT & CODE.
THANK yOU,
RANI
‎2006 Aug 08 4:09 PM
You can check for values after 20 characters.
If they are blank, do not worry.
If they have characters, split the line.
/: IF &VAR3+20(10)& = &SPACE&
* ,,&VAR1&,,&VAR2&,,&VAR3+0(20)&,,&VAR4&
/: ELSE
* ,,&VAR1&,,&VAR2&,,&VAR3+0(20)&,,&VAR4&
/ ,,,,,,&VAR3+20(10)&
/: ENDIF
‎2006 Aug 08 4:15 PM
My reply got duplicated. Sorry.
Message was edited by: Norman Salter
‎2006 Aug 08 3:35 PM
I'm not sure that you can do this in the form (my system is down), but have you tried using offsets? i.e.:
&variable+0(15)&
&variable+15(15)&
‎2006 Aug 08 3:36 PM
Hi Rani,
Use Split statement in your driver program to achieve that ... else make use of offset ...
Regards,
Santosh
‎2006 Aug 08 3:38 PM
‎2006 Aug 08 3:41 PM
FM name RKD_WORD_WRAP
TEXTLINE - ABCDEFGHIJKLMNOPQRSTUVWXY
DELIMITER
OUTPUTLEN - 20
Get the value in the table OUT_LINES[].
Regards,
Prakash.