Application Development and Automation 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: 
Read only

inserting statements in reports throgh program

Former Member
0 Likes
426

Hello All,

I have a set of unused programs ( nearly 200 ). I need to deactivate all those programs by inserting EXIT as below shown in bold.

I want to write a program where i can give all the program names in the selection screen and i have to enter into those program in write mode and insert the statement EXIT.

COULD YOU PLEASE GIVE ME SOME SUGGESSIONS TO DO THIS.


REPORT  y11v2_13_prodsel MESSAGE-ID y11bf_13_addons.

*EXIT.*                                                       

INCLUDE y11v2_13_prodsel_d01.           "data and table declaration

INCLUDE y11v2_13_prodsel_s01.           "selection screen, initialisatio

INCLUDE y11v2_13_prodsel_f01.           "form routines

*&---------------------------------------------------------------------*
*&   Event START-OF-SELECTION
*&---------------------------------------------------------------------*
START-OF-SELECTION.

*  PERFORM check_eingabe.

  PERFORM kondtabellen_lesen.

  PERFORM aenderungen_lesen.

  PERFORM belege_ermitteln.

  PERFORM substitution_pruefen.

  PERFORM auftraege_aendern.

  PERFORM ausgabe_nachrichten.

GOOOD ANSWERS WILL BE APPRECIATED THROUGH POINTS.

Thanks in advance.

Best Regards,

Sasidhar Reddy Matli.

Hello All,

I have a set of unused programs ( nearly 200 ). I need to deactivate all those programs by inserting EXIT as below shown in bold.

I want to write a program where i can give all the program names in the selection screen and i have to enter into those program in write mode and insert the statement EXIT.

COULD YOU PLEASE GIVE ME SOME SUGGESSIONS TO DO THIS.


REPORT  y11v2_13_prodsel MESSAGE-ID y11bf_13_addons.

*EXIT.*                                                       

INCLUDE y11v2_13_prodsel_d01.           "data and table declaration

INCLUDE y11v2_13_prodsel_s01.           "selection screen, initialisatio

INCLUDE y11v2_13_prodsel_f01.           "form routines

*&---------------------------------------------------------------------*
*&   Event START-OF-SELECTION
*&---------------------------------------------------------------------*
START-OF-SELECTION.

*  PERFORM check_eingabe.

  PERFORM kondtabellen_lesen.

  PERFORM aenderungen_lesen.

  PERFORM belege_ermitteln.

  PERFORM substitution_pruefen.

  PERFORM auftraege_aendern.

  PERFORM ausgabe_nachrichten.

GOOOD ANSWERS WILL BE APPRECIATED THROUGH POINTS.

Thanks in advance.

Best Regards,

Sasidhar Reddy Matli.

2 REPLIES 2
Read only

Former Member
0 Likes
405

Hi,

I have a similar requirement in my past experience, that i have to create 400 tcodes for abap queries. User has provided one input file with the sufficient data. So what i did is, i recorded the whole process for one query and wrote one small BDC -CALL TRANSACTION program and update all.

You can also try in the same way first try to do recording for one program and implement one temparory BDC program.

Rgds,

Bujji

Read only

Former Member
0 Likes
405

Got an idea to implement. Thank you.