Custom Fields in ME21N transaction

Hi all,
I have added custom fields on the transaction ME21N using the screen exit in enhancement MM06E005.
Now i need to do validations on these fields even if the user does not come to the screen. So i am using the BADI ME_PROCESS_PO_CUST for the validations.
But this BADI gets triggered only when there is a change in a standard SAP field. If i change the value of the Custom field then the BADI does not get triggered.
So the problem is that once i issue an error message for the custom field in the BADI .. and then change the value in the custom field, the BADI does not get called and hence the error message stays as it is...
Any solutions for this?
thanks,
Ashiq Ali Ratnani

even when we create a custom screen, the user-exits which are getting called from other screens should also get called from custom one. If this is not happeing, then you need to check in configurations where you have created this screen, that whether you have done assignment of screen at right place, not at the header level but at tab level.

Similar Messages

  • Custom fields in me21n

    Dear Gurus  ,
    I have added some custom fields in me21n in header & item level through badi . some fields are in standard table (CI_EKPODB )
    and other are in Ztable . Every thing is working fine .
    Problam is that when i am making a new purchase order through me21n by Copying another purchase order . Custom fields are not copying .
    Example: i have a po no : 101 .
    two custom field  zabc = 123 .
                                 zdef = 345 .
    when i am making a new po by adopt(Through Document overview on) this po 101 these custom fields are not coping  .
    is there any Customizing , exit  , Enhaancement  . That can Resolve this issue ?
    Thanks in advance .
    Hemant Gulati(A1).

    Hi
    In BADI 'ME_PROCESS_PO_CUST', try with method PROCESS_ITEM to populate them with the right filters. Check if in MEPOITEM for fields REFBS and REFPS is the PO that you are copying.
    I hope this helps you
    Regards
    Eduardo

  • Adding new custom fields in SAP transaction - PSOBWORK?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi ,
            There are options like screen-exits ,badis
    the best option would be to find screen exits for the transaction and you code ur logic in the exit and create the screen with your requirement .

  • Adding new custom fields in SAP transaction?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi,
    Find the link below  which has step by step process of adding custom fields:
    goto site saptechnical-tutorials-ExitsBADIs-EEWB
    Hope this would be helpfull.
    Regards,
    Sharath

  • Custom field in enjoy transaction

    Hi,
    How to add a custom field in enjoy transaction.
    In my case iam concerned with EBAN- Me51n - Purchase Req.
    can we configure from field selection groups, if we have the field in EBAN.
    I doubt , but i would like to hear from you  guys too.
    Thanks
    Satheesh.

    Hi,
    You have to use following User Exits;
    MEREQ001 - Customers' Own Data in Purchase Requisition

  • Add customized fields in ME21N item overview.

    Hi experts,
    Can we insert our own customized fields into ME21N item overview section.
    Pls advise.
    Thanks and regards,
    Simonksh.

    hi,
    Yes, you can do it with the help of ABAP consultant...
    Pls check whether you are providing all links to the tables for that customised field...For this all coding is required to be done...
    Also check:
    MM06E005 - Customer fields in purchasing documents
    Its an intensive work...
    Hope it helps..
    Regards
    Priyanka.P

  • Custom fields in FD32 Transaction

    Hi All,
    My requirement is to add custom Fields in FD32 transaction in central data tab.
    Please help.

    Hi Santhosh,
    I am not that familar with FD32 functionality but by looking at its program in subroutine ECS_INITIALISIEREN, it call function OPEN_FI_SUBSCREENS_GET to get a list of screens for displaying. So I guess you need to investigate in this function what tables need to be populated so that maybe a customer screen can be added within FD32.
    You should not use screen 210 or any subscreens in SAP program except it goes thru User Exit (SMOD) or BADI (SE18).

  • Custom fields in ME21n ,step by step procedure/weblog ?

    I need to add a custom field zz1 to ME21N transaction at header level and make it available for input in the screen. Is there any step by step proceurec/approach which is generic for adding this functionality to any standard transaction?
    Rgds,
    Ajay

    Hi,
      Try this..
      In ZXM06TOP
      DATA: gl_ekko_ci LIKE ekko_ci.
      In the FM EXIT_SAPMM06E_006
      ekko_ci  = i_ci_ekko.
      In the FM EXIT_SAPMM06E_007
      *transfer values in own structures
      move-corresponding i_ekko to gl_ekko_ci.
      In the FM EXIT_SAPMM06E_008
      E_CI_EKkO = gl_ekko_ci.
      if gl_ekko_ci-ZZ ne ekko_ci-ZZ.
          e_ci_ekko-ZZ = ekko_ci-ZZ.
          e_ci_update = 'X'.
      ENDIF.
    Please let me know if it works..
    Thanks
    Naren

  • Triggering BAdI on change of customer field in ME21N

    Hello,
    How can I tell transaction ME21N that relevant field values have been changed?
    I'm using BAdI ME_PROCESS_PO_CUST to change several field values in ME21N and ME22N. The BAdI (method PROCESS_ITEM) is called whenever a field changes, which is good.
    However, the BAdI is NOT called when a customer field changes.
    Of course, I can create a PAI module to catch changes in the customer fields, but how can I notify ME21N that the BAdI has to be called?
    Thanks in advance
    Roland

    Hi!
    Apparently this does not work. However, I implemented BAdI ME_GUI_PO_CUST to create a new customer subscreen and this one works.
    Unfortunately the "old" user exit and the "new" BAdI don't work together very well...
    best regards
    Roland

  • Grayout of  component screen  fields in ME21N transaction

    Hi experts,
       I have a problem while creating subcontracting PO i want to gray out the fields of component screen...in ME21N transaction...is it possible through the screen varient or else should i go for exit  ??...could u please help me in finding  the right procedure...........
    Best Regards,
    shanker

    Go to the screen where u want to make the changes.
    Click on System -> Status. Double click on the screen Number (like 1121).
    Then on the PBO module screen click on 'Layout'. You will go to graphical screen painter.
    Then DOUBLE CLICK on the column/field you want to gray out and on Attribute part, Program Input -> Not possible .(save + activate)
    You will need an Access Key to change the standard SAP Screen...
    Fawaz

  • Custom field in approval transaction time sheet

    Hi,
    in transaction CAT2, I added two custom field.
    Is there any ways to use this field like selection parameters in transaction CAPP or CATS_APPR_LITE?
    Thanks in advance
    Regards
    Raffaele

    no answered

  • Adding custom fields to XD01 transaction

    Hi All,
    I need to add custom fields to the Customer create transaction (XD01). Can anyone tell me the feasibility of having screen-exits or BADIs to acheive the same? I have searched for screen exits but could found none, and regarding BADI's i found these CUSTOMER_ADD_DATA, CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI. Unfortunately there is no default code assigned to these BADI's. Please tell me how we can acheive the requirement. we dont have any include too in the KNA1 table hence i feel going with APPEND structure.
    Thank You
    Yugandhar K

    Hello Mahesh B
    In short…
    The Number field determines the display order of the Tabs on your new screen.  The i_taxi_fcode parameter is the text you entered, or will enter, in the Function Code field on the Label Tab Pages.
    In long…
    In the IMG activity “Prepare Modification-Free Enhancement in Customer Master Record”, you add a Screen Grp code (e.g. “Z1”) and a description. Then you select Z1 and double-click the Label Tab Pages folder on the left. 
    Now, add one or more records in this Label Tab Pages screen.  Each record you add will cause a Tab to be displayed on your new Z1 screen (once you implement the screen with a program as described in earlier posts). 
    The fields of the Label Tab Pages records are:
    - NUMBER, which determines the order that the Tabs will be displayed;
    - FUNCTION CODE, this is passed to the BAdI as i_taxi_fcode;
    - DESCRIPTION, which becomes the Label displayed on the Tab; and
    - ICON, which, if entered, will display beside the Label on the Tab.
    Example records:
    10, Z1_TR1, Tab1description, <blank icon field>
    20, Z1_TR2, Tab2description, <Some Icon>
    I prefixed my FUNTION CODEs with the screen group (e.g. Z1_TR1 and Z1_TR2).
    More than one BAdI can be implemented in the system at the same time, so you should use the Screen Grp (e.g. Z1) and/or the Tab FUNCTION CODE (i_taxi_fcode - e.g. Z1_TR1) to determine when to execute your custom code. 
    Below is an example implementation of the get_taxi_screen method in the customer_add_data_cs BAdI. 
    If a user were to click on the second Tab of the Z1 screen group, the ‘Z1_TR2’ case would be executed and screen 200 would display on this Tab screen.  If the user clicked back to the first tab, the ‘Z1_TR1’ case would be executed and screen 100 would display on this Tab.
    method if_ex_customer_add_data_cs~get_taxi_screen .
      case flt_val.
        when 'Z1'.
          case i_taxi_fcode.
            when 'Z1_TR1'.
              e_screen  = '0100'.
              e_program = 'Z_PROGRAM_NAME'.
              e_headerscreen_layout = ' '.
            when 'Z1_TR2'.
              e_screen  = '0200'.
              e_program = ‘Z_PROGRAM_NAME'.
              e_headerscreen_layout = ' '.
          endcase.
      endcase.
    endmethod.
    Hope this helps.
    Allan

  • Adding custom fields in Delivery transaction

    Hi,
    I need to add custom fields in the delivery transaction(VL01N/VL02N) at Item level in Material tab screen.
    Are there any screen exits available for delivery order in any other tabs or Do I have to modify the standard program.
    Regards,
    Sudheer

    Hi sudheer
    there is no screen exits for vl01n adn vl02n
    you have modify the standard program
    regards
    kishore

  • Custom fields in CJ40 transaction

    Hi,
    I want to add two custom fields in transaction CJ40 at the Unit Costing Line Item level and the screen number is 1301 and the program name is SAPLKKDI. This screen uses structure RK70L.
    Thanks in advance.
    Regards
    Nilesh Telkikar

    Try finding the main table for this transaction and check if CI_INCLUDE Exists there. this is the way we update the standard screens.

  • Want to add Custom field in IW22 transaction

    Hi All,
    I have requirement to add a custom field (Zfield) work class in IW22 transaction in Start/End Dates section.
    The  custom field has some constant values. When I choose the work class, the Priority field value should automatically populated according to value of work class. Plaese guide me step step procedure.
    Regards,
    sanjib.

    Hi,
    Use this Exit QQMA0001:
    Create a subscreen in SAPLXQQM Screen No: 0113(Mention the custom screen as per your FD)
    I Hope we can achive this by customizations in SPRO.
    SPRO>Quality Management>Quality Notification-->Overview of notification
    Select the Notification Type-->click on  Nofication --> Detail
    In this screen enter the screen number which we created at module pool with reference to
    custom screen 091 and save the entries.
    I hope this may helpfull.
    Thanks,
    AMS

Maybe you are looking for