Query on PO item Custom Screen Fields

Hai all,
I created PO item custom screen with fields using ME_GUI_PO_CUST
ME_PROCESS_PO_CUST Badi's  and i used the following methods IF_EX_ME_GUI_PO_CUST~SUBSCRIBE,
IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS.
IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
My Problem is when i execute transaction ME23N or ME22N Fields which are in PO Item Custom Screen only in change mode.
Can Any one help me what is the process when i execute ME23N transaction the fields are in display mode and
when i execute ME22N the fields are in change mode .
Is available any BADI. Please Help me.
Thanks,
Nagaraju.

hi Naga,
you have to play with LOOP AT screen:
LOOP AT screen.
CASE sy-tcode.
WHEN 'ME22N'.
screen-input = '1'. ==> this will set to change
WHEN 'ME23N'.
screen-input = '0'. ==> this will set to display
ENDCASE.
MODIFY screen.
ENDLOOP.
Write this code in PBO module

Similar Messages

  • Custom screen field in the SRM portal screen for Business Partner Bidder

    I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
    I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
    The new field are available if I edit an Business partner only.

    Hi,
    Please look into the following OSS Notes:
    Note 675800 - Business partner enhancement SRM on maintenance screen
    Note 672960 - User-defined fields 2
    Thanks,
    Pradeep

  • Data not Updated in Custom Screen fields-Vendor Master

    Hello,
    I have created a custom screen in vendor master transaction and also implemented the two BADI's below.
    Business Add-In: Processing Master Data Enhancements
    (CUSTOMER_ADD_DATA/VENDOR_ADD_DATA)
    Passed the Custom Program and Screen No in the method GET_TAXI_SCREEN
    Business Add-In: Customer Subscreens
    (CUSTOMER_ADD_DATA_CS/VENDOR_ADD_DATA_CS)
    activate it with the BADI Processing Master Data Enhancements with method CHECK_ADD_ON_ACTIVE.
    I also created a new screen and used few fields from LFA1 (Append structure fields) such that the fields on the screen are : LFA1-ZZFIELD1 etc...
    Now the issue is the screen is displayed, but the data entered on the screen is not updated on the table LFA1 or data from the table is not displayed on the custom screen.
    Am i missing something?
    Regards,
    Shiva

    Solved this problem.
    I built the query against InfoCube and not the characteristic itself. That's why I can't see the update.
    Thanks.

  • How to enter decimal values in custom screen field in a screen enhancement

    Hi,
    there is a requirement to provide field in custom screen that should allow only the numeric values with decilmals in a screen enhancement ?
    As i cannot use field with float data type ? what are the alternates i have to do it ?
    Please let me know
    regards
    vishnu

    Hi,
    I tried  to create a field with NUM value wih 2 decimals by referring to CURR data type...it is giving an error...saying that reference table and field does not exist...
    help me out ..
    regards
    vishnu

  • PO ITEM CUSTOM TAB - FIELDS (non editable)

    Hi,
    I have created a custom tab in the PO item level using the badi "ME_GUI_PO_CUST". My custom fields in the custom tab are editable in the creation and change mode, while non-editable in the display mode as per my desire.
    The problem is when I am saving some changes in the PO, after this all standard fields were becoming non-editable but my custom fields in the custom tab were in the editable mode. I want custom fields also to be in non-editable, once I saved  from ME22N tcode.
    Please help me out.
    Best Regards,
    Gopi
    Edited by: Gopi Ramasamy on Sep 30, 2008 3:36 PM

    In method
    IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER
    call method is_changeable from data model
      DATA: xv_changeable TYPE mmpur_bool.
      xv_changeable = im_header->is_changeable( ).
    based on value of xv_changeable i.e. 'X' or space.
    set
    ch_fieldselection-fieldstatus = '+ . * -'
    '-'    ->  Hide / Inactive
    '*'    ->  Display only
    '+'   -> Change

  • Add New Screen Fields in Delievery Line Item

    Hello All,
    We have a requiremnet where we should add 3 custom fields to delivery line item tabs,
    please let me know how I can add a new tab for delievry line item tabs and how to add new custom screen fields in that tab,.
    Thanks
    Add New Screen Fields in Delievery Line Item
    Edited by: kishore_99 on Dec 8, 2009 5:31 PM

    No, I won't explain it in detail - you need to read the documentation and at least make an attempt at the process on your own first.  The documentation is right there in the IMG where I said it was but here's the path since you can't find it:
    Logistics Execution -> Shipping -> System Modifications -> Business Add-Ins in Shipping -> BADI for Additional Item Detail Screen...

  • Copy PO item -customer fields

    Hi all,
    I've added 2 customer fields to PO item customer screen via enhancement MM06E005.
    All works well besides item copy functionality - the system creates new PO item and copies everything besides my 2 customer fields.
    Any idea why + how 2 solve ? Is it working via BADI ME_GUI_PO_CUST ?
    Thanks in advance,
    Shai Eyal.

    Hi Shai,
    Please check whether you have used the Function Exit EXIT_SAPMM06E_008 for this requirement or not. Write your logic in the include ZXM06U37 for example as follows
    E_CI_EKKO-ZZTEST = EKKO_CI-ZZTEST.
    E_CI_UPDATE = 'X'.
    Here E_CI_EKKO is the FM Interface CHANGING Parameter and EKKO_CI-ZZTEST refers to the Screen Field. E_CI_UPDATE is also FM Interface parameter.
    If this doesn't work out then try using the  BADi ME_PROCESS_PO_CUST.
    Hope this will solve your problem. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

  • Screen fields without parameter id's in IW26 pseudo-selection screen

    The initial screen of IW26 looks like a selection screen but isn't.  It uses a number of screens as follows:
    1) For notification/status/order: IQS0 1050 (IQSO is the function group)
    2) For Notification Reference Object: IWO1 0100
    3) For Notification Responsibilities: IQSO 7326
    4) For Notification Start/End Dates: IQS0 7330
    5) For Notification Item: IQS0 7324
    6) For Notification Malfunction Data: IQS0 7328
    If you look at IQS0 7330, you'll see that the only the "Priority" screen field has a parameter id.
    If you look at IQS0:7324, you'll see that none of the Item-Related screen-fields have parameter ID's.
    Same for IQS0:7328 - none of the Malfunction-related fields have parameter id's.
    So - if we do a call transaction/skip first screen, we can't preset any of the Item-related screen fields in 7324, nor any of the Malfunction-related screen fields in 7330, nor any of the Date-related fields in 7328 except Priority.
    If we were dealing with a "regular" selection-screen here, I know how to get around this problem - do a "submit program" with the selection-screen parameters and select-options "preset" in the with-clause of the submit.
    But here we don't have a regular selection-screen.  We have the screens 7330, 7324, and 7328 in IQS0.  So I can't do a "submit program".
    So how do I preset screen-fields on these screens when SAP has provided no parameter ids for them?
    (I assume here that I can's use "submit program" because I'm not trying to present real selection screen fields.)
    Sorry if this is a dumb question, but I've only dealt with this problem before when the transaction has a real selection screen and I can use "submit program" with a with clause in which the parameters and select-options are preset.
    Thanks for any help anyone can provide.
    I

    Hi Rich -
    I've done the ten because you confirmed my suspicion that nothing "clean" can be done here.  I thought maybe some kind of customer screen exit would allow parameter id's to be assigned on the fly rather than in Dictionary, or something like that, but if you've never heard of this then I'm sure it can't be done.
    Anyway, the issue regarding the BDC is not the usual one of maintainability over time - it's a political one.
    The functional analysts want to use a 3rd party product to create a simpler front-end screen for IW26 - the guys on the shop floor don't want to chase the trees.
    We told them that this third party product has recently been known to cause headaches (in fact, by pure coincidence there was a post tonight 12/26 about this product.)
    They said - well what else are you going to do, write a BDC?
    I hadn't looked at IW26 so I assumed it had a regular selection screen and said to them that a BDC wouldn't be necessary - a call transaction or submit program would suffice.
    But of course I spoke too soon, unless I can get an OSSN with the parameter IDs.
    Anyway - that's the history here.
    BTW, I am going to blog on this topic of "missing" parameter ID's for two reasons:
    a) it ticks me off;
    b) if IW26 is to be efficiently called as a service, these missing ID's have got to be there;
    c) there's no reason to go to a 3rd party product just to avoid using a BDC when parameter IDs are missing.
    I know, I know - I'll blog about anything ...
    Regards
    djh

  • Scroll bar visible but not able to scroll in custom screen for IW21

    Hi,
    We are using custom tab (screen exit) in transaction for creating notifications (TCode IW21). Two subscreens are configured to be embedded in the tab, combined area of which is exceeding screen size vertically. The scroll bar is visible in the tab but is not able to scroll using mouse scroll, but can be dragged up and down.
    Does anyone know how to make it scrollable or make the scroll bar visible at application level (not in tab) and make it working?
    Thank you,
    Deepak

    Hello,
    Would you please implement the Methods GET_DATA to get th data from Databas to screen fields and SET_dATA to update thedata from custom screen fields to Data base table in u r case LFB1.
    Regards,

  • Greyed out screen field in transaction but modifiable by batch input

    Hi Gurus,
    I have a requirement where a custom screen field in a transaction (FK01/FK02/XK01/XK02) has to be greyed out when a user access these transactions. However, these fields will have to be modifiable when LSMW/batch input is being done.
    I hope someone can advise how I can do this.
    I'll definitely reward points for helpful answers.
    Thanks so much.
    Rgds,
    Joyie

    Declare on your layout input is 0. Or the field cannot be filled by value.
    After you have done that, create some code like this:
    Loop at screen.
         IF sy-batch is not initial or sy-binpt is not initial.
                if screen-group1 = 'ANL'
                   screen-input = '1'.
                endif.
            endif.
    endloop.
    Hope it helps solve your problem.

  • Custom screen lisbox and button

    Hello Friends.  How to add a custom screen field lisbox and a button to an existing sales order header view. The listbox is a screen field (not a CUSTOMERH field).  What are the steps besides copying the view .Please suggest.

    I do not know the answer about existing JSF components, but here is something that might work for you
    Drop a Grid Panel component where you want the text field and button.
    Set the columns property to 2.
    Drop a Text Field Component in the Grid Panel. Then Drop a Button component. If they don't drop in the right order, use the Outline window to rearrange.
    Try setting the width (setColumns) of the Text Field component in the prerender method. The button should nicely sit to the right, and you should not have overlap.
    Hope this helps,
    Chris

  • Adding of screen fields

    hi experts,
    I need to add some custom screen fields in the standard transaction code mm41. I am unable to locate the screen exit for same .
    Through which i can add fields on the transaction code.
    could u please give ur suggestions on same.

    hi saurabh,
    MGW00001            Material Master (Retail): Additional Data
    MGW00002            Material Master (Retail): Number Assignment
    try this one.
    regards,
    sandeep

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Screen exit MEREQ001- Copy 1 PR line item custom fields values in all

    Hi,
    I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen at line item level .
    Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
    I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
    I ll explain with an example for better understanding.
    I have created a PR with 3 line items ITEM1, ITEM2 ,and ITEM2
    When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2 and item3.
    The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM3 and ITEM1.
    Now, my requirement is to get the all  line items ITEM1 & ITEM2 and ITEM3 updated with custom added field values in EBAN.
    The logic i added in  ME_PROCESS_REQ_CUST~CHECK are as below.
           i_items             TYPE mmpur_requisition_ite                       ,
            lv_if_item          TYPE REF TO if_purchase_requisition_item,
            lt_itm_data         TYPE mereq_item   .
    DATA :  LV_dept TYPE EBAN-ZZDEPARTMENT ,
            lx_itm_data type mereq_itemx.
        CALL METHOD im_header->get_items
          RECEIVING
            re_items = i_items.
        LOOP AT i_items INTO wa_item.
          lv_if_item = wa_item-item.
          CALL METHOD lv_if_item->get_data
            RECEIVING
              re_data = lt_itm_data.
          CALL METHOD lv_if_item->get_datax
          RECEIVING
          re_datax = lx_itm_data.
         IF lt_itm_data-zzdepartment IS INITIAL.
             lt_itm_data-zzdepartment =  LV_dept .
             lx_itm_data-zzdepartment = 'X' .
          ELSE.
             Lv_dept = lt_itm_data-zzdepartment.
        ENDIF.
    To set the value for all line item.
            CALL METHOD lv_if_item->SET_DATAX
              EXPORTING
              IM_DATAX = lx_itm_data.
        CALL METHOD lv_if_item->Set_data
            EXPORTING
              IM_data = lt_itm_data.
        ENDLOOP.    " LOOP AT i_items INTO wa_item.
      ENDIF.    " IF ( NOT ls_header1-banfn IS INITIAL
    BUT above logic is not working
    Please give your inputs
    Thanks in advance
    Deepanker Dwivedi

    HI,
    You can use GET CURSOR LINE LINE_NO this will give you the sy-index so that you can read the itab like
    read table itab index line_no. This is one option and second is if you have row selector.
    read table itab with key mark = 'X'.
    If you want the Row contents befor the PAI triggers
    [Check this Thread|Table Control dynamic F4;
    Hope this is clear to you.
    Regards
    Ram

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

Maybe you are looking for

  • Error while transporting a request

    Hi, I am transporting a request having infoobjects into a quality server. while transporting its giving error as "Changes cannot be made,display user only". but when i checked into Quality server changes has already been made and corresponding relate

  • Automatic clearing of open items

    hi, we have customers with 'dummy-invoices' in our system. There is a document in FI with a value of 0,01 Euro on the customer. this document is an open item and never will be cleared. is there any possibility for automatic clearing of such open item

  • OS 10.4.10 Update Causing Audio Popping (AND HUM) Issues:

    OS 10.4.10 Update Causing Audio Popping (AND HUM) Issues: The problem on my Intel Mac mini with external Klipsch speakers (two mid-range/high and a subwoofer) is REAL obvious as the system emits a hum like a Spinal Tap amplifier turned up to #11 when

  • New features in oracle 11g over 10g

    hi forum, can you please let me know the major difference and steps for upgrading to oracle 11g from oracle 10g

  • Invoking super(this) produces compile error

    Consider this file Super.java: class Base { Base(Object o) { class Derived extends Base { Derived() { super(this); The expression 'super(this)' produces compilation errror: Super.java:10: cannot reference this before supertype constructor has been ca