External Operations: which API?

Hi all..
I have a console application that uses the Server API and I'd like to run it as an external operation. However, as I look into it, it appears that the job must run on the automation server... will the server API still work? I'm guessing not... seems to just hang when attempting a Reconnect().
OK, so maybe I can use the PRC... but what value do I use for the first argument in GetTokenContext()? the URI endpoint... ????
What's the best reference for writing external operations? Can't seem to find anything via plumtree.com searching... :(Jesse

Your post partially answered my question. I am looking into using the PRC Collab Java API (to add calendar tasks programmatically) and want to know if that could be called as an external operation. It would probably be possible if the latest version edk.jar with the Collaboration API was on the Automation Portal Server. We have Automation Portal 5.0.4 installed and it comes with ans older version of the EDK.jar.
Any comments and recommendations on on the best method way to accomplish what I am trying to do?
Thanks.
Vanita------- HP SupportTeamLux wrote on 8/18/04 4:20 AM -------
Hi Jesse,
I'm also doing a console application that uses the PRC and is called as an external operation.
For the URI endpoint, I specify a URL in the application.config file. It contains the URL to the Plumtree Web Services, usually like http://portalserver/ptapi/QueryInterfaceAPI.asmx. Forthe second parameter, the login token, I use what the external operation passes me as parameter (). Works nicely...
HTH, Fred

Similar Messages

  • Error while creating external operation in Routing

    Hi Freinds,
    I am creating an external operation in a routing and I enter the purchasing info record which is created for the material.
    But when I try to enter this info record in the external operation then I get the Error: "Enter info record without Material"
    Already info record is created for this material then what could be the problem. This is stopping the routing creation .Please help.
    Regards
    Shailesh Nadkarni

    >
    shailesh nadkarni wrote:
    > Hi Prasobh,
    >
    > Thnks for the quick response but can you throw somelight between the difference in Inforecord with Material and Inforecord without Material. Thnks....
    Shailesh,
    If the material is procured by means of subcontracting process, then we need to assign in the material master MRP2 view with special procurement key 30, create the BOM for the material, which would contain the components which would be Issued to the vendor. In this case you would be performing all the transaction with referance to the Output material number, so an Inforecord of SubContract category needs to be created with referance to the Output material, where you Issue the components and you can recieve your material.
    In case of operation subcontract the PR or Purchase order would be with account assignment to the production order and not with referance to any material, so there wont be any referance to any material number (Product), you can Issue components for processing, but when recieving it is again not with referance to any material but operation delivery.
    Hope i was able to explain, what you wanted.
    Regards,
    Prasobh

  • External operation in routing

    Hi
    In routing if I maintain controlkey with external operation, I have to enter the info record details.
    (I have to create info record without ref to material, the pur req/Pur ord created will be account assigned).
    When ever I create an order the system will generate pur req for external opeation with ref to info record and it wil be always send to the vendor which i have maintained in info record.
    My requirement is, I have 5 vendors who can do the same processing with different cost and lead time. I need to select the vendors.
    Please let me know how to achieve this.
    I cant go for Quota arrangement,since material number is not involved.
    I dont want to create different routing with different info record details.
    Regards
    S.Senthil

    Hi ,
    In Your Scenario what i feel is you can create one routing in which u can mainatin vendor info record which is commonly used.Create a production order,but before releasing  it,u can change purchase info record by making the customised setting as below.
    Go to OPL8,for particular order type and plant combination,maintain order type dependent parameters in which in planning tab -purchase requistion -try to put 2 or 1 and test (1-never it will not create,2 -purchase requistions will be created after release,3-Immidiately when order is created)
    Hope it will solve ur problem
    Edited by: Girish  Adaviswamy on Mar 20, 2009 7:18 AM

  • External operation storage location

    Hi,
       I am generating a purchase requisiton for an external operation from a production order. This purchase req is a std purchase req and account assignment is F (production order). The line item does not have a storage location due to which the ME59N fails. Does anyone know how I can get the strorage location for this external operation purchase req to populate and how I can get the ME59N to work for purchase reqs of these kinds ?
    Thanks

    Hello
    I'd like to suggest you to read carefully the following note:
    503497 - Subcontracting and MRP areas
    The following information provided on this note confirms that the storage location is not necessary for subcontracting, therefore, this field is empty:
    The most important point to understand the system behavior is the fact that the withdrawal of the (subcontracting) component is generally carried out during the goods receipt for an SC procurement proposalfrom the subcontractor stock that is managed at plant level from an inventory management point of view and that has no reference to a storage location at all.
    This causes that subcontractor requirements can never enter a storage location MRP area, since you can later not post the withdrawal from this MRP area.
    Thus SC-requirements always enter the SC segment of the plant MRP area or the SC-MRP area.
    The SC MRP area in turn is supplied by stock transfer reservations from the plant MRP area or via third-party order processing through procurement proposals with goods receipt directly to the subcontractor. A supply through the materials planning from a storage location MRP area is not possible.
    For the above reason, SC-requirements do also not carry any storage location, since the storage location does not have any control function at all for SC-requirements:
    You cannot and you should not determine a storage location MRP area (see above), and the subcontractor MRP area is determined via the vendor of the procurement proposal, thus it is independent of the storage location.
    See also Note 376050 on this topic that makes a modification available which prevents the deletion of the storage location in the subcontractor requirements, so that you can use, for example, customer-specific reports to analyze the storage location.
    You may consider the modification from note 376050, which prevents the deletion of the storage location from the subcontracting requirements, however, this is generally only relevant for displaying the storage location and this is not used for processing the item.
    BR
    Caetano

  • External Operating system Commands -GPG

    Hi Experts,
    Im quite new in SAP and we have a task to encrypt a file generated from SAP for upload to bank. We use  the external operating system commands to call the gpg commands for file encryption. But we encounter an error when we execute the command
    below is the error we encounter
    gpg: [Recptient's ID]: skip : public key not found
    gpg: [Filename] : encryption failed : public key not found
    but when I run the command on OS level it execute properly without any problem.
    hope you guys could me an idea on how to fix the issue i encounter
    Thanks in advance!!

    Louie,
    What is the command that you used? which OS?
    Thank you
    Regards

  • External Operation Processing

    Dear all,
    I'm using a external control key, I have an external service I want to perfom. How come I don't have a place inside the routing to indicate the service that I want like PM task lists? Also how is the purchasing department supposed to understand and the production people how would they know which cost element (GL Account) to throw in, it's too technical for them since each service is related to a certain cost element.
    Do you have a workaround solution for this?

    Rafik,
    You can use external operations control key like the standard one "PP02", here in the purchasing view you can assign the GL account / Inforecord details, based on these details the external operation PR would get created.
    Regards,
    Prasobh

  • External Operation but without entire Procurement Cycle

    We have an operation in the Production Order, where a process is done by a vendor. However this is handled such that the Vendor collects materials across several production orders on a regular basis. The invoicing is also done late, perhaps monthly. Because of this, we find that modelling the operation as an External Operation is difficult since the PO would stay open and the Production Order cannot be closed until all the administration work is completed.
    We would like to capture the external costs of the operation, as a form of immediate 'Confirmation' for that operation and posting into interim costs. Later, when the physical goods have arrived and invoiced CO can reconcile those costs against these interim costs.
    Is it possible to set an Operation as External yet not have to go through entire Procurement cycle?

    Dear
          if vendor is doing first operation, Create a semi finished material with special procurement 30 subcontracting key in material master MRP2 view  and maintain BOM of components which are sending to vendor and routing with external procurement.
    Open another semi finished material for in house production and make BOM of component received from vendor i.e. subcontracting semi finished.
    Result of above given procedure, there will be two documents without interlink (purchase order and production order). then you can open production order as per material available quantity and close whenever you desire and similarly for purchase order.
    if vendor is last operation, procedure will be vise versa of above procedure.
    Thanks
    Muhammad Ashfaq
    Edited by: Muhammad Ashfaq on Jul 21, 2011 6:23 AM

  • External operation without material supply

    Hi, i want to send only the parent material (header material) for some operation at subcontractor for operation 20. pls advise how to maintain the bom and send to vender and further steps? thank u in advance.

    Hi,
    Pl. find below steps for external processing. I got this from one of my friend.
    1. For a production material (1001), one raw material (2001) is assigned.
    2. Production process of 1001 is having four operations 10, 20, 30 and 40.
    3. In this 10, 30, and 40 are internal operations and 20 is external operation (sub-contracting).
    4. To address this, we created a dummy material (non-valuated) and named as 1001-20 (Finished product number + Operation to be performed).
    5. This 1001-20 should form part of the component in BOM of 1001. That is BOM of 1001 will have components as raw material 2001 and this dummy material 1001-20. In routing, assign this dummy material 1001-20 to operation 20.
    6. During BOM creation, you should remove costing relevancy for the item 1001-20.
    7. In routing, operation 20 is created with a work center (which is external operation work center) with exteranl operation control key.
    8. In operation details, for external processing, assign the info record of external processing.
    9. Info record of external processing has to be created for vendor with relevance to the operation to be performed externally with vendor. (We are using material group field in the external processing in routing operation).
    10. When create production order with above set up, system will create Purcha Req for external operation. This has to be converted to purchase order.
    11. Now, this dummy material should be kept as 5000 or 6000 in stock using 561. When Purchase order is raised, required quantity has to be moved to vendor using 541.  When we do goods receipt the stock with vendor shall come down. With this, we can monitor the material (with dummy material number) stock with vendor (please note we can see only quantity and not value) .
    12. When we do GR for external purch order, we receive only the operation performed. (So, coversion cost to vendor shall be paid).
    13. After ensuring GR is done, order confirmatin of operation 0020 has to be done. (here we capture the quanttiy and also the valuation of material in production order).
    Madhava

  • External operation ID

    Hi,
    Where can we find External Operation ID in the Routing Operation details (CA02 or CA03)?
    Thanks

    Hi S0007029117,
    Well try the T-Code CC04 which is a product based structure will helps you find out it.
    Hope it helps you.
    Regards,
    Madhu.G

  • Schedule lines for an external operation in a production order

    Hi All,
    I have an external operation defined in a production order and a scheduling agreement is assigned to it in the Routing operation details.  Now, i want to generate schedule lines when a production order created but the system always generating a purchase requisition.  Do we need something to be configured in the background?  Please help!
    The idea is to have the goods receipt done against the same agreement always.
    Regards,
    Sravan

    Hi Sravan,
    As per my view point, this is standard SAP behaviour. System will generate PR only in case of external operation.
    If you go to OPL8 (Order type dependent parameters) for your respective order type & plant combination you have option of maintaining setting related to PR only and there is no option of using scheduling agreement or generating schedule lines.
    I don't see any possibility to use scheduling agreement using to have schedule lines for external operation.
    Regards,
    Tejas

  • External Operation Job Log

    Hello all,
    I can't seem to find additional information on this. I have written an exteranl operation in c# and I can run it from the portal without any issue. I know that standard error is supposed to be captured in the job log, however I can't seem to figure out how to write to standard error from a c# console application. Console.error doesn't seem to cut it.
    I am using ALUI 6.0 sp1, but I dont' think this has changed much over the years. Has anybody written a c# external operation and been able to write to the job log?
    Thanks,
    Berney

    You could just make it write to stdout and then redirect stdout to stderr like this: "dir 1>&2". I put that in a bat file in the scripts directory and then made the bat an external operation. It wrote to the job logs like this:
    Mar 3, 2009 11:40:55 AM- Starting to run operations (1 total) for job 'stdout dir test ext op Job'. Will stop on errors.
    Mar 3, 2009 11:40:55 AM- *** Job Operation #1 of 1: ExternalOperation [Run as owner 'Administrator']
    Mar 3, 2009 11:40:55 AM- Java Version: 1.5.0_12 from BEA Systems, Inc.
    Mar 3, 2009 11:40:55 AM- OS x86 Windows 2003 5.2 as SYSTEM
    Mar 3, 2009 11:40:55 AM- External Operation Agent for stdout dir test External Operation is starting...
    Mar 3, 2009 11:40:55 AM- Original Script is: "test.bat"
    Mar 3, 2009 11:40:55 AM- Scripts home is: E:\bea\alui\ptportal\10.3.0\scripts
    Mar 3, 2009 11:40:55 AM- Appending E:\bea\alui\ptportal\10.3.0\scripts to test.bat.
    Mar 3, 2009 11:40:55 AM- Full Path to script is: E:\bea\alui\ptportal\10.3.0\scripts\test.bat.
    Mar 3, 2009 11:40:55 AM- Operation has timeout of 0 ms.
    Mar 3, 2009 11:40:55 AM- stdout>
    Mar 3, 2009 11:40:55 AM- stdout>E:\bea\alui\ptportal\10.3.0\scripts>dir 1>&2
    Mar 3, 2009 11:40:55 AM- stderr> Volume in drive E is New Volume
    Mar 3, 2009 11:40:55 AM- stderr> Volume Serial Number is 4CFC-EB07
    Mar 3, 2009 11:40:55 AM- stderr>
    Mar 3, 2009 11:40:55 AM- stderr> Directory of E:\bea\alui\ptportal\10.3.0\scripts
    Mar 3, 2009 11:40:55 AM- stderr>
    Mar 3, 2009 11:40:55 AM- stderr>03/03/2009 11:37 AM <DIR> .
    Mar 3, 2009 11:40:55 AM- stderr>03/03/2009 11:37 AM <DIR> ..
    Mar 3, 2009 11:40:55 AM- stderr>12/18/2008 07:59 AM 5,049 AnalyticsRunJobs.bat
    Mar 3, 2009 11:40:55 AM- stderr>10/08/2008 01:35 PM 2,034 BulkSubscriber.bat
    Mar 3, 2009 11:40:55 AM- stderr>10/08/2008 01:35 PM 3,577 SavedSearchMailer.bat
    Mar 3, 2009 11:40:55 AM- Total Memory = 33554432 bytes, Free Memory = 9573312 bytes, Used Memory = 23981120 bytes.
    Mar 3, 2009 11:40:55 AM- stderr>03/03/2009 11:37 AM 8 test.bat
    Mar 3, 2009 11:40:55 AM- stderr> 4 File(s) 10,668 bytes
    Mar 3, 2009 11:40:55 AM- stderr> 2 Dir(s) 17,469,964,288 bytes free
    Mar 3, 2009 11:40:55 AM- *** Job Operation #1 completed: Process completed successfully; Command line: ""test.bat"".(282609)
    Mar 3, 2009 11:40:55 AM- Done with job operations.
    I don't think much has changed with this in the portal 6.x world, but it looks like stderr is definitely captured in wci 10.3. If there's a problem with an older version, start a support ticket to investigate a possible bug.

  • My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?

    My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?

    You might consider itunes match for moving CDs you've copied into your itunes library if you dont have a way to use home sharing.
    iTunes match is an optional service offered by apple that costs about $25 a year.  It scans your music library and if it finds music that is already in apple's itunes catalog it'll automatically "unlock"/"store" these in the cloud for you.  Items that it does not find in the catalog it'll upload and store these in the cloud for you and you can download them on your devices.  See http://www.apple.com/itunes/itunes-match/

  • Itunes and all my movies have disappeared,i can no longer add to library from my external hdd which ive always used and can only add from the laptops own hard drive,any ideas what the issue could be?

    ive recently updated, itunes and all my movies have disappeared,i can no longer add to library from my external hdd which ive always used and can only add from the laptops own hard drive,any ideas what the issue could be?if i transfer the movies from the external to the laptop they will add to the library without any problem so theres no issue with the laptop but when i go to add file in itunes i can path to the external but as soon as i select the file nothing happens, just goes back to itunes

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I inste

    Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I instead just keep everything on my ipod and then if I have to get a new computer or something just download all my songs from the ipod to my new computer's itunes? Will that work? Will I still be able to keep all my songs that way?

    I'm going to assume the consolidating files does not work due to hard drive space limitations.
    Since you're moving to Windows 7, have you tried using the Windows files and settings transfer utility?  That will move everything for you to the same location on the new computer, it also allows some control over what actually gets moved.
    Alternatively, if you know the location of all of the media, it can be manually moved by copying it from the old computer to the new computer in the same location.
    Also, using the Apple article on moving the library, take a slight twist on what it says.  Move the iTunes library to the external drive, update the settings in iTunes to reflect the library being on the external drive, then consolodate it.
    The options are endless for moving the library... it simply takes a little effort to make it happen and possibly a twist on existing "standard" methods depending on your unique situation.

  • Macbook Pro Retina to external monitor - which cable?

    Hi, I have a Macbook Pro Retina and I want to connect it to my 22" Viewsonic external monitor - which has a VGA connection going into it. Looking at all the cables I'm confused at which one I should get? Any info would help!
    Many Thanks

    nchelliah wrote:
    Thanks for your help What about a HDMI to VGA cable? Would this work?
    Where would you find one of those? Never heard of that. That is not to say they don't exist. Why would you want to try that? That would mean you are taking a digital signal, converting it to analog, then converting it back to digital.
    Stick with the common methods as I described. Tell us if your monitor has HDMI or DVI inputs and I can be more specific as to what cable to use.

Maybe you are looking for

  • How to remove item from Safari reading list on iPad 2

    How do you remove an item from your reading list in Safari on the iPad 2?  I don't have the "x" in upper corner like I have on computer

  • Can't find a way to delete album Iphone4?!

    Hello, I tried everything. I go to Itunes while my iphone is connected. I click on my name and then on Photo's. I click sync from and then choose map. The first thing that comes up is the album that I want to keep it but I don't have anything else to

  • I have no more access to appstore, my password is not accepted anymore. What can i do?

    Hi everyone, Have just reseted my password for appleID and access to appstore is not restricted and no downloading are allowed. What can i do to sort this out? Thanks for your answers All the best Rudy

  • How to copy calendar events into Excel?

    i would like to review all my calendar events in an Excel (Office for Mac) spreadsheet.  I have exported to desktop then opened with Excel but got a block of data.  I was expecting one line per event that I could delimit.  Any ideas? Don

  • Billing output thr. EDI

    Hi, Pls. guide... I have output type ZRD4 for which I want to maintain transmission medium EDI. What settings do I need to mantain in ZRD4 so that I can get EDI output automatically. It is a billing output in V10000 proc,0004 access seq. Regards