2013 Jun 12 11:08 AM
Hi Experts,
I am able to generate the prenotification file using the transaction FPPNO.But its not in proper format.Generated File have empty space betweeen each character.
For exa. IF the header record is 101 1306120331J094101
Then its getting generated as 1 0 1 1 3 0 6 1 2 0 3 3 1 J 0 9 4 1 0 1
The same header record of the file when i open it from AL11 the spaces are getting replaced by '#'
Can you please help me with how i can remove these spaces from generated file.Is there any customisation need to be done in the following standard FMs
FKK_PRENOTE_ACH_00
FKK_PRENOTE_ACH_20
FKK_PRENOTE_ACH_30
FKK_PRENOTE_ACH_40
Thnx in advance,
Rahul
2013 Jun 12 4:06 PM
Rahul:
As you identified, those functions are used by standard. to change the layout, copy/edit/assign your own custom versions of the functions.
regards,
bill.
2013 Jun 12 4:38 PM
I have already using Custom FMs of the standard ones.But the problem is that the file is not getting generated in appropriate format as i mentioned above.its coming with the spaces between each character of the record of the file.I want to know how i can remove these spaces from the prenotification file .
2013 Jun 12 4:25 PM
Hi Rahul,
Can you try making use of the class:
cl_abap_char_utilities and methods involved like cr_lf or backspace.
eg: cl_abap_char_utilities=>cr_lf.
2013 Jun 13 1:44 AM
Hi Rahul,
The issue that you are facing is because of the Code Page error.
Implement the note 1324715 and this will resolve your issue.
Hope it helps
Thanks,
Amlan