Update GL Account number in account assignment PO

Dear Guru's,
I have a requirement to replace proposal gl account in PO after item is entered, this requirement it's because of for several document type they need to map the gl account into other account but didn't want to use config. It's frustating but this got to be done.
I have tried using EXIT_SAPMM06E_016 but looks like value changed after the exit.
If there is no other way I'm gonna use spot as my last resort, please help

Hi ,
Just to add more to Hinojosa reply you can set the GL account details as below:
In ME_PROCESS_PO_CUST BADI use the below code in method PROCESS_ACCOUNT
DATA: IT_ACC TYPE MEPOACCOUNTING.
*First inorder to get your header details to get the document type get the Item corresponding item
CALL METHOD IM_ACCOUNT->GET_ITEM        " get item
    RECEIVING
      RE_ITEM = IM_ITEM.
*Then from the item get the correponding header
  LS_OBJ = IM_ITEM->GET_HEADER( ).       "get header
  LS_MEPOHEADER = LS_OBJ->GET_DATA( ).   "get header data
Now in LS_MEPOHEADER you will get the document type details.
*Then inoder to set the G/L account use the below part
*to get the account details
CALL METHOD IM_ACCOUNT->GET_DATA
    RECEIVING
      RE_DATA = IT_ACC.
*change/set the G/L
IT_ACC-g/l account = .....
to set the same
CALL METHOD IM_ACCOUNT->SET_DATA
    exporting
      RE_DATA = IT_ACC.
Regards,
Deepak.

Similar Messages

  • G/L Account number using accounting document number...

    Hi,
    How do I find the G/L Account number with the help of Accounting Document number (BELNR) ?
    -Rajesh

    HI,
    Use tables BSAS,BSIS  and pass the docuemnt number you will get the GL account.
    Thanks
    Mahesh
    Message was edited by:
            I Can Solve It

  • Group Account Number

    Hi FiCo Masters,
    I'm getting the Error message text " Make an entry in field  Group Account Number" while i am trying to createa a GL account.
    Can you pls help me to create a GL account without giving Group account number.
    Regards,
    Yatheendra Nath

    Hello
    Are you trying to create a GL account in chart of accounts area.
    Probably, you should create in company code area.
    When assigning the group account number, please note the following:
    Accounts of the same type may be stored under different numbers in different charts of accounts. You can group these accounts together under a single group account number.
    Accounts with the same account number may actually be different types of account in different charts of accounts. You can assign these accounts to different group account numbers.
    In the financial statements, the system displays the group account number.
    Regs

  • CapOne gave me a new account number

    I accidentally destroyed my QS card and tried to order a replacement online but the website wouldn't let me, it told me I didn't have any cards "eligible for replacement" and asked me to call them. So I called them and rep said they had to issue me a new account number. I only use it for Uber rides when I'm in a city so I didn't mind the change but I didn't bother to ask why. Has anyone encountered this?

    hinu wrote:
    I accidentally destroyed my QS card and tried to order a replacement online but the website wouldn't let me, it told me I didn't have any cards "eligible for replacement" and asked me to call them. So I called them and rep said they had to issue me a new account number. I only use it for Uber rides when I'm in a city so I didn't mind the change but I didn't bother to ask why. Has anyone encountered this?That does seem strange.  The only thing I can think of is that possibly your card was previously an HSBC (or other bank) account?  If this was the case, they might just want to get you changed over to a 'true' Capital One BIN (BIN is the first six digits of the card number).  My QS1 still has my 'old' HSBC account number.  (Of course, they have had plenty of chances to update my account number since it was bought... I'm just trying to think of possibilities for the OP) The other thing I can think of that might make them want to change the number is if you're account has upgraded to a World or Signature account.  I don't have a World card, but to access some Signature benefits you have to enter your card number, which requires your account number to be a 'Signature' account number (as identified by the BIN).  I know the credit card issuers aren't always 'prompt' with updating the account number when accounts are upgraded, but it can cause problems if a customer actively uses the Signature benefits. If neither of these is the case, I'm out of ideas... LOL

  • MIRO invoice creation with the Personnel Number in account assignment

    I am using BAPI_INCOMINGINVOICE_CREATE for creating an Invoice using MIRO transaction.
    In MIRO transaction-> PO reference-> Multiple account assignment-> we have the personnel number: In BAPI table-parameter ACCOUNTINGDATA and ITEMDATA is used to populate the account assignmet data but this structure doesn't have the Personnel Number field (PERSON_NO).
    How can i create an Invoice with the Personnel Number in Account assignment, Is there any Userexit or BADI is available ?
    Thanks,
    Fract
    Edited by: fract_get on May 23, 2011 6:49 PM

    You can use EXTENSIONIN parameter from tables. There are BADI's related to this but don't know the name of badi. Please search forum for or use transaction code SE84 to search the BADI's/
    you can check the badi: INVOICE_UPDATE and method 'before_save or something similar to map to db table fields.
    See this thread to understand how extension parameters works.
    bapi_salesorder_simulate extension bape_vbap standard field
    Edited by: Sampath Kumar on May 23, 2011 11:28 AM

  • Update Bank Account number in Line items

    Hi All,
    How to update Bank account number in the bank clearing account line item.
    I used sort key to update but unsuccessful.
    please let me know the way to update the bank account number in the line item
    Thanks.
    Raj
    Edited by: Raj Racha on Nov 29, 2010 8:34 AM

    Substitution in OBBH/ GGB1 using exit
    Regards,
    SDNer

  • ME21N -- User Exit to assign G/L Account number

    Hi All,
    The requirement is to assign G/L account number (EKKN-SAKTO) based on vendor account group, material type and account assignment category. I have tried with some user exits and unfortunately i was not succeeded in finding out the correct one.
    I request you to provide me the user exit/enhancement name or BADI name that I can use to assign the G/L account number.
    Thanks & Best Regards,
    Kumar.

    Create the field exit on field SAKTO.
    and write the below code in the field exit.
    DATA: i_dynpread TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
    DATA: V_SAKTO TYPE EKKN-SAKTO.
    i_dynpread-FIELDNAME = '<Screen field name for Account assignment category>'.
    append i_dynpread.
    clear: i_dynpread.
    i_dynpread-FIELDNAME = '<Screen field name for Material Type>'.
    append i_dynpread.
    clear: i_dynpread.
    i_dynpread-FIELDNAME = '<Screen field name for Vendor Account Group>'.
    append i_dynpread.
    clear: i_dynpread.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = '<Screen name>'
    DYNUMB = '<Number>'
    TABLES
    DYNPFIELDS = i_dynpread.
    IF SY-SUBRC = 0.
    loop at i_dynpread.
    <Write the select statement logic to retrieve EKKN-SAKTO based on the other field values which will be available in the internal table I_DYNPREAD and put the value into the variable V_SAKTO.>
    IF SY-SUBRC = 0.
       output = V_SAKTO.
    ENDIF.
    endloop.
    ENDIF.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • XK01 Account group 0003 uses ext no assignment Specify account number

    Hi
    When I am trying to create one time vendor in XK01 , after filling all fields (except vendor , when I click the enter I am getting the following error .
    "Account group 0003 uses ext no assignment Specify account number "
    Any idea where should I specify account number  and what is this account number  ? I mean is it GL account number ?
    Thanks
    SN

    Hi Satya,
    if you donot want to assign the external number range to the vendors.....use T.code XKN1..remove the tickmark from checkbox "EXT" and save.
    Try creating again. The problem occurs because you have selected external number ranges for vendors in XKN1.
    Regards
    A
    Assign points if useful

  • Alternative account number not updated correctly

    Hi,
    we are using a substitution to change the accounts used in foreign currency revaluation to meet legal requirements in Turkey (according to set-up instructions by SAP Turkey).
    The substitution works correctly, but the problem is that the alternative account is not adapted accordingly. It still shows the alternative account of the original account, and not the one from the substituted account.
    So BSEG-HKONT is replaced, but BSEG-ALTKT still contains the original value.
    Any help would be greatly appreciated
    Best  regards
    Sven

    HI
    I think your substitution rule has created only for GL account. So you need to update you rule with Alternative account assignment field also in your substitution. So instead of creating substitution rule on one single field for this scenario you can go for user exit option in substitution. Once you accomodate the HKONT and ALTKT in one rule system will give you the right values
    Reg
    Vishnu

  • Updating group account number into BSEG

    Hello experts,
    our client is currently implementing a group chart of account - going live during the fiscal year. Is there a possibilty to update the records already posted in BSEG (FAGLFLEXA) with the new group account number? Is there an approach in standard SAP?
    Regards
    Maria

    Thanks a lot Atif,
    but with the settings in FB00 I cannot add the Group account number into Entry view nor in General ledger view. Right?
    I'm looking for the solution that will add BSEG-ALTKTinto those two view.
    Thanks, Filip

  • Assign Group Account Number

    Hi Friends,
    Please explain the Group Account Number and also navigation how to assign the group account no..
    Thanks and regards,
    Dev

    Hi
    To use group chart of accounts proceed as follows
    Define group chart of accounts at OB13
    Assign this to operating CoA at OB13
    Created Group account using FSP0
    Assign this to normal GL Account at FSP0
    Regards
    Sandy

  • I bought creative suites over 3 years, but now cannot update and registered in my account, the error massage are:This serial number has already been registered. Products can only be registered once.

    i bought creative suites over 3 years, but now cannot update and registered in my account, the error massage are:This serial number has already been registered. Products can only be registered once.

    The message is correct.  You can only register a product once... there is no need to register again after you do it the first time.  You can re-install and activate with the serial number, but there is no need to re-register.

  • Cannot update Bank Account Number in the House Bank

    Hi All,
    When I try to update my bank account number in house bank, system not allow me to update it and came with error.
    "House Bank Account - Acct No. Field cannot be updated (ODBC-1029) Message 131-183."
    There are transaction for that housebank gl account.
    May I know why the system do not allow to update the bank account information?
    Best Regards,
    Foong Yee

    Hi
    check this support note: 1719995  - House Bank Account No. cannot be updated
    Kind regards.
    Agustín Marcos Cividanes

  • House Bank Account number is not allowing to update

    Hello Expert,
    I am using SBO 8.8 PL 15 and i an trying to update House bank account number but system is showing message as below
    [House Bank Accounts - Acct No.] , 'Field cannot be updated (ODBC -1029)'  [Message 131-183]
    I have not attached House bank in company details-->Basic Initialization and BP are also not mapped with any House Bank in Payment System Tab.
    Is there any other form where we require to unlink House bank
    I want to change account number for one of the bank branch.
    Regards,
    Bhavank

    Hi Bhavank,
    Check you have enter any Transaction create For this Bank
    Go to Administration / Setup / House Bank Accounts / Check G/L Account / Click on orange arrow / here Transaction are appear
    If Transaction are to appear so not any kind of possibility to change Bank Account Number.
    For that you have to nulify the transaction then you can do it. but this is not advisable to nulify transaction.
    Otherwise you have to create new Account & Transfer Balance OLD Account to NEW Account.
    Thanks,
    Srujal Patel
    Edited by: Srujal Patel 77 on Jun 29, 2011 6:27 AM

  • Re: Personal Account number changed after update

    Personal Account number changed after updating Virtualstore and now I can't login with my current account information. Changed from 35482 to 35555

    i have created already an account after reset but then asked for an update. I did it and now asks for username and password :) still says incorrect username/pass

Maybe you are looking for

  • Remote for iTunes in a Two-PC Network

    I've added the "Remote for iTunes" app to my new Android-based phone; but, it's iTunes on my wife's PC that recognizes the application rather than mine. Home sharing is turned on. Windows 7 on both laptops. Suggestions as to how to go about changing

  • Part of the screen unresponsive

    This problem only occurs about 25% of the time for no apparent reason. In the top right quater of the screen if I try to mouse click on a file to open it it is pot luck if I will get a reaction. If I don't and I drag the window to a different part of

  • Can't install Boot Camp Drivers on Win 7 (Fusion)

    I'm really sorry - I know this has been asked a thousand times before, but every response I've found so far either didn't work for me or it was too technical for my limited knowledge. I'm on the verge of tears after having tried to solve the problem

  • Screen validations in webdynpro java (NWDS 7.0)

    Hi Experts, We are using Portal 7.0 version and NWDS 7.0, we have developed one wdj application .in this application  i have designed one dropdown key with "YES" or "NO" options. if user click on YES ,then i should be ask the Enter the amount and aft

  • HCM interactive Forms - hide fields and backend connection

    Hello, we plan to implement a personnel transfer workflow based on interactive forms. Because in one step the user should not be able to see a couple of fields, it is possible in interactive forms zu hide fields based on the users role? I read a lot