on 10-27-2008 6:45 PM
Hi ,
The field type is char3000
I have to split it into 5 parts and write it to the output.
As of now , I am justdoing it like this ..
write : /f1+0(50),
/f1+50(100),
/f1+100(150),
/f1+150(200),
/f1+200(250),
/f1+250(100),
Now I have an issue.All the field needs to be checked for an '&' ( only in the last 5 characters of every part) and if it has an '&' , then line should go to the next part .
ex: f1 = ' this is the good test data from an sap system & that is implementing 4.6c and wants to go for a test data , that is perfect , without any data problems.'
output :
this is the good test data from an sap system & t
hat is implementing 4.6c and wants to go for a te
st data , that is perfect , without any data proble
ms.
now I should check only for the '&' in all the ending parts of each string for the last 5 places , that are printed and then if it is present , then
but the expected outout is u2026
this is the good test data from an sap system
& that is implementing 4.6c and wants to go
for a test data , that is perfect , without any d
ata problems.
Please help me resolve this .
thanks in advance
You have to use the logic like FM RKD_WORD_WRAP.
This FM can only accept the input of 256 characters.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.