Creation of PM or CM WO by external source

I believe my request is pretty much standard, however I didn't find any info in existing threads.
If I need to initiate a WO execution based on an external source (for example, a message from Plant automation system) - what is the way to do it?
In my understanding, there must be a standard feature for SAP PM to "listen" to, say OPC server, and act upon certain condition.
Thank you in advance for help.
Edited by: RenatF on May 21, 2010 4:57 AM

RenatF,
  Unfortunately SAP cant "Listen" to external systems,Unless its visible inside. However as indicated above if the external systems can communicate the data(Either the exception or all the data records for a Particular Business scenario), then it can react based on the data and we could have SAP generate Transactional / ,Master data objects accordingly.
   There are [different ways a communication|http://help.sap.com/erp2005_ehp_04/helpdata/EN/18/da766aaf5311d6b29f00508b6b8b11/frameset.htm] can be established between a external system and SAP. The choice of the pattern depends on the what the external system can do and what are the standards maintained or are required to be maintained. Some examples of communication technologies  are
1) RFC (Remote Function call)
2) IDOC (Intermediate Document) / ALE (Application Link Enabling)
3) BAPI(Business Application Programming Interface)
4) Through a Middle ware (SAP XI , MQ series, Business connector,.Net Connector etc)
5) SOAP Framework
6) Web services
There are standard content  available in all of them.
  So if you could specify what you are trying to accomplish and what is available at your end, we would be able to suggest possible options
Regards
Narasimhan

Similar Messages

  • CPPR error  Wrong status: Send to external sourcing - pending

    Hi experts,
    we are on SRM 7.0 ehp 1 u2013 backend ECC 6.0 EHP 5.
    Iu2019ve activated the process to create SRM RFx with reference to Backend purchase requisitions without PI.
    In CPPR I select the backend purchase requisition and start collective processing.
    In the collective processing screen I u201CShift to external Sourcingu201D
    The status of the backend purchase requisition changes to Send to external sourcing: pending.
    The system automatically creates a SC in SRM and a RFx in status u201CSavedu201D.
    The status of the backend purchase requisition is still the same.
    Also when I publish the RFx the status of the backend purchase requisition doesnu2019t change.
    The following services have been customized for peer to peer connection:
    RFQRequestSUITEAllowedBiddersByIdentifyingElementsQueryResponse_In
    PurchaseOrderSRMPricingSimulateQueryResponse_In
    PurchasingContractSRMArchivingCheckQueryResponse_in
    QueryCodeList
    PurchaseOrderERPConfirmation_In
    PurchaseOrderERPContractReleaseNotification_In
    PurchaseRequestERPSourcingRequest_In
    PurchasingContractERPConfirmation_In
    PurchasingContractSRMReplicationConfirmation_In
    RFQRequestSUITERequest_In
    SupplierInvoiceSUITEContractReleaseNotification_In
    PurchaseOrderERPRequest_In_V1
    PurchaseRequestERPSourcingConfirmation_IN
    RFQRequestSUITEConfirmation_IN
    PurchaseOrderERPRequest_IN_V1
    PurchasingContractERPRequest_IN_V1
    In SXI_Monitor is just one XML: PurchaseRequestERPSourcingRequest_In.
    Shouldnu2019t there be an outgoing XML to update the status of the backend purchase requisition?
    What I need to do to get the purchase requisition updated?
    Thanks for all your inputs!
    Kind Regards
    Stefan

    Hello Stefan,
    I hope you have cross checked the CPPR configuration as per the note 1263876.
    For the logic of the Badi ME_REQ_SOURCING_CUST in ERP system. Please find some relevant details of the way i have configured it.
    method IF_EX_ME_REQ_SOURCE_CUST~ACTIVE.
    setting cv_aut_sourcing makes the external sourcing functionality active
    either manually or automatically.
    setting cv_ext_rfx_ind makes RFx creation in SRM available
    setting cv_ext_sc_ind makes SC creation in SRM available
      cv_aut_sourcing = cl_mmpur_constants=>yes.   " ext sourcing active at all
      cv_ext_rfx_ind  = cl_mmpur_constants=>yes.   " RFX creation in SRM, not in ERP
      cv_ext_sc_ind   = cl_mmpur_constants=>yes.   " SC creation in SRM possible
    endmethod.
    method IF_EX_ME_REQ_SOURCE_CUST~CHECK_EXTERNAL_SOURCE.
    example Implementation:
    Purchase requisitions are send automatically to external sourcing based on the criteria
    implemented here. Thus, if you want to send PRs automatically, code your selection
    criteria in this method.
      IF is_req_item-ekgrp = 'SRM'.
        cv_ext_sourcing = cl_mmpur_constants=>yes.
      ENDIF.
    endmethod.
    Also for the issue XML not getting triggered with the interface PurchaseRequestERPSourcingConfirmation_Out , first the XML PurchaseRequestERPSourcingRequest_IN to srm should be successfully processed. Once this done then srm sends the sourcing confirmation out xml to erp.
    Is the in xml to srm processed here successfully ?
    If yes kindly crosscheck the config as per the details above and also aksed your XI consultant to check the configurations for the Integration scenario used here.
    Thanks & Best Regards,
    Rahul

  • Best way to change iProc default for Internal vs External Source

    We are using iProc for items that are available both from external suppliers and internal warehouses. Unfortunately, our sourcing rules are set up such that the source defaults to external even if the item is available internally. We cannot set up our sourcing rules to generate a default source of Internal but the business "requires" that the default source is Internal (so long as the item is available internally - it needs to be External if it is not available internally). I have dug around in the code and I cannot see a nice way of customising the pages to achieve that.
    Has anyone else had this problem, and if so, have you been able to change the default?

    Unfortunately, it is very specific to iProcurement - when you add an Item to the Requisition Shopping Cart, it needs to know the source of the item for the Requisition (whether it is internal from existing warehouse stock or external from a supplier) - this is the "Source" that I am talking about.
    There are at least four different pages that have functionality to add items to the shopping cart (all in the oracle/apps/icx/icatalog/shopping or oracle/apps/icx/por/reqmgmt packages).
    When adding to the cart, it is creating an oracle/apps/icx/por/schema/server/PoRequisitionLineEO object, but with the exception of one of the pages, the field is populated by a default.
    Where there is a choice of sources, the user can explicitly select them on the oracle/apps/icx/icatalog/shopping/webui/SelectSourcePG page, but from what we can see, the same logic to set the default on this page is what is used if the user doesn't go to the page.
    This SelectSourcePG uses the oracle/apps/icx/icatalog/shopping/server/SelectSourceSvrCmd class to populate and default this page. The basic default (internal or external) is driven off the logic in the POR_AUTOSOURCE_UTIL_PKG.AUTOSOURCE stored PL/SQL Packaged Procedure. This procedure queries the Purchasing Sourcing Rules and for our data (unfortunately) this always returns a default External source.
    Based on your answer to my other post, I will try a warning message on the creation of the entity object and see how that goes.

  • Validate data in r/3 while upload frm external source to bw

    Hi
    My requirement is while uploading data(2lacs to 5lacs of records) from external source file(xls or notpad) to BW i have to check whether that data is present in R/3 system or not.
    can anyone suggest the best way for validation(any FMs exist) for performance sake
    and also provide the FMs all which gives the best performance.

    u need to explan it in more detail...
    process
    Document number
    matching keys with SAP for validating records
    etc
    etc
    regards
    madan

  • Project not picking up changes in external sources

    I have a flex project that's using a couple of other Flex
    library projects as external sources... i have everything setup and
    working nicely.
    Except... if i make a change to one of the library projects
    the flex project doesn't seem to pick it up... for a while... if i
    add a log comment to my library project and build it, then run the
    flex project i don't see the log... if i close down Flex 3 and
    leave it for a bit, then open it and run it again... there it is...
    if i close and immediately reopen i don't see it... seems like
    something is being held in memory... but not sure if this is a Flex
    issue or local to my installation/machine etc.
    Anyone else seen anything like this?

    Sounds like you are seeing a problem with project
    dependencies, and possibly also slow compilation times. Would you
    mind entering a bug at
    http://bugs.adobe.com/jira ?
    If you could zip up and attach the projects that reproduce
    the problem, that will greatly help us investigate. However only
    attach them via the bug form if it is code you don't mind the
    public seeing. If you want to keep it private (but don't mind
    sharing it with us internally), you can file the bug and email the
    code to [email protected], including the bug number.
    If you can't submit the code as-is, I understand, but if you
    are able to strip it down to something basic / non-sensitive that
    still reproduces the problem and submit that, it would be immensely
    helpful.
    Thanks much,
    Tom

  • How to merge key field from external source system with SAP R/3 master

    Hi,
    In SAP BW 7.0 system, our scenario is Master Data for 0GL_ACCOUNT is coming from SAP R/3 alongwith the Transactional data records for standard FI cubes. Then, one more set of transaction data is coming from external source system, a flat file, into another custom DSO(ZDSO_FI), which also has this GL Account field.
    This flat file's GL account, GL_file, has to be basically mapped/merged with the standard 0GL_ACCOUNT field so that at the time of loading the transactional data for custom DSO, ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), system automatically refers to the 0GL_ACCOUNT master data to load these incoming transactional values, from the external flat file system. How can this be done?
    To illustrate the scenario, say I have 5 records in 0GL_ACCOUNT, loaded from SAP R/3 into SAP BW-
    0GL_ACCOUNT      Short Description     Source System
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    Now suppose if my flat file has following sample transactional data, to be uploaded in SAP BW  ZDSO_FI-
    GL_file      Key Figure1
    400          789
    200          567
    Then after uploading this transactional data in ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), the 0GL_ACCOUNT data becomes as below-
    0GL_ACCOUNT      Short Description     Source System
    400
    200
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    So note that the system did not refer the incoming GL's from flat file, although the field is mapped to 0GL_ACCOUNT in transformation, to the already available master data. Rather created 2 new data rows for the GL accounts coming from external system. Because of this I am not able to perform the calculations common from standard FI cube and ZDSO_FI, with GL account as key field. I need to synchronise these data values based on GL Account to proceed with further calculation and am badly stuck.
    Request if anyone can please throw some light on how to achieve this seemingly simple requirement?
    Thanks in advance.
    Nirmit

    Better post this thread is in the [Enterprise Data Warehousing|Data Warehousing; forum.

  • Insert picture and sound without external sources

    how can we insert pictures and sound without using external sources??
    i mean , i want to make the picture somehow embeded inside the program, not from external source,
    can any1 help?/

    I sense that what you need to do is create a Jar (java archive) file for your code and images and any other resources. Do a search on the forum for the terms -- jar pictures getresource -- and you'll get a ton of helpful threads. Also check Google. Some useful links:
    http://java.sun.com/docs/books/tutorial/deployment/jar/
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=5183949
    http://www.cs.princeton.edu/introcs/85application/jar/jar.html

  • I can't paste text from external sources into Photoshop CC 2014.

    Hello everyone,
    Since a few days I'm not able to paste texts from external sources into Photoshop CC 2014.
    I never have problems with Photoshop CC before.
    I have the new iOS Yosemite installed in my macbook.
    It's really frustrating, can someone help please?

    I have basically the same setup, except on a Mac Mini. I am unable to reproduce your problem. Double check that you are copying the original text in the first place, and then make sure you are pasting into a text layer as you cannot paste into a regular Photoshop layer -- nothing will happen. Create a text layer by clicking on a regular layer with the text tool, the T in the tool box. The new layer will show up in the layers panel identified by the first line of the text.

  • FF 3.6.12 will not open links from external sources (Outlook, Dreamweaver, Digsby, etc)

    I have just upgraded to Firefox 3.6.12 and links clicked in an external source will not open in Firefox.
    Firefox is set as my default program for web browsing. I have tried to open links from Outlook, Dreamweaver, Digsby, and other programs.

    I have the same issue, opening links from external programs like Word or Thunderbird does not work. This used to work before the update to 3.6.12

  • External Table error: KUP-04043: table column not found in external source

    I am trying to get the syntaxc correct for an external table.
    I keep getting this error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04043: table column not found in external source: SITE
    29913. 00000 - "error in executing %s callout"
    *Cause:    The execution of the specified callout caused an error.
    *Action:   Examine the error messages take appropriate action.
    Data looks like: (some of one of many files, where the character field widths are variable)
    ZZ,ANYOLDDATA,77777,25002000,201103,12,555.555,11.222
    ZZ,ANYOLDDATA,77777,25002300,201103,34,602.162,8.777
    ZZ,ANYOLDDATA,77777,25002400,201103,12,319.127,9.666
    ZZ,OTHERDATA,77121,55069600,201103,34,25.544,1.332
    ZZ,OTHERDATAS,77122,55069600,201103,22, 1.011,0.293
    External table def I have:
    CREATE TABLE MY_INPUT (
    FIRST_CODE VARCHAR2(10),
    SECOND_CODE VARCHAR2(20),
    MY_NUMBER VARCHAR2(20),
    THIRD_CODE VARCHAR2(20),
    YEARMO VARCHAR2(6),
    N NUMBER,
    MEAN NUMBER,
    SD NUMBER
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY INPUT_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY newline
    BADFILE INPUT_LOGDIR:'bad.bad'
    LOGFILE INPUT_LOGDIR:'log.log'
    DISCARDFILE INPUT_LOGDIR:'discards.log'
    fields terminated by ',' LRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    ( THIRD_CODE,N,MEAN,SD) )
    LOCATION ( 'myfile.rpt')
    NOPARALLEL
    REJECT LIMIT UNLIMITED;
    I have the directories INPUT_DIR and INPUT_LOGDIR defined, and read/write access granted to the user who creates the table and tried to query from it.
    I have tried various combinations of VARCHAR2 lengths and NUMBER vs VARCHAR2 for some of the numeric fields.
    I am not getting any Bad, Log or Discard files.
    I can do a GET from the SQL prompt, and see the data:
    SQL> GET 'C:\temp\input_dir'myfile.rpt'
    and I see the data.
    Windows 7
    Oracle 11.2
    I am not positive of the newline record delimiter - these files are generated by an automated system. Probably generated on a UNIX machine.
    Any suggestions on what to try would be helpful.
    KUP-04043 error message says to check the syntax .. .I am running out of thigns to check.
    Thank you - Karen

    And the get ( I created the sanitized file, so we have a real working, failing, santiized example):
    SQL> get c:\Inputfiles\myfile.rpt
    1 ZZ,ANYOLDDATA,77777,25002000,201103,12,555.555,11.222
    2 ZZ,ANYOLDDATA,77777,25002300,201103,34,602.162,8.777
    3 ZZ,ANYOLDDATA,77777,25002400,201103,12,319.127,9.666
    4 ZZ,OTHERDATA,77121,55069600,201103,34,25.544,1.332
    5* ZZ,OTHERDATAS,77122,55069600,201103,22, 1.011,0.293
    So the full series is:
    CREATE DIRECTORY INPUT_DIR AS 'C:\InputFiles';
    -- grant READ and WRITE
    GRANT READ ON DIRECTORY INPUT_DIR TO ILQC;
    GRANT WRITE ON DIRECTORY INPUT_DIR TO ILQC;
    -- As SYS, create the bad/log/discard directory:
    CREATE DIRECTORY LOGDIR AS 'C:\InputFiles\Logs';
    -- grant READ and WRITE
    GRANT READ ON DIRECTORY LOGDIR TO ILQC;
    GRANT WRITE ON DIRECTORY LOGDIR TO ILQC;
    CREATE TABLE MY_INPUT (
    FIRST_CODE VARCHAR2(10),
    SECOND_CODE VARCHAR2(20),
    MY_NUMBER VARCHAR2(20),
    THIRD_CODE VARCHAR2(20),
    YEARMO VARCHAR2(6),
    N NUMBER,
    MEAN NUMBER,
    SD NUMBER
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY INPUT_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY newline
    BADFILE INPUT_LOGDIR:'bad.bad'
    LOGFILE INPUT_LOGDIR:'log.log'
    DISCARDFILE INPUT_LOGDIR:'discards.log'
    fields terminated by ',' LRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    ( THIRD_CODE,N,MEAN,SD) )
    LOCATION ( 'myfile.rpt')
    NOPARALLEL
    REJECT LIMIT UNLIMITED;
    SELECT * FROM my_input;
    and GET is as above.

  • External source file

    Hi
    i have an external source code file. How can i use this external file in another source file?
    Thanks for help.

    ehmmmm.....
    import my.package.for.ExternalOr something like
    External.doStaticStuff();
    External extInstance = new External();
    extInstance.doInstanceStuff();You could ofcourse also try to do the tutorial, just for the fun of it :)

  • Purchase of variant configuration material from external source

    Hi,
    I am working with variant configuration scenario , Here some material procured from external source and per characteristics requirements , these characteristics have varied price , these price should be maintain at condition level .
    The Material purchases from external source its price according to characteristic select.
    Pl helps me how these scenario resolve.

    H Rajesh,
    1.Create another New characteristic called ZPrice .Give the description and go directly to Addnl Data Tab.Here in the table name Enter "MMCOM" and in the Field Name Enter "VKOND" at CT04 & save .
    2.Now Goto CT04 in change mode, for Zprice Go to values tab and select RED &.Goto Extras-> Object Dependencies->Editor and then select Procedure & define condition.
    3. Goto Inforecord Choose Extras ->Variant conditions.
    Enter a variant key. Choose the desired condition type and specify the period during which the discounts and surcharges are to apply.
    Enter the amount and save.
    For More help please Refer Below SAP link
    [Variant Configuration |http://help.sap.com/saphelp_47x200/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]
    Regards
    Pradeep
    Edited by: Pradeep Kumar on Mar 4, 2008 10:36 AM
    Edited by: Pradeep Kumar on Mar 4, 2008 10:37 AM

  • How to back up iPhoto Library to an external source?

    I am using OS X Mavericks with iPhoto v9.5.1. This morning iPhoto tells me my photo library is either in use by another application or has become unreadable. Stupidly I have not backed it up.  I am reluctant to try making a repair for fear of losing my photos. So, how can I back it up to an external source (iCloud/external drive), before attempting a repair, when I can't seem to find a folder marked iPhoto Library on hard drive because I can't get past the message which seems only to permit 'Quit'.  Thank you.

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store

  • How to play MP4 videos from library assets, not external source

    I can play MP4 video files all day long, as long as they are from an external source. How can I target via linkage MP4 video files in the library? I'm building a Kiosk application and can't have any external assets--only assets from the library. Please only post comments or solutions based on using the video object, not the Playback component. Thanks

    have been trying this too , the manual says FAT32 files, just my two cents for ya

  • External source editor

    Anyone know how to setup an external source editor?
    D11 allows one to change loads of media editors based on its
    "extension" and/or "mime/type", but there is in the list support
    for source editor, which IMHO is the most important of all.
    That and all the scripts DEFAULT to be writen as text files
    in the same directory as the cast/movie that they come from
    naturally.
    I would like to use a "serious" text editor to hack
    lingo/javascript scripts, not the internal text editor (which imho,
    should just be scraped and sticked to view/breakpoint/inspect
    mode).
    Thanx in advance,
    Kindaian

    I like to use NetBeans at
    http://www.netbeans.org/ . It
    does code folding, and has a nice javascript reference. You can set
    it up with Director by going to Edit->Preferences->Editors.
    Locate the Netbeans executable typically at:
    C:\Program Files\NetBeans 6.5\bin\netbeans.exe
    Be forewarned though: You must specify an external file with
    the .js extension for Nebeans to know its a javascript file.
    Unfortunately, if you just double click any cast member that is a
    script, Director launches the editor opening a temp file with the
    extension .ls (as in Linked Script -dumb). Netbeans won't know what
    to do with it and won't show you all the Javascript features like
    code folding.
    You must specify the external file first. To do this,
    highlight the script cast member and use the Property Inspector in
    Director to specify the 'Link As' file. Note that Director cache's
    this file inside your .dir so you won't need to distribute the .js
    source with your project.

Maybe you are looking for

  • [solved] Suspend on closed lid

    Hi, I want my netbook (Wind) to automagically suspend when I close the lid, I got laptop-mode and pm-utils installed, everything works great, but I can't get it to suspend instead of just turning off the screen. The ACPI event "lm_lid..sh" just calls

  • JAVA WEB SERVER Problem

    Hai, I am using Java Web Server 1.2 . In JSP , when I use ResultSet.previous(), it is saying that : java.sql.ResultSet.previous() command not found. I do not know what to do ? But, In java file, it is working fine without any problem .But, I need to

  • A slightly different "edit in" from Lr to Ps question

    I have the most perplexing issue with Lr round-tripping to Ps that I have ever encountered.  I spent 14 hours today uninstalling and reinstalling Lr and Ps and resetting plugins, settings and preferences, and could never get images to "edit in" from

  • Grants given to a user give to another as well...

    How is it possible the grants given to a user , given also to another.... For example : connect scott/tiger; grant select on dept to x; grant insert on dept to x; Many thanks, Simon

  • How to turn off double tap feature?

    I have a new iPod touch and the double tap feature is annoying. Does anyone know how to turn it off?