Substitution of account(HKONT) when posting in MIGO

Issue: Need to change account(HKONT) when posting in MIGO
After simulation the G/L account is split into tax wise amonts like 2% ecess, 1% hscess 2%cst.
example: HKONT(GL Account) is display in one g/l account
g/l account             amount                       posting key
10030000          5,961.86-                     31
10030000         50,675.79-                    31
10030000         2,980.93-                      31
expected result is:  i need to display like this
10030000          5,961.86-                     31
10045000         50,675.79-                    39
10045000         2,980.93-                      39
Thanks,
Sreedhar.

This is not true.
If the system generate a FI document, the FI validations and substitutions rules will take place.
Modification on key fields (like HKONT) by substitution have to be heavily tested because can lead to inconsistency.
Regards,
Alexandre

Similar Messages

  • Substitution of account(HKONT) when posting in MIGO/MIRO

    Issue: Need to change account(HKONT) when posting in MIGO/MIRO
    example:       HKONT(GL Account)       KTOSL(Transaction type)
                   1000000001              XX1
                   1000000002              XX2
                   1000000003              XX3
    If XX3 exist then replace hkont of XX1 to hkont of XX2
    expected result is:
                   1000000002              XX1
                   1000000002              XX2
                   1000000003              XX3
    Solution with problems:
    1. Used substitution GGB1>Financial Account>line item for field HKONT. My problem with this is, since the data is in line item. How can I get the replacement of my account(shown above sample). if BSEG structure only shows 1 line item. I tried using bool_data-bseg. but its empty. Im assuming bool_data is used when callup 003(complete document) is triggered.
    I used subtitution field G/L - Exit <UXXX>
    Any Ideas or solutions would be great!!

    if your Substituion exit is called then you can directly change the value of
    BSEG-HKONT there according to your requirement.

  • Display Accounting Doc when posting MIRO

    Dear SAP GURUS,
    Please teach me how to display the accounting document number when posting an invoice (MIRO).
    Invoice document no generated when saving the invoice : 520014152.
    I needs to go to MIR4, and click on "Follow-on documents" in order to know the Accounting Document no:5100000416 and the Special purpose ledger no 1002455422.
    Can I display the invoice no and the accounting no together at the same time?
    Please help.
    Thanks.

    yes i can at the time of MIRO u can see both
    go in SU01 for and user
    in Parameters enter IVFIDISPLAY in Parameter ID and X in Paramater Value
    thus for that user u will be able to c Invoice number and accounting number after saving MIRo
    u will get message like
    Invoice document 5105608893 was posted ( Accountng Documnt: 5100000000 )
    hope this helps

  • GL Account Missing when Posting Up GRPO

    The scenario happen like this:
    1) Customer creating a PO with 3 items.
    2) One of the item that my client created needed to change warehouse, so they make an amendment through clicking into the Item master data, and change the warehouse from WSE 01 to HQ.
    3) Then in the PO, they deleted the item line, added new row and selected the same item code again, update.
    4) Then they copy the PO to GRPO.
    5) Then they have the procedure to update the serial number for the machine.
    6) After that, when they want to post the GRPO, it has an error message showing: G/L Account is missing [Goods Receipt PO - Rows - Warehouse Code][line:3] [Message 131-46]
    Any idea on this issue?

    Hi Micheal.......
    You need to set all the mandatory settings required for the transaction documents.
    You need to set the GL account determination. You need to set the Warehouse account GL
    You need to set the Item Group account GL.
    You need to set the Freight accounts.
    You need to set the tax accounts.
    You need to set the landed cost account......... Etc........
    Regards,
    Rahul

  • Error When Posting in Migo

    Hi All,
    I'm using ECC 6.0 IDES.When I'm trying to post a goods receipt for a PO using Migo,I got a short dump like
    No RFC destination is defined for SAP Global Trade Services
    Also there is some info in sourcecode like....
    when a goods movement for an inbound or outbound delivery is posted
    directly from VL31N/ VL01N, XBLNR is not yet known when we call
    CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    BKPF as well. There is no other way to forward XBLNR to FI as not
    every document is posted by MB_CREATE -> a new function module in
    MBWL for transferring the information, called by FI, meant to load
    the complete function group for all MBxx postings when this isn't
    required (Performance). Would be the better way to transport the
    information after switching off MBxx in later release.
    Can Some One resolve this error Please.
    Thanks & regards,
    Ravi S

    hi
    i am not an abaper, we had the same issue.
    general the fuctional/abaper will go to the source code add/delete the things. so better u go to source code by keeping the brack points...r else
    ask u r basis people to check. they will help u. if they r not getting ask them to reset it.
    regards
    ram

  • Change GL Account No at posting of document - MIGO

    Dear Fellows.
    I have a requirement to change the GL Account no when POST button is presses in MIGO. Account no will be fetched from a ZTABLE where they are store with respect to document type. I tried to do this with BADI but didn't find any BADI that will allow me to change GL. Most of them only import GL account . not a single one export at posting.
    Then i tried to find EXITS but didn't find any useful one.
    I just want to know if there is any BADI or EXIT that will fulfill my requirement. If there is not then i will have to do modification.
    Regards,
    Abdul Moied Yousuf

    Hi
    Generally Mod's here doesnt look into these kind of scenarios seriously unless its reported to move to the appropriate forum or the person who posts the actual question must take the responsibility. So there is no room for blaming anybody
    Also it depends upon the keyword we use for searching ;). I suggest you to use google first and then SCN second .. Thats what i do
    kesav

  • Exit or substitution GL account when posting goods issue

    Hi out there,
    does anyone know how to change BSEG-HKONT via a subsitution ? It seems to be blocked for that purpose. Although if I unblock it in table GB01 this does not work.
    If there is no possibility does anyone know a customer exit to change the account determination for GBB VBR when posting a goods issue ? It is needed for special postings and I want to program it either in a substituiton or exit.
    Thanks a lot for your help.
    Sebastian

    Dear Sebastian,
    It is possiable to change G/L through subsitution. But you will have to take help from abaper who will write code for the subsitution.
    Any subsitution which is realted to G/L can be written though the following path
    Financial Accounting (New)->>Financial Accounting Global Settings (New)->>Tools->>Validation/Substitution->>Substitution in Accounting Documents
    after that enter new line and double clik to write ABAP code based on your requirement.
    Hope you got the way.
    Rupesh

  • Problem when change bank clearing account for payment posting.

    We recently changed the bank clearing account for payment posting (program PC00_M99_PPM). But I found out because the config can only be changed but not delimited on payroll side, the program errored out when it retro back for an employee to the old clearing account.  So what am I supposed to do to fix this problem?
    Have anyone ever handled this problem before and could please throw some light on it?
    Thanks in advance.
    Johnson

    hi
    check following
    1. Check in OMWD, whether Valuation grouping code "0001" ia ssigned to Ur plant
    2. OBYC - If you have assigned GR/IR Clearing A/c to WRX then check whether you have maintained it with combination of valuation class and GL A/c
    If yes then maintain only GL A/c w/o valuation class OR maintain one entry with valuation class empty and GL A/c
    check following
    Error in service entry sheet
    Re: Error in ML81N
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/grir-clearing-account-wrx-doesnt-recover-gl-account-2224137?cv=expanded
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-ps/problem-while-posting-service-entrysheet-in-ecc-60-version-1483547?cv=expanded#
    regards
    kunal

  • Invalid Account Code Message 173-9 when posting Outgoing Payment

    When attempting to post an Outgoing Payment our customer recieves the following error: Invalid Account Code Message [173-9].  The local currency is CDN and Invoice currency is US.  The error occurs only when back dating the outgoing payment to Jan 31, 2011 on Posting, Due and Doc Date.  If the Posting/Doc date are left as the current date and the Due is set at Jan 31, 2011 then there is no issue.
    I've checked the posting periods, G/L determination and BP setup. 
    Note: this exact process has been completed many times in the past.
    Version:
    SAP B1 2007A SP01 PL11
    Any assistance would be appreciated.
    I've seen another post with a similar question but the answer did not solve our issue.
    Invalid Account Code when adding outgoing payments

    Hi,
    You may check this: Invalid Account Code error when posting AP Credit Note
    Thanks,
    Gordon

  • Error when posting debit balances to expense accounts

    dear experts.
    A screen dump is produced when saving or posting debit balances to expense accounts for only certain periods and for a certain fiscal year in this case year 2006. credit balances are being posted without any problem to the same accounts, same periods and fiscal year. what might be the problem. can the problem be solved form the ABAP side or FI side?
    its urgent

    Hi Willard,
    Karthik is right, we need more input to resolve this issue. ST22 can give it to you.
    This issue as far as I understand has nothing to do with ABAP. It has to be resolved by functional / basis people.
    Is there any internal order / cost center assignment when posting to these expense a/c's?
    Regards,
    Siva

  • Invalid Account Code error when posting AP Credit Note

    Dear Experts,
    I hit this error message when posting an AP Credit Note based entirely on an existing AP Invoice (nothing was changed in the credit note).
    Invalid Account Code [Message 173-9]
    I have found 2 notes, but I dont think they're relevant
    [Note 1311905|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001311905]
    [Note 1286288|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001286288]
    Please help!
    Warmest Regards,
    Chinho

    Dear All,
    I found the solution!
    In my AP Invoice, there was a Rounding amount, but when I copied over to AP Credit Note, the system unusually set the Rounding amount as $0.00 and copies the Rounding amount to the Discount field instead.
    **The "Invalid Account Code" error happened because I did not set GL account determination for discounts scenario.
    So what I did was I cleared the Discount field in the Credit Note, and enter the rounding figure into the Rounding field again. Then, the AP Credit Note was able to go in Successfully!
    Thanks guys.
    Warmest Regards,
    Chinho

  • Seperate Document Row with same account  when post GL

    Hello everyone
    How I can seperate Document Row with same account  when post GL
    because If I post dcoument that  have many rows but same account and difference detail. It will sum amount for same account in JE
    and I found that will seperate if it has diference project code but it's not enough for me.
    How I can config SAP B1 to seperate Doc row when post to JE if it has difference detail (as userfield or standard filed)
    Sorry for my poor english
    Thank,Seang

    Hello Suthee,
    Sorry to tell you, it is not possible to do so in current B1 without addon development.
    There are 2 alternative.
    1.Consulting Workaround:
    Seperate the Item into 2 items, the account into 2 sub accounts.e.g.
    Item A => Item A01 and A02
    G/L Account 1001 => Sub Account 100101 and 100102
    2.AddOn development to seperate the JE just after it is created document
    You can update to JE to seperate just after JE are created by docuemnts.
    Just Listen FormDataAdd Event.
    Sample Code:
    Private Sub FormDataEventHandler( _
        ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
        ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
            'I just listen 133 - AR invoice here,
            'You may add the target documents
            'Before action = true, start the transation
            If BusinessObjectInfo.FormTypeEx = "133" _
                    And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
                    Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) _
                    And BusinessObjectInfo.BeforeAction = True Then
                oCompany.StartTransaction()
            End If
            'Before Action = false,
            'Update the JE in document
            'Succeed, commit, otherwise rollback
            If BusinessObjectInfo.FormTypeEx = "133" _
            And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
            Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) Then
                If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
                    Dim xmlDoc As System.Xml.XmlDocument = New System.Xml.XmlDocument
                    xmlDoc.LoadXml(BusinessObjectInfo.ObjectKey)
                    Dim objectKey As String
                    objectKey = xmlDoc.SelectSingleNode("//DocEntry").InnerText
                    Dim oDocument As SAPbobsCOM.Documents = Nothing
                    oDocument = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                    If oDocument.GetByKey(CInt(objectKey)) Then
                        Dim oJE As SAPbobsCOM.JournalEntries
                        oJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                        If oJE.GetByKey(oDocument.TransNum) Then
                            '*Add you code to Update oJE lines here*
                            lRetCode = oJE.Update
                            If 0 <> lRetCode Then
                                oApp.MessageBox("Failed to update JE")
                                'roll back the whole transaction, including the document
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                Exit Sub
                            Else
                                'Commit the transaction
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                            End If
                        End If
                    End If
                End If
            End If
        End Sub
    Hope it helps. Thanks.
    Kind Regards
    -Yatsea

  • Substitution not called when posting from a different system through ALE

    Hi
    When I post an FI document using FB01 in FI system,the posting calls a  substitution to fill the cost center if the cost centre is empty.We have a custom function module which substitute the cost center
    The HR system is linked to FI system through an interface.
    So when HR system post a document through FI,it post successfully if the cost center is filled.
    But it fails to call the substitution when posting a document without cost center.
    There is a statement in our custom fm
    ASSIGN ('(SAPF110S)XBSEG[]') TO <lfs_bseg_tab>.
    ASSIGN ('(SAPMF05A)XBSEG[]') TO <lfs_bseg_tab>.
    These statements fails to work when calling remotely from HR system and so it doesnt fill <lfs_bseg_tab>.
    So the HR guys telling tat because of this reason,the substitution is not called.
    Could anyone please help?

    Hello ,
    are you use BTE or GGB1 ?
    regards
    Prabhu

  • Meve PO Number to table FBICRC002A when posting MIGO

    Hello,
    I have a requirement to find out where in ABAP code PO number and PO item are moved to table FBICRC002A durring posting in MIGO. So I've used a trace and now I know that it is done by Function Module G_GLDB_POSTING_A. But this function module is called in Update task (I think so) by form VB_CALL_FUNC in program RSM13000. And I don't know how table FBICRC002A (variable INT_FBICRC002A) is passed to FM G_GLDB_POSTING_A. Any ideas? Any help?
    I will be gratefull.
    Thanks for help.
    Best Regards,
    Mikolaj

    see any where in the sqr or in sqc for the string "begin-select". begin-select is the command that will fetch the data from the peoplesoft tables. so somewhere you must see "begin-select".
    In that begin-select try to locate any of the data(column of the table) which is getting printed right now on the invoice and see that table name(locate the from in that begin-select, you can see the table name). go to app designer and see if that has PO_ID. if that has PO_ID then modify the begin-select to get this extra column.
    Hope this helps.

  • Error message KI248 on delivery document when posting goods issue

    Hi,
    On the delivery document, when posting goods issue I get the following message:
    "Account 60700000 requires an assignment to a CO object
    Message no. KI248
    Diagnosis
    All given account assignment objects (order, project) are defined as statistical.
    System Response
    Statistical orders or projects are ignored when FI and CO are reconciled. You must enter a cost center, order, project, or cost object to which the costs are posted for CO postings.
    Procedure
    Enter a cost center, an order, a project, or a cost object that is not statistical. The posting row affected is 000 and the account is 60700000."
    On the sales order I have a statistical order.
    CO-PA is active, cost element 607 is included in PA transfer structure.
    I also tried with cost center allocation in OKB9.
    60700000 is defined  as a cost element (category 1).
    Any suggestion could be helpfull.
    Thanks,
    Lavinia

    Hi,
    Thank for your answer.
    I tested with element cost category 12, it's working, but not the way I need: I don't have any value on the cost center.
    When I don't have statistical order in sales order, the sistem it's working exactly how I need: the costs are posted on cost center and the VPRS condition is transfered to CO-PA on profitability segment.
    Anyway, I finaly make it work with a cost center substitution.
    Lavinia

Maybe you are looking for

  • Noise (fan and/or drive) MacBook 2.4 Intel Core 2 Duo 2GB 160GBHD

    I recently acquired a MacBook 2.4 Intel Core 2 Duo 2GB 160GBHD. It is always making noise, (quite obvious, fan noise). It is annoying. Compared to my iBook G4, this thing is rather noisy. Quite honestly, I never hear anything from my iBook G4 unless

  • Best practice procedure for wrong device's serial number

    Hi all. In SAP IS-U it isn't possible to change the serial number of a device, as stated in SAP KB note 1620789. This note only implies that wrong device should just be deleted, but in our business scenario it is not that easy. We are finding some me

  • Unexpected MRP Forecast

    We have a very peculiar situation within Oracle. Somehow, a statistical forecast was generated for quantity 1 for EVERY sku we have loaded into Oracle. As well, we had just created a user for a new employee. Somehow his name is tied to these records.

  • You're iCloud Storage is almost full

    iCloud says (wrongly) I'm running out of/exceeding my Storage space. All this while I'm only using less than 1 GB of the 25 GB allotted. I do not back up to the iCloud. How can this be?

  • I don't have the option for updating software in my IPAD!!! How can I download IOS7?

    When I go to General, in settings, and then go to software update, I don't see the option of update software, it only says "learn more ' about ios7?????