Use KM ABAP API without XI/PI

Hello KMC Gurus,
I try to use the <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db356ceb-0701-0010-ff8f-af07e78588a0">ABAP API for Knowledge Management and Collaboration</a> from a WebAS ABAP 7.00 (NW2004s). But I'm facing the problem that we don't have XI or now called PI installed. As I've read in OSS Note "883948 - NW 7.0(2004s): Inst.Add.Java Usage Types/Software Units" the Usage Type PI can't be installed afterwards. Is there a possibility to use the KM ABAP API also without XI/PI in place?
Best regards
Gregor

Hi Gregor,
The articel you mentioned above is a preview to the next major release which is not yet available. Unfortunately in NW2004s there is no ABAP API available. But beginning with NW04s, SPS13 there will be at least WebServices available for KM functionailty. You can use them to generate your own Web Service Proxy in ABAP to connect to KM.
best regards,
Martin

Similar Messages

  • Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's

    Hi all,
    I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve   all of the fields excluding the Lookup[Hierarchy] fields like-  FACILITY CODE  etc...
    please update me if anyone has any experience on this.
    Thanks and regards,
    Aastha Mehrotra

    Hi ,
    Any one worked in the MDM API to retrieve Hierarchy fields ???
    Regards,
    Arun.

  • Read data from MDM For Lookup and Flat table using MDM ABAP API

    Hi,
    I have requriment to read data from MDM from FLAT and Lookup table using MDM ABAP API. My design  is like this ,
    I have one ITEMS (Main table in MDM) and inside that i have one Lookup flat table ITEM_TYPE , my requriment is to read Item number and its related Item type.
    From ABAP.
    Please help if any body has any idea.
    Regards,
    Shyam

    HI Guys,
    I found my solution by myself. Below is the solution , hope this will help others:-
    Retrieve data from MDM  using MDM ABAP API.
    Step- 1. Create structure in SAP with the same name as that of MDM field code for MDM Main table.
    Step-2. Create another structure in SAP having all  lookup fields of MDM , fieldname in ECC must be same as that of MDM field
    code.
    Step-3.Create structure in SAP for  individual lookup field(Single Field only)   with the same name as MDM Field code.
    Step-4.
    DATA: IT_QUERY            TYPE STANDARD TABLE OF MDM_QUERY,  "MDM_QUERY_TABLE,
          WA_QUERY            TYPE  MDM_QUERY,
          WA_CDT_TEXT         TYPE  MDM_CDT_TEXT,
          IT_RESULT_SET_KEY   TYPE  MDM_SEARCH_RESULT_TABLE,
          WA_RESULT_SET_KEY   TYPE  MDM_SEARCH_RESULT,
          WA_STRING           TYPE  STRING.
    DATA:<Internal table> TYPE STANDARD TABLE OF <SAP Str Having all LOOKup Fields>    
    DATA: :<Internal table>TYPE STANDARD TABLE OF <SAP Str one LOOKup field>,
         <Workarea> LIKE LINE OF :<Internal table>.
    *PASS LOGICAL OBJECT NAME.
    V_LOG_OBJECT_NAME = 'Logical object name defined in Customization'.
    Define logon language, country & region for server
    WA_LANGUAGE-LANGUAGE = 'eng'.
    WA_LANGUAGE-COUNTRY = 'US'.
    WA_LANGUAGE-REGION = 'USA'.
    TRY.
        CREATE OBJECT LR_API
          EXPORTING
            IV_LOG_OBJECT_NAME = V_LOG_OBJECT_NAME.
    ENDTRY.
    CONNECT to repository. Apply particular logon language info
    CALL METHOD LR_API->MO_ACCESSOR->CONNECT
      EXPORTING
        IS_REPOSITORY_LANGUAGE = WA_LANGUAGE.
    *NOW PASS ITEM NO AND GET KEY FROM MDM.
    CLEAR WA_QUERY.
    WA_QUERY-PARAMETER_CODE  = <MDM FIELD CODE>. "Field code
    WA_QUERY-OPERATOR        = 'EQ'. "Contains
    WA_QUERY-DIMENSION_TYPE  = 1. "Field search
    WA_QUERY-CONSTRAINT_TYPE = 8. "Text search
    WA_STRING                = <Field Value>.
    GET REFERENCE OF WA_STRING INTO WA_QUERY-VALUE_LOW.
    APPEND WA_QUERY TO IT_QUERY.
    CLEAR WA_QUERY.
    *PASS ITEM NUMBER AND GET RELATED KEY FROM MDM.
    TRY.
        CALL METHOD LR_API->MO_CORE_SERVICE->QUERY
          EXPORTING
            IV_OBJECT_TYPE_CODE = <MDM Main Table>
            IT_QUERY            = IT_QUERY
          IMPORTING
            ET_RESULT_SET       = IT_RESULT_SET_KEY.
      CATCH CX_MDM_COMMUNICATION_FAILURE .
      CATCH CX_MDM_KERNEL .
      CATCH CX_MDM_NOT_SUPPORTED .
      CATCH CX_MDM_USAGE_ERROR .
      CATCH CX_MDM_PROVIDER .
      CATCH CX_MDM_SERVER_RC_CODE .
    ENDTRY.
    Pass record id into keys.
    LOOP AT IT_RESULT_SET_KEY INTO WA_RESULT_SET_KEY.
      WA_KEYS = WA_RESULT_SET_KEY-RECORD_IDS.
    ENDLOOP.
    WA_RESULT_SET_DEFINITION-FIELD_NAME = <Look field name>.
    APPEND WA_RESULT_SET_DEFINITION TO IT_RESULT_SET_DEFINITION.
    CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE
      EXPORTING
        IV_OBJECT_TYPE_CODE      = <MDM Main Table>
        IT_RESULT_SET_DEFINITION = IT_RESULT_SET_DEFINITION
        IT_KEYS                  = WA_KEYS
      IMPORTING
        ET_RESULT_SET            = IT_RESULT_SET.
    LOOP AT IT_RESULT_SET INTO
            WA_RESULT_SET.
    *PASS KEYS INTO MAIN TABLE TO GET Structure for FALT or Look up Table
      TRY.
          CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
            EXPORTING
              IV_OBJECT_TYPE_CODE = <MDM Main Table>
              IT_KEYS             = WA_KEYS
            IMPORTING
              ET_DDIC_STRUCTURE =<SAP Strct having all Look up fileds of MDM>         
      ENDTRY.
      LOOP AT <SAP Strct having all Look up fileds of MDM> INTO <Work area>.
        CLEAR WA_KEYS.
        APPEND <Work area>-field name TO WA_KEYS.
        CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
          EXPORTING
            IV_OBJECT_TYPE_CODE = <MDM Lookup table name>
            IT_KEYS             = WA_KEYS
          IMPORTING
            ET_DDIC_STRUCTURE   = <Single Structure in SAP For Lookup field>.
        READ TABLE <Single Structure in SAP For Lookup field>. INTO <Work Area> INDEX 1.
    Here you can get the value of realted lookup fields associated with main table data.
      ENDLOOP.
    ENDLOOP.
    LR_API->MO_ACCESSOR->DISCONNECT( ).
    Edited by: Shyam Babu Sah on Nov 24, 2009 4:52 AM

  • Using java mail api without servlets, I ve sent an html mail.  In that Ive

    Using java mail api without servlets, I ve sent an html mail. In that Ive specified action to the servlet. On click, it shows url as file:///C:/Documents%20and%20Settings/sirivanig/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/CNFHMDIT/updatemailerform%5B2%5D.htm instead of www.servername.com/....
    May I know the reason why it shows like this.
    Do I ve to send htmlmail through servlet so that it does show proper url?

    Possibly your mailer is restricting your access to URLs to prevent
    various scams. Without the details, it's hard to know what's going
    wrong.
    Have you tried with a different mailer?

  • Can I use ant's api without using javascript ?

    Can I use ant's api without using javascript and which tasks we cant do without javascript in ant's build file?
    eq:
    jar=project.createTask("jar");
    jar.setDestFile(new java.io.File(project.getProperty("lib")+"/myJarFile.jar"));
    jar.setBasedir(new java.io.File(project.getProperty("classes")));
    jar.setIncludes(project.getProperty("GenericDirStructure")+"/**");
    jar.setIncludes("META-INF/**");
    jar.perform();
    can I create above jar without using javascript i. e<script language="javascript"> in build.xml file.
    Thanks,
    Archan

    Archana144 wrote:
    hello georgemc
    How to use ant's api without javascript in build.xml file because it gives error if I tries to do something like
    project.createTak("echo").in build.xml..etc ..without including this in <script language="javascirpt">
    And I cant use <jar> task directly because ..I want to crete multiple jar files depending on some configuration done in properties files..so I m doing this jar creation in loop.
    Thanks,
    Archan
    Edited by: Archana144 on Aug 13, 2008 6:00 PMHave you read all the Ant documentation? The <script> task was only added in 1.7, before that, there was no using Javascript in build files

  • How to use MDM ABAP API?

    Hi Guys,
    I want to use ABAP API for manipulating MDM records(EX Adding two field values and assign into another field value).
    Can anybody guide me step by step process?
    Best Regards
    Devaraj PK

    Hi Devraj,
    Please go through this pdf:
    1. How To identify identical master data records using SAP MDM 5.5 ABAP API’s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
    2. MDM ABAP API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
    http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6831381053e10000000a422035/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/connectivity-ABAP+API&
    Pls rewrds if found helpful.
    BR,
    Alok Sharma

  • Is it possible to use LiveCycle ES APIs without deploying ?

    Hi.,
    Is it possible to use LiveCycle ES APIs (like form flattening) without deploying it in any application server.
    Can live cycle ES only be used with a server ?
    Thnks.,

    No. Adobe LiveCycle ES services must be run in one of the supported J2EE Application Servers.

  • Trigger MDM Workflow Using MDM ABAP API

    Hi ,
    I have requriment to trigger MDM Workflow from ABAP , Please suggest how to do it ?'
    Thanks in Advance.
    Shyam.

    Hi,
    Are you creating material in MDM using Data Manager or Portal. or Using ABAP API.
    If your workflow trigger Action is "Record Create" then it should trigger workflow as soon as new material is created. I don't see any problem in this.
    Regards,
    Shiv

  • PrintScreen Functionality using Java Print Api(without Robot)

    Hi Guys
    I have an issue to discuss,can any of you tell me that is it possible to take the screen shot of screen(not printing on paper) in java using Print Api .
    I have done it with robot but i want to do it without using Robot.
    Thanks
    Vipul

    Vipul wrote:
    can u please tell me how to implement it.i want to take the screenshot not printing a java container on paper.
    package test;
    * Screenshot.java
    import java.awt.*;
    import java.awt.print.*;
    import javax.swing.*;
    public class Screenshot extends JPanel {
        private Container container;
        public Screenshot(Container container) {
            this.container = container;
        @Override
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            container.print(g);
        //"main" only for Testing:
        public static void main(String[] args) {
            final JFrame f = new JFrame("Frame");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setSize(500, 600);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(new JTextField("Begin"), BorderLayout.NORTH);
            panel.add(new JColorChooser());
            panel.add(new JTextField("End"), BorderLayout.SOUTH);
            f.add(panel);
            f.setVisible(true);
            new Thread(new Runnable() {
                public void run() {
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException ex) {
                    JDialog d = new JDialog(f, "Screenshot of Frame");
                    d.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
                    d.setSize(f.getSize());
                    d.setLocationRelativeTo(null);
                    d.add(new Screenshot(f.getContentPane()));
                    d.setVisible(true);
            }).start();
    }

  • Matching Strategy by using ABAP API

    Hi,
    Actually we have a requirement to check the matching strategy by using MDM from R/3 ABAP program by using MDM ABAP APIs.
    In our case there would be bulk number customer's comes into R/3, We need to run matching strategy for De-Duplication of customers.
    By Using ABAP APIs, Is there any provision to pass Multiple customers at a time to MDM to find Matching records (I know it is possible for one Customer at a time).
    Thanks,
    Sekhar.J

    Hi Sekhar,
    You can refer the below:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0970df4-64a1-2910-5bbe-fa89ad6d1d5e
    I want to  retrieve matching result  using MDM ABAP API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
    Hope it helps.
    Thanks,
    Priti.

  • Use VirtualBench API without LabVIEW. Example: Python, DLLs, etc.

    Hello,
    I would like to know if there is a way to use the VirtualBench API without LabVIEW?
    Like using python or something.
    Thank you
    Solved!
    Go to Solution.

    We just released version 1.1 of VirtualBench that adds a C API and a bunch of other features, see http://forums.ni.com/t5/VirtualBench/Announcing-free-firmware-update-version-1-1-adds-SPI-and-I2C/td....  With that you could use VirtualBench in your programming language of choice if you write the appropriate bindings.
    Zach Hindes
    NI R&D

  • ABAP API to store DATE value in MDM 5.5

    Hello All,
    Currently I am working on MDM 5.5 and need to have some suggestions on ABAP API Function module to store date values in MDM.
    We have interface from where we take the user input which updates the field value back in the MDM.
    On the basis of similar scenario we have "DATE" field on the interface which will update the date and time in MDM, also we are making use of ABAP API for development.
    The problem is that data type mismatch is happening between MDM and ABAP API,please let me know which ABAP API Function module should we use which simply accepts the DATE and TIME for every single record.
    Source code provided will be much more appreciable.
    Regards,
    Swapnil

    Hi Swapnil.
    In the same link provided by Sudhanshu, can you navigate to the node "Retrieving Complex Types".
    It has sample codes and MDM interfaces for TimeStamp, Time Stamp, User Stamp, Literal Date, Literal Time etc.
    As suggested, you can also try to use the type MDM_CDT_DATE_TIME.
    See the sample code provided in the link as below:
    Type: MDM Literal date:
        CLEAR lv_date.
        CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraldate-content TIME ZONE sy-zonlo INTO DATE lv_date.
        WRITE: AT (10) lv_date, '|'.
      Type: MDM Literal time:
        CLEAR lv_time.
        CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraltime-content TIME ZONE sy-zonlo INTO TIME lv_time.
        WRITE: AT (10) lv_time, '|'.
    Regards
    Bala

  • ABAP API  MDM  vs Standard MDM !!!

    Maybe the expression that I am using is not the best one and hope that someone can give me any clarifications.
    What I am intending is to know:
    1)     If using ABAP API is the best way to implement MDM purposes or if he’s an alternative to implement MDM using ABAP API?
    2)     In the proof of concept that I am implementing, I only use the principal components of MDM (Import, Data Manager, Syndicator and Console) in order to find the solution of our enterprise business.
    3)     Using ABAP API, I have to use programming method, implement by myself some functionalities in ABAP to connect and resolve my MDM purposes.
    4)     If am not using ABAP API (The way that I am proceeding right now) , I have to use the standard software component (enterprises services ) of the  R3 Systems in order to connect MDM with client systems.
    Thanks guy for your assistance. We just want to know the best way to proceed with MDM .

    The best method for implementing MDM depends on the requirements of each scenario.  For example, if you have a program in R/3 that needs to pull some data from MDM for analysis then perhaps using the ABAP API would be the best route to take.  If you need to transfer materials or vendors from MDM to various R/3 systems, perhaps using XI would be the best route to take.  I would recommend looking at the <a href="https://websmp106.sap-ag.de/~sapidb/011000358700004656452006E">IT Scenario Configuration Guide</a> to get a better understanding of SAP's recommended practices given different scenarios

  • ABAP API Configuration

    Hi All,
    I am trying to make use of ABAP API from my R/3 system.
    but I am not able to see the transaction MDMAPIC and many MDM related interfaces.
    what could be the exact problem?
    Any Service pack need to be added on normal R/3?
    My R/3 system version is 4.7 with kernel patch  NW2004 (640) dw patch 139 as per the How to guide.
    Even I tried with R/3 5.0 with the same kernel patch.
    I had maintained allow.ip at MDM server.
    waiting for the reply

    Hello,
    using the MDM ABAP API requires SAP BASIS 6.40/7.00 and the right Kernel Patch level.
    The API is not yet in SAP BASIS. That means it has to be downloaded from service marketplace and installed to the SAP System. After that the configuration will be there and the API is accessible.
    Hope that helps.
    Best regards,
    Daniel

  • MDM ABAP API  ISSUE ( server  is getting down )

    Hi Folks,
    I am trying to retrieve matching results using MDM ABAP API.
    I am spiting source and target records into lot of blocks dynamically
    in program. I am getting output 2 to 3 times if i can run program
    sequential after that server is getting down (before running program
    i am completely going out and rerunning).After server bring's up
    running couple of times and server getting down.
    Please help me how can i solve this issue.
    Thanks,
    Anil.

    Hi Anil,
    You can have a look at the below links can cross check the steps you have performed in establishing the connection correctly:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
    ABAP APIs: Error "The connection is not trusted"
    Comaptible ABAP APIs for MDM 5.5 SP6 Patch 1
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/tip%2b%2bMDM%2bABAP-API%2b%2bThings%2bto%2bRemember%2b(for%2bStarters)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
    Hope It Helped
    Thanks & Regards
    Simona Pinto

Maybe you are looking for

  • Process order with reference to sales order

    Dear All, Is there any provision to create a manual process order with reference to a sales order . Regards, venkat

  • Superdrive won't eject

    My superdrive worked fine until today. I put a cd in. It didn't pop up on the desktop. When I tried to eject it with the keyboard button, it wouldn't eject. I restarted. It sounded like it tried to eject, but didn't. I went to support and found the o

  • Help connecting to external LCD...

    I connected my mini dvi to vga to the lcd sharp 1080p. And it says signal not compatible? Anyone else getting issues? What am I doing wrong?

  • Can't read HD files with QT on Intel Mac? (only got sound)

    Alright so it seems like quiktime can't read HD files completely since it still manages to read the audio. I'm wondering if someone's got a solution for this...the files are in .mov format. Thanks

  • My music app wont bring up music

    When I try to access the factory installed music app at the bottom of the touch, i hit it, it opens just a blank white screen, after 10 seconds or so it just goes back to the main itouch menu. I have not been able to access musis for about a week. An