2008 Dec 16 8:45 AM
Hi ,
In ECC ,
If we have '#' Symbol in Material Description , after finishing the program when we check in AL11.
Material Description like: Presure Roller , Glass Washer# 3F001
DAT file like : it splits as two records instead of one without hash symbol
0009935798|00001|||0010| Presure Roller , Glass Washer
3F001|0001|| 0.000| 1.000|7FSEMI S2-0703AEI|
Could you please let me know what might be the reason to split the line when there is "#' symbol in description.
And also let me know without replacing the '#' can we get the ' #' in DAT file
Please.help me
Regards ,
Kiran.
2008 Dec 16 8:57 AM
Hello Kiran,
Only feasible reason i suppose is that the system is trying to interpret '#' as a 'Line Feed' character (<CR/LF>) which is why it is splitting the record into a new line :-((
BR,
Suhas
2008 Dec 16 8:55 AM
ru spilting the fields baesd on the # key? need to split '|' with pipe symbol...
2008 Dec 16 8:57 AM
Hello Kiran,
Only feasible reason i suppose is that the system is trying to interpret '#' as a 'Line Feed' character (<CR/LF>) which is why it is splitting the record into a new line :-((
BR,
Suhas
2008 Dec 16 9:45 AM
Hi ,
Thnaks for your reply.
How to avoid that . i tried to use all the commands to replace the '#' .
some material descriptions , we are unable to replce it .
even it has hash , it is not going into inside the if statement.
IF wa_makt-maktx CA c_hash.
ENDIF
it is failing the condition even it contains '#' symbol that 2 only for some material descriptions not for all
Please.help me regard .
Regards
Kiran
2008 Dec 17 8:39 AM
Hi
Not sure if yours is the same case but I believe this thread should help you out.
"some times #(hash) is shown bcoz...some Binary characters which cannot be read by SAP Unicoded system will be shown as #(hash). check the attributes of the class CL_ABAP_CHAR_UTILITIES and find and replace with characters in there...mainly CR_LF (Carriage Return and Line Feed" Character Pair)
data: lv_hash type c value CL_ABAP_CHAR_UTILITIES=>CR_LF.
replace all occurances of lv_hash with '0' in ur_sting."
Regards,
Clarice