PR creation from External / Service Activity

Hi all,
we are currently using External and Services activities.
The Service activity should generate a PR as soon as it's released whereas the External activity should never generate a PR.
I'm trying to link the "Reservation Relevance/Generation of Purchase Requisition" field with the "Control Key" :
Never create a PR <=> PS02
Create a PR from Release <=> PS04
Do you know if there is a way in Customizing do default the field depending on the Control Key? (I would like to avoid a validation rule...)
Thanks for your help.
Kind regards,
Thibault

Hello,
If you never want ot generate the PR for external activity, then work is simple:
1) Change the control key PS02 in transaction OPSU and check the box "service".OR alternatively you can make new control key copying PS02 and abandon the use of original PS02 in your projects.
      This will make sure that every time you are using PS02, it will always generate the service PR. Also in network profile settings(OPUU), maintain indicator "2" for Res/Pur Req.
  Hope this solves your problem without using any validation !
Regards,
Mahendra

Similar Messages

  • Supply chain alerts generated from external services

    I am interested in having supply chain alerts generated from external services.
    An example could be an alert based on predicted temperatures over the next few weeks, which would be of use to demand planners using SAP SCM.
    So we would need an external service providing predicted temperatures, which could be modelled by the new SAP BPM tool to generate alerts for users.
    Has anyone any experience of this?
    Thanks,
    Bob Austin, Atos Origin

    Hi,
    I have been involved in the building of UI-layer where we used the ES provided from SAP as of the latest releases for DP. I would suggest that you have a look at these services as I assume the external application would be able to call APO DP and input the data using these services.
    From a technical standpoint we had no problems to use the services provided from SAP. The only area where we ran into some issues was the authentification where we had to build some new web services to handle some customer-specific requirements. But I assume you would not even need these specific features in your scenario.
    Have a look at this link to find all the detailed information:
    http://esoadocu.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=FA437A82630A11DA36BB000F20DAC9EF
    Good luck
    Fredrik

  • Generate Entity Service from External Service / Web Service (CAF)

    Hi,
    is it possible to generate an Entity Service from an External Service in the CAF-IDE? Or do I need to create each attribute manually which the External Service provides?
    (in worst case by using an api?)
    regards
    Christian

    Hi,
    Unfortunately there is no possibility to create Entity Service based on another service. You have to do this manually for each attribute and method. Sorry ...
    Regards,
      Jan

  • How to "unget" an instance via Papi from External Interactive activity?

    Using ALBPM5.7, am trying to create a java app to implement an external interactive activity following this general process:
    1. poll for next "gettable" instance in desired process/task (in order of priority, receivedtime)
    2. call Get the instance to reserve it to current user
    3. call prepareExternalActivity for instance to get arguments from FBL
    4. do some work on the instance
    5. call commitExternalActivity to pass args back in to FBL
    I have created something like the following code snippet based sample code from the PAPI docs:
    // get the instance to be worked, assumes previously found the "next" one based on priority/recievedtime to variable ii
    Filter filter = ProcessService.createFilter();
    filter.setSearchScope(new SearchScope(ParticipantScope.ALL, StatusScope.ALL, null));
    filter.addAttribute(VarDefinition.getDefaultVarDefinition(VarDefinition.INSTANCE_NUMBER), Comparison.IS, ii.getInstanceIn());
    InstanceInfo[] instances = new InstanceInfo[0];
    instances = papiSession.getInstancesByFilter( new String[] { processId }, filter );
    if ( instances.length == 0 ) return null;
    Arguments arguments = Arguments.create();
    arguments = session.prepareExternalActivity(instance.getId(), instance.getActivityName(), Arguments.create());
    String info = (String) arguments.getArgument("preArgOut");
    // do some work...
    arguments = Arguments.create();
    arguments.putArgument("comArgIn", info);
    session.commitExternalActivity(instance.getId(), instance.getActivityName(), arguments);
    I have a question, though. If, during the "do some work" step the user cannot finish for any reason, how do I cancel the "get" (or "unget" it) on the instance so that it remains in the same activity for the next user to work?
    Thanks,
    Todd

    More info...
    If I dump the instanceInfo object (converted to xml using the com.thoughtworks.xstream library), I get the xml below. While the Status shows as 1 (=Running), the isExecuting is "false". For this same instance (ii), since there is only one task (TaskIn=0), the call to abortActivity is:
    papiSession.abortActivity(ii.getId(), ii.getActivityName(), 0);
    Which yields the "Instance '/ExtInterTest#Default-1.2/110619/0' is not running." exception.
    I have previously "selected" the instance prior to calling prepareExternalActivity, but at this point instanceCanBeUnselected(ii) is false.
    ...not sure what to try next. Is there possibly some way to raise an exception from the papi client back to the engine that would allow me to abort the activity from within the process flow (e.g. just put it back to available at the ExternalInteractive activity that was not completed)?
    ------------------------ xml dump of instanceInfo object ------------------------
    <fuego.papi.impl.InstanceInfoImpl>
    <instanceIn__d>110619</instanceIn__d>
    <processIn__d>229</processIn__d>
    <threadIn__d>0</threadIn__d>
    <creationTime__d>
    <microSeconds__d>1240499309197000</microSeconds__d>
    </creationTime__d>
    <roleId>Unattended</roleId>
    <HIGH>4</HIGH>
    <HIGHEST>5</HIGHEST>
    <LOW>2</LOW>
    <LOWEST>1</LOWEST>
    <NORMAL>3</NORMAL>
    <activityName__d>Task1</activityName__d>
    <author__d>-1</author__d>
    <cThreads>0</cThreads>
    <description__d>ExtInterTest110619</description__d>
    <externalVariables__d>
    <long>110619</long>
    <string></string>
    </externalVariables__d>
    <internalState__d>12289</internalState__d>
    <isExecuting__d>false</isExecuting__d>
    <nAttachments>0</nAttachments>
    <nNotes>0</nNotes>
    <nThreads__d>0</nThreads__d>
    <numberOfChanges>105</numberOfChanges>
    <parentThreadIn__d>-1</parentThreadIn__d>
    <participantIn__d>0</participantIn__d>
    <pendingTaskIn__d>-1</pendingTaskIn__d>
    <priority__d>3</priority__d>
    <receptionTime__d>
    <microSeconds__d>1240508930000000</microSeconds__d>
    </receptionTime__d>
    <roleIn__d>50000496</roleIn__d>
    <status__d>1</status__d>
    <taskInfo__d>
    <fuego.papi.impl.InstanceInfoImpl_-TaskInfo>
    <participantId__d>unattended</participantId__d>
    <retryCounter__d>0</retryCounter__d>
    <status__d>48</status__d>
    <taskIn__d>0</taskIn__d>
    <valid__d>true</valid__d>
    </fuego.papi.impl.InstanceInfoImpl_-TaskInfo>
    </taskInfo__d>
    </fuego.papi.impl.InstanceInfoImpl>

  • GP getting from external service

    Hi All,
    Need some advice here. I have a Adobe interactive form (this is the first step of the process) and i need to prefill it's content from an external service. I have created an external service Callable Object which calls my backend RFC. This is working OK when i test the CO. Next step was to create a interactive form CO and assign the external service CO in the prefill function. I did the mapping accordingly. However, when i test the CO, it did not return any output parameters.
    Once completed, after instiating the process, it did not work. The process fell under category "erreneous processes".
    Any idea? it should be working fine as it's almost similar to the tutorial. Thanks

    Its ok. Solved it

  • Vendor Creation from external system

    Hi there,
    I have a requirement from the user:
    An external system is used for vendor registration. The current process is where users need to create the vendor manually in SAP as there is no integration between the systems.
    We can not make amendments to the external system due to business limitations.
    The question is, can creation of vendor be automated via an scheduled interface where SAP grabs data from the external system? If yes, care to explain how can it be achieved?
    SAP is running on DB2 and the external system is running on Oracle.
    Please advice. Thanks!

    Hi
    I think it can be done.You need to develop a file based Interface.As soon as vendor data files placed in a dorectory program should pick that file and it should call a transaction code XK01 to create a  vendor.
    I belive this is high level infomation I am giving. A developer or Interface expert can help you.
    Hope this will helps you.
    Cheers
    Umakanth

  • ACS user creation from external interface

    Hello
    We have a bundle de Cisco WLC 5508 which authenticate users that try to connect to Wifi networks. Those users are stored in a Cisco Secure ACS 4.2 internal database.
    We want to have a simple  external web interface so that non-technical people can create users without access to the ACS.
    Is it possible to create users in a certaing group through an script or any kind of external connector?

    Yes, that is possible.
    Scott
    P.S. Please tell us your first name and put in in your handle and/or profile to help us.

  • Entity Services: readByCustomKeys operation mapped to External Service

    Hello *,
    in my CAF application I'd like to read a product from SAP PLM. Within my Entity Service materialNumber is my custom key and therefore a corresponding operation exists: readByCustomKeys.
    I map this operation to my External Service (Web service provided by XI).
    As I can't test this operation directly with the Service Browser (deosn't appear there), I wrap  my Entity Service with an Application Service where I use the readByCustomKeys operation from Entity Service.
    Now when I test the Application Service operation I get the following error message in Service Browser:
    ERROR. Invalid type value :
    In XI I can see that there was no error and I got well defined XML data as response. So the problem must occur anywhere in the mapping back from External Service data to Entity Service attributes.
    Wrong data type mapping can be excluded as I already tested this possibility.
    Does anyone know what could be the reason?
    Thanks for your answers and best regards
    Joschi

    Hello Joachim,
    I dont have a lot of experience with readByCustomKeys (one experience which failed) but uou can also use read itself. If you have defined materialNumber as a key in your entity service, then this field can be used in read operations as well (I have a lot of positve experiences with this approach). You will find materialNumber while mapping read with your external service and you need not map the key field generated by Entity Service.
    For testing entity services, we have had several positive experiences with the config browser, specially for a findBy, read and even update operation. It was very easy to have a prototype UI to check the entity services.
    I know this isnt the answer to your question, but just sharing my experiences.
    All the best!!!
    Regards,
    Parag.

  • Requirement Date of PR for Service Activity

    Hello All,
    Can any one tell me how to enter the requirement date for service activity?
    Scenario is that I don't have budget in current fiscal year, hence; cannot book my commitment. So, I want to book a commitment in future (for next fiscal year). How can I enter requirement date for service purchase requisition?
    Thanks in advance.
    Warm Regards

    Thanks for you quick response.
    In this case I have to create multiple service activities. Is it possible that I can split service items from one service activity into muliple fiscal years.
    For Example: There are three service items in activity XYZ, I require two items in current fiscal year and one item in the next. Please advise...
    Regards

  • CAF external service consumption nwds7.0

    Hi,
    I am trying to consume enterprise service in caf nwds7.0 by importing the backend wsdl of hu2 system.I done external service configurations from caf administrative tools also.Still i am unable test the entity service from service browser.I there any further configurations to be done apart from external service configuration?

    Hi,
    Please go through this article
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6e7e5fc2-0701-0010-8588-86c555d9e8f0&overridelayout=true
    Please check out whether you are missing any configurations.
    Regards,
    Gayathri.

  • Service activity creation in SAP from MSP (Microsoft Project)

    Dear All,
    As we are planning to integrate  SAP & MSP, I have one query regarding service activity creation in SAP from MSP.
    In case of service activity in SAP we have to assign respective services also otherwise it does not get saved.So when we transfer service activity from MSP (after maintaining the respective control key in MSP ) how we will manage with all services because we can not define these service in MSP.
    Apart from that we have some procurement parameters also like material group, purchasing org, price, outline agreement....we have nothing in MSP for these...so how we will  manage with this.....
    Please just share your valuable input to deal with this....Thanks..
    Regards
    Ashok Sangal

    Hi Harsh
    Thanks for your quick reply......
    I agree with you that by flexible field mapping we can do but my concern is that service activity should have services also defined in MSP  because when this will come to SAP , it will ask for services & if services are not available then this will fail.
    Please suggest your opinion ..
    Regards,
    Ashok Sangal

  • Service activity and external activity?

    1. i give materails ........want the work to be done.......................
    2. All the materials and work to be done by vendor.....................
    3. i want to buy materials from outside......................................
    wht i will be using in first case and in 2nd case ( extaral and service acitivity) is concern .............
    pls give me a very brief discription if possible .............

    1. i give materails ........want the work to be done.......................
    buy materials using external activity or non stock components and free issue to vendor to get the work done
    2. All the materials and work to be done by vendor.....................
    here I would use service activity to be able to break the down to service masters rahter than one lumpsum
    3. i want to buy materials from outside......................................
    internal activity with non stock components

  • External activity and service activity

    I have a very basic question. How often a external activity is uniquely used that cannot be covered by an service activity. My point is that is there a business case that cannot be taken care of by service activity. External processing activity is actually a service received from a vendor, extra thing is some goods movement perhaps? Can anybody give an clear explanation of how these two are different and what difference does that make to a project.

    Whereas external activity allows you to procure only one specified service, a service activity enables you to plan and procure several services and to enter data for services that has not yet been specified in detail. For this purpose you must create service specifications when creating a service activity (do search on service specification further).
    This is the major difference, the rest remaining the same.
    Regards,
    Ammar

  • Service activity creation & automatic cost element picking up

    Dear All,
    We are facing a peculiar problem while creating a service activity in Project creation - CJ20N (Project Builder).
    1)     Created a project definition. ( say u2013 X200)
    2)     Created parent WBS element.
    3)     Created one Network.
    4)     Assigned one service activity to the network.
    5)     While assigning service master to the service activity, system is asking for a cost element. In other words, the cost element is not automatically picked up for the particular service master. Actually, while creating earlier project (say X100) & assigning service activity, system is correctly defaulting the Cost element.
    6)     Here the service number which we are using is the same as used in the earlier project (X100). In X100, based on the valuation class in the service master & settings maintained in the transaction code OBYC, correct GL account is getting picked up. 
    7)     We can give the cost element manually. If we do this, system is giving another message u2013 u201CSystem could not determine a consumption account for service 2000000202u201D, though it is maintained for the valuation class in OBYC.
    Why the cost element is not getting defaulted? Pl advice in this regard.
    Thanks & regards,
    Gov

    Check out the Network profile & Plant of of both the project
    Case 1 X100   May be getting defaulted from  network profile
    Case2 X 200   You might be using different network profile where you would have not maintained  CE.
    With Regards
    Nitin P.

  • Need info on Standard Web services to pull Order data in CRM from external applications

    Hi Gurus,
    I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
    Appreciate your help on this.
    Thanks
    Lakshman

    Hi Lakshman,
    I have checked further.
    Please review below link of the SAP Help documentation :
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm&current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
    and also the link :
    –http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
    Hoping that this will be helpful.
    Best regards - Christophe

Maybe you are looking for

  • I installed a Dell OS disk onto my Satellite Pro L350-107

    Call me an idiot, but i don't know much about drivers or installing vista. I'll tell you guys everything in order to make as much sense as possible: On my Toshiba Satellite Pro L350-107, i was simply watching a .MKV file on a program called "Zoom Pla

  • Embedding html not in final live web site

    http://www.zumbakaren.com/ I pasted my html code as instructed and its not in the final output. There should be a picture under the words on the home page: To save 10% on Zumbawear® click on the picture below. Any ideas. Just updated to version 4.1 S

  • RANT:  Why does screen keep dimming even when "DIM" is disabled?

    ARGH this is buggin' me! I turned off the dim under custom in energy saver. i am reading a document and it keeps dimming and it's annoying as doo doo. anything i can do?

  • CAN I RECOVER my bookmarks after a fresh install of F/F?

    I had to re-install F/F and lost all my bookmarks. I've looked up various posts and located the recovery files only for five or six recovery dates of about 2kb each, whereas there should be at least a few dozen bookmark files of much greater size. So

  • Return Code for scenario execution

    When we execute an interface,package or scenario. We can go in execution tab and see the start time , end time and Return code which has values like 0,7000,1722,1777 etc. This value is fetched from odi system table :-snp_sess_task_log. This table con