cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Printing # for Spaces for only partcular "Sentense"

Former Member
0 Kudos

Hi All

we are facing a problem in PO Smart form , the smartform printing the # chars for spaces ,, for other sentences it is working fine only, can any one tell me what could be the issue?

Dknfona H4 N/N d/W drento NK is printing as Dknfona#H4#N/N#d/W drento NK .

Please help us.

Regards

-


Channappa Sajjanar

Accepted Solutions (1)

Accepted Solutions (1)

former_member156446
Active Contributor
0 Kudos

the user might have hit a Tab or enter key, which is converted to # as per ABAP workbench.. try some text creating your self with one space and one tab and one enter, I am sure that would be the problem..

Former Member
0 Kudos

Hi J@Y ,

thanks for the hint.

Regards

-


Channappa Sajjanar

Sandra_Rossi
Active Contributor
0 Kudos

Hi Channappa, could you just confirm us what was exactly the problem and the solution?

Thx

sandra

Former Member
0 Kudos

Hi sandra,

while writting the text they pressed TAB or Enter in some editor , which even i am not able to get, but when i rewritten the same text manually in the ABAP editor the # symbol did't appered.

I guess answered your question.

let me know for any clarification.

Regards

-


channappa Sajjanar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

I have a similar issue but in my case space is being replaced by # while printing the address which is being fetched from BP.

Eg:

James Brown

c\o Jerremy Brown

.... .....

Displayed as,


James#Brown

c\o#Jeremy#Brown

....#.....

This is happening when i give the print option as 'ARCHIVE' but when i try to print it with the option 'PRINT ONLY' i am getting the right print without # symbols. Please help.

Regards,

Sanjeeth

former_member217544
Active Contributor
0 Kudos

Hi,

Try this if it works.


DATA: c_tab value cl_abap_char_utilities=>HORIZONTAL_TAB.

if v_txt is the variable which contains your data, then sue replace statement.

Replace all occurences of c_tab in v_txt with space.

Does the value 'Dknfona H4 N/N d/W' coming from any external source while updating in database ?

Regards,

Swarna Munukoti.

Former Member
0 Kudos

Hi Swarna ,

thanks a lot for reply,

the data is comming from a FM "BBP_PD_PO_GETDETAIL" and the issue is only for this text not for all text

Regards

-


Channappa Sajjanar

former_member205763
Active Contributor
0 Kudos

Where is this text maintained in a PO?