Replicate Conditions to external system

Hi experts,
I'm setting up an interface to an external non SAP system.
With the subscription functionality I already set up the repkication of BP , Rel, Products & transactions via the XIF interface.
Next step is the pricing. I looked and found Idoc message CRMXIF_COND_REC_COMPL_SAVE linked to the same function module but this seems to support only inbound messages.
Next I was thinking to use change pointers. But the question is which Idoc type in crm is suitable for this ( can I use CRMXIF_COND_REC_COMPL_SAVE_M ) and for which object do I activate the pointers in BD52 ? (BEA_CNPL_PL ?? )
Or are there other methods to trigger the sending of idocs to an external systemin this case ?
Thx !!
Edited by: Olivier@eVolution on Feb 29, 2012 2:38 PM

Julien,
You can send prices to external system from pricing reports, transaction V/LD.  For example, I used this to send sales prices to an external system using pricing report 15.  Here you can enter your material selection criteria including, condition type.  This will generate a report which you can then send to external systems.  I apologize, but I do not remember the menu path from the report result off hand.
Ram,
Make sure you have activated change pointers for message type COND_A, create or change a price and excute RBDMIDOC for COND_A.

Similar Messages

  • Send price conditions to external system

    Hello,
    I would like to send the price conditions to a non SAP system. The IDOC COND_A02 seems to be the solution for sending the price conditions modifications to this system but is there a programm to send an initial set of idocs with all conditions (like RBDSEMAT for materials)? I cannot find any.
    Thanks in advance for any help provided.
    Julien

    Julien,
    You can send prices to external system from pricing reports, transaction V/LD.  For example, I used this to send sales prices to an external system using pricing report 15.  Here you can enter your material selection criteria including, condition type.  This will generate a report which you can then send to external systems.  I apologize, but I do not remember the menu path from the report result off hand.
    Ram,
    Make sure you have activated change pointers for message type COND_A, create or change a price and excute RBDMIDOC for COND_A.

  • How to tranport goods movement reservation to external system!!

    I want to send idocs to external system when I save a goods movement reservation using tcode mb21,mb22,etc.
    I dont know what configuration or development about Message Control and ALE I need to do!!
    Thank you so much for your time and consideration.

    You have to maintain output determination in the SPRO transaction -> Materials Management -> Inventory Management and Physical Inventory -> Output Determination.
    You have to maintain Condition tables, Output determination procedures, conditions etc. to do that.
    This is really a MM functional analyst work and NEVER should be done by an XI consultant.
    regards
    Shravan

  • Material and Price export to an External System

    I've a Problem, I will send Materials with sales Price from SAP to an external System. I will use the IDOC MATMAS01, but I can't send the price with it? Is that correct? How I can send the sales Price for each Material? Is it possible to send more than one Material (mass export) with MATMAS01 per process? Or I had to define a Product or Price Catalog?
    Or is there a better way by using a BAPI for this use case? Which BAPI?
    Thanks

    Thanks for the answers, now I've two ways to implement that, first with IDOC MATMAS01 and Idoc COND_A with an enhancement VKOE0001 PRICING CONDITION. And the second one with the BAPI.
    Which is the better way?
    And how I create a BAPI for Material and Sales Price?
    Thanks

  • Trigger Smartform From External System

    Dear All,
    Hi all. I  have a different issue. Using bapi  i am able to create quotation and order . They are generating the no also . I General case if we create quotation or order and given the preview the smart form attached to that  tcode will be executed and  out put will be generated .
    Now my requirement is after creating a quotation or sales order using bapi is it possible to execute the smartform and get the output to the mail that maintained at the time of customer maintain . I tried this but struck here . Please share your ideas with me on this .
    Regards,
    Madhu

    Hi there,
    Try this:
    As per standard SAP, BA00 or AN00 is issued to the sold-to customer to inform about the confirmation status after an order is successfully created. When the external sys calls the BAPI, along with the sales order details, it should also pass mail-id in the import parameters. Store that import parameter somewhere in the sales order either in text or a vacant field.
    1) Define ZBA00 or ZAN00 which will trigger the print O/p to the sold-to. Also in the print control prog, you can write a customized code sothat the system also sends a mail to the mail id maintained in the SO. This is a bit complex method.
    2) Define BA00 & ZBA00, BA00 will go to the actual sold-to. ZBA00 will go to external sys. Define the same format for BA00 & ZBA00. Since the external system which calls the BAPI is always the same, assign the printer which is at that location in condition records. So ZBA00 will always go to that printer. External sys will get the format which the sold-to gets. Simple method.
    3) Define ZBA00 as an EDI message (xml format). Every EDI message will have an middleware interface (like UNIX). When SAP sends the data, middleware will convert it into whatever format which the external sys requires. Requires a new middleware interface.
    In whatever the option you choose, define a new BAPI for eg Z_BAPI_ZBA00. External sys will pass ZBA00 in input parameter. If the external system wishes to retrigger the O/p, then it will call this BAPI. Z_BAPI_ZBA00 will internally call RSNAST00 which will retrigger the O/p for all sales orders.
    Hope this helps.
    Regards,
    Sivanand

  • SQL queries against a database view from an external system?

    Hi,
    I have a question about Database views in se11.
    Is it possible to create a database view and that do SQL queries against this  view from an
    external system, Not a SAP system?
    Please, I need you help.
    Best Regards
    Annika

    Hi Annika,
    it is possible , yes... but depends on your database systems in the SAP source DB and the external DB
    (easier if they are the same,  i.e. both ORACLE) - check out with your BASIS team (they have to create something like a "database link" in the external DB system  that you can use to access the tables in the SAP source).
    In the external DB you sure can create a view on these "remote" tables.
    We used this to pull data form SAP DB  to another DB system (both ORACLE based).
    But this is NOT supported by SAP , so be carefull. Below is the restriction for ORACLE (as well for other DB systems )
    see SAP note 581312 "Oracle database: licensing restrictions"
    As of point 3, it follows that direct access to the Oracle database is
    only allowed for tools from the areas of system administration and
    monitoring. If other software is used, the following actions, among
    other things, are therefore forbidden at database level:
    * Querying/changing/creating data in the database
    * Using ODBC or other SAP external access methods
    This means that additional application software is only allowed if this
    accesses the database through SAP interfaces (for example, RFC, SAP J2EE
    or BAPI).
    I would say if you KNOW the tables involved (using valid WHERE conditions and joins )
    and don't start queries from hell (ad-hoc type) wich can bring down your SAP system performance
    you can try it.
    But be warned...
    good luck...
    bye
    yk

  • Production order status as "Change by external system"

    Hi,
    I am come across the production order status as "Change by external system"
    In what condition above status is maintain in production order.
    Please help me.
    Sanjay

    Any change in the order done in the external system other than SAP, this status is set by the System.
    For example XMII.
    Regards
    Ratan

  • Scenario: Idoc - XI - external system (Idoc)

    Hello,
    I am trying to send an idoc from an sap 4.6c system to an external system. The external system is supporting idcos with trfc. This scenario is currently working with ALE. Now i have to set XI between these two systems.
    My problem is to set up the communication channel in the integration builder (configuration) for the external system. The idoc is waitung in XI to transport. So the step XI-> external system causing problems.
    My settings are:
    adapter type: idoc
    transport protocol: idoc
    message protocol: idoc
    adapter engine: integration engine
    rfc destination: xyz (is working fine)
    interface version: sap release 4.0 or higher
    port: ??
    sap release 46c
    My problem is the port. should i set up a port in idx1? But the external system is not an sap system and so i dont have a client.
    In XI i have defined a port in transaction we21 (transactional rfc) for the external system with rfc destination xyz. But if i enter that port in communication channel i got error messages.
    Thanks for any help.

    Hi christian,
    i'm also working in IDOC scenario between ECC to XI to MDM, if u have any document or snapshot then pls fwd it to me.
    [email protected]
    Thanks,
    Jitendra

  • HUGE amount of data in flat file every day to external system

    Hello,
    i have to develop several programs to export all tables data in a flat file for external system ( EG. WEB).
    I have some worries like if is possible by SAP export all KNA1 data that contains a lot of data in a flat file using the extraction:
    SELECT * FROM KNA1 ITO TABLE TB_KNA1.
    I need some advices about these kind of huge extractions.
    I also have to extract from some tables, only the data changes, new record, and deleted records; to do this I thought of developing a program that every day extract all data from MARA and save the extraction in a custom table like MARA; the next day when the programs runs compare all data of the new extraction with the old extraction in the ZMARA table to understand the datachanges, new records or deleted record.. It's a righ approach? Can have problems with performance? Do you now other methods?
    Thanks a lot!
    Bye

    you should not have a problem with this simple approach, transferring each row to the output file rather than reading all data into an internal table first:
    open dataset <file> ...
    select * from kna1 into wa_kna1
      transfer wa_kna1 to <file>
    endselect
    close dataset <file>
    Thomas

  • Is it possible to integrate LSO 600 with an external system without SAP PI?

    Hi,
    as asked in the title, i am wondering if it is possible to integrate LSO 600 with an external (non-SAP) system without using SAP PI/XI. The external system is a middleware application which can handle RFC functions, IDocs besides the usual web service communications.
    However, i don't know how LSO and SAP PI are integrated so i wonder if their interfaces are such that instead of SAP PI another middleware could be used.

    Web Services are used. If you were to implement the services in your 3rd party middleware and configure SAP to call it, I suppose it is possible. The external course catalog can be used for CourseEnrollment and LearningProgress. See the application help for details. Don't expect to receive support from SAP with such a setup however.

  • Integration of Financials with external systems

    Hi,
    I am strugling with an implementation where the client is not sure if Oracle Financials suits his business processes
    Overview of situation on Hand:
    We do not have the product installed as yet at the client site
    Products of Oracle Financials to be used :General Ledger, Account Receivable, Account Payable, Fixed Assets,India Localization Patch
    Products of Oracle Applications NOT available for use :
    Purchasing, Inventory, Order Management
    (All these areas are being covered by developing a customized Bespoke system)
    1.     Is it possible to use Oracle India Localizations (with regards to the excise functionality, for e.g. claiming of ModVat, the various excise registers that are to be maintained for e.g. RG23 A, RG23C,etc ) in the above situation (without implementing Purchasing, Inventory, and Order Management?).
    2.     Further, while passing the Vendor’s Bills (in Oracle Payables), one of the criteria for PO Matching is to check if the ModVat has been claimed. Is this functionality available in Payables with the India localization patch?
    3.     Does Oracle India localization cater for VAT requirements?
    4.     Is an Open Interface available to transfer Purchase Order data from external systems to Oracle Purchasing tables (which are shared by Oracle Payables the names being PO_HEADERS, PO_LINES, PO_LINES_LOCATIONS, PO_DISTRIBUTIONS, PO_DISTRIBUTIONS_AP_V (VIEW OF PO_DISTRIBUTIONS), PO_RELEASES (Blanket Purchase Orders), PO_LOOKUP_CODES) at transactional frequency? However, if the oracle purchasing module is not being used, can the interface tables of Purchasing be used?
    5.     An open interface (Payables Open Interface) is available in Oracle Payables to import the Invoices from external systems. While importing these invoices, does the system expect to have the Purchase Order data in the PO tables mentioned in the point above?
    6.     Is an Open Interface available to transfer Quantity Received/Accepted data from external systems to PO_line_locations table to enable carrying out of 2/3/4 way matching of Purchase orders with invoices? Can the 4 way mathcing be carried out in AP by just importing Purchase Order data??
    7.     Can the Credit Card Transaction Interface be used for uploading employee expenses / advances settlement (not carried out via credit card) directly from feeder system?
    8.     Is it possible to use Open Item interface (including import concurrent program) even though Inventory module is not being installed ? If yes, then we would like to use this interface for updating Item master from bespoke system..
    9.     Can Auto Invoice API be used to import invoices from feeder system / legacy system (via RA interface Tables) into the Oracle receivable invoice tables? Is order number as column a prerequisite for successful completion of Auto Invoice API?
    10. Where should the Masters be kept....OF of Bespoke
    eg. Employee master, Inventory Item Master etc.
    11. What is the best strategy for keeping the data in Bepoke and OF related to Masters in sync?
    I have got various answers to these questions .....but some seem to contradict each other.
    PLEASE HELP!!
    Thanks,
    Kamana

    Dear Kamana,
    Can you send me the replies given by our other Forum Friends, let me analyze the entire stuff and get back to you with a single consolidated bible for all your questions.
    Gopal

  • Calling a web service in external system from SRM

    Hi folks,
    A web service is created in the external system and I need to access this web service from a BADI. Can you tell me how can I call this web service (the external system is giving me a URL) and how I'll get a return. Please let me know in detail.
    Thanks,
    Prem

    Prem,
    Hi. You can call the service via HTTP protocol. Pass them values (SET_DATA), and receive a response (GET_DATA), via xml/html.
    In your code you would need to create the xml data to pass them, and evaluate the returned xml.
    Process...
    Data setup
    1) Create the XML to send them
    Working with the external service
    2) Open the HTTP connection
    2a) cl_http_client=>create_by_url (IF_HTTP_CLIENT)
    2b) lr_client->authenticate
    3) Call the to send them the XML
    3a) lr_client->request->set_data
    3b) lr_client->send
    4) Call the lr_client->receive to return the response
    5) Close the connection lr_client->close
    Data evaluate
    6) Evaluation the returned XML and process.
    Hope this helps
    Cheers
    Rob
    Code example below.. (There are loads of SAP examples depending on which release you are on).
    Process the call to the HTTP client - logic copied from RSHTML01     *
    Open IF_HTTP_CLIENT
      call method cl_http_client=>create_by_url
        exporting
          url                = l_url
        importing
          client             = lr_client
        exceptions
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          others             = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          raising oops.
      endif.
    Authenticate the user
      if not g_int_type-usr is initial.
        move: g_int_type-usr      to l_user,
              g_int_type-password to l_password.
        call method lr_client->authenticate
          exporting
            username = l_user
            password = l_password.
      endif.
    Allow for Cookies
      lr_client->propertytype_accept_cookie = lr_client->co_enabled.
    Set the server protocol
      select single gsval into l_server_protocol
        from z77s0
          where grpid = c_grpid
          and   semid = c_server_protocol.
      if sy-subrc eq 0
      and not l_server_protocol is initial.
        move l_server_protocol to l_st_server_protocol.
        call method lr_client->request->set_header_field
          exporting
            name  = '~server_protocol'
            value = l_st_server_protocol.
      endif.
      Send out the XML
      Set body to XML data
        lr_client->request->set_data( g_xxml ).
        save_xml( i_role = cl_xml_document=>c_role_oreq ).
        l_request_length = xstrlen( g_xxml ).
      If Data is sent through then we need certain flags set
        lr_client->request->set_header_field(
                                   name = 'Content-Type'
                                   value = zcl_tem_bsp=>c_xml_content ).
        call method lr_client->request->set_header_field
          exporting
            name  = '~request_method'
            value = 'POST'.
      Set length of string to the header fields
        if not l_request_length is initial.
          move l_request_length to l_st_request_length.
          lr_client->request->set_header_field(
                                    name = 'content-length'
                                    value = l_st_request_length ).
        endif.
      Send the request
        call method lr_client->send
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            http_invalid_timeout       = 4
            others                     = 5.
        check_for_error 'Send'.
      Receive the response
        call method lr_client->receive
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            others                     = 4.
        check_for_error 'Receive'.
      Determined returned XML or HTML
        g_xxml = lr_client->response->get_data(  ).
      Determine the header fields for failure validation
        if lr_client->response->get_header_field( '~status_code' )
              between 200 and 299.
          save_xml( i_role = cl_xml_document=>c_role_ires ).
        else.
          l_status_code =
            lr_client->response->get_header_field( '~status_code' ).
          l_descript_1 =
            lr_client->response->get_header_field( 'error' ).
          l_descript_2 =
            lr_client->response->get_header_field( 'errortext' ).

  • Office 365 ECT to Azure Cannot connect to the LobSystem (External System)

    I've tried to set up External Content Types to an Azure SQL database but when I access my page I get an error.
    I basically followed http://www.pointbeyond.com/2012/12/31/surfacing-data-from-sql-azure-in-sharepoint-2013-online-office-365
    Can you help me work out what i've not done, I don't know where to configure Azure firewall as this message suggests. The error is below:
    Cannot connect to the LobSystem (External System). Reason: 'Cannot open server 'uf7prto4sj' requested by the login. Client with IP address '157.55.225.241' is not allowed to access the server. To enable access, use the Windows Azure Management
    Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect. Login failed for user '*REMOVED*'. This session has been assigned a tracing
    ID of '9389a67c-dc78-4134-9167-545ec963be3a'. Provide this tracing ID to customer support when you need assistance.'
    Correlation ID:9a3fb39c-d0ea-1000-8099-2fad02009a01

    Hi,
    It depends, if it's a static IP address for your machine, it should be OK for this one IP address; if it is a dynamic IP address in a range, you can input the IP address range which contains this mentioned IP address
    157.55.225.241, or update the changed address to date.
    http://stackoverflow.com/questions/8543653/windows-azure-client-with-ip-address-xxx-xxx-xxx-xx-is-not-allowed-to-access-t
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you
    have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Cannot "Complete" Service Desk Messages in External System

    Hello Solution Manager Experts!
    I have an issue where we had two Solution Manager Service Desks and needed to consolidate into one.  As part of that exercise, we set up an external service desk relationship between the old service desk (call it SID OLD) and the new service desk (call it SID NEW).  When sending the service desk messages from OLD to NEW via the action (Send to External Service Desk) we can only set the status to "Accepted", and the status "Completed" is grayed out for the service desk message that resides in the NEW system.  In the NEW system, under the Transaction Details-->Transaction Analysis there an error indicating that the message can only be closed by the external system (OLD).  However, in the OLD system, the original message is already set to "Complete", and I am no longer able to do anything with the original service desk message.  Even if I make another copy of the message in the OLD system and resend the copy to the NEW system (as status "new"), I still cannot mark the service desk message "Complete".  In the OLD system, even of this copy of the service desk message is something other then Complete, I cannot mark it complete and synchronize with the new system.  I get an error in the old system that says that "The problem message is locked in external system SM_NEWCLNT030_SERVDESK", which is obviously a reference to the RFC destination for the new external service desk.
    How can I go back into the NEW system and change the message to "Complete"?  Additionally, even if I could close the message in OLD and synchronize with NEW, I am curious how I would get around this issue if the OLD Solution Manager service desk needed to be decommissioned, and was no longer available, this would still be an issue of closing out service desk messages to a status of "Complete".  Is there some kind of program I can run agains certain service desk message numbers which will "break" that relationship with the OLD service desk so I can set those messages that originated in OLD to be "Complete" in NEW?
    Any service desk messages that are created directly in NEW can be closed out to "Completed".  This is an issue that is only a problem with  messages that originated in OLD.  I hope this makes sense. 
    Your input is greatly appreciated.
    Thanks!

    I found a workaround by going into the status profile in the NEW system, double clicking on the CONF status, changed "To be distributed"  to "allowed" and "set".  Then I backed up one screen so I could see all my status's; and then in the last column of the CONF status in the column labled "Trans.", I set it to RELE instead of FINI.
    This enables me to set the "completed" messages from my legacy (OLD) system to "completed" in my (NEW) system.  Once I have all the status's set, I'll set the status profile entry for CONF back to the way it was.

  • Create Support Message from external system

    HI experts,
    I would like to change the Create Support Message screen(Menu->Help->Create Support Message) and add three fields namely: Category, Subject and Solution Number because currently these fields are not populated in the Service desk if I create message in this way unlike in using NOTIF_CREATE tcode where there are selection fields for these.
    Also, I'm creating the support message from an external SAP system and the messsage is sent to the Solution Manager system. The NOTIF_CREATE tcode does not exist in the external system as well as the whole package DSWP.
    Please let me know you rthoughts on this.
    Thanks
    Eric

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

Maybe you are looking for