Autoaccounting ---Getting Task id for Invoice/revenue function.

Dear All,
I have requirement that UER/UBR should be picked up based on task id during invoice creation.
But whenever I am selecting task ID parameter in rule of AA under Invoice/Revenue Function I am getting it's not allowed for this function.
Can anyone help me or some one already undergone such situation? (Oracle 11.5.10)
How to reach this functionality?
Thanks,
SS.

Hi
UBR and UER are amounts that system calculate for the entire draft invoice and the entire draft revenue.
Since usually invoice and revenue are generated at the project level, the task id is not a valid parameter for AA, since there could be multiple tasks on the same document.
If in your case you are sure the revenue and invoice document always contains a single task, you could try a workaround using AA rule based on SQL statement. The logic will be to select any bill item within the invoice or revenue (either EI RDL or an Event) and read the task id of that item.
Dina

Similar Messages

  • How to get condition type for invoice

    How to get the condition type for invoice.
    i want tables and corresponding fields

    Sunil,
    KONV ,T685T and the following are related tablesVBAK,VBRP,VBAP,VBFA.
    K.Kiran.

  • How do I get search typing for Contacts Search function on Iphone with 2.0?

    An ad for 2.0 iphone update says:
    "Contacts Search
    Have a lot of names in your address book? Type a name into the new Contacts search field and iPhone shows you matching names."
    Now I have 2.0 and can't find a way to get into the Contacts search field. Anyone having better luck with that? Please help.

    Did you just install 2.0? Is your contact list showing you your first entry when you open it? Try scrolling up to the top of your list.

  • Unit price for invoice

    Hi Experts,
    I want to get unit price for invoice line items from BSEG table.
    How to get it.
    What is the unit price field for invoice line items.
    Regards,
    Sangeeta.

    Hi Sasi,
    Should I take the line item amount(WRBTR) for unit price from bseg table?
    Regards,
    Sangeeta.
    Edited by: Sangeeta on Dec 29, 2008 8:00 AM

  • How to debug outbound Idoc function module for invoice

    I have to debug the outbound IDOC function module and UserExit for invoice message type INVOIC, process code SD09, function module is IDOC_OUTPUT_INVOIC and user exit for the function module LVEDF001.
    I tried putting the break point in function module IDOC_OUTPUT_INVOIC and recreate the IDOC using WE19 but it creates the idoc but does not stop at the break point. I have also tried generation of idoc through VF02. It again creates the idoc but does not stop at the function module.
    Please let me know if I am missing any thing and not doing it right.
    Appreciate your help.
    Rohit

    Hi Ali,
        I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
    What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
    Regards,
    Uday S.

  • Actions creating task for multiple partner functions

    Hello Masters,
    Need help in below scenario.
    We are using actions in quotations. Different actions gets triggered as per status of quotation.
    ex: Status: manger approval request: Task to be create with action for manager
        Status: Manger approved: Task to be created with action for Sales employee.
    I have configured action profile. My actions are partner function dependent.
    Partner functions are different for manager and sales employee.
    But when action is getting triggered it is creating task for both partner functions.
    How can I avoid this? Does though we say action is pertner function dependent is it true or it is actually partner function catagory dependant. In my case partner function category is same for manager and sales employee. The partner function category is "Employee"
    looking for your guidence
    Thanks
    Kushal  

    Hi Kushal,
    The partner function category is same - employee and hence it is triggering actions at the same time.
    You may have to see if you can assign a separate partner function category to meet your requirement.
    Hope this will be useful
    Thanks and Regards
    DJ

  • Functional Spec for Invoice

    SD, Gurus,
    I am new to SD, I am in the process of doing to functional spec to create a physical invoice. The Invoice will be done via Smartform. I am doing some specs for our ABAP person. We are using Sales Order, and Shipping functionality. Can some give me an overview of what I need to look for? I am familiar with most of the billing tables VBRK, VBRP, and sales order VBAK and VBAP.
    I just need some guidance as to how should I give the functional spec to the ABAP, do I need to include documetn flow, since we are using picking, and delivery?
    Do I get all from the billing document? or I have to go to Sales order also? how do I reference the order?
    Thank You for your help,

    Hi Frank,
    Good day to you.
    1 ) The table for address is generally "ADRC".
        Say you need to find the address details for the customer.
       Go to the customer table "KNA1" and from this table get the field "ADRNR".
       Using "ADRNR" check the table "ADRC".
    Here are the technical details that you can provide to your ABAPer...
    a): you need the table KNA1 with the customer data. With the key of KNA1-KUNNR you get the KNA1-ADRNR.
    b): With the contact person number you search in KNVK-PARNR the value KNVK-PERSNR
    c): call function module ADDR_PERS_COMP_GET_COMPLETE with
    import parameters ADDRNUMBER = KNA1-ADRNR and PERSNUMBER = KNVK-PERSNR.
    d): result is in the structure ADDR3_COMPLETE.
    now you have all address and communication data from the contact person
    e): you can use the function module ADDR_CONVERT_TO_BAPIADDR3_V2
    to map the result given in ADDR3_COMPLETE.
    2.Now comming to the document flow.
    The flow of Sales & Distribution is as follows as you already know:
    Inquiry (Optional) --> Quotation (optional) --> Sales Order --> Outbound Delivery (Delivery + Pick (optional) + Pack (optional) + Post Goods Issue) --> Billing --> Excise Invoice (incase of Indian Manufacturing Scenario).
    For example use Table VBFA. Here in order to get sales order for corresponding Billing document, in the subsequent document field enter the billing document number.In the preceding document category field enter the type of the sales order eg. OR. You can now get your required sales order no.
    the tables would be:
    1. VBAK sales order header, VBAP sales order item
    2. LIPS outbound delivery header, LIKP outbound delivery item
    3. VBRK billing header, VBRP billing items
    pls go through this thread it may help you..
    Re: Reg: SD Flow (Sales to Delivery)
    3)To get to get the whole document flow for
    a given sales order ask the ABAPer to use Function module  ' RV_FLOW'
    Please refer to standard smartform for invoice ..
    LB_BIL_INVOICE layout and RLB_INVOICE driver program
    Please let me know if you need futher clarification.
    Note it is not necessary to use the table vbfa , but if you want all the details in one table ( ie sales order num , delivery num , billing num etc ) at this time we need to use VBFA table.
    Regards,
    Vvieks

  • Adjust/Accept task for Invoice

    Hi,
    We are  implementing Process controlled workflow in SRM7.01. for Invoice(BUS2205). we have the requirement to send the invoice to creator after rejection to edit or accept the rejection. But when I checked there is no standard task available for Adjust /Accept Invoice.
    Is it possible to include this functionality by creating a custom task for Invoice and modifying the standard workflow?
    Has anyone come across this requirement?
    Or is there any limitation in including this functionality?
    Thanks,
    Sivagami

    Hi,
    Yes, this task is not developed in the standard yet.
    In the following note you can see for each documents this functionality is available:
    http://wiki.sdn.sap.com/wiki/display/SRM/EnablingWIreturningtotherequestorwhendocumentisfullyrejected
    Maybe some other forum members can help you on this regard.
    Thanks,
    Melina

  • Any Function module or BAPIs are available to get scheme name for the inter

    I have internal order no value in table  AUFK-AUFNR ,  and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?

    look at DB-VIEW  "V_IVP_OR".
    Regards,
    Laurent

  • The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, " The operation could not be completed.  The system cannot find the path specified" Resetting preferences did not fix.

    The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, “ The operation could not be completed.  The system cannot find the path specified” Resetting preferences did not fix.

    my os is windows 7.  elements 12 worked fine for many months then save for the web stopped working

  • When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Please help. My ipod classic could not be recognised by itunes when I connect my ipod to PC. Previously it has been recognised before I updated. This was a while ago now and so I removed all apple files and re installed the latest itunes but am having the same problem.
    When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Some anti-virus programs (e.g., McAfee) have this rule that can be invoked under the "maximum protection" settings: PREVENT PROGRAMS REGISTERING AS A SERVICE. If that rule is set to BLOCK, then any attempt to install or upgrade iTunes will fail with an "iPod service failed to start" message.
    If you are getting this problem with iTunes, check to see if your anti-virus has this setting and unset it, at least for as long as the iTunes install requires. Exactly how to find the rule and turn it on and off will vary, depending upon your anti-malware software. However, if your anti-virus or anti-malware software produces a log of its activities, examining the log may help you find the problem.
    For example, here's the log entry for McAfee:
    9/23/2009 3:18:45 PM Blocked by Access Protection rule NT AUTHORITY\SYSTEM C:\WINDOWS\system32\services.exe \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\iPod Service Common Maximum Protection:Prevent programs registering as a service Action blocked : Create
    Note that the log says "Common Maximum Protection: Prevent programs registering as a service". The "Common Maximum Protection" is the location of the rule, "Prevent programs registering as a service" is the rule. I used that information to track down the location in the McAfee VirusScan Console where I could turn the rule off.
    After I made the change, iTunes installed without complaint.

  • Getting tasks for all users in a role

    Hi,
    We need to get all users in a Role, and out of those, find out which one has the least tasks in their UWL using a WebService. Saw some example codes and here's my attempt at it. Doesn't quite work, I'm getting the Logged in users context or session doesn't exist Exception. Any help on this will be GREATLY appreciated.
    public class LeastTasksBean implements LeastTasksLocal {
         public String getUserLeastTasks( String sRole )
              try{
                   Map<String, String> users = new HashMap<String, String>();
                   Map<String, String> tasks = new HashMap<String, String>();
                   final int sessionIdleTimeout = 60;
                   String Users[] = UMFactory.getRoleFactory().getUsersOfRole( sRole, true );
                   if( Users != null ){
                        for( int i = 0; i < Users.length; i ++ ){
                             UWLContext  uwlContext      = new UWLContext();
                             IUWLService uwlService      = findService();
                             uwlContext.setAllowBackEndConnections( true );
                             IUser uwlContextUser        = UMFactory.getUserFactory().getUser( Users[0] );
                             uwlContext.setUser            ( uwlContextUser );
                             Locale loc                  = new Locale( "ES" );
                             uwlContext.setLocale          ( loc );
                             HttpServletRequest request  = getHttpRequest();
                             uwlContext.setOriginRequest   ( request );
                             IUWLSession session         = uwlService.beginSession( uwlContext, sessionIdleTimeout );
                             uwlContext.setSession         ( session );
                             IUWLItemManager itemManager = uwlService.getItemManager( uwlContext );
                             QueryResult result          = itemManager.getItems( uwlContext, null, null );
                             users.put( String.valueOf( i ), uwlContext.getUserName() );
                             tasks.put( String.valueOf( i ), String.valueOf( result.getItems().size() ) );
                             uwlService.endSession( uwlContext );
                        int userTasks = 0;
                        int leastTasks = Integer.valueOf( tasks.get( 0 ) );
                        int userKey = 0;
                        for( int i = 0; i < Users.length; i ++ ){
                             userTasks = Integer.valueOf( tasks.get( Integer.toString( i ) ) );
                             if( userTasks < leastTasks ){
                                  leastTasks = userTasks;
                                  userKey = i;
                        return users.get( Integer.toString( userKey ) );
                   else{
                        return "No users exist for this role";
              //Exception Handling
         private IUWLService findService() throws NamingException
              Properties properties = new Properties();
              properties.put( InitialContext.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory" ); 
              InitialContext ctx = new InitialContext( propiedades ); 
              IUWLService uwlService = ( IUWLService ) ctx.lookup( IUWLService.ALIAS_KEY );
              return uwlService;
         private HttpServletRequest getHttpRequest() throws Exception
              Properties properties = new Properties();
              properties.put( "domain", "true" );
              ApplicationWebServiceContext wsContext =
                   (ApplicationWebServiceContext) new InitialContext( propiedades ).lookup( "/wsContext/" + ApplicationWebServiceContext.APPLICATION_WSCONTEXT );
              HttpServletRequest request = wsContext.getHttpServletRequest();
              return request; 

    Hi David,
    I have a similar requirement on our project. I need to get a count of pending workitems for all user but I'm getting similar message when I try to access UWL context of any other user.
    Did you find any solution for this? Is it possible to get the workitems for all users using webservice or wendynpro?
    I would appreciate if you can provide some inputs on this.
    Thank you in advance.
    Regards,
    Seema Rane

  • Modification for ECS for invoice and ASN functionality in SUS

    Hello Experts:
    Currently I am implementing SRM 5.0 with SUS integration in ECS. I have found some references that specify that if my requirement is to have the creation of Invoices and ASN in SUS, in order to transfer these to EBP I need to do some development on my own. I have to questions regarding this:
    1.- The references only talks about Materials, is it possible to do this kind of implementation also for Invoices and ASNs of Services??
    2.- Any of you could provide me with some general steps of the activities to be done in order to accomplish this requirement if I am using XI.
    Thanks for all the information you can provide me.
    Hugo

    Hi
    SRM-SUS integration is mainly used for service procurement where the document flow is PO> PO Response> Confirmation/Service Entry-->Invoice.
    ASN doesn't carry any meaning for service procurement. You might use ASN if you are procuring direct materials.This is covered by MM-SUS integration.
    Also pl. remember that SRM-SUS integration with ECS scenario is supported only to a limited extent by SAP. This means that your SUS confirmations when they come to SRM do not get replicated to ECC backend.
    Thanks
    Sanjeev

  • How get OBJECT_ID for using ARCHIV_BARCODE_GLOBAL function?

    Hello experts:
    Do you know how can I get the object_id that I must fill for using ARCHIV_BARCODE_GLOBAL function?
    Please any help is very helpfull.
    Best regards and thanks in advance for your time.
    Miriam

    I think you can get this in the interface. Ideally this gets populated in TOA01 or TOA02 or TOA03 table.
    also check table
    BDS_BAR_EX
    BDS_BAR_IN
    Thanks
    Arghadip

  • Hi my daughter did some changes in the settings,now i am getting voice support for every task i do,i am not able to access anything cause unable to toggle down to the reset option,pls help as to what to do

    hi my daughter did some changes in the setting,now i am getting voice support for every task i am doing,plus cannot toggle between the pages,unable to do the changes as not able to toggle to reset option either,pls help.

    You probably have the Voiceover accessibility feature turned on. It's difficult to navigate as you need to use specific voiceover gestures. The easirest thing to do is connect the phone to iTunes. Select the Summary pane and click the "Configure Universal Access..." button.  In  the window that opens,select "Neither" in the seeing options and click "OK".

Maybe you are looking for