Error in the execution of custom billing extension in PA module

Hi All ,
We had a requiremnet for creating the custom billing extension similar to the standard Revenue calculation billing extension . The change required in the formula for calculating the revenue was the Actual total burdened cost will be the Actual total burdened hours and Budgeted baselined burdened cost will be the Budgeted baselined burdened hours .Rest of the entity in the standard revenue calculation program will be as per the standard revenue billing extension.
The standard formula is as follows :
(1)     revenue amount = Lesser of (Remaining Funding Available if hard limit used) and ((AC / BC (BR – ER) – AR)
I created a package which will get the value of AC and BC as per the client requirement . Defined the Extension using PROJECT BILLING SUPERUSER >> SETUP>> Billing >> Extension screen .
This extension was then assigned to a project type . WE created a project using the same project type . When we fire PRC: Generate Draft Revenue for single project and pass the project number it first calls the Standard billing extension and then the custom one becoz of this there is error in calculating the revenue through it .
We are not sure where we are going wrong . The standard extension has been end dated too ..still everytime it executes the standard and then the custom one .
Has one faced such issue ? Request for some pointers to solve the issue.
Thanks and Regards
MN

Hi,
My issue got solved. It was beacause there was a method in a Bean Interface which did not have an implementation in the Bean EJB.
appc just gave a NPE.
The issue came out when i did a weblogic.ejbc.
Thanks.

Similar Messages

  • SMQ2: SYSFAIL Comparison error during the execution of a simple

    Hi folks, I have an operation mapping interface determination with exactly 1 target message of occurence 0..1, that means the mapping output can be nothing for some input messages, that means a target message is not produced so that the output looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Messages><Message1/></Messages>
    In services builder the test finishes successfully when no output message is produced. Also in integration builder i can test the configuration and it works without errors.
    But in runtime the message status is set to "Recorded for Outbound Processing" in SXI_MONITOR and the queue status of the message to "Message has errors". The message stops in SMQ2 with "SYSFAIL" as status and statusText "Comparison error during the execution of a simple" (truncated).
    Anybody experienced the same? How has the output of an operation mapping to look like when no target message is produced?
    I also tested with an output like this when no target is produced, but this results in System error "Split mapping created no messages" in SXI_MONITOR:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1></ns0:Message1></ns0:Messages>
    Thanks for your help, best regards, Martin

    You seem to be having a multi-mapping involved.
    The operation mapping has to produce at least the start and end tag.....even if the entire message is not present
    Ex:
    <SRC>
    <First>
    <Middle>
    <Last>
    </SRC>
    If above is the structure, then it should be ensured that at least <SRC></SRC> is created by your mapping program....however in your case this is not happening....the tags that you see Messages and Message1 are due to the multi-mapping program and your message should be more than this.
    if you say that occurence is 0..1 then what you can do is map this 0..1 node (root) with at least a blank Constant.
    Unless you create a message (even though empty) you will continue to receive the error message.
    Regards,
    Abhishek.

  • Error Viewing the Execution option of a Report

    I select the option execution from a report (it's in properties option) and then raise an error which says An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
    EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
    I have full privileges in the DB and I think the report server is well configured. This is happening since I reinstalled all the system (including windows). Any ideas?

    I think you would need to grant permissions to SQL Agent stored procedures that Reporting services use. Here is the list from our installation script:
    USE master GO
    GRANT EXECUTE ON master.dbo.xp_sqlagent_notify TO RSExecRole GO GRANT EXECUTE ON master.dbo.xp_sqlagent_enum_jobs TO RSExecRole GO GRANT EXECUTE ON master.dbo.xp_sqlagent_is_starting TO RSExecRole GO USE msdb GO -- Permissions for SQL Agent SP's GRANT EXECUTE ON msdb.dbo.sp_help_category TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_add_category TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_add_job TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_add_jobserver TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_add_jobstep TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_add_jobschedule TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_help_job TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_delete_job TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_help_jobschedule TO RSExecRole GO GRANT EXECUTE ON msdb.dbo.sp_verify_job_identifiers TO RSExecRole GO GRANT SELECT ON msdb.dbo.sysjobs TO RSExecRole GO GRANT SELECT ON msdb.dbo.syscategories TO RSExecRole GO

  • Error in the execution

    The problem occur when using BEx excel and running any report. I'm unable to use "Change Query (local view)", when clicking on this, I receive the following error message :
    Error in execution '339':
    Component 'richtx32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid
    What has gone bad ? Is it my SAP GUI ??
    thanks
    D Bret

    It is the front end that is gone bad. You can check this by opening up BEX analyzer. From the menu option
    Business Explorer  --> installation check.
    This will open up a spread sheet, hit the start tab, this will run a macro to check the front end installation and will tell you which file has gone bad.
    Hope this helps
    Cheers
    Amol

  • Error at the time of Collective billing

    I am getting an error message "TE507_05    does not exist" at the time of create collective bill using Tcode "EA10_COLL"
    Please advice.
    Satya

    This means that you are missing configuration for CB document type in FICA. SPRO->Contract Accts receivable and payable->Basic functions->Postings and Documents->Document->Document types->Allocate number range groups for Nota Fiscal.
    Refer to IMG Documentation - You define the document types for collective bill creation. You can maintain the document types for clearing, interest calculation, and cash security deposit interest calculation documents, as well as bills from SD billing documents and debit entry documents.

  • The Manager Requests competitors encountered an error during the execution

    Hi
    Once i try to execute the conucrrent program i got this error , can u plz help what is this error in log file also i did not get any error message.
    How to check where is this error is occured in program.
    Thank's

    Hi
    Now also it is working to day 50 percent programs got errored and remaining 50 percents got completed normal and just now i checkcode also
    in the code it self they worte one insert program to insert the data from requisitin headers table with approved data.in this created by column is selected requisition created by column,my doubut in the error it is showing requisition header_id,i query based on this requisition header id i got created by as value.but it is showing error.
    Thank's

  • Error during the execution of a planning function in BI 7

    Dear All,
    I created an input ready query and took it into a workbook.
    I have to execute a planning function (by a button) which calculates some new data but I get the following error after I clicked on the button message:
        Error when inserting or changing in a sorted table
    And the BW server closes the connection.  
    Any help?
    Thanks in Advance,
    Dezso

    You seem to be having a multi-mapping involved.
    The operation mapping has to produce at least the start and end tag.....even if the entire message is not present
    Ex:
    <SRC>
    <First>
    <Middle>
    <Last>
    </SRC>
    If above is the structure, then it should be ensured that at least <SRC></SRC> is created by your mapping program....however in your case this is not happening....the tags that you see Messages and Message1 are due to the multi-mapping program and your message should be more than this.
    if you say that occurence is 0..1 then what you can do is map this 0..1 node (root) with at least a blank Constant.
    Unless you create a message (even though empty) you will continue to receive the error message.
    Regards,
    Abhishek.

  • JSPM DIR_EPS_ROOT  error during the execution of the JSPM_PROCESS phase

    dear sap experts
    I tried to use JSPM in order to update kernel and support packages.
    unfortunately i got errors..
    "Cannot initialize application data. could not extract value with key DIR_EPS_ROOT from file
    c:/usr/sap/SM4/SYS/profile/SM4_DVEBMGS01_solman40. "
    I linked some screenshots document.
    <a href="http://itedu24.net/solman/5.8 Applying the Latest Kernel and Support Packages.doc">5.8 Applying the Latest Kernel and Support Packages.doc</a>
    as you can see, txn RZ11, i can see the value of DIR_EPS_ROOT.
    *. it's another question.
    I found j2ee/dbdriver value
    it looks like this.
    C:/usr/sap/SM4/SYS/exe/uc/NTI386/mssjdbc/base.jar;~~~bulabula..
    Is it okay if the format of path is "C:/usr/sap/" rather than "C:\usr\sap\"
    thanks.
    david
    Message was edited by: David Kang (.) SAP@Home

    Hi David,
    It seams that you have not run JPSM as <sid>adm.Please try to run it as <sid>adm
    Best Regards
    Nina Petrova
    NW LM SL SDT JS (BG)
    Sap Labs Bulgaria Ltd.
    Error reports: CSS component BC-UPG-OCS-SPJ

  • Conversion Error During the Execution of SQL Server Job

    Hello,
    I have a production SQL server and a test SQL server that mimics the production server. On the production server all the jobs which do a variety of things using Transact SQL and SSIS packages work flawlessly. However one of the jobs on the test server fails
    at a step and issues the following error:
    executed as user: DomainName\administrator. Conversion failed when converting datetime from character string. [SQLSTATE 22007] (Error 241). 
    The step failed.
    Here is the code contained in the steps Command window (same exact code that works fine on the production server):
    declare @Now datetime
    declare @DB_Date datetime
    declare @Trip_Err datetime
    select @Now = convert(varchar,getdate(),101)
    select @DB_Date = (select convert(varchar,max(ProcessDate),101) from I_Loans)
    if @now <> @DB_Date
    begin
    truncate table I_Loans
    end
    else
    select @Trip_err = 'error'
    I don’t see anything preventing this code from executing. However, I am not a programmer. My SQL Server version is below:
    Microsoft SQL Server 2005 - 9.00.5324.00 (Intel X86)  
    Aug 24 2012 14:24:46   Copyright (c) 1988-2005 Microsoft Corporation 
    Standard Edition on Windows NT 6.0 (Build 6002: Service Pack 2)
    Any advice or solutions will be greatly appreciated. Please let me know if I need to provide more information.
    Thank you,
    Dave
    David Young

    Could you run this query from management studio in test?
    select convert(varchar,max(ProcessDate),101) from I_Loans
    It could be something to do with the ProcessDate value which had issues to convert
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • How to make the Billing extension to override the defined rate schedules

    Hi,
    By using the billing extension, i am able to generate the events at top-task level and also generating the draft invoice/revenue amounts.
    But the problem is, if any bill rates are defined for the expenditure item means, draft invoice/revenue amount is duplicating.
    It is the sum of my calculations in my billing extension and the calculations of the (expenditure item * bill rate).
    My billing extension is not able to override the defined rate schedules.
    Please let me know, how should i make my billing extension to override the defined rate schedules.
    Thanks in advance,
    Janardhan
    Edited by: 901259 on Dec 11, 2011 11:11 PM

    Hi Dina,
    Thanks for your inputs.I have tried with the Event/Event as you specified. It is working. Now my i am able to disregard the expenditure items hours multiplied by bill rates and generate the events with my billing extension calculations only.
    But i need to handle one more thing as per my requirement.
    User to be restricted in such way that, draft revenue has to be generated before to the draft invoice(Same as Work/Work) through my billing extension.
    How can i achieve it.
    The revenue_distribution_flag is not updating from 'N' to 'Y' even after the generation of the draft revenue as you mentioned when i follow the Event/Event.
    Is there any way to the restrict the user in generating the draft revenue prior to the draft invoice by using EI's.
    Thanks & Regards,
    Janardhan.

  • Adding a custom rendering extension to SQL Server Reporting Services 2012 for SharePoint 2010 integrated mode

    We are attempting to add OfficeWriter report rendering extensions for SSRS 2012 in SharePoint (2010) integrated mode through powershell. The documentation for “New-SPRSExtension” is rather
    sparse and we have not found any clear examples on the internet. With SSRS 2012 in native mode, we make the following two changes to the config files:
    We add the following report rendering extension declaration to
    RSReportServer.config:
    <Configuration>
        <Extensions>
            <Render>
                <Extension Name="XLTemplate" Type="SoftArtisans.OfficeWriter.ReportingServices.ExcelTemplateRenderer,
    SoftArtisans.OfficeWriter.RS2008"/>
                <Extension Name="WordTemplate" Type="SoftArtisans.OfficeWriter.ReportingServices.WordTemplateRenderer,
    SoftArtisans.OfficeWriter.RS2008"/>
            </Render>
        </Extensions>
    </Configuration>
    We add the following security trust codegroup to
    RSSvrPolicy.config:
    <configuration>
        <mscorlib>
            <security>
                <policy>
                    <PolicyLevel version="1">
                  <CodeGroup version="1" PermissionSetName="Nothing">
                    <CodeGroup
                                version="*"
                                PermissionSetName="FullTrust"
                                Name="SoftArtisans_OfficeWriter_Strong_Name"
                                Description="This
    code group grants SoftArtisans OfficeWriter code full trust.">
                              <IMembershipCondition
                                class="StrongNameMembershipCondition"
                                version="*"
                                PublicKeyBlob="00240000048000009400000006020000002400005253413100040000010001004779CB207F11
                                5E86EF9DD3233F9F130F8891911345176650F72330F84CA3F54C96DEB08439680660F02872EEF5DA3955
                                A14C63F96E57DFB71B1535280C37DA2CB5BA37D78A9882414DB11F67FD66DEBC4AD93DD34F4A587D34D
                                B4D23D9C6AF83431D88A7EF42BB01082913F3560DCB50129C5BBA7ECA0DE8BC286DA74F58FADE"/>
                  </CodeGroup>
              </CodeGroup>
           </PolicyLevel>
        </policy>
       </security>
      </mscorlib>
    </configuration>
    What would be the equivalent syntax for “New-SPRSExtension” to do the above for SSRS 2012 in SharePoint (2010) integrated mode?
    Alison Bird SoftArtisans Technical Services www.softartisans.com

    Hi Alison,
    Unlike the deployment of other custom extensions such as custom delivery extension and data processing extension, it is not necessary to add a code group for the custom assembly that grants FullTrust permission for the extension during the deployment of
    custom rendering extension. If you have copy the custom assembly to the %ProgramFiles%\Microsoft SQL Server\MSRS11.<InstanceName>\Reporting Services\ReportServer\Bin folder, and modify the RSreportserver.config file to add the extention entry properly,
    please open the SSRS Service Application created on the SharePoint and verify that your extension is included in the list of available export types for a report.
    Reference:
    Deploying a Rendering Extension
    Regards,
    Mike Yin
    TechNet Community Support

  • Error on the currency translation

    Hi experts,
    I get the next error on the execution of the FX Restament package:
    RUN CURRENCY CONVERSION
    3  SUBMITTED, 0  SUCCESS, 3  FAIL.
    MESSAGE FROM DOING CURRENCY_CONVERSION
    Member () of dimension (ENTITY) is not a valid member
    Member () of dimension (ENTITY) is not a valid member
    Member () of dimension (ENTITY) is not a valid member
    Why the script return a error when i am entering a valid member entity on the variable of the package?
    What are the values that the FX Restatement package needs on these varialbles?
    ENTITY: I enter a valid member of entity dimension
    CATEGORY: i enter actual
    GROUPS: i enter a valid member of the dimension. the group contain the entity i have enter on the first variable
    TIME: valid member of time dimension
    Thank you in advance.
    Regards.

    Problem solved,
    We have changed the parameter name GROUPS for the parameter CURRENCY on the script logic for the C/T.

  • Error in creating record in custom Z BAPI

    Hi
    I have added some fields in the BAPI as append structure.
    But when adding record to it, it is showing the following error in the very first custom field added.
    [code]java.lang.ArrayIndexOutOfBoundsException: -1
         at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:9531)
         at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:731)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:679)
         at com.mycompany.training.wd.rfm.model.Bapisbonew.setCusttype(Bapisbonew.java:230)
         at com.mycompany.training.wd.rfm.wdp.IPrivateSeatbookingview$IBooking_DataElement.setCusttype(IPrivateSeatbookingview.java:2336)
         at com.mycompany.training.wd.rfm.Seatbookingview.onActiongotobookseat(Seatbookingview.java:214)
         at com.mycompany.training.wd.rfm.wdp.InternalSeatbookingview.wdInvokeEventHandler(InternalSeatbookingview.java:270)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)[/code]
    Please help
    Thanks
    ananda

    Hi ananda,
    If any chages to be happend in R/3 side needs to be added once again into the webdynpro  means model.
    Send me your code and details .
    regards
    BHI

  • Discussion About The Use Of Project Server 2013 Timesheet Custom Billing Categories (Post SP1 and April 2014 CU Install)

    In support of a consulting company using timesheet custom billing categories to designate project time as billable onsite, billable offsite, and non-billable, I've encountered a series of issues which appear to be associated with the custom billing category
    timesheet lines.  These issues cause timesheet users to get frustrated, and contribute to misalignment between project actuals and timesheet actuals.  We're in Single Entry Mode, no pre-population, SP1 and April 2014 CU Installed.
    I'll enumerate the issues here and pose the question to the community as to whether others are experiencing any/all of these things, and if so,  ask if any workarounds have been discovered.  We're working with Microsoft to validate these independently,
    but I am posing the questions to the community to gather additional information, and hopefully save some folks time in troubleshooting similar issues.
    1.When time is entered on an assignment into timesheet lines of multiple billing categories, only time entered since the last save is getting saved and ultimately sent, on timesheet submit, to the approval center.  Although the previously entered and
    saved time appears in the application interface when the timesheet is re-opened, only data since last save is actually saving to the server or processing through the approval center.  We believe this is the primary cause for timesheet and project actuals
    being out of alignment.
    2."_ Error Loading".  When assignments are added, deleted, or changed after a timesheet has been created, standard timesheet lines are added, deleted or changed (i.e. synchronize) with the assignments. However, for custom billing category
    timesheet lines, they do not change when the assignments change, and they aren’t removed if the assignment is removed.  We believe this causes secondary errors, like the "_Error Loading"  (and others as will be described below).
    3.When a timesheet with time in a non-standard billing category is deleted and recreated, time is arbitrarily moved to standard timesheet lines for the same assignment. If the task assignment is subsequently removed, the timesheet line causes the timesheet
    to break.
    4."Error Communicating with Server". When trying to submit a timesheet, a pop-up box appears indicating that there is an error communicating with the server.  This error appears because a timesheet line is no longer associated with a project.
    In order to submit the timesheet the orphaned timesheet line must be identified and manually removed. One technique we found which helps to identify an orphaned timesheet line is to select a task and submit task progress. Repeat for all timesheet lines until
    you get an error.  The timesheet line(s) with the error can be manually removed from the timesheet, fixing the error.
    5. Unable to Open Specific Timesheets without Error. There are certain scenarios when the "Remove Task" feature is used or an assignment is otherwise removed after creation of a timesheet with custom billing category lines, which causes orphaned
    timesheet lines. These orphaned lines can cause issues when trying to open a timesheet. The issue can appear when timesheets are in progress in multiple periods. In the problematic scenario, time is entered and submitted in one period and subsequently
    the task is 'removed' from another period before the PM processes the first approval request. Process governance can certainly help here, but improvement in the way synchronization occurs between project assignments and custom billing category timesheet lines
    would be great. The error can often be resolved by re-adding the assignment for the problematic timesheet user to the project (which creates a new assignment), and then allows you to open the timesheet.  Then time can be moved from the old timesheet
    line to the new timesheet line, and the old one can be removed.
    In 4 and 5, sometimes we can't open a timesheet without error, and other times we can open it but not submit it. We are not 100% clear on all the different causes for each. Each of these issues are suspected to be contributing the the misalignment of
    data between project actuals and timesheets, which can be a real problem for external projects for which time collected through timesheets are being used to generate invoices.
    Although these may seem like separate issues, warranting separate questions, I decided to post them together because they all seem to be related to synchronization of project assignments and timesheet lines for custom billing categories.
    Any thoughts or suggestions from the community would be appreciated.
    Best regards,
    Justin
    Justin Naughton

    There are many causes for each of the errors mention.  It would be best to put one issue to the forum at a time.  For example, some of these issues occur then tasks are deleted from projects but a timesheet has been submitted.   Depending
    on the scenario, some of these issues have been fixed with the latest service pack.
    Other issues are due to bad scheduling habits with the project managers and so first determining what they have done can help resolve some the issues.
    _error Loading, is because something is NULL in the data and the jave is choking when it build the form. Again, these may be because of delete tasks, resources, projects  or someone doing copying and pasting of rows.
    cheers!
    PS.  Train your PM to not COPY and PASTE rows in project schedules.  It can be done, but it can create problems.  There are over 500 fields and some have unique data and the copy paste creates havic.
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Error Message for the cancellation of paid billing document

    Hi,
    Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
    Overview:
    Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
    Thank you and best regards.
    Rachelle

    Hi Rachel,
    You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
    For this accouting document, Pass this to BSAD Table ( Customer clleared items) 
    If BSEG-BELNR = BSAD-BELNR and
      BSEG-Acc.Year = BSAD-Acc,year )..
    Then throw a error message and EXIT.
    So for all the cleared docments , user can not cancel the invoices.
    Regards,
    Sai

Maybe you are looking for

  • Editing Metadata in iTunes

    i'm having a weird problem with metadata in itunes. when i import an album that i obtained from multiple sources (i.e., some songs from one place, some from another), itunes will often put these songs in different "albums." i go into get info and cha

  • Saf quits after hitting Enter in search field

    As soon as I hit Enter after typing in Search field (Google or Acid or whatever) Safari quits. I reset it, I downloaded the latest version, I reset it again. Nothing seems to work. I've never had any problems with S at all until this and making me CR

  • Startup gets stuck

    I have a 3000 J series desktop.  My pc froze and on reboot Windows XP comes up fine but the security routine gets stuck on "Please Wait-checking status of embedded security chip" How do I get this fixed.  I have tried rebooting several times with the

  • Dates not refreshed correctly

    Hi, We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on. We now have a problem with ref

  • Duke Dollars for DrClap

    It is mostly thanks to reading DrClap's responses in the archives that I got my serial port problem resolved so here are 10 Duke Dollars for him. Just leave a message and I'll award them to you. Thanks for your past responses. see: http://forum.java.