Quantcast
Channel: SCN : Popular Discussions - ABAP in Eclipse
Viewing all articles
Browse latest Browse all 1215

Web Dynpro code generation fails

$
0
0

Hi,

 

I try to use ABAP in Eclipse with Web Dynpro. If I change an existing view and try to activate it, I get the following runtime error:

 

Category          ABAP Programming Error
Runtime Errors    INSERT_REPORT_LINE_TOO_LONG
Except.           CX_SY_WRITE_SRC_LINE_TOO_LONG
ABAP Program      SAPLWDY_WB_ACTIVATION_SERVICES

Application Component  BC-DWB-WD-ABA

 

Short Text: ABAP source code lines with length > 255 characters are not allowed.

 

I debugged the include LWDY_WB_ACTIVATION_SERVICESF01 and found out, that there is a problem with the attribute "length" of layout elements (in my case INPUT_FIELD). If I change the corresponding lines in the internal table, the include does not dump.

 

In line 272 of include LWDY_WB_ACTIVATION_SERVICESF01:

insert report l_incl_body from p_source_body program type 'I'.

 

If "length" has no value, the line in the internal table p_source_body looks like this:

   length = `

Hitting delete to delete the any wrong characters (maybe non-displayable?) and adding the missing ` works.

If "length" has a value, the line shows:

   length = `120`

which seems correct but also dumps. Switching to edit mode, moving to end of line and hitting "Delete" also works here.

 

Additional information:

The View is in a customer namespace, e.g. /ABC/

System is NW 7.40 SP05

 

I hope this is the correct location to report an error.

 

Kind regards,

Florian


Viewing all articles
Browse latest Browse all 1215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>