JAEHYLEE , Calling Create_Accounting_Entry for PAYMENT EVENT에서 에러가 날때

PURPOSE
Calling Create_Accounting_Entry for PAYMENT EVENT에서 에러가 날때
Workaround
N/A
Solution Description
Symptoms
Debug Logfile of the Payables Accounting Process shows the following error :
Calling Create_Accounting_Entry for PAYMENT EVENT (ID = XXXXX) ...
Inside AP_Accounting_Main_Pkg package.
About to account for Payment Event (ID = XXXXX) for SOB ID XX ...
Inside Execute for Payment_Event_Core
Cannot Account for XXX bank account's check number XXX because some Invoice that it pays, is NOT accounted.
AE Line Accounted Status = CANNOT ACCOUNT FOR THIS EVENT
Cause
Invoice Event for the above Payment is already accounted but POSTED_FLAG is 'N' for invoice distribution lines.
Fix
Try the following fix in TEST instance first after taking a backup of the table, AP_INVOICE_DISTRIBUTIONS_ALL and AP_ACCOUNTING_EVENTS_ALL
update AP_INVOICE_DISTRIBUTIONS_ALL
set POSTED_FLAG = 'Y'
where INVOICE_DISTRIBUTION_ID in (Enter Invoice_Distribution_Id) ;
update AP_ACCOUNTING_EVENTS_ALL
set CANNOT_ACCOUNT_FLAG = null
where ACCOUNTING_EVENT_ID = Enter Event_Id for Invoice Event;
Ensure that the above scripts update correct number of rows.
Reference Documents
292102.1

Hi Abeer,
If the first payment was not accounted, then voided, the clearing that cannot account is most likely for the same check. Typically we would approach this in support by looking at the accounting that is created by the Payables Accounting Process and reports. It should show an error for the payment, but that lets us know if the problem with accounting the original payment and payment void events are due to an invalid account or an unbalanced accounting issue.
There is no way to get the accounting on the clearing event to work because it needs the actual numbers generated by the payment accounting to calculate the correct accounting.
A workaround of setting the payment and payment void to posted status sometimes works because those events net to $0. Without an actual amount to post to GL, we can do that.
In support, I would ask you to generate what we call an "aplist" or Invoice Data Collector script for one of the invoices paid by the payment and payment clearing that are not successful. That helps determine the best fix for the issue. We really need to find out if there is an error for that first payment event. Also, I'm assuming that the payment clearing that you created was for the first payment, and that you have uncleared it as well.
The accounting should be done in the following order:
Payment Event
Payment Clearing
Payment Unclearing
Payment Void
Check the dates on each event (in ap_ae_headers_all) to determine if you do indeed have four unposted events, and that they are in the correct payment order.
Cheryl Riniker, Oracle

Similar Messages

  • F110 exit's or BTE's for proposal and payment event

    Hi experts,
    I've allready searched on the forum about this topic but havent found anything that could help me...
    What i need is some exit's or BTE's, i rather BTE's, for payment program, in  proposal event and payment.
    I've found event 2110 but after some trys the payment program didnt stoped on my break points, neither the while trues  :)..
    I think something it's missing me to activate the BTE but dont know what may still missing ...
    Does anyone knows event's that we call call in Payment Program ?
    Thank in Advance
    Best Regards
    João Martins

    Hi Joao,
    I see that your question is answered. May I ask you which BTE have you found?
    Thanks & Regards
    Ernesto

  • FB05 Batch Input / Call Transaction - Does not select amount for payment

    Hi,
    When I launch the FBWD transaction (returned bills of exchange), the call transaction for G/L account postings is in error. So the FBWD automatically creates a batch input, but when I tried to launch the batch input, it remains unsuccessful.
    So I launched the BI in foreground, I can see that the first steps of the account postings are OK, but the BI stops when assigning the payment amounts : the BI found the different postings to clear, but it waits to enter the payment amount.
    Manually, I just have to click on 'Accept' or enter the payment amount and click on 'Continue'.
    => Is there anything to do so that there is no payment amount to fill? (there should be something because the FBWD is a standard transaction, so it should work!!)
    Can you help me on this?
    Thx

    Hi.
    Yes the issue has been resolved.
    You just have to configure your master record (FS00) by ticking the box 'relevant to cash flow' (XGKON).
    Hope it will help you.
    Bernard.

  • HT3702 My account says to call itunes support for payment information. How can I successfully complete that screen and purchase music?

    I can't purchase music front itunes store. It says to contact itunes support for payment information.

    These are user-to-user forums, you can contact iTunes support here : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • Formal error: Invalid calling sequence for function modules

    Hi All,
    I have developed a function module for FQEVENT 620 Payment: Transfer Line Items for Clearing.
    The clearing works fine.
    After clearing the open items i need to post an FI-CA Document(BAPI : BAPI_CTRACDOCUMENT_CREATE) for each open item(cleared item)
    I have used the bapi : BAPI_CTRACDOCUMENT_CREATE in the same function module that i have developed for FQEVENT 620 Payment: Transfer Line Items for Clearing.Here i am getting an error "Formal error: Invalid calling sequence for function modules".
    So please let me know where i can use this bapi to post fi-ca document.Is there a BAdi or Enhancement Spot where i can use this BAPI or tell me what should i do to overcome this error.
    Regards
    Venkat

    Venkat:
    While I am confused about your business process - creating an open item when clearing one seems strange.  Look into event 0020 which is called after documents are posted - it may present the opportunity to post process additional documents.
    regards,
    bill.

  • Dynamic Search Object for Payment Terms

    Hi,
    May i know the Dynamic Search Object for Payment Terms. I have to create a Advanced Search Page with Payment terms. I could not find the dynamic search object for Payment terms. Any help is appreciated
    Thank you.
    -Siddharth

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Change Search Help for Payment Terms Field

    Hi,
    I would like to change the Search Help for Payment Terms Field, in Customer Master (KNVV-ZTERM). and in Sales Document. I believe it is the same.
    Default is From Table T052 / T052U
    ZTERM  and TEXT1  Fields
    I would like to have
    From Table TVZBT
    ZTERM and VTEXT
    PayT    Own Explanation Field.
    Can we change the Search Help.

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Call Custom Service from Event Receiver as Current User

    Hello,
    i bang my head on this problem for days now:
    My custom web service hosted in Sharepoint 2013 needs to know the logged on user name. I used to have a self-written impersonation in my service client before, but with switching to claims authentication this should be obsolete.
    So within my service i decode the user from
    IClaimsPrincipal icp = Thread.CurrentPrincipal as IClaimsPrincipal;
    IClaimsIdentity ci = (IClaimsIdentity)icp.Identity;
    String User = ci.ToString();
    This works well when i call the service from a custom aspx page.
    It utterly fails when i call the service from a List Item Event Receiver. The User always is the Application Pool Account.
    This is the Client code to open the Channel:
    private void SetChannelFactory(
    MyServiceApplicationProxy proxy,
    Uri address)
    if (null == proxy)
    throw new ArgumentNullException("proxy");
    if (null == address)
    throw new ArgumentNullException("address");
    // Check for a cached channel factory
    string endpointConfigurationName = GetEndpointConfigurationName(address);// Get the endpoint configuration name
    if ((null == s_ChannelFactory) || (endpointConfigurationName != m_EndpointConfigurationName))
    lock (s_ChannelFactoryLock)
    if ((null == s_ChannelFactory) || (endpointConfigurationName != m_EndpointConfigurationName))
    // Create a channel factory without specifying an endpoint address
    // so it can be cached and used for multiple endpoint addresses
    s_ChannelFactory = new ConfigurationChannelFactory<IMyServiceContract>(
    endpointConfigurationName, proxy.Configuration, null);
    // Configure the channel factory for claims-based authentication
    s_ChannelFactory.ConfigureCredentials(SPServiceAuthenticationMode.Claims);
    foreach (var operation in s_ChannelFactory.Endpoint.Contract.Operations)
    DataContractSerializerOperationBehavior behavior = operation.Behaviors.Find<DataContractSerializerOperationBehavior>() as DataContractSerializerOperationBehavior;
    if (behavior != null)
    behavior.MaxItemsInObjectGraph = 2147483647;
    // Store the current endpoint configuration name.
    m_EndpointConfigurationName = endpointConfigurationName;
    private IMyServiceContract GetChannel(
    MyServiceApplicationProxy proxy,
    Uri address)
    //Create Channelfactory
    SetChannelFactory(proxy, address);
    // Create a channel from the channel factory.
    return s_ChannelFactory.CreateChannelActingAsLoggedOnUser(new EndpointAddress(address));
    All research pointed out that "CreateChannelActingAsLoggedOnUser" would pass the current user (which is correctly identified within the event receiver!) to the service, but it doesn't work for my event receiver...
    Any advice on this would be great!
    With kind regards,
    Joachim

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Since you don't allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don't want documented, I am calling and I want this call recorded for future reference. I have been a long time fa

    Since you don’t allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don’t want documented, I am calling and I want this call recorded for future reference.
    I have been a long time faithful customer of vzw and although the past year I have been late on payments many times and really couldn’t afford your exorbitant prices for services lots of other companies offer sometimes three times cheaper than what you charge, I have hung in there trying my best to meet my obligations.
    This month has been no exception. You don’t know the background; the whole story of people’s lives. I know you could care less because all you care about is the profit-the money that comes in.
    I was told when I agreed to pay my bill on the third per the recorded message that I had 14 days to pay…you cut me off anyway. The phones are not the tissue; your suspending my service means I cannot work. I may lose my job…how do you justify that? In any case? The least you could do would be to keep 4986 on and cut the phones off. But no. You refuse to compromise and meet the basic needs of your customer. What does that say about your company? I tried to call back on three separate occasions to tell you I couldn’t pay because of unexpected expenses but couldn’t get out of the automated system…sadly couldn’t get to a real person which also speaks volumes to me.
    All this tells me this is a company I don’t wish to be affiliated with any more. As soon as I can, I will discontinue service with you…I know you could care less. I will honor the remaining portion of the contract but that’s it. You don’t deserve my business. I am a good, hardworking person who, at the sacrifice of myself and my needs, always pays her bills…albeit late at times. I realize others tell you stories and lies to justify themselves. That’s not me. If you knew what I had been through the last 7 yrs you would marvel that I am  still on my feet…don’t judge too quickly. You could be wrong…and in my eyes you are by doing this to me.
    God will see us through this extremely scary time of that I have no doubt. No thanks to your company and lack of understanding and mercy. I am doing the best I can. Sadly you are not.
    See I have choices. MANY choices of providers for services you offer. I don’t have to be treated like this. I don’t have to succumb to your coldness and callousness. I intend to choose better (and cheaper). If your company doesn’t get the “people factor” back you will be sorry.

    Problem here is you admit you cannot afford the service.
    And you want to blame Verizon for losing a job because you have no cell phone.
    If your job depends on that phone I would pay it on time every time if you need a job to pay your bill.
    No other service is going to treat you any different. And if you cannot afford Verizon's monthly invoice how are you going to afford new devices, activation fees, possible security deposits on any other cellular carrier? You can't.
    Also if you made an arraignment to pay and then decide you cannot do so, why should Verizon extend you service or credit, or why is it you want to use the service and data and not pay for it as agreed.
    Get a prepay phone. Its evident the cost is too high for you to afford on post pay.
    Good Luck

  • Using a different color for each event in a calendar?

    I don't know if this is possible. If I have a calendar that is green. Every event I set up in that calendar is green. So if you have a full day of events each day on the calendar just looks like this mass of green.
    Is there any way (as I've seen in other calendar apps.) to change the color for each event so that they stand out more.
    I see references on the net to an iCal plugin called iCalibrate which seems to do this but it also doesn't seem to be available any more? But it said...
    " iCalibrate 1.3 can now change any color, anywhere in any of your calendars"
    That's pretty much what I'd like to be able to do.
    Pat.

    Ok I found a similar question on this forum that was answered and helped. If anyone comes across this wondering the same thing, copy and paste your SpryMenuBarHorizontal.css file and rename the copy to something like "(Title_Of_Page)SpryMenuBarHorizontal.css" and then replace "SpryMenuBarHorizontal.css" in your code to <link href="../SpryAssets/(Title_Of_Page)SpryMenuBarHorizontal.css" and then you are good to go.

  • Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes.   Finally Fixed!!!  SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.

    The issue:  Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes.   Finally Fixed!!! 
    SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.
    The cause:  It is now clear what caused this problem.  For years I had several “all-day” events in my Outlook calendar (birthdays, anniversaries, etc.).  In May 2012 I decided to make some of them one hour  events so I could add alerts to remind me of the event.  I did this by dragging them in Outlook to the time I wanted and expanding them to the time slot desired and then adding the alarm.
    The symptom:  Syncing stopped working for the calendar but continued working for contacts and notes.  I didn’t realize sync was failing until months later when I missed two very important phone calls, so when I noticed it the cause was not obvious. 
    The failed attempts:  I’m head of a software firm and my calendar sync is a crucial to my business life so I took this on with a vengeance.  From a quick look at events in Outlook and the iPhone I could see that the problem started in May 2012.  Events before May were in both Outlook and the iPhone but events after May were only one or the other.  Unfortunately I had changed several other things at the same time relating to other events so again the cause was not obvious.  MANY calls with AppleCare proved them incompetent so my internal IT guys assisted trying many things.  We tried a huge number of calendar changes and several versions of iTunes, iPhone OS and Office as well as both iPhone 4 and 5, all without success.
    The fix:  After 18 months of frustration, MANY  hundreds of $ expense and MANY hours of wasted time I saw a blog that had a calendar sync  problem and it indicated all day events were related.  I changed the display of the Outlook calendar to the list view, added columns so I could see “all day” event check marks as well as times of events,  sorted on the “all day” event column to move them to the top, and for all events that were “all day” events AND had a start and end time, I removed recurrence and then added the annual recurrence back…
    After I fixed all events that had BOTH “all day” set and had a start/end time, I tried another sync.  It synced for the first time in 18 months! 
    Problem occurred May 2012 – fixed Nov 2013

    Hi, to remove dummy '_ModGrp' entries, rather than crashing the 'Suppr' key on your keyboard, you can use this basic VBA macro (launched for instance from Excel).
    It will recursively remove all '_ModGrp...' folders
    Sub RemoveFolders_Click()
        Dim oOutlook As Outlook.Application
        Set oOutlook = New Outlook.Application
        Set objNameSpace = oOutlook.GetNamespace("MAPI")
        Call CleanFolders(objNameSpace.Folders)
    End Sub
    Sub CleanFolders(objFolders As Outlook.Folders)
        For i = objFolders.Count To 1 Step -1
            If Left(objFolders(i).Name, 7) = "_ModGrp" Then
                objFolders.Remove( i )
            Else
                If Not objFolders(i).Folders Is Nothing Then
                    Call CleanFolders(objFolders(i).Folders)
                End If
            End If
        Next i
    End Sub

  • Passing of Milestone data in BAPI_EH_POST fm for expected event creation?

    HI,
    If non-sap system will try to post expected event through bapi_eh_post to sap em, Is it possible to create expected event in sap em by providing values to milestone data  in bapi eh post and attach an expected event profile for the event handler.Kindly suggest, how to create an expected event for any activity not coming from application system.

    Hello Ratnakar,
    there is no special coding needed.
    If you call EH_POST you hav just provide all the EH data in the interface.
    The link is only the Business Process Type. It is important that you fill AO Type, AO System etc. in all the tables.
    You could debug here:
    In EH creation case you should be later coming to this point:
    Inside this method EE will be generated based on your milestones.
    Best regards,
    Steffen

  • Exit for payment method(IDOC- PEXR2002)

    Dear Experts,
    I have add one Z Segment to the standard idoc PEXR2002 and msgtyp PAYEXT and now would like to pass the value to that Z segment field.
    But i am not able to find out any Exit for payment method.
    Program used to create the idoc is RFFOEDI1.
    Kindly provide the solution.
    Regards
    Pankaj

    if  you will ook in the porgramit is sent via function module where there are lot of Call customer function which you can use for example EXIT_SAPLIEDP_902 i can see many.Just debuug it and check which suit your need.
    Nabheet

  • F-47 park and post option OR F110 block option for payment requests

    HI experts,
    current business scenario:
    F-47 payment request by AP users
    F110 payment run (including payment requests) by manager
    so between F-47 & F110  system doesnt trigger for payment approvals
    Business requirement:
    After F-47 system should trigger workflow to concerned manager for approval
    OR
    At F110 (payment run) system should proceed after approvals if payment requests includes in the run
    Limitation:
    Business doesnt  use F-48 ( post down payment) because check is processed by Bank
    Pls suggest workflow after F-47 or at F110 which wil intimate the concerned manager
    and stops &/ block the concerned payment till approval.
    regards
    Edited by: melgibson on Jan 16, 2012 8:30 AM

    Hi,
    Now i got your point. your requirement can be achived using a ABAP development.
    1) Create a Z table to store down payment requests (with all fields, those you use in F-47) and this table needs to be maintained via a Ztcode. (ZF-47). As soon as the user enter the DP request data in Ztcode, system should trigger the WORKFLOW and will send these requests to the manager's SAP Inbox. So once the manager approves few of them, those requests only will be processed by a Zprogram, which will create SAP standard DP requests using F-47 in background.
    Note: Please make sure that, your Ztable should have one special field called STATUS, which will be depending on manager's approval. If the manager rejects it, then status should be automatically updated to the Ztable.
    2) anyhow bank will automatically creates DP for all F-47 requests, which were pre approved above.
    This logic should work  and fits to your requirement.
    Cheers,
    Srinu

  • Define Withholding Tax Type for Payment Posting

    Hey Guys, I'm configuring Withholding Tax for a company. I know the purpose for defining the withholding tax type for invoice posting, but do understand where is the Withholding tax type for payment posting used? Is it used for advance(down) payment or something else?
    Thanks,

    Hi ,
    In some countries there is requirement that you need to deducted Withholding tax either at time of Invoice or payment which ever is ealier . so if you get Invoice first then you deduct the Withholding tax on Invoice and define the tax type and assign to company . but if you make paymnet first which we called advance or down payment then we configure Withholding tax on payment .
    If a vendor is liable for withholding tax on invoice it may be liable for payment as well if you think you may pay some advances .
    Please let me know if you need more information

Maybe you are looking for

  • Where can I get the Boot Disk for my macbook pro? Downloading OSX Lion is taking too long

    I got a macbook pro that was owned by someone for a few days before. I tried to restore to factory setting but now downloading OSX Lion is taking forever with my internet connection. Can anyone help me find a boot Disk to speed up the process?

  • Cmod code to fetch line item data

    Hi Experts, I have appended 2lis_11_VAHDR the field X. I want to populate this field with the data of field X from VBAP table ( SO Item table). But since the data source is a header i.e. it will have only one record aganist each SO. In table VBAP, fo

  • Performance of "Distribute by key" in Integrated Planning

    Hi I am currently working on an assesment solution in Integrated Planning on SAP BI 7.0, SP 12. I amcreating a small test where I have copied appr. 5500 records into a transactional cube. On this cube I have a separate aggregation level which is basi

  • Using Microsoft ACCESS on MAC os.

    What is the best way to run Microsoft ACCESS on a intel based Macbook running mac os X? Tryd to use FMPRO migration but had no luck. Id love to switch to a new mac book, but i run my business s/w in MS ACCESS. Thanks Joe

  • Oracle 10g - System Statistics

    Hello guys, i've got a question foru you :-)) If i generate new system statistics (cpu load, i/o load, etc.), are the execution plans in the sga going invalid? Some time ago i tested it with new statistics on tables/indeces and if i generate new stat