@Manish, Sorry for confusion.
I want to remove CR and LF characters from PC file and then want to create BDC session for sales order.
I have tried couple of methods as below:-
a) I have tried to read data in binary mode in char type of internal table. then I replace LF/CR chars with Space. But after that I am not able to convert internal table into Ascii type.
Used couple of FM.
SCMS_BINARY_TO_TEXT
SRET_BINARY_TO_TEXT.
But not able to convert data correctly.
b) I have tried to read data in BINARY mode in binary type of internal table but then I can't use replace or find command on binary type.
I have stucked in both of methods..