Automatic creation of the Cost Object Owners in WorkFlow

Hello Experts,
Business requirement background is
     SREQ Contact person just enter cost object and submit for approval.In all cost object cases he can save the service order and submit. After SREQ FRA reviewer approval, before workflow  notification mail is sent to  cost object owner, system will check if the user exist in X92 system or not. If user is not exist, based on GDDB id, automatically the user will get created in X92.
And The solution will be as follows:
1). Once the SREQ FRA reviewer approves the SO, then the notification mail be send to the Cost Object Owner
2). Here system should check GDDB ID of the Cost Object Owner, is it exist in X92 system or not.
3). If GDDB ID is not there in X92 system, then on the basis of the GDDB ID, the system should automatically create the SAP user ID for the CO Owner and an email is to be send to the CO Owner for the approval of the SO along with the user id details.
4). If GDDB ID exists in X92, the SO will be submitted for further approvals.
How to Customize the steps 2 & 3 that i mentioned in the solution?
Any help form experts will be appreciated and rewarded
Thanks in advance....
Regards
Satya
Edited by: gsnreddy on Mar 24, 2011 2:14 PM

Hi,
You have to do two settings:
a) for chart of account switch the flag for automatic creation (OB13)
b) maitain the logic for defining of cost element category (OKB2)
Regards,
Eli

Similar Messages

  • " Automatic creation of Cost object owners"

    Hello Experts,
    I am working on a rollout project, for "Inter Company Service Invoicing (ICSI)"
    Presently my client requirement is " Automatic creation of Cost object owners"
    First of all i will explain the process
    In ICSI there are two parties one is Service Requestor(SREQ) and other one is Service Provider(SPROV)
    Depending on SREQ requirement SPROV will create a SO and send it to SPROV
    It will reach SREQ contact person, he will updates Cost objects, and send it to SREQ reviewer person, he will check the cost objects and send it to Cost object owner of the SREQ.
    He will approve the SO, once all approvals hasbeen done, then system automatically converts SO to IV, and post entries on both sides automatically ata the same time.
    Here my requirement is on SREQ side the Cost Object Owner should find automatically.
    And we done this proces in Portal itself.
    Your suggestions will be great help to me, and are appreciated.
    Thanks in advance
    Any inputs please...............
    Regards,
    Satya.

    Hello Ajay,
    Thank you for the response.
    But my requirement is not to populate cost objest.
    It is the approval flow. The reviewer person will check and add the cost objects to the service order and send that Service Order for the final approval i.e.. Cost Object Owner.
    So here my requirement is the System has to create that Cost Object Owners Automaticlly
    How can i achieve this?
    Regards,
    Satya

  • Automatic creation of Cost Object owner in work flow

    Hello Experts,
    Business requirement background is
    SREQ Contact person just enter cost object and submit for approval.In all cost object cases he can save the service order and submit. After SREQ FRA reviewer approval, before workflow notification mail is sent to cost object owner, system will check if the user exist in X92 system or not. If user is not exist, based on GDDB id, automatically the user will get created in X92.
    The folw of Service Order is as follows:-
    Service order creator----> Service Provider (SPROV) FRA reviewer -
    > Service Requestor (SREQ) Contact Person -
    > Service Requestor (SREQ) FRA person -
    > Service type owner/Cost Object Owner
    And The solution will be as follows:
    1). Once the SREQ FRA reviewer approves the SO, then the notification mail be send to the Cost Object Owner
    2). Here system should check GDDB ID of the Cost Object Owner, is it exist in X92 system or not.
    3). If GDDB ID is not there in X92 system, then on the basis of the GDDB ID, the system should automatically create the SAP user ID for the CO Owner and an email is to be send to the CO Owner for the approval of the SO along with the user id details.
    4). If GDDB ID exists in X92, the SO will be submitted for further approvals.
    How to Customize the steps 2 & 3 that i mentioned in the solution?
    Any help form experts will be appreciated and rewarded
    Thanks in advance....
    Satya

    Hello Ajay,
    Thank you for the response.
    But my requirement is not to populate cost objest.
    It is the approval flow. The reviewer person will check and add the cost objects to the service order and send that Service Order for the final approval i.e.. Cost Object Owner.
    So here my requirement is the System has to create that Cost Object Owners Automaticlly
    How can i achieve this?
    Regards,
    Satya

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • A query with respect to creation of the  shared Objects.

    Hi ,
    I am having a query with respect to creation of the  shared Objects.
    I have seen a example where the Author is creatining Shared Object as shown
    below :
    SharedObj = null;
    sharedObj = SharedObject.getLocal("myTasks");
    and there is nothing related to the word "myTasks" anywhere in the Application .
    Can anybody please let me know what is this word "myTasks" mean here ??
    Thanks in advance .

    hi,
    With a shared object it will create one if it doesn't exist, so "myTasks" will become the shared object name or if it exists it will load any objects that are within that shared object.
    Below is a simple example that uses sharedobjects to store login details.
    http://gumbo.flashhub.net/login/
    David

  • During automatic creation of the purchase requisition to operation 0010

    Hi,
    Problem occurs in automatic cration of PR.
    Error : During automatic creation of the purchase requisition to operation 0010, an error (06 532) occurred:message c2325
    Regards,
    Vivek

    Hi ,
    I am getting error in CO01 Transaction.
    Message no. C2325
    For further proceedings, read the long text of error message (06 532) in transaction SE91. Check the operation affected and change or complete any missing data that led to the error message.
    Regards,
    Vivek Nehete

  • Preventive maintenance automatic creation of the Work Order

    Hi,
    I created a performance based maintanance plan, ans scheduled it.
    When I created the measurement document that would trigger a maintanence call, I could see it in the IP10 with the status 'Scheduled Save to Call'.
    Shouldnt the call object get created without any intevention? Am I missing missing any step?
    Regards,
    Ramesh-

    Just create a background job for IP30.  It will run "nightly" and evaluate the counters and their settings to determine if a maintenance order should be created.  You create this job in SM37 and schedule the program RISTRA20 with a variant to run sometime during the night hours so as to not affect system performance.
    Regards.

  • Error updating the process object in MSS workflow...

    Hi All,
    I copied the standard workflow 'WS18900010' and triggered the same in backend. In this the first step is to approve the form. I set the agent as WF Initiator for this step. Now I approved the form. But the workitem went into error giving the error message 'ERROR UPDATING THE PROCESS OBJECT'.
    What could be the reason for this?
    If the originator of request and approver of request is same(just for testing purpose), then may dis also result into above error?
    Please suggest.
    Guddan

    Hello,
    Please maintain this 'CL_HRASR00_POBJ_WF_EXIT' in the workflow exit for the specific task and also at the workflow header level.
    Execute the process and if still error occurs, check for HCM P&F authorization  and if it is fine, then check if the case settings are maintained correctly.
    you can find the case configuration in HCM P&F help docu.
    hope this helps.
    Best Regards
    Saujanya

  • Delegation of authorities and controls against the cost objects

    Dear all,
    we are running the requirements workshops and one of the gap is the management of delegation of authorities in SAP. Currently the client has a centralised system, which holds the information about every user ID and their approval and posting limits against a specific cost center, GL account and up to a certain value.
    Oracle (what they use at the moment) calls this database whenever a user is trying to approve a purchase order or post an amount using a GL account.
    Another flexibility that they have is the ability to delegate some or all authorities a person has when he/she is on leave. It works perfectly for them and they want us to implement something similar in SAP.
    Any thoughts, recommendation would be gratefully received.
    Many thanks

    Is this a workflow?

  • Probem in creation of the connection object

    Hi All,
    We have deployed a e-billing application, with Weblogic 8.1 (SP 2) being used as the Application Server.
    When we try to login with a valid userid existing in the database, initially it works fine for 2-3 attempts, but after this when we try again, it fails to login and in the background we are getting the error:
    weblogic.transaction.internal.ResourceAccessException: Transaction has timed out when making request to XAResource 'weblogic.jdbc.wrapper.JTSXAResourceImpl'.
         at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:610)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1074)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1007)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:203)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:419)
         at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:207)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.manager.BeanManagedPersistenceManager.scalarFinder(BeanManagedPersistenceManager.java:81)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1580)
         at weblogic.ejb20.manager.BaseEntityManager.remoteScalarFinder(BaseEntityManager.java:1514)
         at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:553)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:400)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    This was the initial error that we used to get but then the error message was different (I am not sure about the reason for the change in error message)
    <Exception>java.rmi.RemoteException: javax.ejb.EJBException: Error looking up connection: java.sql.SQLException: No JDBC connection can be made
    because the transaction state is
    Marked Rolledback</Exception>
    The problem (so far I could get it) is happening when the connecion class is being instantiated by the datasource API:
    DataSource ds = null;
    Connection conn = ds.getConnection();
    conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
    return conn;
    Any suggestions to the following problem will be of great assistance.
    Thanks & Regards
    Neeraj Kanodia

    Hi,
    I think that this XAER_RMERR is not from Oracle driver; instead the weblogic transaction manager itself throws it. The sequence is like this:
    - At some point in the transaction, a new sql is to be executed.
    - The DataSource manager (of weblogic) gets the XAResource of the connection and tries to enlist that with current transaction.
    - At the point, transaction manager detects that the transaction already timed out (JTA timeout) and marked for rollback.
    - The transaction manager throws XAException with error code set to XAER_RMERR, which you see in the stack trace.
    It does not look like a real issue except the fact that the transaction has timed out which of course can happen if the transaction is running for long time. I suspect that sometimes this problem may lead to connection leak also. And I found some known issues on this exception, to confirm that I would like to have a look in to your log file. Kindly provide me the log file, which contains this exception.
    Regards
    Anilkumar kari

  • A perticular Project automatically saving in the local Object

    Hi,
    I have an issue regarding ther local Object .. I have different projects need to save in Transport Requests. I observed a perticular project while saving it is generating a transport request number but saving in local object.
    Can you please give me more suggessions to solve this problem ...
    Thanks in advance ..
    Shashi,Samal

    Hi Shashi,
    If it is getting assigned to a TR then it can't be local object.
    Can you give some more details. Also which system, version you are on.
    Regards,
    Atish

  • Cost assignment-Multiple cost objects being selected by default from the EP

    Hi,
    I have created an expense report from the Portal and entered the cost object - a WBS element and saved the report. Now, when I check in table: PTRV_SCOS, it shows me the cost object assigned are - both - the WBS Element as well as the Cost center. This is incorrect as there should be only one cost object - either the cost center or the WBS element. However, when I book the expenses from the backend, it works fine. Only the WBS or cost center is displayed in the table mentioned above. Anyone has any idea as to why this is happening?
    Many thanks in advance for your efforts.
    Cheers guys.
    Hope to hear from you soon
    Best regards,
    Tanmay Dhingra
    Edited by: Tanmay Dhingra on May 17, 2011 10:05 AM

    Hi All,
    First of all, thanks for your responses..
    Right, about the issue, what I explained here was that I am indeed assigning only one cost object: the WBS element. The issue was that even though I am assigning only the WBS element, it was also assigning the cost to the cost center by default. I did some R&D and found the solution to the issue (I was also asked to look for OSS notes but was not satisfied that this issue needs an OSS note to be applied so tried my solution). The issue was in table: T788M (allocate costs to variable account assignment). Here, I created an entry and called it USERGROUP_2 (just a random name) and assigned the variable cost objects (only the WBS and the Cost center) to be displayed. In the next step, I assigned this usergroup to the country in quesion feature (TRVCO). By doing this, I tell the system that only these cost objects are to be considered when an employee wants to assign the cost object. If the system sees that there is no value from the drop down to choose from, it picks up the default cost object (cost center). This was a simple issue that I had to rattle my brains on... but the solution I mention above worked like a hot knife going through butter...
    If you guys face this issue, please try this else feel free to get in touch with me on my number below.
    Once again, thanks for your responses.
    Best regards,
    Tanmay Dhingra
    +91 880 6666 606

  • The performance of Distribution of Cost Object Hierarchy Costs.

    Dear SAP Gurus.
    I am checking the function and the performance about Cost Object Hierarchies distribution with Control Through Variance Key.
    The number of production orders assigned to COH is about 100,000 per month.
    All orders will be closed at current month and new 100,000 production order will be assigned to COH at next month.
    My concern is about performance of Distribution of Cost Object Hierarchy Costs
    because a huge number of orders will be accumulatedly assigned to the Cost Object Hierarchies.
    I think that the COH will be distributed with not bad performance.
    (Actually I want that to be OK.)
    What's your opinion about that?
    Sincerely.
    Mahnkwi.

    Hi Mahnkwi,
    Sender-/receiver-relations should definitely be below 1:1000 or even below 1:500. This depends on other factors like general size of the hierarchy and data to be processed as well. This hierarchy needs to be restructured. In case you do this the
    distribution needs to be reversed first.
    Below are some other hints on performance in KKPX
    - Parallel processing should be used.(note [386508|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000386508])
    - Switch off detail lists since the consume lots of memory.
    - Old orders should be archived.
    Note [77718|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000077718] also explains tips to avoid the memory error for transaction KKPX or KKPY. As note explains, you should consider
    whether a distribution of the cost elements according to their origin is required; if not, the corresponding indicator should not be set in the costing view of the materials.
    If many error message is issued in the error log, this may have bad effect on the memory of your server. In this case, you should make these error message "not to be displayed" by message control in IMG.
    Regards,
    Declan

  • Cost object derivation in MM invoice through CO substitution

    Hi Gurus,
    As per a new requirement default cost object (from PO line item) should not be derived at AP Invoice and instead cost object should be derived from Equipment record which is related to this PO line item. It can not be changed manually at invoice level as invoice will be generated automatically through T code MRIS.
    I had tried to achieve the same through CO substitution (T code OKC9). But this is substituting the cost object at FI document level and not at MM document level. Means - Cost object is derived from equipment record and populated at FI invoice level. But cost object from PO line item is populated in MM invoice document.
    How I can substitute cost object at MM invoice level.
    Any response from your side will be highly appreciated at this end.

    Kang,
    In the message which you got, the word 'Cost Object' refered to a cost center, or order, or any other cost object.
    However, there is another account assignment object with the name 'Cost Object', which was not filled in the FI document. That is normal.
    Right now I don't have much information in the a/c assignment object 'Cost Object'.
    Regards,
    Vishal.

  • Error in Distribution of Actual cost in Cost Object Hierarchy

    Hi,
    I am getting an error while doing the Distribution of Actual cost from Cost Object Node to the assigned Order.
    Cost element/origin 630000 could not be distributed
    Message no. KZ468
    Diagnosis
    The cost element/ origin 630000 could not be distributed because there are no target costs for this cost element/origin or for cost element group CO-PC-TOT.
    Procedure
    Check the calculated target costs and cost element group CO-PC-TOT assigned to the target cost version.
    Procedure for System Administration
    Proceed
    Although the Cost element is Present in cost element group CO-PC-TOT.
    One more information, the order  that is assigned in Cost Object Hierarchy is of CO-Product orders.
    I have searched in the forum but I havent got any solution.
    Kindly help.
    regards
    Kami

    Hi,
    Concerning error message KZ 468, it has the following origin: In the  customizing of the cost object category (transaction okz5), check if the 'single object selection' is set to 'Control through variance key'. If you consider the F1-Help for this option you will find the following  explanation:
    if the indicator Control through variance key is turned on, the production order, process order, or product cost collector can only be assigned to the cost object hierarchy if:
    -> The material is assigned to the lowest node of the hierarchy
    -> No variance key is specified in the order
    The important point is, that orders that have a variance key are excluded from the cost distribution.
    In transaction KKF8 you will find that all these orders do indeed have  a variance key. Hence, all of these orders are included, there are no target costs from the orders and the costs cannot be distributed. Thus the error message kz 468.
    Please consider that and check the customizing again.
    Not having target costs in the distribution indicates either a wrong set up of the hierarchy or, more likely, no valid cost estimate for a certain material of a production order or product cost collector could be found.
    Did you check whether for this cost element/origin target costs exist, and also for the cost element group? If not the message KZ468 is correct and probably the cost element group has to be maintained properly.
    The distribution of actual costs calculates target costs on-the-fly and the variance calculation does not have to be carried out before. Quite the opposite than the variance calculation requires the distribution as a preceding step. Furthermore it is not sufficient that one cost element is in a cost element group but the interval where the cost element has been assigned to has to have some target costs. Otherwise this won't work and message KZ468 is issued.
    regards
    Waman

Maybe you are looking for

  • File permission error in LabVIEW, but what file?

    I am in the process of smoothing out the wrinkles in a large LabVIEW program that I've converted from LV 7.0 to LV 2011SP1.  I've also moved from WinXP to Windows 7.  I get why there are file permission errors and I understand what the issues are in

  • OS X losses many settings after every reboot

    I have a macbook pro running 10.4.11 recently I have noticed that when I reboot many setting which were previously remembered are reset. Examples include the default applications (I use the program default apps), Endnote and iphoto think they have ne

  • Loading Icons in a JLabel

    Hi - I have several labels displayed in a JPanel. Each label displays an icon. There could be MANY of these labels with icons. I am noticing that the UI is taking awhile to create as each label, whether it is visible yet or not, is trying to load an

  • Cuanto cuesta cambiar, o como consigo un nuevo display para un macbookpro de 13'

    Para solicitar información y  costos para cambiar el display de un macbookpro de 13' puesto que cayo al suelo y se fracturo el vidrio del display. gracias por su atención. quedo atento a comentarios e información.

  • Netbios over tcp/ip and over wlc-4402

    dear gentlemen, i have one wlc-4402 controller and some clients. how to configure the netbios over tcp/ip in the controller, so that the clients can assiciate the network. thank?s in advance michael