Enhancement of T-code 'REBDRO'

Dear friends,
I have to restrict the user for entering the value in the field Vacancy Reason (under Occupancy Tab of T-code 'REBDRO' ) .
For the same I found few BADI's as-
ADDR_PRINTFORM_SHORT
CO_SRULE_CHECK
K_PLAN_RULE
GOS_SRV_SELECT
BADI_LAYER
BDT_GUI
Out of which only 'GOS_SRV_SELECT' gets triggered twice during the course of execution . First when the very first screen is executed and 2nd at the time of saving.However, the field 'Vac reason'  field remains inactive.
Can somebody help me in finding the point(any time before saving) where I can write the code for Authorisation Object.
Cheers,
Rishi

Hi,
The BADI 'GOS_SRV_SELECT'  is no where relevant for your reqt. It is meant for different purpose. If no other BADIs are triggered then i am afraid that you can meet your reqt only via modification.

Similar Messages

  • How to request APEX product enhancements (such as code protection)

    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.

    johnny wrote:
    how to request APEX product enhancements (such as code protection)
    Re: Apex 4.2 wish list, but apparently failed to read my follow-up:
    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.If that's the criteria then Pagination Sub-template and table-less layouts and XHTML Validation and Accessibility would have 3 years priority on it.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.However, as usual, the needs of corporate lawyers appear to count more than those of developers, as the Statement of Direction says that APEX 4.2 will include features to protect our rights to our non-standard and non-semantic apps.

  • Screen Enhancement on T-Code AS01 (Asset Master)

    Hi Experts,
    I want to add a filed of Customer Number( KUNNR) on the Asset Master Screen ( t-code AS01)
    I have done a lot of work....
    I have used the Enhancement AIST0002 ..... also make the Subscreen....
    In Short, now my field is Displaying on the Asset master Standard Screen. also displaying the F4 help against it...
    *Problem:*
    when i save the Data ... it does not save the data...
    I also check the table ANLU. there is no record exist... (boz i did not write any Code)
    Can i have to Write the Update Query for save the Record?
    Note: i am first time making the Screen Enhancement.
    Regards,
    Rizwan

    Dear George Serfiotis,
    i have find the solution completely ... now, not only my Screen is displaying but also working properly..
    http://binarycse.com/joomla/index.php/sap-abap/screen-exits
    <<CUT AND PASTE OF ABOVE LINK DELETED>>
    <<REQUEST FOR POINTS DELETED.  It was your question anyway...>>
    Rizwan
    Edited by: Matt on Nov 18, 2008 3:08 PM

  • Problem in finding table fields to enhance 0CRM_SRV_CONFIRM_H for 'Code'

    Hi,
    My source system for BW is CRM. This development is related 'Service Order and Confirmations'. The relevant data source in CRM system is 0CRM_SRV_CONFIRM_H. This data source does not have any information for 'Catalog/Code Group/ Classification Codes' for a Service ticket. So, I have to enhance the data source with it.
    'Catalog/Code Group/ Classification Codes'  is present in the table CRMD_SRV_SUBJECT but there is no common joining fields for the table with datasource or CRMD_ORDERADM_I or CRMD_ORDERADM_H table. CRMD_SRV_SUBJECT has a field called GUID, but transaction data stored in that is not matching with any GUID column of datasource or CRMD_ORDERADM_I or CRMD_ORDERADM_H table.
    Data source can be joined with CRMD_ORDERADM_H [ DS-GUID = CRMD_ORDERADM_H-GUID ] and with CRMD_ORDERADM_I [ DS-GUID = CRMD_ORDERADM_I -HEADER ].
    Thus, I think, the transaction data is stored in some other table which can be joined with the data source. Please help me giving the relevant table/field name to enhance the data source.
    Thanks in advance,
    Dibyendu

    Hi Dibyendu ,
    Please checkout Database view
    <b>CRMV_REPORT_SUBJ</b>
    ==============
    Join between below 4 tables
    CRMD_ORDERADM_H
    CRMD_LINK
    CRMD_SRV_OSSET
    CRMD_SRV_SUBJECT
    ==================
    CRMD_ORDERADM_H     CLIENT     =     CRMD_LINK     CLIENT
    CRMD_ORDERADM_H     GUID     =     CRMD_LINK     GUID_HI
    CRMD_LINK     CLIENT     =     CRMD_SRV_OSSET     CLIENT
    CRMD_LINK     GUID_SET     =     CRMD_SRV_OSSET     GUID_SET
    CRMD_SRV_OSSET     CLIENT     =     CRMD_SRV_SUBJECT     CLIENT
    CRMD_SRV_OSSET     GUID     =     CRMD_SRV_SUBJECT     GUID_REF
    Thanks,
    Aby Jacob

  • Enhancement in T-code MIR7

    Hi All,
    I have a requirement as under:
    In the T-code MIR7  I want 'Pmnt Block' field to be automatically set as 'A' in the Payment tab when the error message
    "Price too low (below tolerance limit of xxxxx INR)" is triggered. Currently 'Pmnt Block' field comes as blank.
    Somebody know how to do that(something from enhancement spot).
    Thanks,
    Chinmay

    Hi,
    check this thread:
    Userexit or BADI for MIRO
    Best regards.

  • Enhancing 0FI_GL_4  - ABAP code is NOT working -  URGENT PLEASE ???

    Hi all,
        I want to enhance 0FI_GL_4 extractor with CHECT, RWBTR & PRIDT from PAYR table if VBELN of 0FI_GL_4  is not BLANK, with the following conditions:
    1.Load all the records of PAYRQ table into PAYRQ internal table LT_PAYRQ
    with matching BELNR, AUGBL & BUKRS from I_DTFIGL_4 internal table.
    2.Load all the records of PAYR table into PAYR internal table LT_PAYR
    with matching AUGBL & BUKRS from LT_PAYRQ internal table.
    3.Read PAYR internal table LT_PAYR with matching BELNR (from I_DTFIGL_4
          internal table) and fill the new fields  CHECT, RWBTR & PRIDT.
    The following the is ABAP code, but it is NOT working:
    DATA:I_DTFIGL_4 LIKE DTFIGL_4 OCCURS 0 WITH HEADER LINE,
         L_TABIX LIKE SY-TABIX.
    DATA: BEGIN OF LS_PAYRQ,
                 ZBUKR LIKE PAYRQ-ZBUKR,
                 BELNR LIKE PAYRQ-BELNR,
                 AUGBL LIKE PAYRQ-AUGBL,
             END OF LS_PAYRQ.
    DATA: LT_PAYRQ LIKE LS_PAYRQ OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF LS_PAYR,
                 VBLNR LIKE PAYR-VBLNR,
                 CHECT LIKE PAYR-CHECT,
                 RWBTR LIKE PAYR-RWBTR,
                 PRIDT LIKE PAYR-PRIDT,
             END OF LS_PAYR.
    DATA: LT_PAYR LIKE LS_PAYR OCCURS 0 WITH HEADER LINE.
    WHEN '0FI_GL_4'.
        I_DTFIGL_4 = C_T_DATA.
        SELECT BELNR   AUGBL  ZBUKR
          FROM PAYRQ
          INTO CORRESPONDING FIELDS OF TABLE LT_PAYRQ
          FOR ALL ENTRIES IN I_DTFIGL_4
          WHERE BELNR = I_DTFIGL_4-BELNR
            AND AUGBL = I_DTFIGL_4-AUGBL
            AND BUKRS = I_DTFIGL_4-BUKRS.
        SORT LT_PAYRQ BY BELNR.
        SELECT VBLNR CHECT RWBTR PRIDT
           FROM PAYR
           INTO CORRESPONDING FIELDS OF TABLE LT_PAYR
           FOR ALL ENTRIES IN LT_PAYRQ WHERE VBLNR = LT_PAYRQ-AUGBL
           AND ZBUKR = LT_PAYRQ-ZBUKR.
        SORT LT_PAYR BY VBLNR.
        LOOP AT C_T_DATA INTO I_DTFIGL_4.
            L_TABIX = SY-TABIX.
         IF NOT I_DTFIGL_4-VBELN IS INITIAL.     " IF BILLING DOCUMENT EXISTS
            READ TABLE LT_PAYR WITH KEY VBLNR = I_DTFIGL_4-BELNR.
            IF SY-SUBRC = 0.
               MOVE LT_PAYR-CHECT   TO  I_DTFIGL_4-ZZCHECT.
               MOVE LT_PAYR-RWBTR  TO  I_DTFIGL_4-ZZRWBTR.
               MOVE LT_PAYR-PRIDT    TO  I_DTFIGL_4-ZZPRIDT.
               MODIFY C_T_DATA FROM I_DTFIGL_4 INDEX L_TABIX.
            ENDIF.
            CLEAR:I_DTFIGL_4-ZZCHECT,I_DTFIGL_4-ZZRWBTR,I_DTFIGL_4-ZZPRIDT,
                  LT_PAYR,  LT_PAYRQ.
          ENDIF.
        ENDLOOP.
    Could you please find the problem with above ABAP code and correct it.
    Since I want to enhance it,  if VBELN is not Blank and do I have to move the IF condition (I_DTFIGL_4-VBELN IS INITIAL) to another location for better performance.
    Thanks,
    Venkat..

    Dear Gajesh,
    Please accept my thanks for your Spontaneous reply.
    Selection Screen data is given below.
    1 --> Material Number
    2 --> Inspection Lot Number
    3 --> Date of Lot Creation
    4--> Inspection Type
    Normally the clint will give the Inspection Type ie 4th input and Date of Lot creation ie 3rd Input (Range of Date).
    Please do the needful.
    With Best Regards,
    Raghu Sharma

  • Enhancement for T-Code PHAP_CREATE_PA

    Hi,
    I am using T-Code PHAP_CREATE_PA to create an appraisal document. Is there any way to give message so that whenever i exit the t-code i can warn the user about the status of the appraisal document.

    It uses function module HRHAP_SHOW_DOCUMENT in which one option is you go for implicit enhancement if nothing available but i can see various badi's also avaialble but could not test them on my system.
    Also check if HRHAP00_DOC_PREPARE badi is of any help
    search with HRHAP00* in se18 you will see lot of BADI's use suitable one as per your requirement.
    Nabheet

  • Enhancement for t.code FBRA

    Hi,
    I tried using user-exit F050S006. i inserted a break-piont in the exit and executed transaction code FBRA but control doesnt go to this exit. please help me out in finding an enhancement while executing FBRA.
    Regards,
    Sonali.

    hi,
    check this
    Enhancement
    F050S003                                FIDCC2: Change IDoc/do not send
    F050S002                                FIDCC1: Change IDoc/do not send
    F050S001                                FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    SAPLF051                                Workflow for FI (pre-capture, release for payment)
    RFKORIEX                                Automatic correspondence
    RFEPOS00                                Line item display: Checking of selection conditions
    RFAVIS01                                Customer Exit for Changing Payment Advice Segment Text
    F050S004                                FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005                                FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006                                FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007                                FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001                                Balance Sheet Adjustment
    FARC0002                                Additional Checks for Archiving MM Vendor Master Data
    FEDI0001                                Function Exits for EDI in FI
    Business Add-in
    FI_FB08_SUBST_BUDAT                     FB08: Check Posting Date for Reversal of FI Doc. with FB08
    FI_GET_INV_PYMT_AMT                     BAdI for determining the payment amount for an invoice
    FI_HEADER_SUB_1300                      Screen Enhancement for Document Header SAPMF05A
    FI_PAYREF_BADI_010                      BAdI: Payment Reference Number
    FI_RES_ITEM_CURRENCY                    Document of Residual Item with Invoice Currency
    FI_TRANS_DATE_DERIVE                    Derive BKPF-WWERT from Other Document Header Data
    BADI_ENJ_ALT_ADR                        Go to alternative vendor/customer data
    BADI_F040_SCREEN_600                    Screen Enhancement on F040 0600 Document Header
    BADI_FDCB_SUBBAS01                      Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS02                      Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS03                      Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS04                      Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
    RFESR000_BADI_001                       BAdI for Own Processing of POR Item
    BADI_FDCB_SUBBAS05                      Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
    BADI_MIRO_SPLT_ADD                      Append additional fields of ACCVS to ACCIT
    BADI_PRKNG_NO_UPDATE                    BAdI for Deactivating Update of Parked Documents
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ
    INVOIC_FI_INBOUND                       BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    F050S008                                FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
    AC_QUANTITY_GET                         Transfer of Quantities to Accounting - Customer Exit
    ADJUST_NET_DAYS                         Change to Net Due Date
    FBAS_CIN_LTAX1F02                       Tax interface
    FBAS_CIN_MF05AFA0                       EWT - Downpayment Clearing - Tax transfer for CIN
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences
    FI_AUTHORITY_ITEM                       Extended Authorization Check for Document Display (FB03)
    FI_DOC_DISP_LI                          Diversion to Document Items (FB03)
    Yogesh N

  • Enhancement Suggestion - Jdeveloper Code Editor

    Hello,
    I would like to make an enhancements suggestion for the JDeveloper code editor. I find the "history" tab of the source editor extremely useful when I'm trying new things and not sure if they would work. This tab helps me revert changes to a last known version. However, I see myself having to identify the previous correct version by date and time, which is kind of dicey. I do see there is also a description column, however, I'm not able to edit the description with a meaningful message that would help identify as last know good version quickly. Hence, my suggestion is that the history tab of the code editor allow the user to add tags / comments against each version for quick identification.
    Hope the Oracle development is listening, and you'll have to excuse me for posting if this forum is the wrong place to make suggestion ( i didn't quite find any feedback feature on the Jdeveloper product page).
    regards,
    Rehan Yusuf

    No problem Timo.
    I don't think it's worth opening an SR for this. It looks like sub-pixel anti-aliasing isn't supported in the JDeveloper Code Editor, which is a shame, because that's the place where it's most needed.
    Michael.

  • Enhancement on T-CODE VA01

    Dear sir's
      Our sales docuement number is using the external  assigned by user  key in then user request to help them that sales docuement faster  entry  for  a sale document number field vaue copy  from purchase order number fields   by user exit  program .
       I have tried to write short code on the exit program MV45AFZB on th FORM userexit_check_vbak USING us_dialog.
       the ABAP/4 code is that MOVE:ZQMNUM+3(9) to vbak-vbeln.
      and I also  try to create the  sales docuement and save that , the system deosnt respond any error message .
      but use t-code va02 didnt found that sales  docuement and i check the table  vbak also not yet data exit.
    Have any one could suggest me that how  to sovle this request?
    Sue 20081113

    Hi Sue,
    As i understood so far,Sales order is an auto generated number pre-configured by the SD consultant to fall within that number range...
    The following are only my suggestions .....
    (1)to check if it is possible through  configurations for having a number range similar to the external number provided these 2 are directly linked and that there is always a Sales order linked to every external number..........
    (2) we have a field called PO refernce number in the header.We can fill this field in the user exit of the include MV45AFZZ in userexit for move field to vbak and then in all the custom reports and programs link this field and standard VBELN number so that SAP flow is not affected.
    (3) check for enhancement spots wherein the vbeln field is overwritten immediatly after number generation...Please note that overwriting the standard field is a tiring task.,especially a key field..because we need to clearly understand which all tables are being updated with this number..so if the field vbeln has a parameter name(press F1 on Vbeln field and you will get the detail list ,with one field called "parameter name" ) assigned to it overwrite it with the required number so that all standard tables are relected with this number....(use F1 helo set/Get parameters to learn more)..try filling this parameter using set parameter statement  OR check for badis and user exits
    If I come across a possible exit ,will update you
    Hope it helps
    Regards
    Byju

  • Enhancing existing Abap code: using values that doesn't exist in table

    Hi,<br><br>
    I would like to enhance this code . My requirement is as follows.<br><br>
    I have two tables  customer and product<br><br>
    <pre>KNVP  customer master data table
    Customer                            PF                Person
    700008          YF     45555
    700008          YQ     46666
    700008          ZF     46666
    700008          YM     49999
    700008          ZQ     44444
    700008          ZM     43333
    T179 product hierarchy table*
    product hier                     PF
    1000014000          ZM     
    1000015000          ZF     
    1000033000          ZQ     
    The current extractor is showing YM for all YPF values
    Customer         Zperson          ZPF        YPF    YPerson
    700008            46666              ZF          YM        49999
    700008            43333              ZQ         YM        49999
    700008            44444              ZM         YM        49999</pre>
    <br><br>
    Case 1:IF customer doesn't have Partner function value YQ in master data then partner function YF person and partner function should be use.
    <br><br>
    case 2: IF customer doesn't have Partner function value YF in master data then partner function YQ person and partner function should be use.
    <br><br>
    case3:IF customer doesn't have Partner function value YQ and YF in master data then partner function YM person and partner function should be use.
    <br><br>
    The tricky part is that YQ doesn't exist in T179 table
    <br><br>
    <pre>
    LOOP AT T_DATA.
          ZIDX = SY-TABIX.
          CLEAR T179.
       Select partner function, assigned to current
       product hierarchy level 2
          SELECT * FROM T179
                   WHERE  STUFE = '2'
                   AND    PRODH = T_DATA-PRODH.
          ENDSELECT.
       Replace value with new partner function.
       by replacing first letter to 'Y'
          CONCATENATE 'Y' T179-ZZPARVW+1(1) INTO NEWPF.
       Try to find new sales employee with this new partner function
          CLEAR KNVP.
          SELECT * FROM  KNVP UP TO 1 ROWS
            WHERE  KUNNR  = T_DATA-KUNNR
            AND    VKORG  = T_DATA-VKORG
            AND    PARVW  = NEWPF.
          ENDSELECT.
          IF SY-SUBRC EQ 0.
       New partner found with this partner function
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
      ELSE.
                NEWPF = 'YM'.
       Try to find new sales employee with partner function 'YM'
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = NEWPF.
            ENDSELECT.
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
          ENDIF.
          MODIFY T_DATA INDEX ZIDX TRANSPORTING ZPARVW ZPERNR.
    </pre>
    <br><br>Edited by: Matt on Aug 24, 2010 9:31 AM - fixed formatting

    Hi,
    thanks for your input, I have written it like this and it is working well for YQ and YF partner functions but YM is not showing when both are missing.
    LOOP AT T_DATA.
          ZIDX = SY-TABIX.
          CLEAR T179.
    *    Select partner function, assigned to current
    *    product hierarchy level 2
          SELECT * FROM T179
                   WHERE  STUFE = '2'
                   AND    PRODH = T_DATA-PRODH.
          ENDSELECT.
    *    Replace value with new partner function.
    *    by replacing first letter to 'Y'
          CONCATENATE 'Y' T179-ZZPARVW+1(1) INTO NEWPF.
    IF SY-SUBRC EQ 0.
    IF NEWPF EQ 'YF'.
          READ TABLE T_KNVP WITH KEY PARVW = 'YF'.
            IF SY-SUBRC EQ 0.  "YF exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YF'.
            ENDSELECT.
              T_DATA-ZPARVW = 'YF'.
              T_DATA-ZPERNR = KNVP-PERNR.
            ELSE.
            READ TABLE T_KNVP WITH KEY PARVW = 'YQ'.
            IF SY-SUBRC EQ 0. "YQ exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YQ'.
            ENDSELECT.
               T_DATA-ZPARVW = 'YQ'.
               T_DATA-ZPERNR = KNVP-PERNR.
    ENDIF.
    ENDIF.
    ENDIF.
    IF NEWPF EQ 'YQ'.
          READ TABLE T_KNVP WITH KEY PARVW = 'YQ'.
            IF SY-SUBRC EQ 0.  "YQ exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YQ'.
            ENDSELECT.
              T_DATA-ZPARVW = 'YQ'.
              T_DATA-ZPERNR = KNVP-PERNR.
            ELSE.
            READ TABLE T_KNVP WITH KEY PARVW = 'YF'.
            IF SY-SUBRC EQ 0. "YF exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YF'.
            ENDSELECT.
               T_DATA-ZPARVW = 'YF'.
               T_DATA-ZPERNR = KNVP-PERNR.
    ENDIF.
    ENDIF.
    ENDIF.
          ELSE.
            NEWPF = 'YM'.
    *    Try to find new sales employee with partner function 'YM'
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = NEWPF.
            ENDSELECT.
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
          ENDIF.
          MODIFY T_DATA INDEX ZIDX TRANSPORTING ZPARVW ZPERNR.
        ENDLOOP.
    thanks
    Edited by: Bhat Vaidya on Aug 30, 2010 1:31 PM

  • Enhanced Flash Builder Code Generation Functionality

    For voting in JIRA:
    https://bugs.adobe.com/jira/browse/FB-27169
    The code generation feature FB 4 currently has is only really useful for quick throwaway prototyping or very simple forms. The generation should allow you to configure formatting via default templates, AND optionally utilize a dialog box (similar to that used in refactoring but with a few extras) so that you can configure the contents of each generated function and provide appropriate function names according to coding best practices. For example:
    -User initiates event handler generation
    (Optional, if Codegen dialog is enabled)
    -User is prompted with a dialog that allows them to customize the generated function name, and possibly specify whether they need an Event parameter passed to the function. (Default to NO event parameter, but this could be a pre-configured user option.)
    -FB utilizes the customized code generation format (customizable by the developer) to generate the new function
    If you need a "submitForm()" function and you want both a TextInput's enter action and a button's click action to call it, currently you're better off typing it all yourself, because auto-generation is going to put this long-named function that assumes you need 'event' passed to it. An event:MouseEvent parameter just gets in the way when you also want a TextInput's enter event to call that function, for example. Or perhaps we want to provide a more descriptive name to each handler (via dialog) without assigning IDs to each and every component: "datagrid1_changeHandler" or "button1_changeHandler" doesn't tell us what the function actually does. It's a basic coding best practice to name functions or methods after the actions they actually perform, and in a large application with complex forms auto-generated generic sounding function names are essentially useless from a maintainability standpoint.

    For anyone interested, I figured it out:
    to generate a CFC, you have to right-click a table in the RDS Dataview, then you can generate a CFC. You cannot generate a CFC from an AS class as described in the CF Builder help within Flash Builder.
    Adobe: it would be nice if this got fixed – and if someone there replied to posts like this. You do  know all this, don‘t you?

  • Enhancing the transaction code WS20000081 - Leave request

    Hi all,
    I have a requirement where i need to use the transaction WS20000081 for creating a leave for those employees who dont have ESS access.
    I have created a Z program where the employee will login & then use the above mentioned T-code for creating leave
    The problem I am facing is that this T-code fetches the personnel no & name of the SAP GUI login.
    I need to change it to the personnel no & name of the employee who has logged in to the Z program.
    Z program accepts personnel no for logging in.
    Kindly help me....
    Thanks in advance
    Seema Peswani
    SAP ABAP HR

    with out seeing your code no one can answer your question. If its some standard program we could have looked in our systems and would have guided you...
    why dont you save that login varaibles using set parameters and retrieve when needed using get parameters. Search with those key words in SCN you will find many examples.

  • Enhancement in T Code LECI

    Hi Gurus,
    I want to use standard t code LECI  for Gate Pass System I have to track the Inward/Outward vehicle movement according to Purchase Order /Sales Order.I have to add two fields purchase order and sales order in t code LECI. I found one BADI for this
    BADI_CHECK_IN_01 .Is it possible to add fields by this badi.
    which method should be implemented.
    IS_EVENT_OLD              Activities Within the Check-in/Check-out Process           
    IS_EVENT_DATA_OLD   Activity Data Within the Check-in/Check-out Process     
    IS_CONTROL_FLAGS    Control Indicators for Check-in
    CS_TRA_PRO          Record Check-in Data for Means of Transport
    CS_PER_PRO          Record Check-in Data for Means of Transport
    Thanks
    Chitta Ranjan Mahato

    Hi,
    You will need to implement BADI - BADI_CHECK_IN_01. You will have to create a module pool Z-program and a screen (Type - Subscreen) which shall contain your new fields to be added.
    Once the above has been done, Add the calling program (Z-program), screen number in the Subscreens Tab of your implemented BADI.
    Regards,
    Danish.

  • Enhancement in T-code MM12

    Hello Experts,
                          I have one requirement in which I need to include one tab from t-code MM02 to MM12. How can I achieve this?
    Can it be achieved through configuration (using spro) Or  there are any User exits in which we can enable that particulat tab
    please let me know.
    Thanks in advance!
    Pratibha

    Hi,
    You will need to implement BADI - BADI_CHECK_IN_01. You will have to create a module pool Z-program and a screen (Type - Subscreen) which shall contain your new fields to be added.
    Once the above has been done, Add the calling program (Z-program), screen number in the Subscreens Tab of your implemented BADI.
    Regards,
    Danish.

Maybe you are looking for