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

Similar Messages

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

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

  • PO Account Assignment Tab in ECC - with Split Accounting

    Hello,
    We currently are using Funds and WBS Elements within our SAP system.  When both a fund and a WBS Element are used on one line item within the shopping cart, I am able to see all of the information (fund, wbs element, fund center, cost center, commitment item, etc).  However, after the purchase order is created and transmitted to ECC the "Account Assignment Category" is marked as "X - All aux.acct.assgts." and the account assignment tab only has the following column headers:
    - Sequential Number of Account Assignment
    - Quantity
    - Distribution Percentage in Case of Multiple Account Assgt
    - Cost Center
    - G/L Account Number
    - Order Number
    - Asset Subnumber
    - WBS Element
    - Sales and Distribution Document Number
    - Sales Document Number
    - Delivery Schedule Line Number
    - Unloading Point
    - Goods Recipient/Ship-to Party
    - Deletion Indicator: Purchasing Document Account Assignment
    I can see that the fund is within the EKKN table (Field: BP_GEBER) but for some reason ME23N does not have this field in the Account Assignment tab when the category is "X".  How do I add "Fund" into the Account Assignment tab so that it will be visible within ME23N?
    Thanks,
    Katie

    IMG \ MM \ Purchasing \ Account Assignment \ Maintain Account Assignment Categories
    Select details for AAC 'X' and view field settings below.  Set Funds \ Funds Center to required setting e.g. Display.

  • Sales order no and line item no in account assignment tab of line item no.

    Hi All,
    When we display a sales order and go to line item --> Account assignment tab --> we can see sales order no and line item no in that screen. We want to know from where this existing no. in that field is populating from.
    We want to know this as we want to check feasibility of changing sales order and item no to maintenance contract no and line item no. ( Maintenance contract we have to pick from notification)
    If anybody has any idea about this do let me know as this is urgent requirment.
    Effort will be rewarded.
    Thanks in advance.
    Edited by: Satish Bharambe on Jul 4, 2008 10:38 AM

    Hi Satish,
    You mean Accounting assignment tab-->In Settlement rule details
    If yes the order number which is coming in that field Sales order and for which sale order you are looking that details both are the same numbers(i.e Nothing but sales order number).
    When you create sales order system will give number of the sales order the number will come in this place.
    I hope it will help you,
    Regards,
    Murali.

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    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

  • 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

  • How to keep the WBS & Order in account assignment tab of SD contract item?

    Hi Experts,
    If I remove the plant from the shipping tab in the contract item (the contract type is WV), I will be able to enter the WBS or Order in accounting assignment tab. However, if I enter the plant (in order to determine the tax in pricing), the WBS and Order are disappered and there is one new settlement rule button showed up.
    Do you know any configuration could keep the WBS and order in the accounting assigment tab even the plant is there.
    Thanks in advance!
    Norman

    Hi Chandra,
    Thanks for your answer. However, I even added the plant in the WBS, the tax (we use tax jurisdiction) still could not be determined.
    The problem is that SAP changes the account assignment tab screen (it suppresses the WBS and Order fields, but addes settlement rule) with the plant in the shipping tab. Do you know how to keep the same account assignment tab screen with the plant in the shipping tab?
    Thanks,
    Norman

  • What is the purpose of GL account in the account assignment tab of PO scree

    hi,
    in the purchase order screen, in the account assignment tab, there is a field labelled as GL account. May i know what is the purpose of this gl account because as far as i am concerned we need to specify the vendor gl account (in the vendor master) and the stock account and GR/IR account in BSX and WRX transactions in OBYC respectively.
    In that case what is the purpose of specifyin a GL account in the purchase order account assignment tab?

    Hi,
    The fact is quite simple - When you are buying the material, you can be able to define if this is for inventorization or for consumption.  If it is for inventory replenishment, then the stock account will be debited during GR posting.  Otherwise, P&L account will be debited.  The G/L account you have seen in your PO is always needed in case of direct consumption.  At the time of GR posting, the posting lines will be -
    1)   For stock item:
    Dr     Stock Account (BSX Transaction/Event Key);
    Cr     GR/IR Clearing Account (WRX Transaction/Event Key)
    2)   In case of non-stock item:
    Dr     P&L Account (GBB/xxx Transaction/Event Key where xxx is defined in the 'Account Modifier field of the related account assignment category setting in OME9 transaction - which is seen in the PO);
    Cr    GR/IR Clearing Account (WRX Transaction/Event Key).
    Cheers,
    HT

  • Order field at item level Account Assignment tab in Inquiry

    Dear All,
    What is the purpose of u2018Orderu2019 field in account assignment tab of Inquiry?
    When we are running sales pricing DP81, face the error u2018reference is incompleteu2019. So, I had to give the Order no. If it is intended for Profitability segment, what is the importance to PS?
    We have assigned WBS and system det. Profit centre from WBS. But, getting the error u2018Order xxxxx is a networku2019 while trying to give network no. from dropdown button.
    Is there a possibility, we can suppress the Order field.
    Also, where does (tcode) system pick the values for item category in sales pricing? Cause, the required determination exists in VOV4 and in material master.
    Regards,
    Venkat

    item category  is determine from Item Catergory group in Mat master and Sales Doc Type.

  • Account assignment tab is missing in PR(item details)

    Hi
    When we create PR,we select 'K' in the Account assignment in the item overview details,which will allow us to fill the details for G/L account and cost center in the item details,but to surprise account assignment tab is missing ,even we checked the layout settings also,No clue on this.
    Is something am i missing or any problem.
    Thanks
    Lily

    Hi Seema
    Yes,you are right,after giving Account assignment category also it is not displaying
    that tabb in item details.but for all users it is able to diplay,only one user is having this problem,is there any particular setting for this in the user or some layout settings?
    Thanks
    Lily

  • Details in "ACCOUNT ASSIGNMENT" tab in Shopping cart screen

    Hi all,
    We are on SRM 7.0.1.
    For each requester,we have the EMPLOYEE role assigned.
    In shopping cart screen,under account assignment,we want to see the acocunt assignment detailed view as the default view under tab "ACCOUNT ASSIGNMENT".Currently,under account assignment,user has to click on the DETAILS button and then the details show up in the bottom part of the screen.
    Can anyone advise how do we change the default view for the "ACCOUNT ASSIGNMENT' tab?
    Thanks.

    Can someone answer my query?

  • Profit Center in Account assignment tab

    Hi All,
      My Client wants to add a field "PROFIT CENTER" in account assignment tab in portal with F4 option and that value should be transferred to back end system as well. Please tell me how to achieve it.
    Regards,
    Prasath

    Hi Prasath,
    You can create a new account assignment category called profit center in configuration. Please refer to this thread Account assignment category Y in SRM - Profit center field
    Kind Regards,
    Hari

  • Include GL description in the PO Account Assignment Tab

    Dear all,
    The user is requesting a GL account description also in the account assignment tab on PO.
    TO be more clear, along with the GL account, the description of the account should also appear in the account assignment tab of the PO created.
    Please let me know if this is possible.
    Thanks in anticipation
    Srikanth.

    HI
    As per SAP standard Practices its not possible to get Description in the PO Account Assignment.
    You need to change the SAP standard Code
    Ravi Pasumarthy

  • Repeat On/Off in Account Assignment tab of PO

    Dear All,
    Working in ECC 6.
    Kindly explain Repeat On/Off in Account Assignment tab of PO and its usage.
    Where it is to be activated?
    Regards

    Hi,
    The below link will help you to understand the functionality.
    http://www.finance.utoronto.ca/fast/qrg/purch/po/multacctassign.htm
    Regards,
    Manish

Maybe you are looking for

  • Right way to refer to a sub-mailbox in Mail from AppleScript

    Working through an AppleScript to scan MailBoxes in Mail. The mailboxes are organized as subfolder Customers .....CustomerA .....CustomerB repeat with theMailbox in every mailbox set currentMailbox to theMailbox set mailboxName to the name of current

  • I cannot download my new Elements 10 program

    When I downloaded the first disk I could not get the disk drawer open so had to stop running the install program to get the first disk out and the 2nd one in.  I will not let me finish the installation process or start over???

  • Photoshop CS4 ChangeColorSettings

    I am writing a VB script for Photoshop CS4 and I am trying to change the default color settings from within the script.  <br /><br />However it keeps failing with the following message:  "General Photoshop error occurred. This functionality may not b

  • TS2776 adding a calendar from my computer

    can not figure out how to add the calendar on my computer to sync on my IPad. The Networked Calendar is synced well ... but not the personal one on my computer.

  • Trouble exporting To HD with multiple clips

    Can I export my iMovie project if I'm mixing videos from my HD camera and my iphone? After going the the hour nog process of exporting twice now, it gives me and Error 49 at the end and won't export the movie. Is the reason because some of my videos