How to keep wbs element  field in display mode in me22n?

Hi all,
Can somebody please guide me how i can keep wbs element field available at account assignment Tab at item level in transaction me22n as display mode?

Hi Dhruv,
You can implement BADI ME_PROCESS_PO_CUST  and implement the method FIELDSELECTION_ITEM.
I have pasted the SAP documentation available below. Please try this.
Field selection (FIELDSELECTION_HEADER_REFKEYS, FIELDSELECTION_ITEM_REFKEYS, FIELDSELECTION_HEADER, FIELDSELECTION_ITEM methods)
In the following methods, you can change the display properties of fields by supplementing or switching the field selection reference keys:
At header level FIELDSELECTION_HEADER_REFKEYS
Documentation for BAdI method FIELDSELECTION_HEADER_REFKEYS
At item level FIELDSELECTION_ITEM_REFKEYS
Documentation for BAdI method FIELDSELECTION_ITEM_REFKEYS
You can implement special rules using the methods FIELDSELECTION_HEADER (at header level) and FIELDSELECTION_ITEM (at item level).
Documentation for BAdI method FIELDSELECTION_HEADER
Documentation for BAdI method FIELDSELECTION_ITEM
Special Field Selection Item
Functionality
The FIELDSELECTION_ITEM method enables you to influence the field selection properties for a field.
Parameters
The following parameters are available:
IM_HEADER - Document header
The interface reference is of the type IF_PURCHASE_ORDER_MM.
IM_ITEM - Document item
The interface reference is of the type IF_PURCHASE_ORDER_ITEM_MM.
CH_FIELDSELECTION - Fiele selection table
By making changes to this table, you can influence the display properties of a field.
This table consists of value pairs <METAFIELD|FIELDSTATUS>.
The Metafield represents a business content (e.g. the PO quantity). Thus, for example, the database field EKPO-MENGE is linked to a certain metafield value just like the field MEPO1211-MENGE on the item overview screen in the purchase order.
Through this abstraction, reference can be made to business contents on a uniform basis.
Standard metafields are defined in the type group MMMFD.
The field selection status has four possible instances:
'-' Field is suppressed
'*' Field is purely a display field
'.' Input field
'+' Mandatory field
Notes
Under no circumstances make any changes to the database within this method. On no account use Commits.
For WBS element the meta filed no is 512.
mmmfd_wbs_element     TYPE mmpur_metafield VALUE 512.
In IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM method you can write the code as follows:
field-SYMBOLS : <FIELDSEL> like line of ch_fieldselection.
DATA: l_persistent TYPE mmpur_bool.
l_persistent = im_ITEM->is_persistent( ).
READ TABLE ch_fieldselection ASSIGNING <FIELDSEL> WITH TABLE KEY metafield = '512'.
IF sy-subrc IS INITIAL.
  <FIELDSEL>-fieldstatus = '*'. " Field is purely a display field
ENDIF.
Try this, it should work.
Regards,
Savitha
Edited by: Savitha Madhavagiri on Jan 8, 2010 4:20 AM

Similar Messages

  • How to make WBS element field in Notification a mandatory.

    How to make WBS element field in Notification a mandatory.
    Should I use USer Exit.
    In cutomization I didnt find ant standard customization

    Hi,
         If it is about WBS element field in Maintenance Order then check up user exit ;- IWO10009 PM Order: Customer Check for 'Save' Event
    For Notification i am not sure whether this field is ther , but anything u can perform checkings via 
    QQMA0014 QM/PM/SM: Checks before saving a notification
    Alternatively u can also explore via Transaction variant SHD0 ..
    regards
    pushpa

  • WBS element field to Depreciation Simulation Report  output display

    Hi SAP Experts,
    We need to Add the WBS element field to Depreciation Simulation Report  output display (S_ALR_87012936)
    Could please give your valuable inputs
    Thanks
    Hari Pothula

    HI Javed,
    We have capitalized with WBS element but not displaying in simulation report.
    All configurations done in in ACSET and activation Account assignment objects
    Thanks
    Hari

  • Need Profit Centre,WBS element fields in Customer/Vendor Line item display

    Dear Experts,
    In Standard SAP we do not have the Profit Center, WBS Element in Customer / Vendor line item functionality. Now we need to develop user exit, when User try to post transactions like MIRO, F-02, FB01 system should ask the Profit Center field and WBS Element field in Vendor / Customer line items.
    I dont know the actual functionality, The consultant has given example as 3 transactions, Do we need to update any other transactions also. If yes please provide me the information.
    Can anyone help me with the solution.
    Thanks in advance.
    Regards,
    Abdur Rafique

    I have used User exit, to obtain the above scenario.

  • WBS element field in the customer line item

    Hi Experts
    Clientu2019s requirement is to populate the WBS element in the customer line item.
    Field status of Posting key -01 for WBS element is u2013 Optional
    Field status of Customer recon a/c  for WBS element is u2013 Optional
    Still in the customer line item screen, the WBS element field is hidden.
    Kindly advise how to make the field WBS element available in the customer line item.
    Regards,
    Purnima

    Hello,
    When you post customer invoice, screen no 301 is active. Here you can find only fields like payment terms.baseline date,payment block etc.
    As this is not a cost object you will not find cost center, wbs element. You could find them on credit item.
    Regards,
    SK

  • In f-02 GL item fast entry i need to add WBS element field

    Dear All,
    In GL item fast entry screen f-02, I need to add one field WBS element.
    Please help me how to add the WBS element field in upload fast entry.
    Best Regards,
    Venkat.

    Dear,
    Use transaction O7E6 to add WBS Element into your variant.
    You can find your variant which is assigned in FB00.
    Regards,
    Chintan Joshi

  • WBS element field mandatory for specific sales order

    Hi Friends,
    I want to make the WBS element field in sale order line item to be mandatory for a specific sales order type. I am not able to add this field in incompletion log also. So can anyone let me know the solution for this.
    Ratna

    Hi,
    As solution suggest above is correct use VBAP table and Field is PS_PSP_PNR into ur incompletion log and assign this procedure to ur Item category. And If u want to WBS element check at header level the use VBAK table and field PS_PSP_PNR and assign this incompletion log to ur sales document type.
    Once more setting is required to stop the order from saving if incompletion check is unsucessful, for that you need to check a checkbox named "Incomplete. Message" in VOV8 tcode, for ur perticular sales document types.
    Hope this will resolve ur problem.
    rgds
    Dhiraj

  • How to activate WBS Element in Sales Order

    Dear All,
    How to activate WBS element in sales order?
    Thanks & Regards,
    PM

    Basically in case of Repair and overhaul material is taking inside for repair purpose..for that we create service order in which we r creating component, operation(time. labor, machine) besides we create notification to allow overhead activity for this special activity..
    once this service order r created and notification is set.. we r estimating cost for this process and updating sales price(DP82) which further send to customer for approval.. once v receive approval v issue a goods along with parental serviceable material to Plant for Plant maintenance estimation..
    so all this procedure obey just like project , in this case we have to assign WBS element into sales order level..
    WBS elemet is nothing simply its hierarchy which shows what r the steps followed in project(CJ20N)..
    Correct me if i m wrong..
    thanks
    Mk

  • WBS element field in SO for milestone billing

    Hi,
    I am using Milestone billing. When I am trying to create the Sales order the WBS element field is greyed out. Pleae advise.
    Regards,
    Santanu

    Hi Shantanu,
    I think you need to remove the assignment of the requirement type KE from your item category. I gues you are using TAO as the item category for Milestone.
    You go to Sales and DistributionBasic FunctionsAvailability Check and Transfer of RequirementsTransfer of RequirementsDetermination Of Requirement Types Using Transaction.
    Hope it helps.
    Shivaji.
    Edited by: Shivaji  Paul  Choudhury on Mar 2, 2009 4:21 PM

  • Which PO and PR table can be used to get the WBS element field.

    Which PO and PR table can be used to get the WBS element field. Thanks.

    HI,
    In the PO the concerned field for WBS element shall be tracked in the Item details and the account assignment tab in PO.
    It shall be checked from EKKO table with PS_POSI feld.
    The same shall also be tracked in PR from EBAN table .please refer the account assignment tab in the PR item details.
    Hope this helps.
    Regards,
    Prasanna
    Award pls if helpful.

  • How to lock wbs element

    Hi all,
    I would like to seek your help on how to lock wbs element in a report program. Is there any bapi or function module for that? The requirement is to lock the wbs element when the user process/run that particular WBS. If the user exit to the report program, then that is the time that the other user can be able to process the WBS.
    Please help. Thanks in advance.

    There is no BAPI or function module to lock on unlock a WBS element.Goto Tansaction CJ02,put in the WBS element and repsetive project.
    in CJ02, go to EDIT->STATUS->LOCK/UNLOCK.
    Hope this clarifies your query.
    Regards,
    teja

  • Adding f4 help to wbs element field in account assignment tab of me21n

    My requirment is to create f4 help for wbs element field in account assignment tab of me21n,
    I have to pick wbs elements according to plant and storage location assigned in item overview of purchase order.
    for that i have created a ztable. and use it in f4 code,  or help me if any  other suggestion u have.
    thanks,
    Amol.

    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

  • HOW TO SEE THE JOB NUMBER IN DISPLAY MODE?

    Hi all,
    I am new to apo and how to see the job number in display mode?
    i can see a couple of trns for create, delete and change and not to display it?
    Can anyone tell me abt it?
    Thanks
    pooja

    Hi Pooja,
    I assume your query is on identifying job ID in display mode
    To find out that, goto sm37, execute it and double click on
    the job, and then click on job details, you will get the
    job id (job number) in display mode
    Regards
    R. Senthil Mareeswaran.

  • Need to show some fields in display mode

    Hi, i need to show some fields in display mode for VA02 transaction code( is to change the values) for some particular users. so do we have any user exits for this requirement?
    Please answer me. its very urgent.. thanks in advance. 
    ex: payment terms and freight terms.

    you can try this for header level data
    MV45AFZZ exit ""USEREXIT_FIELD_MODIFICATION"
    code would be like below
       CASE screen-name.
    To suppress  Pricing total and Cuurency field at header
          WHEN 'VBAK-NETWR'.
    *YOU CAN ADD YOUR CONDITION HERE WHICH IF SATISFY THEN *EXECUTE NEXT  LINE OR SKIP IT   
          screen-INPUT = 0.
          WHEN 'VBAK-WAERK'.
              screen-INPUT = 0
        ENDCASE.
    but it depend upon what data AND in which tab you want to hide, like is it at header level or at item level or pricing (HEADER OR ITEM) data each of them have different exit to restrict data modification.
    ENJOY SAP.

  • Making short text field in Display mode for one particular Purchasing

    Hi All,
    This is regarding Making the Short text field in Display mode of PR for one Particular Purchasing.. i am giving you a bit elaborate...We are into E-Catalog Procurement.I will do the shopping from the Vendors external catalog and i will return back to SAP.
    While doing so, i dont want the user to change the Short Text field. I want that field shud display the Description. When i tried with the Screen Layout settings, it is fully grayed out and i am not able to see the Description of the Material. Is there any other options to get this enabled?. Please advice me on this settings to be done. Thanks in Advance.
    With Regards,
    Saakithyan

    Hi
    Define a Field selection key (new not the one which is assigned to document type) which makes  short text editable in screen layout config. and assign it to functional authorization value in t.code OMET. (it should be numeric). Then assign that functional authorization value in user master SU01 for users with parameter id EFB.
    Then it will work
    Regards
    Antony

Maybe you are looking for

  • HT1947 This app no longer works on ipad or iPhone after 2.4 upgrade?

    Even apple tech support can't get it working!! lookng at somehelp forums seems to be since IOS6 upgrade Guy was very helpful byt said will have to wait for new update!!

  • To generate a XML file against schema

    Hello, I am trying to parse a schema then against the schema to create new DOM object for the new XML file. After going through each element type from the schema DOM and find the type of each element, I could not deal with <xsd:sequence>. I could par

  • After updating to iOS7 my text messages are gone. How can I fix this?

    After updating to iOS7 and restoring my phone from backup, my text messages are still gone. How can I fix this?  Right before I updated to iOS7 I backed up my phone.  After the update was complete, my phone had none of my information on it so I resto

  • If field is empty

    How do you hide an element based on whether a field of a record is empty, i have the following code <?php if ($totalRows_rsProject1['Image1'] > 0) { ?> <img src="<?php echo $row_rsProfile['Image1']; ?>" alt="image7" class="Dynamic_Image" /> <?php } ?

  • My site works in Composer preview, but not on the web.

    I have just created a site w/ composer(through mozilla) and it works when i preview the index.html in the mozilla browser. So I am now using the fetch demo to ftp transfer my files to my domain(www.swansondesignline.com) which i registered through na