cancel
Showing results for 
Search instead for 
Did you mean: 

Copying BSP causes syntax error!

Former Member
0 Kudos

Watch out when copying a BSP (SAP_BSP to ZSAP_BSP for example). What I found is that the text in Views gets shifted to the right, in some places 2 characters, in others 6 characters. If the original View has an ABAP comment line, you now have a syntax error.

Looks like a bug in SAP. I raised an OSS message about this.

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Are you running patch level 40 of the SAPGui 620?  I have seen the same problem, but in our 46C R/3 system with regular ABAP programs as well. My problem started right after I put on Patch Level 40. I assumed that was the culprit and warned the other developers to stay away from this patch level. So far I am the only one within our development group that is seeing this.

Former Member
0 Kudos

The message (0120050409 0000732946 2003) is still "In processing by SAP," but they do agree it is a problem. The last person to look at it was Thomas Decker. We are on Basis 6.20, with SAPKB62029, ABAP 6.20 with SAPKA62029, and CRM 4.0 with SAPKU40003. Our SAPGUI version is 6204.4.33.8924.

Former Member
0 Kudos

Final resolution: here is the response from SAP. I think there will be a Note (694718) but it hasn't been released yet.

Dear Mr Wright,                                                         

the reason for this behaviour is a little bit difficult to describe.    

If a BSP page or view is displayed in a different than the original     

language, the page layout is generated from the internal format for     

translation reasons.                                                    

Then the pretty printing of the page is called, and unfortunately there

was a bug in this pretty printing algorithm.                            

So the original view of CRM_BSP_FRAME had no error, cause in the        

original language (GERMAN) the source is correct. You may verify this   

when you log in with language "DE".                                     

Then you copied the English version of the application, and             

unfortunately the error is relevant in the copied views.                

We will repair the pretty printing algorithm with the next support      

package, and hope that this will be early enough for you.               

Meanwhile you have 2 possibilities: Either you can manually change the  

incorrect lines, or you can copy the application in the original        

language.                                                               

Sorry for the inconvenience.                                            

Regards, Regina Breuer, SAP AG                                          

Former Member
0 Kudos

I do enjoy pretty print and use it all the time. So the * that other people wrote (or I wrote) do get shifted. So I've told myself to always use " in htm and then I can pretty print as often as I like.

Best regards David Lawn

former_member181879
Active Contributor
0 Kudos

Paul,

Yes OSS is the way to go. Maybe update this thread after resolve?

I could not find your problem yet. Maybe already processed.

I did try a test in our 640 development system, and found no problem. Suspect problem related to pretty print (although I do not understand why it is executed) and/or a special language feature build into preview of BSP pages. Also we did fix a small pretty printer bug within last about 3 months.

When you open OSS problem, also include page source before after copy, and SP level. Then we can try it with this specific source as well. My test example worked now.

thanks, brian