cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with ## in back-end system when using pre-defined iViews

Former Member
0 Kudos

We are experiencing ##-signs in textfields in our R/3-system when viewing information created using iViews from BP for Assets. The input box in the iView is very small, and our guess is that the ##-signs probably represent breaklines. Does anyone have a remedy to our problem?

Many thanks for your help

/Fredrik Skild

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

1) I have some reports on Infoobjects these abojects are having Orowcount option now i want the same option for Cube also

So how can I enblle this option for Cube.

2) In my aggregates The value added ciolumn showing -


1++++ So what is the meaning for this?

Thanks in Advance

Gopi Allu

Former Member
0 Kudos

Hi Fredrik,

We had a similar problem recently (yes it is linebreaks) but it occured in custom code. So we used the following ABAP to remove the linebreaks.


  constants: l_crlf(2) type c value cl_abap_char_utilities=>cr_lf.

  replace all occurrences of l_crlf in area_reason with ' '.

If this is happening with standard SAP delivered content I would raise an Customer Message (via OSS) with them.

Best regards,

Paul

Former Member
0 Kudos

Thank you Paul for an interesting comment on and a working solution to my problem. I'm quite new to the SAP development arena, hence my follow-up question:

Where do I use the proposed ABAP-code? Should I extend the BAPI used by the iView in question to remove the unwanted characters? Also, I don't know if I got you wrong but did you use your code just once or is it used repeatedly as a part of a program? In my case, end users will post several notifications on a daily basis, and thus this functionality must be present at all times.

Best regards,

Fredrik

Former Member
0 Kudos

Hi Fredrik,

I used this code directly in the FM code used by the iView so everytime the it was called it stripped the ## out.

However the code we used it on was a custom development so it was very simple for us to change the code. It seems you are using standard iViews with standard BAPI's and I would have thought that this 'feature' should have been handled without you having to do anthing special, hence my suggestion to get in contact with sap and report this to them as a fault.

But, in response to your question, it would be possible to extend the BAPI to remove the characters, but it's not something you should have to do and therefore not something I'd recommend.

What BAPI/iView is causing this problem?

Regards,

Paul

Former Member
0 Kudos

Hi again,

thank you for your answer. The iView causing the problem is "Create Notification" found in BP for Assets for EP 5.0. We are using EP 6.0, hence we have migrated all contents but I don't think this would cause the problem, do you? From my horizon, QNMA_WRAPPER_NOTIF_CREATE is the invoked FM by the iView, but with my limited experience I wouldn't bet too much on it

I will post a customer message on SAP Service Marketplace addressing the problem.

Again, many thanks for you valuable help Paul.

Regards,

Fredrik

Former Member
0 Kudos

if the length of the textfield is less than the values it is supposed to hold, we will face this problem.

The information provided by you is verylow. post the code.

Message was edited by: Kirupanand venkatapathi

Former Member
0 Kudos

Thank you for engaging in my discussion. However, the problem is not that there is a limited amount of space in the field in the R/3-system, nor do we intentionally create breaklines using the return key when entering information in the input field of the iView. In my opinion, the problem seems to originate from the transfer of the text string between the portal and the back-end system.

Any thoughts or comments?

Regards,

Fredrik Skild