Disable G/L Account field in Account Assignment tab of ME22N

Hi experts,
My requirement is to disable G/L account field in account assignment tab of ME22N. Tried using badi ME_PROCESS_PO_CUST.
I have searched forum for the same and tried out some solutions. But was unable to disable the field.
Any help in this regard would be highly appreciated.
Thanks in Advance.

Hi farhan,
Go to SHD0.
write tcode : ME22N.
Then write a transaction variant with Z..XYZ (Any name)
then click on create. it will open Me22n screen.
Then go to Account assignment category and simply come back it will record that screen.
it will ask to give screen name just give it.
then there is a chk box for OUTPUT ONLY. click that for GL Account.
and save it and come to SHD0 screen.
then in STANDARD VARIANT tab, activate that transaction variant u created.
Now chk tcode ME22N. it will reflect.
REMEMBER: after transporting to Quality or Production server, u have to activate this variant manually.Otherwise it will not reflect.
Regards,
Ankur.

Similar Messages

  • Update G/L account in account assignment tab in ME22N

    Hi
    I want to update G/L account value in account assignment tab in ME22N based on some validation, after opening PO in ME22N when I change a value of custom field and hit SAVE without hitting enter or any other tab. I want to know if there is any USEREXIT or BADI or spot where I can update G/L account field value.
    I have written code in BADI ME_PROCESS_PO_CUST method POST but it still doesn't update, is there any other place I can write my code
    Thanks

    Hi ,
    Is it tiggering ur BADI implementation or not ? If yes then whats ur logic to update ?
    regards
    Prabhu

  • Custom Fields in Cost Assignment Tab

    Hi,
    We have a requirement of displaying a users 10 favourite cost elements in the cost assignment tab while creating a shopping cart.
    To meet this requirement we want 10 rows to be displayed in the cost assignment tab. Each row will consist of the following fields:
    Account category
    Cost Center/WBS Element
    GL Account
    Check box/Boolean Field.
    The user will select the check boxes or update the boolean fields of the row/s he wants to select.
    To achieve this requirement we have added the fields (as per sap note 672960) to the following structures/tables:
    INCL_EEW_PD_ACC_CSF
    BBP_C_ACC_F
    BBP_C_ACCFD.
    Also added the fields in customizing (TCode SPRO) as decribed in the note.
    The problem is only one each of account category, cost center/WBS Element and GL account is displayed one below the other, whereas we want 10 rows to be displayed.
    How do we go about achieving this requirement. Any help would be greatly appreciated.
    Thanks and Regards,
    Jayesh

    Jayesh,
    Hi. I'm not too sure of the release you are on, but on SRM 5.5 there are two that would be able to solve your requirement.
    1) BBP_F4_READ_ON_ENTRY. Here you can set a Favourites list for Cost Centre or WBS. This means when they go to the Account assignment screen the default 'F4' list will include their 10 fav.
    2) BBP_DOC_CHANGE_BADI. This can be used to default the account assignment rows in. It does mean they will have to remove the wrong ones, or you could set them all in with a zero percentage, and the user would have to setup the split.
    My suggestion would be to use option 1. Its not quite the way you have suggested with bespoke fields, but it is quite easy for the user to use.
    Cheers
    Rob

  • Crm plugin issue when updating parent account field in account.

    Hi ,
    In my CRM Application ( CRM 2011) we have accounts and contacts. when account parent account is updated their contacts owner id will be updated in crm db server and external server using notification service which is called by pulgin.
    so in one of my account has 6000+ contacts ,when updating accounts parent account id  from crm , screen disabled and after 4 to 6 mins sql error message screen displayed.
    below is the eventviewer log ,
    The Web Service plug-in failed in OrganizationId: 457b2390-e086-485f-9b05-
    094f6410abef;
     SdkMessageProcessingStepId: 63cdbb1b-ea3e-db11-86a7-000a3a5473e8; EntityName: account; Stage: 30;
     MessageName: Update; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel,
     Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35;
     ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin;
    Exception: Unhandled Exception: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
    Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    If i debug the account update code plugin it seems to be working fine (means updated parent account id  and contacts ). if i remove debugger and hit on save from crm , throws error.
    this is high priority issues , im struggling from past 3 days could get any solution.
    if any one helps really appreciated.

    First.
    If you use plugin for send information to any external system you create small intergation.
    For integration use must create async plugin. On your trace ( account; Stage: 30;) you use sync plugin.
    Second
    For increment CRM timeout add reg key OLEDBTimeout.
    about this key you can read from microsoft
    support
    good luck

  • Disabling G/L Account field in MIGO transaction

    HIiya Gurus,
                     I have got a requirement to disable the GL Account field in Accounting tab in the MIGO transaction. since i am an abaper i am not sure how to disable this field. i have gone through the transaction SPRO , but unfortunately for the filed G/L Account field KONTO  there are only 2 options :--
    either to make it optional or mandatory.
                     But my requirement is to make it disabled (greyed out), IS it possible to Grey out that field.
    In my customization this field is set as Option.
                   Kindly provide me with your valuable suggestions.
    Cheers,
    ZIa

    Hi,
    Use this BADI 'MB_MIGO_BADI'
    Do write the code in PBO of the screen.......which you have created ....
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards
    krishna
    Edited by: Krishna Gowrneni on May 1, 2009 12:25 AM
    Edited by: Krishna Gowrneni on May 1, 2009 12:39 AM

  • How to Grey out cost center column in me22n screen(Account assignment tab)

    Hi All,
    I have tried many ways to do grey  out cost center column in account assignment tab of ME22N.
    i have created implementation for this class and method. 
    Class:CL_TABLE_VIEW_MM_2
    Method:PBO_TC_LINE
    Below is the my code snippet.Kindly let me know any suggestions.
    data:  l_tc type char100.
    data:  l_tabix type i.
         l_tc = '(SAPLMEACCTVI)DYN_1000TC-COLS'.
    FIELD-SYMBOLS:<fs_tcdata> type any TABLE,
                    <fs_wa> type any ,
                    <fs_lwa> type any,
                    <fs_screen> type any,
                    <fs_input> type any,
                    <fs_active> type any,
                    <fs_output> type any.
    *data:fs_wa type SCXTAB_COLUMN_IT.
       ASSIGN (l_tc) TO <fs_tcdata>.
       LOOP AT <fs_tcdata> ASSIGNING <fs_wa>.
          l_tabix = sy-tabix.
        ASSIGN COMPONENT 'INVISIBLE' OF STRUCTURE <fs_wa> TO <fs_lwa>.
           ASSIGN COMPONENT 'SCREEN-NAME' OF STRUCTURE <fs_wa> TO <fs_screen>.
           ASSIGN COMPONENT 'SCREEN-INPUT' OF STRUCTURE <fs_wa> TO <fs_input>.
           ASSIGN COMPONENT 'SCREEN-ACTIVE' OF STRUCTURE <fs_wa> TO <fs_active>.
           ASSIGN COMPONENT 'SCREEN-OUTPUT' OF STRUCTURE <fs_wa> TO <fs_output>.
           IF <fs_lwa> = space.
             CASE <fs_screen>.
                WHEN 'MEACCT1000-KOSTL'.
                 <fs_input>     = 0.
                 ENDCASE.
                 endif.
                 ENDLOOP.
    Regards,
    Hiriyappa

    As I can't see any complicated scenario in your requirement. So I suggest you can achieve this by simple standard configuration.
    Go to OME9, double click on the Account assignment category and make the field as Display.
    Then check in your PO.
    But I doubt, your requirement can not be simple like that.
    So either you didn't know the settings or your requirement is different or you are just trying to learn that can it be possible via coding.
    Let us know the appropriate reason for set it as display.

  • Parent and owner field on Account gives error read-only

    We have Integration with backend ERP with C4C solution. We want to populate the Owner and Parent account field of Account through custom partner functions through HCI. We get the error that field is read-only.
    We have not been able to do so  and any pointers to do that is appreciated.
    If above is not possible we are thinking to get the values in a custom field on Cloud and then do studio development to populate the Owner and Parent Account field using Cloud development. When we try that , the error we encounter says field is Read-only.
    Regards
    Apoorva

    We have Integration with backend ERP with C4C solution. We want to populate the Owner and Parent account field of Account through custom partner functions through HCI. We get the error that field is read-only.
    We have not been able to do so  and any pointers to do that is appreciated.
    If above is not possible we are thinking to get the values in a custom field on Cloud and then do studio development to populate the Owner and Parent Account field using Cloud development. When we try that , the error we encounter says field is Read-only.
    Regards
    Apoorva

  • How to activate email account setup on ipad. "Accounts" field in Settings window is inactive.

    I am unable to connect to my email server from an ipad. In Settings->Mail, Contacts, Calendar -> Accounts fields are inactive (connected account field, "Add Account" field and "Fetch New Data" field in light grey).
    Wi Fi works, internet access works. Reseting (turning off and on) the ipad doesn't work.

    The account settings are stored in ~/Library/Mail/V2/MailData/Accounts.plist
    So try again with Time Machine.
    Browse to the MailData Folder, open Time Machine (click  in the toolbar
    and select Enter Time Machine) the go back to a time before the Accounts.plist file was changed and click Restore.

  • Parent and Owner field in Account through Integration

    We have Integration with backend ERP with C4C solution. We want to populate the Owner and Parent account field of Account through custom partner functions through HCI.
    We have not been able to do so  and any pointers to do that is appreciated.
    Regards
    Apoorva

    Hi Apoorva,
    We are integrating C4C with SAP CRM so I'm not using what I found below but this should be helpful hopefully.
    You can check in HCI the iflow "Customer Master to SAP Cloud for Customer" in the SAP ECC package. In there you can find easily the piece with partner functions which I'm sure will be helpful for your scenario (see screenshot below). After that depending on the Partner Functions configuration in C4C and the Mapping (you can find both these things by just following the Activity List of an Implementation Project if you selected the SAP ECC Integration in scoping), it should be fairly easy.
    For the Parent Account you probably need to use the other iflow on "Account Hierarchy replication to SAP Cloud for Customer".
    It's a much simpler iflow, see below.
    In both cases of course the IDOCs will need to be activated in ECC, but this should already be the case for the main Business Partner one if you have the integration on, and check the generic integration guides as well (check https://service.sap.com/cloud4customer for some great guides).
    Hope this helps pointing you out in the good direction,
    JB.

  • Disable Configuration/service selection field in ML10

    Hi Gurus,
    anyone knows how can I disable 'Configuration/Service Selection' field in the first tab of model service specification? I tried to do this at IMG in 'Define screen layout'.
    Thanks in advance
    Best regards
    LR

    Hi,
    Have a look in the view cluster HR_SELECTIONS - this is where the employee search fields are defined for OADP based employee searches - it may be that your search and output is based on this?
    Hope that is helpful,
    Chris

  • How to add entries in possible fields in Account assignment model/Note 2596

    Hi Friends,
             I want to know How to apply OSS Note 2596, The basic requirement is to to add entries in the list of possible fields in Account assignment model( Exactly in program SAPDFKA6 in screen 120).
    I found the note 2596 to achieve this, and the field that I want to add is KMZEI-PAOBJNR.
    I gone through the note and it is very confusing for me .. If any one knows how to achieve this or how to apply this note, please let me know.
    Thanks,
    Rk

    I got this myself.
    Thanks,
    Rk

  • Add field 'asset' in sales order line item account assignment tab

    Hi,
    I would like to add the following field: 'asset' in sales order line item account assignment tab.
    I can enter order, or wbs, but not Asset.
    How can I make this field visable?
    Anybody?
    thanks,
    klundert
    Edited by: Eric Van Zundert on Oct 30, 2010 8:43 AM

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • Disable G/L account field in Shopping cart screen

    Hi SDN,
    I am ABAP Developer and new to the SRM system, I got a requirement to disable G/L account field in the Shopping cart creation screen and overview screen and also I have to disable  the message that is triggered when the G/L account field not entered .
    Please guide me to achieve this requirement.
    Thanks in advance,
    Srinivas D.

    Hi,
    I guess you use current SRM 7.0 version.
    You can control the field visibility by Meta Data customizing. SRM -> SRM Server -> Cross-Application Basic settings -> Extensions and Field Control(Personalization) -> Configure Field Control.
    Regards,
    Masa

  • GL Account Field status setting conflicting with Account Assignment categor

    Hi All,
    A GL account could not be used for posting vendor invoice because of mismatch between the field status group setting for the GL account and the account assignment category. The Account assignment category in MM does not even have WBS field where as for the GL account the field WBS element has been suppressed. Because of this conflicting setting we are not able to post the vendor invoice.
    What I am bothered about is there are lot of GL accounts being assigned to this field status group.
    Can anybody please let me know what will be consequences if I make the changes to the relevant field status group?
    Please let me know if there is any way-out for this Or is it ok with I go ahead with the changes required.
    Regards,
    S.Sumana

    Hi Sumana,
    If you are changing FS there will no problem but see that IT should not be combination of Required and Hide then system will give you the errorr.
    In your case from MM change the status as optional.I think your problem will get resolved.
    Thanks
    RAVi

  • SRM 7.0 Add Fields in Account Assignment Table

    Hi SRM Gurus,
    I am working on SRM7.0.
    I want to add two fields in Account Assignment Table in Account assignment tab of Shopping cart Item.
    I can do it using WebDynpro Enhancement framework , i.e.
    1) Create an append structure for Structure INCL_EEW_PD_ACC_CSF
    2) Enhance WebDynpro Component : /SAPSRM/WDC_UI_DO_ACC - Component controller node
    3) Map this with View  V_DO_ACCOUNTING Node
    4) Create the necessary Table Columns and Column editors in Account Assignment Table
    However i think using SPRO configuration and enhancing few structures also this can be achieved.
    Can anyone guide me on how can i achieve it without creating WebDynpro ABAP Enhancement?
    Regards,
    Ashish Shah

    I've never done it with account data, but yes with header and item.
    I think in this case you need to add these fields in SPRO:
    SAP Supplier Relationship Management --> SRM Server --> Cross-Application Basic Settings --> Extensions and Field Control (Personalization) --> Configure Field Control --> Configure Control for Fields of Substructures --> Metadata for Fields of Substructures and Table-Like Enhancements
    Adding the fields with "Set Type" = 31 Accounting...

Maybe you are looking for