Problem in Screen Exit for me21

Hi,
I have developed Screen Exit in ME21N ..and facing a problem where to write the code...I have a little bit confused with all the function exits...
i used move-corresponding...in the function exit but i am getting errors ..if i am trying to activate the code it is activating...
could you plz help me out guys ..
points will be rewarded..
Regards,
Ravi Ganji

hi,
if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
First create a project in cmod and attach the enhancement CNEX0006 to the project.
1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
3. if u want to write any logic before the screen is displayed do it in PBO.
4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
move-corresponding sap_proj_imp to proj.
5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
move-corresponding proj to cnci_proj_exp.
Activate the project .
Hope this helps
Regards
Syed

Similar Messages

  • Screen Exit for ME21

    I have created a screen exit using enhancement AMPL0001 ,
    I have created cl_includes (structure)
    coded in the function exits for pbo and pai.
    created subscreen 1000 as given in the enhancement .
    But the filed is not getting displayed ???

    hi,
    if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
    First create a project in cmod and attach the enhancement CNEX0006 to the project.
    1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
    2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
    3. if u want to write any logic before the screen is displayed do it in PBO.
    4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
    move-corresponding sap_proj_imp to proj.
    5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
    move-corresponding proj to cnci_proj_exp.
    Activate the project .
    Hope this helps
    Regards
    Syed

  • Problem in screen exit for Production Order

    Hi ,
    Created a screen with one field RESB-POTX1 and called it from dictioanry directly so the field defaultly assigned as RESB-POTX1. As it is a item text field and am creating in header level screen  .
    in PAI functional module exit am capturing value for this field enter by the user and updating directly to RESB table but the problem is while retreiving data in CO03 am not getting value for this field .
    In PBO when i pass value from varaible ( got through from RESB ) directly like RESB-POTX1 = l_potx1 ( variable )
    it throws an error resb-potx1 not declared . but i declared as tables : resb in pai exit .
       as am updating directly resb am not created in field aufk structure ...how to pass this value

    hi,
    if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
    First create a project in cmod and attach the enhancement CNEX0006 to the project.
    1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
    2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
    3. if u want to write any logic before the screen is displayed do it in PBO.
    4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
    move-corresponding sap_proj_imp to proj.
    5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
    move-corresponding proj to cnci_proj_exp.
    Activate the project .
    Hope this helps
    Regards
    Syed

  • Problem in Screen exit for MIGO using MB_MIGO_BADI?

    hi all,
    I have customized the MIGO screen to add two fields and the data entered in these fields is saving in a custom data base table using the POST_DOCUMENT method of the BADI.
    The problem is i am unable to write the code to display these values in the MIGO, while displaying the material document.
    Please help me on how to solve this problem by suggesting the method or sample code?
    Thanks,
    Vamshi.

    Hi,
    Under the line modify method declare a flag and set to u2018Xu2019 checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
    in method IF_EX_MB_MIGO_BADI~LINE_MODIFY
    if not cs_goitem-mblnr is initial.
    flag = 'X'.
    endif.
    Do write the code in PBO of the screen.......which you have created ....
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use  
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Thanks,
    Shailaja Ainala.

  • Screen exit for co11n and problems in writting the PBO and PAI Logic ?

    Hi People,
    I am developing a screen exit for transaction co11n. I have found the exit ( CONFPP07 ) ... I created a project and have
    assigned this exit and activated the project. I have created a field named SHIFT  on clicking this field i have to give three
    possible values (a,b,c  ) and i have to store these values in some table .......... now my problem is in which include i
    have to write PBO and PAI logic ... should i have to write pbo logic in the include provided in the exit
    EXIT_SAPLCORU_S_100 and PAI in EXIT_SAPLCORU_S_101.......or .........Can any tel me what should i have to do to
    meet the requirements... and in which structure i have to add this field so that it gets stored in some table.
    Thanks in Advance.

    Hi,
    Use the includes in the program SAPLXCOF given in CONFPP07 Exit.
    You may use include zxcofzzz ( for Subprograms and Modules )
    by creating it upon double click.
    Regards,
    Wajid Hussain P.

  • Screen exit (for newTabstrip) for ME21 TRANSACTION CODE AT ITEM LEVEL

    Hi All ABAPERS,
    I had a urgent requirement that I need to provide new tabstrip in ME21 tcode at ITEM level.
    note: not in Item overview.
    So, friends could you please tell me what is the screen exit for it and if you have steps for it please give me the solution as early as possible and good points will be rewarded.

    use this enhamcement MM06E005
    go to se51 give program name SAPLXM06 and create 0111 screen and mention subscreen under attributes of screen.
    and go to layout define ur fields in the layout..
    use exit_sapmm06e_013 for getting data .
    also create ci_ekpo structrure and write the req logic to update that strucutre so that values will go and sit in stadard ekpo table.
    after creating that structure dont forget to activate ekpo thr se14.
    and go to se80 and give function group of exit_sapmm06e_013(this fm) and u will find under includes some z*top where u can declare all ur screen fields .

  • User Exit for ME21 PO Creation at the time of saving--Urgent

    Hi,
    Can some one help me out in finding the user exit for PO creation at the time of saving.
    The Requirement is:
    I need to create a custom field in EKKO table.
    After appending the structure with the field to the EKKO table, i need to create a PO.
    Now i need to update the field which has been created at the time of pressing the SAVE button.
    I need to update the EKKO table it self.
    I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
    Thanks,

    Hi,
              You may want to check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
    <b>Reward points</b>
    Regards

  • Screen Exit for TX01/02/03

    Hi,
    I've searched for possible screen exits for tcode TX01/02/03 but cannot find any. Is there any possible way to add a custom tab?
    Any inputs is appreciated.

    Thanks! that link solved my problem. I have one question though, when I add the custom tab with some fields, can we add the custom fields to the database table VTBFHA/VTBFHAZU? or should we create a custom table for this custom fields?
    Edited by: Marc  Ng on Feb 24, 2009 4:38 AM

  • Problem in Screen Exit

    Hi all,
    I have a problem in Screen Exit. My requirement is to create one new field in ME21N transaction code, I did that using screen exit, which offers me a tab of Customer Data. That is working fine. My problem here is when the user enters the value in that(costcenter) field tax jurisdication code should populate automatically for the particular entry. I used user exit for this purpose to update taxjurcode field in the table. But after the user exit execution the rest of the program code executes and it updates the EKPO table which over writes the entries which i was updating using my user exit code. How can i get rid off this problem. Please throw some light on that. Thanks.

    You are right. My user exit is also triggering that place only for the ME22n and ME23n...........it is strange for me as it is not working for ME21n. Which is not updating with the statements that i provided in User exits.
      When i am debugging the program after the user exit it is taking me to some std program where the entries were overwritten. That is where i face the problem.
    Any suggestions.

  • Screen Exits for VA21

    I have to add a field(date) in the screen in the transaction VA21 .
    Is there any Screen exit for transaction VA21 ? if not how do i go about doing the same

    Hello Amit,
    The requirement is can be met as follows....
    U can add the required field in the Additional data tab for header.
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, This screens contain the Include screens SAPMV45A 8309 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.
    This should resolve ur problem.

  • Screen exit for FS00 transaction

    Hi All,
    My requirement is i need to provide a button in FS00 transaction to approve the GL Code. Can anyone suggest me screen exit for FS00 transaction. 
    Thanks,
    Chitra.

    Hi
    You can find Exits and BADI from SPRO. Just identify the area where you want to enhance and go to that area by SPRO , then you can see system enhancement that are available. This is the good way to find enhancement because you can find the documentation related to enhancement.
    Like  SPRO > Material Management > Purchasing > Develop enhancement for purchasing (Exits)
    or see Business add ins for purchasing.  Read the documentation.
    Else you can search exits and badi by the package name like find the package of a transaction where you want to put enhancement. SE93 > Transaction name > Display > Package.
    then go to SE80 and open the package then see function group start with X. this are exits  that are available. you can find enhancement also.
    Else to find BADI related to a transaction just put break point to class method cl_exithandler->get_instance in SE24.
    and run the transaction , then you can find the BADI as exit name in this function call.
    These are the way you can find enhancement  , but the way which is describe 1st is the best way.
    hope it will solve ur problem.
    Thanks

  • Do we have screen exit for QE73?

    Hi,
    I need to  add "Update" button on QE73 screen, Do we have screen exit for QE73.
    Please provide exit name.
    Thanks,
    Mahahe

    Hi Mahahe,
    There is no Screen Exits for T-Code QE73
    As it's Report Program you can copy it to Z and do changes in it..
    You can achieve it by copying Program RQETBM30 to ZProgram and then you can modify PF-Status.
    If you are not ABAPer then Take help of ABAP Consutant there and ask him to do so.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Screen exit for ME51N in header

    Hi friends,
    Is there any screen exit for ME51N(Purchase requisition) in header level.I found MEREQ001 enhancement, but this is for item level.please help.
    regards,
    Thoufique.

    Hi Thoufique,
    try the following screen exits:
    EXIT_SAPLMEREQ_001 Export Data to Customer Subscreen for Re
    EXIT_SAPLMEREQ_002 Prepare Customer Subscreen for Requisiti
    EXIT_SAPLMEREQ_003 Import Data from Customer Subscreen for
    Also, for more help on your problem, refer to the following link:
    Re: re: screen exits
    Hope this will help you...

  • Screen-Exit for VL10

    Hi,
    Do you know if there exists an screen-exit for the transaction VL10?
    Thanks
    BR

    Hi,
    Regarding this i still have the same problem.
    I think i have made everything suggested but this is not working yet. Please give me any tips if you know..
    At this moment I have:
    I append a structure in 'SHP_VL10_SELECT_OPTIONS' with the field LFART.
    I copied the program RVV50R10C to one ZRVV50R10C.
    I added the field LFART to the screen by doing this:
    I have created a new Include zv50rsel3.
    I have created a INCLUDE zv50rsel_block_a.
    I added to that Include: INCLUDE ZV50RSEL_LPRIO:
       SELECT-OPTIONS: ST_DEVTY FOR LIKP-LFART.
    Next i added the following code to the exit in zv50r_userexit_transf (ZV50RINCL):
    FORM userexit_select_options_transf                          "n_524424
         CHANGING  cx_select_options  TYPE shp_vl10_select_options
                   cx_list_profil     TYPE shp_vl10_list_profil.
    cx_select_options-lfart = ST_DEVTY[].
    ENDFORM.                               " USEREXIT_PREPARE_LEDAT
    But this is not working...
    Any tips?
    Thanks

  • Screen-exit for profit center creation - transaction KE51.

    Hi All,
    Background: The client has the requirement of importing profit centre master data from legacy system into SAP ECC system. Few of the legacy data could not be filled into existing sap fields, hence the requirement has been to populate the data into custom fields.
    The client also has the requirement, that the same fields are required during online entry. For this we need to enhance the profit centre creation screen (transaction code KE51) with two additional custom fields.
    Requirement: To enhance profit centre creation screen with custom fields. Screen-exit for KE51 transaction.
    Pre-work: Program SAPLRKPM in SAP ECC system is the main program. It does not have any screen or sub screen area for custom fields addition. Debugged the program to check for screen-exits, found none.
    Below user-exits are not either screen-exits or cannot be used for enhancing profit center screen.
    PCA00001  EC-PCA: Document changes for data transfer
    PCA00002  Profit Center Accounting: derivation of representative mat.
    PCA00003  Derive Partner Profit Center for External Deliveries
    PCA00004  Check valuation for invoice verification with transfer price
    PCA00005  Check valuation for invoice verification with transfer price
    PCASELEK  EC-PCA: Selection criteria for data transfer
    Solution required for: Could anyone please let me know if it is possible to enhance the profit center creation screen. If yes, please provide the names of the screen-exit/  badi exit.
    (Just a thought, modifying the standard seems to be the only solution, this should be the last option and i agree, please provide your inputs.)
    Thanks in advance.
    Warm Regards,
    Goutham.

    Thank you Manohar for the response.
    The requirement is to display custom fields on standard sap screen and there are no screen-exits. So, i suppose the standard screen has to be modified.
    Could you please provide brief explanation on
    May be you should consider maintaining custom mapping table instead of going for chaning standard.
    With Regards,
    Goutham.

Maybe you are looking for