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

Similar Messages

  • Purchase Contract Overview Tab Custom fields showing in Header Tab

    Hi Team,
    I have added Custom Fields in Contract Overview Tab using Structure called  /SAPSARM/S_CLL_STR_HEADER in veiw level.
    In SPRO Metadata level i have added append structure in  INCL_EEW_PD_HEADER_CSF_CTR.
    Path is--> Extensions and Field Controls --->Define Customer Fields on Header Level --> append for Customer Fields on Contract Header.
    But custom fields are showing in Overview Tab as well as Header Tab. Here in Webdynpro View level--> Contract Overview Tab & Header Tab both are using same structure called  /SAPSARM/S_CLL_STR_HEADER .
    Can some one suggest, how can i restrict custom fields in Header Tab, which are not required.
    Thanks & regards
    Sandeep.

    Dear Soumyaprakash,
      Thanks for your reply.
      If i follow the process described by you, i am losing fields in Overview tab as well as Header Tab.
      but i have to hide fields only in Header tab, but should be visible in Overview.
      Please share some ideas.
    Thanks & Regards
    Sandeep.

  • Custom Field in the header of Shopping Cart

    Dear all,
    We have to add a Custom field on the header of the Shopping Cart which will have three values.
    This field has to flow thru the Bid invitation, Contract and the PO ...
    Can anybody provide the technical details of the same ?? Which all are the structures to be changed ?
    Thanks in Advance ...
    Regards,
    Vivek K

    Hi
    To add  custom fields to the shopping cart, please try this process ->
    Please refer to these SAP OSS notes ->
    <u>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
    Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.
    BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
    BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
    BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
    Please refer to these links for details ->
    <b>Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    Regards
    - Atul

  • Adding F4 help to a custom field in an existing Tab

    Hi Experts,
        I have created a custom field in the application COMM_IBASE and in the tab IBA_PARTNERS. The same is appearing. I have created a search help for that field seperately. Now I want to attach the same and return a value corresponding to the users selection. Can anyone enumerate the steps for doing the same?
    Thanks in advance.
    Debasis

    Try to use screen-exit for assigning the serach help. There is one screen exit for PO ..
    Check the enhancement - MM06E005 ,
    Create project in cmod and use this enhancement.
    use the PROCESS ON VALUE-REQUEST event and  use FM 'F4IF_INT_TABLE_VALUE_REQUEST'
    hope this will resolve the issue.
    anya

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

  • Additional custom field on the assignments tab KO01

    Hi Geeks ,
    I have  a requirement to add a new custom field to the assignments tab of the tcode KO01. This new field is not available in the structure CI_AUFK . Is it achievable via enhancement COOPA003 ? If yes , then how ? . A <removed by moderator> response would really be appreciated.
    Thanks,
    Preetinder singh.
    Edited by: Thomas Zloch on Nov 4, 2011 11:28 PM

    Proceed as follows:
        You can use the CMOD transaction to create an enhancement project for the COOPA003 enhancement.
        You can use the SE11 transaction to create the CI_AUFK structure as described above. Transfer three fields into this structure and activate it:
    Field name Data element
    ZZMATNR MATNR (Material nummer)
    ZZKUNNR KUNNR (Debitor)
    ZZTEXT30 TEXT30 (30-character text)
    It is recommended that you reactivate the COAS and AUFKV views separately.
        Copy the following objcts from the KOXM function group to the XAUF function group, using the SE80 transaction (Workbench Organizer). There, display the KOXM function group, position
    the cursor on the source object, and copy it to the corresponding target object.
    Caution
    When you copy, the target objects are overwritten. If the target objects already exist, then insert the source code for the source object into the target object.
    Object type Source Target
    Screen SAPLKOXM 0100 to SAPLXAUF 0100
    Include (Top include) LKOXMTOP to ZXAUFTOP
    Include (PBO) LKOXMF04 to  ZXAUFU04
    Include (PAI) LKOXMF05  to ZXAUFU05
        The ZXAUFTOP still requires changes to the source code. Use the SE38 transaction (ABAP Editor) to process this include. Detailed instructions are contained in the source code as
    comments.
        Activate the enhancement project. The fields should now be available in the master data maintenance, and should be saved.
        Function/Program:
            EXIT_SAPMKAUF_002: Function callup for customer fields: PBO data SAP -> Customer
            EXIT_SAPMKAUF_003: Function callup for customer fields: PAI data customer -> SAP
    Include ZXAUFU04 (part of EXIT_SAPMKAUF_002)
    *&  Include           ZXAUFU04
    write imported data in global structures
      MOVE-CORRESPONDING I_AUFK TO GLOBAL_AUFK.
      MOVE-CORRESPONDING I_KAUF TO GLOBAL_KAUF.
    decide wich subscreen is to be displayed
      IF ( GLOBAL_KAUF-PAR_LAYOU <> 'ABCD' ) AND
         ( GLOBAL_AUFK-AUART  <> '1234' ).
        SUBSCREEN = '0100'.
      ELSE.
        SUBSCREEN = SPACE.
      ENDIF.
    *&  Include           ZXAUFU04
    This include is part of the example programm for
    customer exit COOPA003.
    To activate the example, copy it to the include ZXAUFF05.
    Remove the asteriks indicating a comment line in the first column.
    Make sure ZXAUFF05 doesn't exist yet! Use cut-and-paste instead.
      INCLUDE LKOXMF05                                                   *
    give only customer fields back to SAP-Programm
    *C_USER_CI_AUFK-ZZMATNR    =  GLOBAL_AUFK-ZZMATNR.
    *C_USER_CI_AUFK-ZZKUNNR    =  GLOBAL_AUFK-ZZKUNNR.
    *C_USER_CI_AUFK-ZZTEXT30   =  GLOBAL_AUFK-ZZTEXT30.
    Edited by: ZAHID HAMEED on Nov 5, 2011 12:37 PM

  • Adding a custom field in IW32 Components tab

    Hi,
    I had a requirement to add a custom field in the "components" tab of IW32 transaction.
    I tried to find out an exit for this transaction but I haven't found any exit that fullfills this requirement.
    Please provide me some information whether there is an Exit, BAdI or any enhancement spots available to add a custom field.
    Thanks in Advance.

    Hi,
    you can add a custom tab in IW32 tcode via the function group XWOC.

  • Enhancement in VA01 (Custom field addition in Additional Tab at header)

    Hi Experts,
    I have to develop some custom fields in tcode VA01 at header level in addtional data B tab. I know that i can use access key and develop the screen 8309 of program SAPMV45A and for that i have to provide access key. But i dont want to use access key.
    Is there any screen exit or badi through which i can develop the screen in additional data B tab in VA01. Please provide me suggestion.
    Thanks in advance.
    Regards,
    SURYA BASU

    Hi
    I don't know other solution. Provide a key in my opinion is not a problem. You must do it when create your own VOFM subroutines in your customer range number. if your boss or your client has doubts, ask him/her to see the SAP Note 381348 - Using user exit, customer exit, VOFM in SD, when it says:
    At the beginning of the R/3 development the SAP Basis did not offer
    technologies for exits yet, nevertheless many customers wanted to implement
    their own functions, checks, and so on. Thus, in the SD area, includes were
    delivered like, for example, MV45AFZZ. This include contains some empty
    FORM routines (user exits) to which you can go from the respective
    processing programs.
    and
    Changes to user exits in SD are MODIFICATIONS,
    since the original of an object belongs to SAP (thus when you change a user
    exit an SSCR registration is also required).
    Why this exits belongs to SAP, see Note 16466 - Customer name range for SAP objects.
    I hope this helps you
    Regards
    Eduardo

  • Adding Custom fields to PO Additional TAB in Header

    Hello Experts.
    We have a requirement to add 2 additional fields in the PO header - ADDITIONAL TAB.  I have included  the fields in CL_EKKO include and activated it.  Can you please let me know the exit or BADI or sample to have this in Additonal TAB.
    I understand that we can create a custom TAB in header and bring in those fields. But i would like to bring these custom fields in ADDITIONAL TAB of  PO header only....not creating any new customer tab.
    Please share your thoughts.
    Edited by: Ganeshkumaran Gopalakrishnan on Oct 6, 2011 3:57 PM

    Hi Max,
    Using SAPLXM06  0101 is adding new Custom TAB in PO Header. As i mentioned i dont want new custom tab in Header. All I want is  to add the new custom fields in the existing Additional DATA TAB of the PO header.
    There is already existing TAB called Additional DATA, i need my custom fields to be available in that TAB, rather than creating a new tab for those fields.
    Please let me know how to add it to existing Additional data tab in PO header. thx

  • Custom button and Custom fields in item data tab of SRM shopping cart

    Hello All,
    I am new to SRM 7.
    There is a requirement to add a custom button and on the click of a button I need to pop up some custom fields , and
    store it in SRM system.
    The webdynpro component is /SAPSRM/WDC_UI_SC_DOFC_D1.
    Can you pls tell me the process of adding, popup and transfer of the fields to SRM tables.
    Should we adding some fileds in SPRO->Extensions and field control.
    Kindly help.
    Regards
    Vinay

    Hi,
    I dont have access to SRM system but you can use enhancment concepts to enhance the standard component.
    Refer http://wiki.sdn.sap.com/wiki/display/SRM/HidingtabofShoppingcartinSAPSRM7.0 which is having something simmilar requirment.
    also refer http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?QuickLink=index&overridelayout=true
    I hope this will helpful for you to achive your requirments.
    Thanks,
    Chandra

  • Adding custom fields to notifications-approval tab alv grid

    Transaction IW21 - Create PM Notifications.
    on the Approval Tab - there is an ALV grid that contains lots of fields. I know that i can click on the upper right hand corner and modifiy the layout by hidding fields. I want to add some custom fields to this grid.
    I added my fields to view QMSM and now when I look at the database table using SE16 - i can see my new fields.
    But how do I add them to this ALV grid?
    Please and Thank you,
    Julia Ramos
    Orange County Public Schools.

    I have read SAP OSS NOTE:  586523 Customer-defined fields in list editing. This note helped me add these same fields to many of the standard reporting transactions. IQS8, IW28, IW29, IW38, IW39
    I added my fields to
    QMEL - Quality Notification
    RIHQMEL_LIST - Display structure reporting for QMEL
    RQMQMEL - Quality notification - header data
    RQMQMSM - Quality notification - measures (reporting)
    Then i ran SAP program BALVBUFDEL. This program refreshs the alv buffer. This was very cool in that it allows us to access and report on all of my custom fields thru the standard reporting transactions!
    I thought this same logic might work for transaction IW21. I found the structure used by the approval tab alv program, QMSM,  and created an append structure, ZAQMSM with my fields - ran the balvbufdel program to refresh the alv buffers - but i still can not see my fields in the approval tab. I believe that there must be a way to do this - i will keep trying different things and read thru move OSS notes. If you have any sugestions or ideas - they would be greatly appreciated.
    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

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

  • Replication of Custom Fields from CRM to ISU and Vice versa

    Hi Experts,
    We are working on adding Z fields on BP level. For this how does the replication of the values takes place from CRM to ISU or vice versa. What are the middleware enhancement we need to do in CRM side or in the ISU side. We would add the fields on web UI crm side by AET but at ISU side how we need to do that and how would the field values replicate in both the system.
    A approach for adding BP custom fields in CRM and its interaction with ISU and vice versa would be appriciated.
    Thanks,
    Mayur

    Excuse, you may enter more in detail?
    I have created a custom field on BP using the AET would now like to replicate this custom field in BP also in ISU.
    I can do all this using the EEWB, but I would avoid it, since, in ISU we already have custom fields on BP, I just can not link them with CRM.

  • Customer Field in 'Delivery address tab of PO - ME22n

    I am seeing customer field entered for some PO's and the field is hidden for few in delivery address TAB. How to enter customer in delivery address TAB? Kindly help me.
    Thanks

    Hi
    Can you tell me the resolution
    Regards
    rajeev

Maybe you are looking for