Mass compile customer programs

Dear Expert,
Is there a standard SAP TCode to compile all customer programs (Z* & Y*) only ?
Is it true that TCode SGEN can only compile all SAP Standards?
If I could use this TCode to compile Z* & Y* only, please show the steps..
Or should I create new abap program? please show me the sample..
Many thanks and regards,
RudiS

hi
good
i dont think there is any standard tcode which ll help you to execute all the Zand Y programs.
SGEN->
SGEN is ued to "compile" ABAP programs. Results are put in database. 
So, if you restart SAP, compiled results will still be in the database, so, no need to run SGEN again. 
Make use of the transaction 'SGEN' to re-generate all the SAP programs after you change version of your SAP kernel, upgrade SAP system or apply support packages.
Do take care of the table spaces and use SAPDBA to observe them.
Do it during a weekend which is the best or a period of time with very very low users activity. 
It will takes about 5 to 8 hours depending on the type of hardware configuration you are using.
thanks
mrutyun^

Similar Messages

  • Automatically "Code Check" and "Compile/Generate" program or function

    Hello Experts;
    We will do upgrade to ECC 6.0 at near time.
    Our basis team will give us sendbox systems.
    And then We will enter the all z or y programs and check "Unicode Checks active".
    I want to do automatically "Code Check" and "Compile/Generate" with program.
    But I don't know "which use function or program"
    Please help me this point.
    Thanks.
    Best regards.

    HIi,
    Try Tcode : SGEN
    or
    try this link
    mass compile customer programs
    Regards
    Rajashiva.R

  • Custom mass password generate  program

    Hi,
    I'm requried to develop a mass password  generate program to be sent to the user via mail, i'm using RSEC_GENERATE_PASSWORD function module to to generate the random password, but how do  i update the user password that puzzles me, is there any process/ class/method/ FM/ BADI etc that will update/ create a user, has anyone done this before, appreciate any adivse/ pointers

    Hi Lawrence,
    You can do this in 2 ways viz:-
    1. Use BAPI_USER_CREATE1 to create new users in system and assign initial password to the users just created by BAPI_USER_CHANGE. After this you can use function module SUSR_USER_BUFFER_AFTER_CHANGE to refresh the buffer.
    2. Do a BDC of SU01 transaction with proper check of authority object.
    I would recommend option 1. Please check and let me know if you face any problems.
    Reward points if this helps.
    BR,
    Atanu
    Moderator Message: Asking for points violates the Forum Rules Of Engagement
    Edited by: Suhas Saha on Jul 26, 2011 10:48 PM

  • Mass Compile "Bad VI" & "Bad SubVI" errors, but with no apparent errors.

    I am using LabView 8.5, FIRST Robotics Competition Edition, targeting the Compact RIO.
    I am getting Mass Compile "Bad VI" & "Bad SubVi" Errors, in my own code, but with no apparent errors in the vi's themselves.
     #### Starting Mass Compile: Mon, Jan 19, 2009 11:59:34 PM
      Directory: "C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Robot.lvproj"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad subVI: "Teleop.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Teleop.vi"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"aa
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad subVI: "Teleop.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Teleop.vi"
      ### Bad subVI: "Robot Main.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Robot Main.vi"
    #### Finished Mass Compile: Mon, Jan 19, 2009 11:59:46 PM
    Since some of these reference each other, this is the block diagram of one that doesn't reference any other erroring vi's.
    What can I do to fix this?
    Attachments:
    BlockDiagram.png ‏29 KB

    Interesting... It must have timed out before the temporary image did, and so I did not noticed a problem until I returned.
    Regardlessly, I have found the error.
    Errors did exist in my VI's, In particular, one of the subVi's I called in the VI shown happened to be private only, and so couldn't be used -- now I've just made a public version for my personal use. But LabView would not show me the actual errors unless I force-ran the the program, I really don't know why I had to do this, but when I did, it showed me a nice little dialog with my errors in it.
    I am confused, as when I did normal runs, it would simply complain that the VI's were invalid and would not permit the run.
    Very odd. 

  • Is there a transaction to compile all programs after upgrade?

    Hi all,
    Does anyone know of a transaction to compile all programs after an upgrade? One thing our users hate is that little clock in the lower left corner that says 'Compiling...' and after an upgrade this happens for every single program and transaction they start... is there a way to avoid this?
    thanks in advance,
    Ioana

    Hi Ioana,
    if you would to generate custom code as well I can offer you this report.
    The output list shows only objects with generation errors.
    This might interesting in case of a release change because ABAP is getting always more strict ...
    <pre>
    Report  YYQB0095
    Author: F. Meyer
    Generate program code
    REPORT  YYQB0095
                line-size 255
                NO STANDARD PAGE HEADING.
    TABLES: TADIR, TRDIR.
    DATA: BEGIN OF T_TRDIR OCCURS 0.
            INCLUDE STRUCTURE TRDIR.
    DATA: END OF T_TRDIR.
    DATA: LINE_COUNT TYPE I,
          ERROR_COUNT TYPE I.
    DATA: SYN_INCLUDE LIKE SY-REPID,
          SYN_LINE    LIKE SY-TABIX,
          SYN_WORD(10),
          SYN_OFFS    LIKE SY-TABIX,
          SYN_MESS(240),
          SYN_SUBRC   LIKE SY-SUBRC.
    data: g_field(16).
    data: ctr0 type i, ctr1 type i.
    SELECT-OPTIONS: S_NAME FOR TRDIR-NAME obligatory,
                    S_SUBC FOR TRDIR-SUBC,
                    S_APPL FOR TRDIR-APPL,
                    S_CNAM FOR TRDIR-CNAM.
    START-OF-SELECTION.
      SELECT * FROM  TRDIR INTO TABLE T_TRDIR
             WHERE  NAME        IN S_NAME
             AND    SUBC        IN S_SUBC
             AND    APPL        IN S_APPL
             AND    CNAM        IN S_CNAM.
      LOOP AT T_TRDIR.
        PERFORM GENERATE_REPORT.
      ENDLOOP.
      write: / '**** End-of-Generate ****', ctr0, ctr1, at sy-linsz space.
    FORM GENERATE_REPORT                                          *
    FORM GENERATE_REPORT.
      IF T_TRDIR-SUBC = 'I' OR             "Include-Programm
        T_TRDIR-SUBC = 'P'.                "Prolog-Programm
        EXIT.
      ENDIF.
      add 1 to ctr0.
      GENERATE REPORT T_TRDIR-NAME
                      MESSAGE SYN_MESS
                      LINE    SYN_LINE
                      WORD    SYN_WORD
                      INCLUDE SYN_INCLUDE.
      IF SY-SUBRC = 0.                     "Generation OK.
    do nothing
      ELSEIF SY-SUBRC = 04 OR              "Cancel because of syntax error
             SY-SUBRC = 08
             or sy-subrc = 12
             or sy-subrc = 16.
             add 1 to ctr1.
        SELECT SINGLE * FROM  TADIR
               WHERE  PGMID       = 'R3TR'
               AND    OBJECT      = 'PROG'
               AND    OBJ_NAME    = T_TRDIR-NAME.
        WRITE: /(9) T_TRDIR-NAME, SPACE,
                    T_TRDIR-SUBC, SPACE,
                    T_TRDIR-APPL, SPACE,
                (5) TADIR-DEVCLASS, SPACE,
               (10) T_TRDIR-CNAM,
                    T_TRDIR-CDAT, SPACE,
               (10) T_TRDIR-UNAM,
                    T_TRDIR-UDAT,
                    space.
        WRITE: (9) SYN_INCLUDE, (140) SYN_MESS.
        hide t_trdir-name.
       SKIP 1.
      ENDIF.
    ENDFORM.
    TOP OF PAGE
    TOP-OF-PAGE.
    CALL FUNCTION 'Y_ZQX_LIST_HEADER'.
                    <b>write you own header line here ..</b>
    AT LINE SELECTION
    at line-selection.
      get cursor field g_field.
      if g_field = 'T_TRDIR-NAME'.
        SET PARAMETER ID 'RID' FIELD T_TRDIR-NAME.
        CALL TRANSACTION 'SE38'.
      endif.
    </pre>
    Regards
    Ferdi

  • MAC V2.2 conversion to V3.1 mass compile cant find certain VIs

    I have some MAC LabView 2.2 files that I need to convert to Labview 2012.  I have started using the conversion tool to go to Version 3.1.
    During the mass compiler process it tells me that it cannot find a lot of VIs such as “Open Folder”, “Open Files”, etc. 
    I am having the same problem as the person in this thread:
    http://forums.ni.com/t5/LabVIEW/I-try-to-convert-LAbview-2-2-VI-to-Labview-3-1-for-MAc-using-the/td-...
    I tried what Dennis’ suggested by saving files such as “Open File+.VI” from Version 3.1 as just “Open File.VI” but when I select the newly saved file it doesn’t take; it just re-prompts me for the VI again.
    So can someone explain further what I need to do to find these VIs? Or get the ones from Version 3.1 to work?
    Thanks
    T

    T,
    The problem you run into in converting VIs that old is that some of the functions and VIs used in the older version simply do not have any direct equivalents in the newer versions.  You have to go in and reprogram things to get the same functionality with the new VIs.
    Do you have an old Mac on which to run the LV 2.2 version? If so, I would spend enough time with that version to document what the program does and then write a new program in LV 2012 with the same capabilities (plus all the new things someone will have decided to add).  Make backups and print out all the diagrams.  Just in case.
    I am currently in the process of rewriting a program which is currently in LV5, LV6, and LV8.6 to LV 2012. This program started out in LV1.2 and was rewritten in 2.2.1 or 3 and then converted to 5 and upgraded a few times.  Event though I was the programmer in all the versions, very little of the current version except for some user interface items will be carried forward to the new version.
    Lynn

  • Compiling CUSTOM.pll

    Hi Everybody,
    I need some integrated solutions between ORACLE imaging solutions server and EBS server.So that it is advisory to pick AXF_CUSTOM.pld file (present in Imaging solutions server) to EBS server,convert it to an AXF_CUSTOM.pll file, make modifications, and then compile it to an AXF_CUSTOM.plx file.
    But I have some doubt here.
    My Imaging solution server:Windows Machine.
    My EBS server(12.1.1):Linux machine
    And i m transferring AXF_CUSTOM.pld file from windows machine to Linux machine.So should there some dos2unix command be needed before converting it???
    With Regards
    Jyoti

    Hi Hussein,
    First I have run the below scripts successfully :
    @AXF_CREATE_TABLES_SYNONYM.sql
    @AXF_EBS_PROPERTIES_DATA.sql
    @AXF_APPS_INIT.sql
    @AXF_ADD_EBS_ATTACHMENT_PROC_R12.sql
    @AXF_ADD_EBS_ATTACHMENT_PROC_R11.sql
    @AXF_MANAGED_ATTACH_AVAIL.sql
    @AXF_MANAGED_ATTACH_VALUES.sql
    @AXF_MANAGED_ATTACHMENT_DATA.sql
    @AXF_SOAP_CALL_PROC.sql
    Then complination procees done as follows:
    copy the AXF_CUSTOM.pld file to the
    E-Business Server (to FORMS_PATH for Oracle E-Business Suite 12 from
    Oracle E-Business Suite 12: MW_HOME/ECM_HOME/axf/adapters/ebs/R12/AXF_CUSTOM.pld
    If you are using a Linux/UNIX system and copied the .PLD
    from a Windows system, issue the dos2unix command before
    converting it below.(Not done)
    And at first I m not able to compile AXF_CUSTOM.PLL successfully.
    Below are the steps I followed:-
    _1. Copied AXF_CUSTOM.pld to FORMS_PATH._
    _2. Open AXF_CUSTOM.pld file in forms builder connecting with APPS Database User._
    _3. Converted AXF_CUSTOM.pld to AXF_CUSTOM.pll.while converting I got the error_
    PDE-PLI038 - Cannot open file as a PL/SQL Library as expected.
    _4. Compiled AXF_CUSTOM.pll to AXF_CUSTOM.plx while compiling I got many errors_
    e.g. 'APPSPECIAL.ENABLE' must be declared. Since the library files were missing_
    so I attached the library files and the files compiled successfully.
    _5. Downloaded CUSTOM.pll from the Server from $AU_TOP Resource Directory._
    6. Open the CUSTOM.pll and modified it as follows.
    _6. a function zoom_available return boolean is_
    begin
    -- Required for ALL integrations
    return AXFCUSTOM.zoom_available();_
    end zoomavailable;_
    _6. b procedure event(event_name varchar2) is_
    begin
    -- Required for AXF integrations
    AXFCUSTOM.event (event_name);_
    null;
    end event;
    _7. Attached AXF_CUSTOM.pll to the CUSTOM.pll._
    7. Compiled CUSTOM.pll at local machine.
    _8. Deployed CUSTOM.pll to $AU_TOP Resource Directory._
    9. Compiled CUSTOM.pll to CUSTOM.plx at the server using Command
    frmcmpbatch module=CUSTOM.pll userid=apps/a07r12 output_file=CUSTOM.plx_
    moduletype=library batch= yes compile_all=special._
    After performing these steps when we try to open the forms from the instance we are getting the error as follows:-
    Then get the error as APP-FND-01926:The custom event WHEN-LOGON-CHANGED raised unhandled exception:ORA-06508:PL/SQL:couldnot find program unit being called
    ORA-01403:no data found
    Then I compiled AXF_CUSTOM.PLD in another machine and transfer it to mine.After that I performed all the steps every library files are compiled and generated now.I don’t know why the Zoom button is not enabled. It should have been enabled for all the forms I guess.
    With Regards
    Jyoti

  • SPAU for Custom program.

    Hello,
    I am new to Upgrade project.
    Is it required to adjust a customer program (z or y programs) using SPAU. If yes, please let us know why we need to adjust a custom program...
    Any documentation on SPAU would be appreciated.
    Kind Regards,
    Abhishek.

    Question on SPAU and SPDD.
    You have to aware of all related program like BDC's , Screens related errors and all dictionary related problems.
    Some function modules may become obsolete, and some screens will change
    abnd some new fields will be added in the new versions etc.
    Also take care of SPAU and SPDD tcodes.
    You should be able to know about Unicode concept in sap.
    Upgrading within a new version of SAP R/3 :
    The upgrade process for the SAP R/3 application does not modify any of the adapter's ABAP development, but it may modify the SAP R/3 application so that some of the adapter's ABAP development does not work properly.
    This section describes how to upgrade the adapter's ABAP development in an upgraded SAP R/3 application. Before you can upgrade the adapter, you must have already upgraded your SAP R/3 application.
    To upgrade the adapter's ABAP development:
    Install the latest ABAP Extension Module transport files for the correct version of the SAP R/3 application.
    You must install the correct version-specific transport files. For details on installing these transport files, see Connector transport file installation.
    Compile all programs and resolve syntax errors associated with the ABAP development.
    The easiest way to find syntax errors is to generate each function group associated with each object and fix the errors one at time. Repeat this process until all function groups compile successfully. Be sure to generate any other programs such as triggering programs that are not associated with a function group. Be aware that minor updates may need to be made to your ABAP triggering programs after applying the required new transports to upgrade the adapter.
    If you are upgrading to SAP R/3 version 4.x, note that the 4.x ABAP handlers use the product namespace /CWLD/. For special considerations for upgrading to the connector supporting SAP R/3 version 4.x, see Connector for SAP R/3.
    Test the new environment and make modifications as needed.
    Only a full system test enables you to work out any problems with the upgrade. Test your event detection mechanisms by running the appropriate transaction or program and sending business objects to the SAP system. Use the connector's log within the SAP system to help identify other issues.
    chk this
    http://www.thespot4sap.com/upgrade_guide_v2.pdf#search=%22upGRADE%20STEPS%20-%20SAP%22
    also chk these 2 notes in service.sap.com
    Technical Upgrade is only a version upgrade without any functionality changes.
    The objects that are needed to be upgraded are:
    Includes
    Function Groups / Function Modules
    Programs / Reports
    OSS Notes
    SAP Repository Objects
    SAP Data Dictionary Objects
    Domains, Data Elements
    Tables, Structures and Views
    Module Pools, Sub Routine pools
    BDC Programs
    Print Programs
    SAP Scripts, Screens
    User Exits
    You can refer to the below links for more information on technical upgrade:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/07/upgradeFROMR3TOmySAPERP-PARTII&
    https://wiki.sdn.sap.com/wiki/display/profile/UPGRADEFROMR3TOmySAPERP-PARTIII
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/6d66647d9011d396b60000e82de14a/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca
    Refer to these related threads
    Re: Role of ABAP Developer in Upgrade Projects
    ABAP developer part in an upgrade project
    wht abt the tcodes SPDD & SPAU
    please reward if useful
    Murali poli

  • What is mass compilation.

    I did mass compilation.But can anybody say what is it and how will it affect labview files

    If I had to guess I'd say the program was linked to a VI that is either (a) no longer included with 7.1, or (b) it was directly linked to a VI in the LV 6 folder (such as an example VI), and so LV 7 can't find it since that folder no longer exists. If you provide the name of the VI that it's looking for someone may be able to identify it if it's one that ships with LabVIEW.

  • Logical database sdf in custom program not triggering selection screen?

    I added logical Database SDF (screen 905) to a custom program - but the selection screen is not getting triggered.
    Do I have to associate these somewhere?
    Thanks,
    Ven

    HI,
    Declare this statement after the Report Statement in the program.
    TABLES : SKA1, SKB1.
    You will get the selection screen now.

  • Can't find (and possibly don't have) the -lglut -lGLU -lGL libraries... or at least when I try to compile a program, it returns with that error.  Any ideas (I really need to get this popgen program running on Lion)? Thx!

    Hi all,
        I'm trying to compile a population genetic software program onto my Mac Lion.  It was originally compiled to Tiger and worked beautifully.  But now I'm getting an error  'library not found for -lglut', and now I'm trying to figure out how to download the library. I've installed the command line code for Xcode, and am thinking I possibly missed installing the libraries.  I could be very wrong here... all I know is that I'm no longer near the people I would ask to help me with this so I'm asking you!  Thanks in advance for any help!  I guess my questions are: 1) where can I download the glut (potentially OpenGL) libraries (if I don't have them already)? And 2) once downloaded, how do I install it so the makefile will compile my program (in terminal, not Xcode)? Cheers,
    C

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Re: Payment order Reversal using custom program

    Hello Experts,
    The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
    Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
    I am able to reverse it by using standard transaction ihc02.
    In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
    Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
    Thanks and regards
    pavan

    Hello Experts,
    The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
    Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
    I am able to reverse it by using standard transaction ihc02.
    In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
    Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
    Thanks and regards
    pavan

  • POSTING G/L account documents through custom program

    While posting the documents through the tcode fb01,
    when I tick at PA segement button ASSIGNMENT TO
    PROFITABILITY SEGMENT screen opens, DERIVATION
    BUTTON is activated/enabled . But through a custom program when session is
    processed and when PA segement button is ticked on
    ASSIGNMENT TO PROFITABILITY SEGMENT screen, DERIVATION BUTTON is not visible. I can only see Continue, Next Page, Delete Assignment, and Cancel buttons. Where do I need to check this problem?

    Hi,
    Nope, in standard SAP you can not do that.
    You would need to develop your custom program for it.
    Regards,
    SDNer

  • Report to check authorization object used in customized programs

    Hi Guys,
    An auditor came and he raised a question to us, he asked whether all of our customized transactions and programs are maintained with authorization checks? The question is how can we check what authorization objects are used for our customized programs and transaction codes? The developer did not maintain the objects used for that program in SU24 table. Is there a program or a report to show us all the authorization object used for a customised program or transaction? Example : T-code MIGO we can check in SU24 table for all the authorization object used. How do we check for customized tcodes? Please advise. Thanks!
    Edited by: Jarod Tan on Nov 25, 2010 9:42 AM

    Note that some programs are built in such a way that no (visible) auth check is necessary, or even desired at all.
    To determine the necessity of an auth check, you should check that starting it has an entry point (tcode, rfc, service) which is appropriately restricted. The rest (whether and where and how a further check is evaluated) is entirely dependent to what the program actually does.
    Well designed applications generally have centralized functions and methods, and the checks are in there or a "base check" they use.
    Others again use the same in UI programming to determine the visibility of functions, to make the application more intuitive for the user. This on it's own is however not a sufficient auth check to rely on.
    Code review is an art form!
    Cheers,
    Julius

  • How to get the custom program generated in Background

    Dear Freinds,
    I have written a below code in my submit program ( zreport) .
    REPORT  ZHRRPCPRRU0_SUBMIT  NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
    SUBMIT RPTQTA00 VIA SELECTION-SCREEN
    WITH pnpbegda = sy-datum
    WITH pnpendda = lv_date
    with pnppernr = '99007057'.
    As per your logic i have used the submit program and i am able to default the dates  in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
    Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
    it is just scheduling and further when i look at the sm37 i can see the  job getting finished . However , i dont  find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
    so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
    because when  i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
    So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
    Thanks in advance
    regards
    madhuri,

    Hi Can you try the following?
    Hope this helps... (Taken from help)
    Example
    Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

Maybe you are looking for

  • PhotoShop CS2 Bridge caused strange loss of desktop visibility/memory ??

    I have a G5 (Duel) running Tiger 10.4.6. Just lately the Bridge in Photoshop CS2 has not been working too well - it became very slow and sometimes didn't "see" my images. Yesterday I could get it to find my image folders at all. Then all my desktop s

  • Number Range Error in Invoice posting in FI.

    Dear friends, I have copied F2 and created another Billing Document Type. A seperate number range series has also been maintained and has been defined in the newly created Billing document type. At the time of saving and posting the Invoice with the

  • Images are not shown

    Hi folks, I'm new to web design and I am trying to upload an image (logos.jpg) to www.dot-circle.com but the images, which are supposed to be at the bottom in their own table, under the address, are not there when I upload the html file (index.html).

  • CS6 and Application manager failed to initialize OSX

    Hi, I've been trying to install Flash Professional CS6 for a few days now with no luck. I've gone through as many posts as I can find to help, but nothing I have found has worked so far. Both Flash and the Application Manager failed to Inialize. I'd

  • How to create own customization tree??? similar to 'SPRO' ?

    Dear Experts, Please, Can anyone describe, How to create our own customization tree??? similar to 'SPRO' ? points will be rewarded. Thanks in advance! Warm Regards, Rahul.