Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Questions....

Former Member
0 Kudos

Hi Techies,

My doubt.

how can we deactivate an exit which is send to production system?

what is the difference between on change of and At end of events.

And in interactive report can we come directly from 10th level to 2nd level if so what is the logic?

regards,

sanjay

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

in interactive reports u can come from 10th level to 2 nd level

by setting sy-lsind = 2.

on change event occurs whenever the value of the field changes to a new value

at end event occurs after processing all the records for that field.

Message was edited by:

Premalatha G

6 REPLIES 6

Former Member
0 Kudos

Hi,

Once the code is gone to PRD you can't deactivate it.

Again in DEV server you have to deactivate/Comment that code, generate the request and transport to PRD.

On change of and AT new are same. On changeof is obsolete now. You can use AT NEW

At end of is used to do SUMS and totals of Qty's and Prices based on certain previous fields in the internal table

With the help of SY-LSIND field you can move from list to list.

Like

If Sy-lsind = 10.

sy-lsind = 2.

endif.

Reward if useful.

Regards,

Anji

Former Member
0 Kudos

hi

in interactive reports u can come from 10th level to 2 nd level

by setting sy-lsind = 2.

on change event occurs whenever the value of the field changes to a new value

at end event occurs after processing all the records for that field.

Message was edited by:

Premalatha G

Former Member
0 Kudos

once it is sent to production system, it cant be changed, u need to make changes for that object which is there in development system, and then need to transport it to porduction.

ON CHANGE OF can be used within blocks like SELECT ENDSELECT, DO ENDDO, LOOP ENDLOOP, but AT END OF can be used only in LOOP ENDLOOP.

u can have menu options to go to the list whatever u wnat and can navigate using them, U can achive technically by assiging SY-LSIND to the list whihcever u wnat.

regards,

Sujatha.

Former Member
0 Kudos

1.In production server you should have authorization to deactivate it.Otherwise deactivate it in development server and transport it to production server.

select the exit from tcode SMOD and

Project -> Deactivate project

2. A control break occurs when the value of the field <f> or a superior field in the current record has a different value from the previous record (AT NEW OR ON CHANGE OF) and AT END will fire at the end of sunsequent record.

Pls. reward if useful

3.

JayR
Participant
0 Kudos

1. Deactivating an Exit.

Goto SMOD. Enter your enhancement name . press F8.

It will take you to the next screen. Select

Press UNDO ACTIVATION button in the application toolbar or press CTRL + F4

2. On Change of can be used outside of the loop. At End of Can only be used within the loop

3. REPORT ZIRT no standard page heading.

data : v_val(2),

v_fld(3).

data : c_0 value '0',

c_1 value '1',

c_2 value '2',

c_3 value '3',

c_4 value '4',

c_5 value '5',

c_6 value '6',

c_7 value '7',

c_8 value '8',

c_9 value '9',

c_10(2) value '10',

c_11(2) value '11',

c_12(2) value '12',

c_13(2) value '13',

c_14(2) value '14',

c_15(2) value '15'.

write : c_0, c_1, c_2, c_3, c_4, c_5, c_6, c_7, c_8, c_9, c_10, c_11, c_12, c_13, c_14, c_15.

at line-selection.

get cursor field v_fld value v_val.

write : c_0, c_1, c_2, c_3, c_4, c_5, c_6, c_7, c_8, c_9, c_10, c_11, c_12, c_13, c_14, c_15.

sy-lsind = v_val.

write : 'Current List :', sy-lsind.

Former Member
0 Kudos

thank u all.

regards,

sanjay