Change GL account number during SD billing posting

Hi all,
scenario :-> debit : Customer
                  credit : sample sales
I need to change the GL account posting from sample sales to income ageing during SD Billing posting.
Is there any suitable user exits or BAdI for this case?
I need it urgently, thanks !!
Will award high point for helpful solution given.

Hi Gupta,
I use user exit SDVFX004, and code as this,
data : p_matkl type matkl.
check if the material group = 'FG0500'.
  select single matkl into p_matkl
                      from mara
                      where matnr = xaccit-matnr.
  if p_matkl = 'FG0500'.
     xaccit-hkont = '31013020'.    "post to Ageing income account.
  endif.
but when i do invoice, the invoice generated without accounting document, the error for posting status is ' Error in Accounting Interface.'
What have i left out ? Any solution to solve this?
Really appreciate if can help.
Will reward high point for it , thanks!!!

Similar Messages

  • Change GL account number in PO

    Hello Friends,
    I have tried to change GL account number in PO throug executing a program(BAPI). I am getting error message "Releases already effected are liable to be reset". What could be the reason for this?
    Please help me in resolving this issue.
    Thanks,
    Ram

    Your PO release strategy must have been based on Cost Center as one of characteristics.
    Pl check & confirm.
    Regards
    Bhavesh Mistry

  • Change bank account number

    Dear All,
    How Can I change bank account number from 11 characters to 12 characters for a company code?
    I tried to do it in FBZP but I have an error message that I can't do this change for a bank account number longer than 11 characters.
    Is there any solution?
    Thanks
    Ferdaws

    Hi,
    @Innamuri : I tried to maintain the correct bank account in alternative account number but I don't know why there is also an inconsistency between bank account number and alternative account number.
    For example : In bank account number (X00000XXYYX) --- > 11 characters
    and      In alternative account number (0X00000XXYYX) -
    > 12 characters
    I understand from that that the first number 0 in bank account number it's not maintained.
    @ Smuthyala : We haven't the right to do this.
    Ferdaws

  • Error "Specify account number" during PRELIMINARY_POSTING_FB01

    Dear All,
    I am trying to post FI document in FB01 through PRELIMINARY_POSTING_FB01 F.M.
    I am passing following data to it.
    *Populate the header
    Company code
    ls_bkpf-bukrs = ls_posting2-bukrs.
    Year
    ls_bkpf-gjahr = ls_posting2-budat+0(4).
    Document Type
    ls_bkpf-blart = p_blart.
    Posting date
    ls_bkpf-bldat = ls_posting2-bldat.
    Document Date
    ls_bkpf-budat = ls_posting2-budat.
    Period
    Is_bkpf-monat = Is_posting2-monat.
    *currency
    Is_bkpf-waers = is_posting2-waers.
    *Item data
    *posting key
    is_bseg-bschl = is_posting-bschl.
    *Account
    is_bseg-hkont = is_posting-hkont.
    *amount
    is_bseg-wrbtr = Is_postng-wrbtr.
    After executing this it gives error
    "Specify account number"
    Is there any sollution for that......
    Regards,
    Amar

    That is bcoz the account number you are populating in table parameters is not matching with values in table while processing.  Use FM conversion_exit to prefix zeroes so that it matches the value in table.

  • Changing the account number through DTW.

    Hello All,
    wheather Its possible to replace the existing G/L account through DTW.
    For example, Inventory account is '1021000'(Raw materials) in Inventory data tab in Item Master data. But I want to replace it to '1021201'(Industrial Stock account). Please suggest wheather its possible through DTW.
    Thanks,
    Pratheeviraj

    To be honest with you, I never try and never think it is a workable solution to set account by item level.  In your case, you need to change account for >700 items today.  If you are lucky that you have not posted any inventory transactions, then you can DTW to upload the new changed account.  However, once you have transactions, you will be locked up for any future change.  In my opinion, Item Level account will only apply to very few special items.  It should not be used for common items.  If possible change your account to by Item Groups would be a better solution.

  • ME52N: Purchase Requisition Change GL Account Number

    Requirement: ABAP auto-change the GL Account field number in a Purchase Requisition after the Material Group is changed.
    Background: This custom logic has been successfully applied to all types of Purchase Requisitions using  BADI ME_PROC_REQ_CUST, with the exception of a Purchase Requisition type that is called a 'Service Limits'. There are differences that are important to note between a 'Service Limits' Purchase Requisition and the other Purchase Requisitions that had custom code added without any problems.
    1)This type of Purchase Requisition uses a item category of 'B', and the logic has a tendency to flow through SAP differently.
    2)This type of Purchase Requisition's GL Account number is under-intensified on the 'item' subscreen, and cannot be changed manually on that screen like the others..
    3)In order for the GL Account to be changed manually, or for the GL Account to be changed once my code has changed the GL Account Number, the user must select the 'Limits' tab and select the Account Assignment arrow, then a popup appears where the GL Account can be changed manually, or, my coded GL Account number change then occurs.
    Problem: I want the custom code to be able to change the GL Account NUmber without having to go into thge 'Limits' tab, where the icon has to be selected. I believe the problem is that the field is protected, because it displays as under-intensified, thus, preventing my new GL Account NUmber from displaying. I also have the subsequent SAP code below that appears to reject set_exkn because protect is set to 'X'.
    CODE1: Is my custom code.
    CODE2: Is the SAP code that my will flow into where this field appears to be unchangeable.
    My question:
    I am thinking that this GL Account field is protected and cannot be changed because it is under-intensified on the subscreen on the Purchase Requisition. Can it be changed with custom code, a way to 'unprotect it'? Or, are there settings that should be changed in SPRO for the Purchase Requisition to allow this functionality to change the GL Account number.
       Thank-You
    (CODE1)
    METHOD IF_EX_ME_PROCESS_REQ_CUST~PROCESS_HEADER.
    *Purchase Requisition Item Declarations
      DATA: LT_ITEMS        TYPE MMPUR_REQUISITION_ITEMS.
      DATA: LS_ITEM         TYPE MEREQ_ITEM.
      FIELD-SYMBOLS: <FS_ITEM> TYPE LINE OF MMPUR_REQUISITION_ITEMS.
    *Purchase Requisition Accounting Declarations.
      DATA: LT_ACCT         TYPE MMPUR_ACCOUNTING_LIST.
      DATA: LS_ACCT         TYPE EXKN.
      DATA: LS_SETX          TYPE MEPOACCOUNTING_DATAX.
      FIELD-SYMBOLS: <FS_ACCT> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = LT_ITEMS.
      LOOP AT LT_ITEMS ASSIGNING <FS_ITEM>.
        LS_ITEM = <FS_ITEM>-ITEM->GET_DATA( ).
        LT_ACCT = <FS_ITEM>-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
        LOOP AT LT_ACCT  ASSIGNING <FS_ACCT>.
          LS_ACCT =  <FS_ACCT>-MODEL->GET_EXKN( ).
          LS_ACCT-SAKTO = 'N500300   '.
          LS_SETX-SAKTO = 'X'.
          <FS_ACCT>-MODEL->SET_EXKN( LS_ACCT ).
          <FS_ACCT>-MODEL->SET_EXKNX( LS_SETX ).
        ENDLOOP.
      ENDLOOP.
    ENDMETHOD.
    (CODE2)
    METHOD if_accounting_model_mm~set_exkn.
      DATA: ls_buffer     LIKE LINE OF my_data_input_buffer,
            ls_bufferx    LIKE LINE OF my_data_input_bufferx,
            l_buffered    TYPE sy-subrc,
            l_data_old    TYPE exkn,
            l_data_oldx   TYPE mepoaccounting_datax,
            l_data_newx   TYPE mepoaccounting_datax,
            l_indx        TYPE sy-tabix.      "1478013
      *PROTECT EQ 'X'
      CHECK my_state->protect EQ mmpur_no.
    Edited by: Tom Matys on Dec 12, 2011 10:55 AM

    Your PO release strategy must have been based on Cost Center as one of characteristics.
    Pl check & confirm.
    Regards
    Bhavesh Mistry

  • Changing GL Account Number

    Hi All,
    Do you know the transaction code, if available to change the GL account number? I'm not talking about GL account description change through FS00.
    If the existing gl account number is 123445, I want to change it  to AB12345. Is it possible?
    Regards
    Prabin

    Hi,
    GL Account number being the primary key in the table, you cannot change the GL Account number.
    You might however, create a new GL account and transfer the balance/line items from this GL Account into the new one.
    But, if you can be more specific as why you want to change the GL Number, we might give you a better suggestion..
    Caio
    Raghu

  • How to change bank account number...! new digit has to be added....

    HI Experts,
    At present my employees are having 13 digit bank account number,Now another zero has been added as prefix from feb 2008.
    When im trying to prefix  zero it is showing error """Change earliest retroactive account date 01.09.2005 acc to payroll area n6"""
    Where should i change this....
    Regards,\
    Sai

    Hi Sikindar,
    Thanks for your guidance.
    Instead of create option i tried with change mode.Thats why it s throwing error.Anyway thank u very much.
    Regards,
    Sai.

  • VF01 : "Error in accounting interface" during first billing doc creation

    Hi
    i had done OB52, & OBH2 & VN01 (assigned new no. range to the sd billing documents).
    Now i am able to do PGI & while creating the Billing document i am facing the error that
    Error in accounting interface
    Can any body suggest me , how to proceed.
    Regards
    Manvir

    Hello,
    go to transaction vf02 > environment .Account deternmniation analysis > revenue accout determination
    this would help you to find the accoutn determination errors if any . you can correct accordingly using the transaction code VKOA.
    also read the message for any other hints , you can post the message if the error is not reswolved
    hope this helps
    Thanks
    akasha

  • I need help changing the account number my daughter uses for payment for her apps and itunes, etc. can anyone talk me through this.

    hi ,
    im just a mom, not very computer savy.....however, I need to change the payment method my daughter uses to purchase things on her ipad due to the fact that the current one is expiring. ie: for such things like songs and games, etc.
    I would appreciate any help as how to do so.
    THanks

    On a computer's iTunes you should be able to edit the payment info by going into the Store > View Account menu option (if you are not logged into the account that your daughter is using then Store > Sign menu option to log out of the currently logged in account ; that will then change to a Store > Sign In option so that you can log into her account) and log into the account (enter the account's password and click View Account on the popup)
    And on the account's details page there should be a payment link.
    If you are doing it on your iPad then tap on your id in Settings > iTunes & App Store (if not logged into her account then log out of your account via the popup that you get and then log in with her account) and tap on 'View Apple ID' on the popup and log into the account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • My ipad keeps using my old email account for I cloud, even though the emal account was canceled two years ago.  How do I change the account number which pops up on my ipad?

    When I got my ipad, i was still using an old isp, but i changed isp when we moved.  When i attempt to use cloud features, i get prompted for the password for the old email account which I turned off 2 years ago,  What should I do?
    Thanks,
    my active email accounts are [email protected] and [email protected]

    Hi vegasbob,
    You need to do the following:
    1.     Go to Manage Your Apple ID https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    2.     Sign on with your current Apple ID and password
    3.     Change your Apple ID to the old email address, but do not verify it - Save Changes
    4.     Go to Setting>iCloud on your iPad, and scroll to the bottom of the screen and click on Delete Account
    5.     It will ask you for your password to turn off Find My iPhone, type in your current password
    6.     Delete iCloud account
    7.     Go back to Manage Your Apple ID and sign in with the changed ID and current password
    8.     Change your Apple ID back to your current ID - Save Changes
    9.     Go back to Settings>iCloud and sign on with your current Apple ID
    You should be all set.
    Cheers,
    GB

  • Skipping of Vendor Account Number during automatic generation

    Hello everyone,
    I tried to create a new vendor account(FK01) but noticed that the generated vendor code is 2000336. Local Vendor number ranges from 2000000 up to 2999999. The last vendor code generated by the system is 2000331, so the new vendor must have 2000332 as its code. I wonder why the numbering skipped. Please advise.
    Thank you in advance.
    me again,
    April

    Hi April.
    Are you trying to replicate this to MDM?
    The reason why the numbers skip is always related to the way number ranges are configured in R/3.
    If you use a bufered number range, it is normal for ranges to be skiping all the time.
    Hope this answers your question.
    Best regards.

  • Error 'Specify account number' while posting a parked document through FBV0

    Hi,
    I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
    I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.

    Hi,
    Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
    Try same scenario in the development its be useful
    Regards,

  • Change of G/L Account Number when document is parked

    Hello,
    I have parked one document, but i have made mistake at the time of entering G/L Account Number. Can i change this account number ? Please advise me. I have used Tcode FBV0, eventhough it is not helpful to me.
    Thanks in advance for your kind co-operation.
    CA SANJAY DARJI

    Hello Dear friend.
    You can Edit here from the Menu Document>Change.
    Or Else Do one thing If you have already parked the Document ,
    Take that Document number and go to Fb02 and make the changes
    Regards.

  • Duplicate whole row, change account number

    Hi, I would like to duplicate the whole row in Journal Entry and then change the account number. However, when I changed the account number, the content of the other fields was cleared. i,e. All duplicated contents were cleared.
    Is there any way to configure so that the content of duplicated row were not cleared when I change the account number?
    Thanks.
    Raymond

    hi raymond,
    On duplicating row changing account code will
    clear amount in debit/credit as this is normal system behaviour
    even when you are raising service documents.
    Are you doing single journal entry/mass JE?
    Jeyakanthan

Maybe you are looking for

  • Year to Date and Monthly totals

    I know that this is rather simplistic, but I'm new to Discoverer and need to set up a bunch of sales reports with MTD and YTD columns. I'm going to be using the same SQL query for many of my reports but customizing the reports to show sales by state,

  • Error while using Noetix Generator for OBIEE 11.1.1.6.8

    Hi Gurus, We are trying to implement Noetix views for OBIEE 11.1.1.6.8 using Noetix generator for oracle business intelligence,, but we are facing below error.. Please help, thanks in advance. " *Validation encountered following warnings..* *Could no

  • I can't see AP on WLC

    Hi, I'm trying to find out why my APs can't join to WLC. Both are in the same Vlan, AP has a static IP (the same subnet). Thanks for any advice (Cisco Controller) >*spamApTask1: Oct 24 21:13:25.715: 4c:4e:35:c7:0f:ab CAPWAP Control Msg Received from

  • Mail 6.0 does not display embedded images

    This was true in the prior version as well, but now I'm about to give up on the product. While HTML emails do display images ("Display remote images in HTML messages" is checked in preferences), those with embedded images do not.  Instead, I get a se

  • In process Quality for Production orders

    Hi Guys, I am facing issues while doing an in process quality for production order.The usage is In process quality, can anyone help me to carry out a flow for this usage type. What are the necessary settings to be done and also explain the workflow f