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

Similar Messages

  • 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 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.

  • 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

  • Customer field Not shown in ME21n and ME22N

    Hi,
    While creation ME21N and change ME22N we are unable to get Customer field in Delivery address tab of the PO, We are getting Address and Vendor (Sc Vendor) fields in Delivery address tab , but customer not able to see.
    The Customer field we can seen through ME23N.
    We have cross check screen layout for ME21N and ME22 and NBF here in all cases Customer field is Optional.

    Hi,
    Please check screen layout for AKTH & AKTV.
    Regards
    Subbu.

  • Include a new tab and add custom fields in transaction ME21n

    Hi All,
    I have a requirement to add a new tab at the header level and include 4 custom fields to the tab in ME21N transaction. I need to use BADI for developing this. Can any one help me with the procedure to how to include the tab and add new fields to it.
    Regards,
    Clara

    check
    BADI
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    <b>TIP :- Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order  --> createfromdat2 
    Adding small screen shots to my TIP.
    After finding the Application Component go to BAPI and check with the same path
    what we got SD-> SLS Sales
    You need to go to BAPI tcode
    you will find the application path as i mentioned
    goto Sales and Distribution
    click on createfromdat2 and check the BAPI</b>
    Rewards if useful.....................
    Minal

  • How to make the custom field enable/disable in ME21n/ME22n/ME23n trans

    Hi Experts,
    I need help.
    I have created one custom field in the transaction ME21n/ME22n/ME23n under customer data 2 tab. But my problem is the field is always in enable (means editable only)  even in Display mode. How to make the field is non editable in display mode and editable in change mode.
    I have tried by putting some logic to make that field to change alternatively according to change/display button. And it is working fine but if we click any othe button , this field is becoming editable even in display mode.
    How to make this field to behave as standard fields?
    Please reply me <removed by moderator>
    Thank you in advance.
    Best Regards,
    Divakar.
    Edited by: Thomas Zloch on Mar 2, 2012

    If you have BADI implimented for custom tabs then you can do this in method ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM
    lv_changeable = im_header->is_changeable( ).
      LOOP AT ch_fieldselection ASSIGNING <fs>
        IF lv_changeable IS INITIAL.
          <fs>-fieldstatus = '*'. " Display
        ELSE.
          <fs>-fieldstatus = '+'. " Change
        ENDIF.
    endloop.

  • ME21N Custom Field in Document Header.

    Hi Guys,
    Could you guys please help me with the following problem.
    I have a custom field in a custom tab in the header of ME21N. But When I change that field manually the transaction does not update the pricing. But if I change any standard field, the transacction update the pricing.
    Do you have any Idea why and how to solve this ?
    Thank you very much.

    Hi , Thanks for your answer Raymond.   But now I have the answer. Let's pretend that I want to insert a new field in EKKO . the field is ZZPUERTO and i want the transaction recalculate the price if i change that field.
    1-. the first thing that you need is to create a copy of this function group MEPOBADIEX. There you have to create your new screen. Comment all the code in all function modules.  Use function module ZMEPOBADIEX_PUSH. Insert there your code. for example:
      zmepo_badi_struct = im_dynp_data.
    2-. Use ME_GUI_PO_CUST and populate method suscribe with the data from the screen that you just create in the first step. in the following way :
    Method: Suscribe
    CHECK im_application = 'PO'.
       CHECK im_element     = 'HEADER'.
    * each line in re_subscribers generates a subscreen.
    *    We add one subscreen in this example
       CLEAR re_subscribers[].
    * the name is a unique identifier for the subscreen and
    *  defined in this class definition
       ls_subscriber-name = subscreen1.
    * the dynpro number to use
       ls_subscriber-dynpro = '9000'.
    * the program where the dynpro can be found
       ls_subscriber-program = 'SAPLZMEPOBADIEX'.
    * each subscreen needs his own DDIC-Structure
       ls_subscriber-struct_name = 'ZMEPO_BADI_STRUCT'.
    * a label can be defined
       ls_subscriber-label = text-001.
    * the position within the tabstrib can be defined
       ls_subscriber-position = 13.
    * the height of the screen can be defined here.
    *  Currently we suport two screen sizes:
    * value <= 7 a sevel line subscreen
    * value > 7  a 16 line subscreen
       ls_subscriber-height = 7.
       APPEND ls_subscriber TO re_subscribers.
    3-. populate the following code in method MAP_DYNPRO_FIELDS
    FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
       CONSTANTS: mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
       LOOP AT ch_mapping ASSIGNING <mapping>.
         CASE <mapping>-fieldname.
           WHEN 'ZZPUERTO'.
             <mapping>-metafield = mmmfd_cust_01.
         ENDCASE.
    4-. The followin Code for the method TRANSPORT FROM MODEL
    transport_from_model
    DATA: l_header       TYPE REF TO if_purchase_order_mm,
             ls_mepoheader  TYPE mepoheader,
             ls_customer    TYPE zmepo_badi_struct.
    * system asks to transport data from the business
    *  logic into the view.
       CASE im_name.
         WHEN subscreen1.
    * is it an item? im_model can be header or item.
           mmpur_dynamic_cast l_header im_model.
           CHECK NOT l_header IS INITIAL.
    * transport standard fields
           ls_mepoheader = l_header->get_data( ).
    *      ls_customer-zzpuerto = ls_mepoheader-zzpuerto.
    * store info for later use
    *      MOVE-CORRESPONDING ls_mepoheader TO dynp_data_pbo.
           MOVE ls_mepoheader-zzpuerto TO dynp_data_pbo-zzpuerto.
         WHEN OTHERS.
       ENDCASE.
    5-. Method TRANSPORT_TO_DYNP
    CASE im_name.
         WHEN subscreen1.
           CALL FUNCTION 'ZMEPOBADIEX_PUSH'
             EXPORTING
               im_dynp_data = dynp_data_pbo.
         WHEN OTHERS.
       ENDCASE.
    6-. Method : TRANSPORT_FROM_DYNP
    CASE im_name.
         WHEN subscreen1.
           CALL FUNCTION 'ZMEPOBADIEX_POP'
             IMPORTING
               ex_dynp_data = dynp_data_pai.
           IF dynp_data_pai NE dynp_data_pbo.
             re_changed = mmpur_yes.
           ENDIF.
         WHEN OTHERS.
       ENDCASE.
    7-.  METHOD TRANSPORT_TO_MODEL
    DATA: l_header       TYPE REF TO if_purchase_order_mm,
             ls_mepoheader  TYPE mepoheader.
    * data have to be transported to business logic
       CASE im_name.
         WHEN subscreen1.
    * is it an item? im_model can be header or item.
           mmpur_dynamic_cast l_header im_model.
           CHECK NOT l_header IS INITIAL.
           ls_mepoheader = l_header->get_data( ).
    * customer fields changed?
           IF dynp_data_pbo-zzpuerto NE dynp_data_pai-zzpuerto.
    * update customerfields
             ls_mepoheader-zzpuerto = dynp_data_pai-zzpuerto.
             CALL METHOD l_header->set_data( ls_mepoheader ).
           ENDIF.
         WHEN OTHERS.
       ENDCASE.
    8-. Now we go to BADI ME_PROCESS_PO_CUST and we insert the next code in method FIELDSELECTION_HEADER. This is to show the screen in transactions. 
    DATA: l_persistent TYPE mmpur_bool.
       FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
       READ TABLE ch_fieldselection ASSIGNING <fs>
         WITH TABLE KEY metafield = mmmfd_cust_01.
       IF sy-subrc IS INITIAL.
         CASE sy-tcode.
           WHEN 'ME21N' OR 'ME22N' OR 'ME29N'.
             <fs>-fieldstatus = '.'. " Modify
           WHEN OTHERS.
             <fs>-fieldstatus = '*'. " Display
         ENDCASE.
       ENDIF.
    9-. Finally we go to Method PROCESS_HEADER and there we put the logic that we want for our new screen. For example I put the following code because if the user don't populate the new field I want to use some querys to populate it .
    DATA: ls_mepoheader TYPE mepoheader,
             lv_adrnr      TYPE adrnr,
             lv_adrc       TYPE ad_addrnum,
             lv_transpzone TYPE lzone.
       ls_mepoheader = im_header->get_data( ).
       IF im_header->is_persistent( ) EQ mmpur_no.
         IF ls_mepoheader-zzpuerto IS INITIAL.
           mmpur_metafield mmmfd_cust_01.
           SELECT SINGLE adrnr
           INTO lv_adrnr
           FROM lfa1
           WHERE lifnr = ls_mepoheader-lifnr.
           IF sy-subrc EQ 0.
             lv_adrc = lv_adrnr.
             SELECT SINGLE transpzone
             INTO lv_transpzone
             FROM adrc
             WHERE addrnumber = lv_adrc.
             IF sy-subrc EQ 0.
               ls_mepoheader-zzpuerto = lv_transpzone.
               CALL METHOD im_header->set_data( ls_mepoheader ).
               CLEAR ls_mepoheader.
             ENDIF.
           ENDIF.
         ENDIF.
       ENDIF.
    10. Any questions please let me know. I know it is difficult but it works.
    Thanks .

  • Screen Exit for adding custom fields in Additional Data tab in ME21N

    I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
    I also need a similar exit for adding a filed at item level.
    Thanks in advance
    Martin

    Hello,
    1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
    please check it for VA02
    SPRO u2013 SAP Reference IMG ---  Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
    1)Screen group                                  description
            zs                                           creating badi      --- (save)
           click on (label tab pages) u2013 new entries
           number u2013 10 , function code u2013 zs10 ,  description u2013 func ---(save) u2013(back)
    2)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS
         (desc u2013 impl for cust) u2013 (save)
        interfaceu2014(check_add_on_active) double click on it
    3)the above screen appear --  write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
         -- (activate) u2013 (back)
       Business adds in customer sub screens
    4)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS1
         (description -- cust) u2013 in attribute u2013 (give screen group name)
    5)go to interfaces (GET_TAXI_SCREEN)  double click on it
       (save)  --- (activate) 
    6)(SAVE)  -- 
        Goto SE38  -- CREATE PROGRAM WITH NAME (ZQW) type module pool
         Goto SE51  -- Prog : ZQW
           Screen : 200 (Create)
          Goto layout u2013 design the screen
    7)save u2013 activate
       then goto transaction : va02
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u ,
    santhosh

  • Purchase Order - ME21N/ME22N - Defaulting custom field in EKPO table

    Hi,
    I checked the forum for answers but couldnt find any relevant ones.
    We have a custom field in one of the custom screens at Item level. This date field needs to be defaulted with the delivery date during create/change if the value is blank.
    Problem occurs when user blanks out the existing value in this field and it is supposed to get defaulted to delivery date again.
    I am capturing the PAI value (blank) in method Transport_to_model and exporting it to the customer exit EXIT_SAPMM06E_018 which sets the user entered value in structure E_CI_EKPO.
    Then, i try to default the value of this field back to delivery date in method PROCESS_ITEM by using set_data.
    Whenever the user blanks out the value in the screen, it goes for an infinite loop and finally times out.
    I see that the method PROCESS_ITEM is getting called afresh infinitely. The set values is gone, ie, the default value set in set_data is also blanked out when it arrives in PROCESS_ITEM again.
    Before debugging further, i thought i will post this in case anyone has faced the same issue.
    Appreciate your time.
    Regards,
    Bikash

    Hi Savitha,
    Not sure if this is going to help much..but heres wat i put in PROCESS_ITEM
            wl_mepoitem-yyreqdate = wl_mepoitem-eindt.
              CALL METHOD im_item->set_data
               EXPORTING
               im_data = wl_mepoitem.
    wl_mepoitem contains the po data fetched using get_data in the initial part of the code.
    I have also done a workaround such that now, in method Transport_to_model, i dont pass the blank value to the user exit when a user blanks out the value, instead i default it in this method itself to the delivery date and the user exit sets the value for me. Now, PROCESS_ITEM doesnt go into the infinite loop. This surely hints towards something to do with me setting the value blank in the user exit and then trying to default it in the BADI.. somewhere the system is getting confused here..
    Regards,
    Bikash

  • ME21n: Customer fields in item overview

    Hello,
    is it possible to add customer fields on the item overview in ME2xn?
    We have some customer fields on the article master (Retail) which should be added to EKPO when generating an PO and be visible on the screen on item overview also (view only).
    I know that it is possible to add customer screen with customer fields on item detail level using BAdI's ME_PROCESS_PO_CUST and ME_GUI_PO_CUST, but I would need the fields to be display in the table control.
    Any ideas?
    Thanks for your help!
    Regards,
    Alex

    Hello Chen Jun,
    No we could not solve in ecc5. So I gave the name fix for the dynpro.
    After upgrade to ecc6 I saw that the name was changed to the given in the exit.
    best regards Peter

  • How to populate a custom field of a Std. SAP Tx with BAPI usage 2 Load data

    Hi Experts,
    For instance, I created a custom field (say, custom_field_1) on a screen of standard SAP tx(say, ME21N) by using screen exit. And in order to populate the data into it (custom_field_1), will use the Function user exits of this Tx(ME23N).
    1) In next step, Where Where I have to add this field, apart from appending the same custom field in EKKO/EKPO table or any other related table; Extending the corresponding IDOC or creating a new Custom ÍDOC type? like What about BAPI?
    2) If I got a text file with the data (including the data for this custom_field_1 too) and I have been asked to load it into SAP, then, I decided to use BAPI (say, BAPI_PO_CREATE or CREATE1) to create the data, So, How to handle this custom field, I mean, In which BAPI structure I have to pass this custom_field_1 data? ( Iguess, for some BAPIs EXTENSIONIN structures are provided, sorry if am wrong!)
    Thank you.
    Edited by: SAP ABAPer on Feb 21, 2009 7:40 PM

    for example if you added field in the  VBAP table  then you can pass the custome field values like below
         move 'BAPE_VBAP' to lwa_extension-structure.
          lwa_bape_vbap-vbeln = lwa_final-vbeln.
          lwa_bape_vbap-posnr = lv_posnr.
          move lwa_final-yyslotid to  lwa_bape_vbap-new custome field.
          move lwa_bape_vbap to lwa_extension-valuepart1.
          append  lwa_extension to  lt_extension.
          clear  lwa_extension.
          move 'BAPE_VBAPX' to lwa_extension-structure.
          lwa_bape_vbapx-vbeln = lwa_final-vbeln.
          lwa_bape_vbapx-posnr = lv_posnr.
          move 'X' to lwa_bape_vbapx--new custome field.
          move lwa_bape_vbapx to lwa_extension-valuepart1.
          append  lwa_extension to  lt_extension.
          clear  lwa_extension.
    call function 'BAPI_SALESORDER_CHANGE'
            exporting
              salesdocument    = strcture
              order_header_inx = strcture
            tables
              order_item_in    =strcture
              order_item_inx   = strcture
              schedule_lines   = strcture
              schedule_linesx  = strcture
              extensionin      = lt_extension.

  • Custom field in PO header tab and its editable status

    Hi All,
    I have added an input field in the PO header (Customer Data) tab.
    The same field has been appended in the EKKO table.
    The update as per user's entry in PO is getting done in database table.
    The field will get grayed out for ME23N tcode and will be editable for ME21N and ME22N.
    The logic has been written in the PBO section.
    Now, within the tcode ME23N, user has option to get into change mode by pressing F7.
    Once user clicks F7, the PO gets into change mode, but the custom field will be still in uneditable mode itself.
    There are couple of other custom fields are in the same tab. They get into change mode with F7, but this alone remains un editable.
    How to make it editable in this scenario???
    Regards
    Pavan
    Edited by: Pavan Sanganal on Dec 26, 2011 6:56 PM

    HI Pavan,
    so only one custom field will not update in update mode after clicking f7 , so what happend exactally when user clciks on f7 the field properties are changed in to editable mode, in module pool program we can change field properties using internal table SCREEN , so loop the screen check this input field properties , like
    loop at screen .
    if screen-name = 'custom_field'.
    input = 'x'.
    endif.
    endloop.
    Regards
    Siva

  • BADI  ME_GUI_PO_CUST not populating custom fields

    Hi!
        I've created my custom fields in the Line item level for ME21n transaction. The custom fields are in the include structure CL_EKPODB for EKPO. I'm unable to populate my custom fields. Help needed.
        My screen fields are named EKPO-ZZSTREET ,EKPO-ZZCITY etc.  
    Thanks
    Shubha!

    Hi Shubha
          You have to set the mode ( editable / display only etc ) in method FIELDSELECTION_ITEM of BADI ME_PROCESS_PO_CUST to populate custom fields in  ME_GUI_PO_CUST.
    By default system will take display mode. So u can your customer field in Me23n.
    Regards
    Jeevi

Maybe you are looking for

  • Query on database column not working

    Hi i have a block which has around 40 columns.the block is based on a table which has more than 20000 records.When i try 2 make query on a Database column in Enter-Query mode its not working.It fetching all the records instead of the respective recor

  • URGENT PLEASE HELP - Source determination in Limits Carts not working

    Dear all, We have implemented SRM 4 on Server 5.0 and ECC 5 backend. We have in our environment service masters that have been catalogued and linked to Contracts. When one raises a cart and selects one on these catalogue service items, a backend PO c

  • HT1657 Why is only one of the two movies I've payed for from iTunes store refusing to download onto my iTouch 4 gen?

    I payed for two movies through iTunes store on my computer, after they were ready to be transfered to the iTouch from my rental library, only one successfully went through. The other film completely disregarded the attempt to show even a 'loading' ba

  • Compressor will not launch

    I have FCP 5.1.4 installed, along with Compressor 2.1 (as part of FCP Studio 1). I've been searching in this forum and elsewhere on the web, and it appears that many people are having a similar problem: the Compressor application will simply not laun

  • Pv in Direct Database request

    Hi I have a report from Direct database request .My question is how to create a PV(Prompt) where I dont have that table in the front end.