cancel
Showing results for 
Search instead for 
Did you mean: 

Issue related to changing values during SAP Script Layout debugging

Former Member
0 Kudos

Hi All,

I have issue regarding changing of values of <b>variables/Fields</b> in SAP Script Layout[SE71] Debugging.

I want to change the values of <b>variables/Fields</b> in SE71 during debugging just like in SE38.

We should not change in SE38 & see in SE71.

Requirement is <b>variables/Fields</b> values should be changed in SE71 not in SE38.

I have posted same before but answer from that is change <b>variables/Fields</b> values through SE38.

I think there should be a way by which we can change values of <b>variables/Fields</b> in SE71 as we are able to view <b>variables/Fields</b> from SE71.

Thanks in advance.

Thanks & Regards,

Rayeez.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member188685
Active Contributor
0 Kudos

Hi Shaik,

there is indirect way from SE71 you can change....

i've give the same once...just check...

if you want to change the values in script layout then what you need to do is...

1.Activate Script Debugger

2.Once Debugging Starts Go to <b>EDIT</b> menu You Have <b>BreakPoint</b> Option, select the row where you need to change the value set the Break point.

Now Press F8,it will stop at line where you kept break point.

3.Now go to <b>EDIT</b> again Now click on ABAP debugging.

after that it will call the Below FM

call function 'GET_TEXTSYMBOL'                       
       exporting  line            = <sc_line>          
                  start_offset    = 0                  
                  language        = tx_catalog-tdspras 
       importing  value           = ft_string          
                  value_length    = ft_string_len      
                  <b>value_raw       = value_raw</b>          
                  sum             = sum                
   <b>               name            = name</b>               
                  continue_offset = pos.               
                                                

<b>Value_RAW</b> will HOLD the value of the variable

<b>Name</b> is the variable name.

Hope it is clear

Regards

vijay

Former Member
0 Kudos

Hi,

I think that case is ok.

But still we will be making changes in SE38 only, while calling <b>'GET_TEXTSYMBOL'</b> F.M

But When we goto Layout set in debugging & we will get editor below code with empty text boxes there if we give

Variables/Field names we will get values for them in front. those values will be in disabled mode there can't we make those disabled ones to enabled so that we can change values there itself.

By doing some sort setting to SE71 can't we make those disables boxes enabled!

If any body knows solution please post.

once again vijay thanks for those replies.

Thnaks & Regards,

Rayeez.

Former Member
0 Kudos

Check if U declared the variable as Constants.

Values for constants cannot be changed.

Former Member
0 Kudos

No boss even internal table field values will also come as disabled in Layout set [SE71] in debug mode.

former_member188685
Active Contributor
0 Kudos

Hi Shaik,

Up to my Knowledge it can't be done. only abap debugging can help you to change them, what ever i mentioned will work, but that will take you to the ABAP editior which is called from Script editor, this way it can be done, but not sure of your idea..

Regards

vijay

Former Member
0 Kudos

In transaction SE71,

Enter the form name

And then Utilities->Activate Debugger.

Now when you run the report program the SAPScript debugger starts when it encounter OPEN_FORM.

Here in the debugger you can change values as in SE38 debugging