Mass Change of ABAP Programs

Hello.  I need a way to insert an include module into every "Z" report we have.  Does anyone know of a way to do this?
Thanks,
Jim

Anand pointed out the way to make the mass change and he is correct in pointing out that you need to be extremely cautious. Here are certain things you need to keep in mind before you embark on that effort.
1. Keep selection criteria in such a way that you include only your Z objects not SAP delivered ones. One way to achieve that would be by specifying the <b>development classes</b> you are interested in. Another criteria could be program type(only executables if you are interested in only report programs).
2. Make sure that you don't actually update the report until you find out the list that you got is absolutely accurate.
3. <b> Above all, I am not sure how you are going to take care of versioning and transporting these changes.</b> If you change the program through normal SE38, SAP keeps track of the versions and also requires you to create a transport request(for transportable development classes of course), to be able to transport the changes to test and production environments. But if you do this mass change, how are you planning on keeping this intact? This will be particularly an issue, if you have tighter audit controls and change management controls.
Srinivas

Similar Messages

  • OS specific changes in ABAP program

    Hi guys,
    I know due to OS migration ABAP program changes are not mostly required.
    possibly Except few things.
    1-External commands check
    2-File path or logical path settings check.
    3-Native sql check.
    Apart from this is there any possible that OS specific settings would be used in ABAP programs. I want to find out those things in advance.
    Could somebody shed light on this..
    In my case Os is unix to solaris 11. so just want to know if any specific things has to be checked or taken care after OS migration.
    Advice please.
    Thanks.
    Baasha.

    Hi,
    Did exactly the same, everything was fine. Your check scope is perfectly fine.
    Just to add, that external progs. could be used in jobs as well, and can be called directly from ABAP.

  • Changes in ABAP programming 4.7 - mySAP ERP 2004

    Hello,
    are there any changes or obsolete ABAP commands concerning the upgrade from 4.7 to mySAP ERP 2004?
    Are there any documentations on this topic?
    Thank you in advance.
    Best regards,
    M. Weiskat

    Hi,
    Refer to the link..
    These link talk on these issues..
    http://sap.ittoolbox.com/groups/strategy-planning/sap-projectmanagement/r3-47-vs-mysapsap-enterprise-883745#
    http://www.absoft.co.uk/absoft/web/site/AbsoftSAPServices/Upgrade.asp
    Also refer to this PDF topic
    Upgrade Dilemma – SAP R/3 Enterprise
    or mySAP ERP?
    at this link...
    http://www.infosys.com/sap/Whitepaper_Upgrade_Dilemma_SAP_R3_Enterprise_or_mySAP_ERP.pdf
    Regards,
    Tanveer.
    Please mark helpful answers

  • F110 - Mass change house bank for one time vendor

    Hello,
    Is it possible to make mass changes for payment program for one-time vendors? I would like to change bank account from where do I want to pay something to one-time vendor. As far as I know, it isn't possible to change it that way, it is possible only one per one.
    Does anyone have Idea how to resolve this issue?
    Thank you in advance!

    I can do it but one per one in payment proposal. I can't do it mass. The issue is that I have huge number of one time vendor payments per day and some of them should be paid in one house bank and some of them in some other house bank.
    I tried to change it with FBL1N but I couldn't do it.

  • Call ABAP program from Unix script passing dynamic filename

    Hi,
    Does anyone know if it is possible to call an ABAP program from a Unix script passing a dynamic filename to the ABAP program?
    We are receiving a file from an external company and on receipt of the file want to call an ABAP program passing the filename.  The filename is made up of File ID, Date and Time which we need to read in the ABAP program.  We usually use Events to trigger a program which is fine when the filename if static however since this filename will be dynamic we cannot do this.  In addition we cannot just rename the file to a static name in the Unix script as we need to know the value of the date and time from the file ID in the ABAP program.  I can change the ABAP program to check our /in directory for a Filename that starts with the fixed File ID however I thought there must be a better way of doing this.  We want the external company to put this information in a file header record but they don't want to change the file contents.  Any ideas would be appreciated.
    Thanks,
    Sinead.

    You could follow the following method
    1.Let the external file reside in the SAP application layer in a defined path e.g. /usr/sap/tmp/interface/working/
    2.Write an ABAP program which will include the following steps:-
       i) read all files in the file path using function module EPS_GET_DIRECTORY_LISTING
      ii) Read the data from files existing in the directory using OPEN_DATASET statement
    iii) After the files have been read move the files to another directory e.g. /usr/sap/tmp/interface/backup/ or you can delete the file.
    3.Schedule this program to be executed depending on the frequency of the external file being generated.

  • Opening the last saved abap program

    Hi Experts!,
                         <b>I have made changes to ABAP program , and I need the program which was previously working, could any one tel me how to check the last saved program.
    regards,
    Sunil</b>

    Hi..
    If you have saved it as local object I think you cannot get the older version if there are no versions after u saved it and activated it.
    One thing u can do is do a remote comparison with Test system or just check the code in Test system if you have not moved to T48.
    Thanks,
    chaithanya.

  • Program for mass change in the sales order.

    Hi,
      I have a requirement where If we make changes in  the availability check rule of the material master(for e.g. 02 to 01),then the same rule should be changed in the sales order as well.
      Though this will be changed for the new orders but is there any program which we can run manually or in the background in order to make changes in the old sales orders.
    Regards
    Karan

    Hi,
            U cannot change checking group or checking rule for availabillity check at sales order level, u can change requirements type.
            If u want to change requirements type determined into sales orders, which  r already created go to t.code MASS and select the object type sales orders and press execute, select sales order item data on tables tab,and select requirements type on fields tab and press execute.specify sales documents number from and to and item numbers, and press execute and specify the new value and press carryout mass change button and then save.
    with regards,
    kirankumar vemula

  • ABAP program to add in the process chain before the attribute change run

    Hi
    I need a ABAP program to add in the process chain before the attribute change run(process) to avoid the locks, can any one send me the program
    Regards,
    Satish

    I am not sure of any standard program .... but you can write your own... should be a small one..
    you can check if the table RSDMDENQ has entry for your InfoObject... if yes, then its locked.. if not.. its not locked

  • Change Name of the ABAP program.

    Hi
    I need to change the name of an ABAP program,example from zXyyy to ZYxxx. How can i do it with out actually copying to another report.
    Thanks,
    Ravi.

    Hi ravi,
    go to se80.
    you can see object name. i.e your programe name <b>zXyyy</b>
    click right button on your prog name and say <b>rename</b>.
    give the name what you want and click button rename.
    hope this helps you..
    reward points for helpfull answers and close the thread if your question is sovled.
    regards,
    venu.

  • Change ABAP Program return code

    Dear ABAP Gurus,
    I need to change internal return(message) code inside APAP program (report).
    Program starts  as the first program in a scheduled job with several programs in, and we want to have the following  programs do not start in some cases which are evaluated in the first program. Normally program ends will internal return (message) code 0000. I need to change this return code.
    Thank you very much,
    Svetlana

    Hi Svetlana,
    Can I suggest a solution that is closer to standard?
    You could schedule your job with only the first program due to run.  If it runs sucessfully, it will programatically submit a new job with the next abap program to run, and if not, it write a log (spool, or messages).
    How does that sound?
    If your first program is a standard program and you don't wish to modify it, you could schedule your job with the standard program first, followed by a custom program that could determine the sucess of the first (by checking database entries, or by reading the spool of the first program, etc.) and then it would submit the subsequent jobs (or not).
    Hope that helps.
    Brad

  • ABAP Program Name CHanging the PSA Load status

    Hi,
    Our Scenario is Non-SAP -> PI -> BI.
    Every Day PI reads the file from source and it will directly upload to PSA in BI.But in PSA the status will show as yellow only it is not turning to green.But I am able to see the data in PSA but status is yellow.
    When we activate the Data source manually the load status is turning to green.
    I heared there is an ABAP Program to change the status.If anybody knows pl provide me the details.
    Regards
    Ram.

    Hi Ramakanth,
    Yes, that right. I have mistaken here because our pos dispatcher pumps data source every 15 mins thats why its in yellow status. I am sorry about that.
    Usually there are some reasons why the PSA in yellow.
    1. If the data is being loaded from PSA to data target, it will be in yellow
    2. If the data is loaded into PSA then it will be in yellow
    3. If we make any changes in the PSA for example deleting few records in psa and then added and transferred records doenst match then it will be yellow. In this case we have to manually change the status.
    In your case I am not sure y its not getting into green once is done. We never had any issue. Pos dispatcher runs and uploads the data into PSA and then we upload into targets.
    Thanks
    Srikanth

  • Delete Abap program via change reqeust

    Hi,
        We deleted some ABAP report source code via tcode(SE38) at development system. The system ask insert the delete action to one change request. I have added it to the change request. The ABAP source code have delete at development system. We transported the change request to our QA and PRD system. The deleted ABAP program source code is still exist in QA and PRD system. We want to delete the QA and PRD system ABAP source code. Could you pls advise how to delete it? Thanks.
    Best Regards
    Park Han

    My delete ABAP program process, Pls help check it correct or not. And How to delete the QA and PRD system ABAP program source code? Pls advise.
    1. Access Tcode(SE38)
    2. Input the delete program, Click Delete button.
    3. The system ask generate the change request. I have create the change request.
    4. Release and transport the change request to QA and PRD system.
    5. The development ABAP program has deleted. I can't find it via Tcode(SE38).
    6. We checked the ABAP program at QA and PRD system. It is still exist.
    Best Regards
    Park Han

  • Change the Name of Many ABAP programs.

    Hi,
    I need to change the name of many abap programs, because the company standard programs names has been changed, and will be necessary to change the name of all the programs, but there are many programs.
    I'd like to know if someone know a transaction that will helped me or if will be necessary to develop an own program for it?
    Thanks,
    Marcos MS.

    Hi
    I think you have to rename indvidually using SE38 transaction.
    But be careful to care of the following
    (1) if the program is called with in a program, you need to change there also, before changing check the whereused and change accordingly
    (2) If the program is called in the transaction, you need to change there also
    Regards
    Madhan

  • Mass tcode creation from abap programs

    Experts,
    Is there any way to create  tcodes for 200 abap programs through any function modules or any abap programs..
    Regards,
    Suresh
    Edited by: Suresh Palani on Dec 5, 2009 8:02 AM

    hi
    through recording method (BDC) u will do this thing.
    create recording through SHDB in transaction se93.
    regards,
    Abhilash

  • Abap program to maintain variants in RSRPARAMETRIZA

    Hi,
    SAP provided an ABAP example to maintain 3.5 variants in NW04s
    Report Z_MASS_VARIANT_MAINTENANCE is available in the next u2018how tou2019 document.
    [http://www.sapadvisors.com/resources/HowtoInformationBroadcasting.pdf]
    This is only helpfull if you use 3.5 workbooks.
    7.0 workbook variants are not save in RSRVARIANT anymore. 7.0 variants are saved in table-field RSRPARAMETRIZA-STRING (xml field with selection values).
    I need to develop a program to maintain this variants. Can anybody save me some time and send me similar abap program for 7.0 workbooks ?
    Thanks,
    Pedro

    Hi,
    Bruno is right about class CL_RSR_PARA.
    This is an abap example is used to maintain 'ZRT_M4M_Q0016' Query variants. In this case variant BC_SALST001 is updated.
    If you need to update different report variant you have to change the 'form create_variant'.
    In this variant I'm updating:
    - 0S_MAT: empty
    - 0S_MATGR: 5300-5399
    - ZMM_STA2: Z0;ZZ
    *& Program to mass update BEx Variants within SAP Netwever 2004s
    REPORT Z_MASS_FR_BROADCAST_0003 .
    constants: C_PARAMNM type RSPARAMNM value 'BC_SALST001'.
    ---> TYPE DEFININTIONS --->
    NOTE: Ripped from class CL_RSR_PARA
    TYPES: BEGIN OF t_sx_int_var_value,
             vnam   TYPE rszvnam,
             data_prov TYPE string,
             range   TYPE STANDARD TABLE OF rrrange  WITH DEFAULT KEY
                                                     INITIAL SIZE 1,
       END OF  t_sx_int_var_value.
    TYPES: t_tx_int_var_value TYPE STANDARD TABLE OF t_sx_int_var_value
                                   WITH DEFAULT KEY
                                   INITIAL SIZE 1.
    <- TYPE DEFININTIONS <-
    DATA: l_s_rsrparametriza type rsrparametriza.
    DATA: l_s_range type rrrange.
    DATA: l_s_sx_int_var_value type t_sx_int_var_value.
    DATA: r_tsx_values type t_tx_int_var_value.
    perform create_variant.
    l_s_rsrparametriza-paramnm = c_paramnm.
    l_s_rsrparametriza-objvers = 'A'.
    l_s_rsrparametriza-parentcomponent = '1'.
    l_s_rsrparametriza-workbookid = ''.
    l_s_rsrparametriza-eltuid = 'ZRT_M4M_Q0016'.
    l_s_rsrparametriza-plnfuncnm = ''.
    l_s_rsrparametriza-template = ''.
    l_s_rsrparametriza-planningseqeunce = ''.
    l_s_rsrparametriza-version = ''.
    l_s_rsrparametriza-personal = ''.
    l_s_rsrparametriza-owner = sy-uname.
    CALL TRANSFORMATION
      id
      SOURCE page = r_tsx_values
      RESULT XML l_s_rsrparametriza-content.
    get time stamp field l_s_rsrparametriza-timestmp.
    l_s_rsrparametriza-conttimestmp = ''. " fix
    *For security reasons I just change existing variants field.
    update rsrparametriza
       set content = l_s_rsrparametriza-content
    where PARAMNM eq c_paramnm
       and OBJVERS eq 'A'.
    If sy-subrc eq '0'.
      Write: 'Update sucessfull'.
    else.
      Write: 'No update: Probably variant does not exist'.
    endif.
    form create_variant.
    *0S_MAT
      clear l_s_sx_int_var_value.
      l_s_sx_int_var_value-vnam = '0S_MAT'.
      l_s_sx_int_var_value-data_prov = 'DP_4'.
      " no selections
      append l_s_sx_int_var_value to r_tsx_values.
    *0S_MATGR
      clear l_s_sx_int_var_value.
      l_s_sx_int_var_value-vnam = '0S_MATGR'.
      l_s_sx_int_var_value-data_prov = 'DP_4'.
      clear l_s_range.
      l_s_range-sign = 'E'.
      l_s_range-opt = 'BT'.
      l_s_range-low = '5300'.
      l_s_range-high = '5399'.
      append l_s_range to l_s_sx_int_var_value-range.
      append l_s_sx_int_var_value to r_tsx_values.
    *ZMM_STA2
      clear l_s_sx_int_var_value.
      l_s_sx_int_var_value-vnam = 'ZMM_STA2'.
      l_s_sx_int_var_value-data_prov = 'DP_4'.
      clear l_s_range.
      l_s_range-sign = 'I'.
      l_s_range-opt = 'EQ'.
      l_s_range-low = 'ZO'.
      l_s_range-high = ''.
      append l_s_range to l_s_sx_int_var_value-range.
      l_s_range-low = 'ZZ'.
      append l_s_range to l_s_sx_int_var_value-range.
      append l_s_sx_int_var_value to r_tsx_values.
    That's all
    Pedro

Maybe you are looking for

  • Purge a queue with JAVA API

    Hi, Is it possible to purge a queue with the JAVA API ? I have not found anything ... I am also trying to browse archived messages (state 2), the "browseQueue" method does only browse the ready messages (state 0). Is it possible to browse archived me

  • Import Data over network link in oracle 11g

    We want to take export of the OND schema in production database and import it to the OND schema in UAT database over a network link by using data pump,in Oracle 11g.Kindly share the steps.

  • Release of Locks for SEM Planning Layouts in EP

    Hi, We are using SEM Web Layouts and they are being displayed through the SAP Enterprise Portal. To avoid messages when navigating between layouts, we have set the Independant Application Flag to False in the Web Layout Customising, however this is c

  • Profit Center Substitution in Sales order

    Hello All, I have a Small Issue here. we have a substitution rule for the PCA Derivation in the SO with the combinations of few Sales Org, Distribution Channels and Divisions. But when a WBS Element is Assigned in the Sales order it is over writting

  • What is the use of Single Sign On?

    What is the use of Single Sign On? How is it different from simple session handling. I am new to Portal Technology. I am not gettting the concept of Single Sign On. Please can anyone brief about it. Thanks