Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from Gravian on Sep 6 at 4:12 AM Hello, I am trying to implement an SAP connector for my company's external output management system using callbacks. To do so I intend to use JCo. As a first step I tried to call SXMI_XOM_RMGS_QUERY but that gives me: "com.sap.conn.jco.AbapException: (126) NOT_LOGGED_ON: NOT_LOGGED_ON". So I googled about this and found out that I have to logon to the XOM SMAPI using BAPI_XMI_LOGON. So I tried the following before calling the XOM function: func = dest.getRepository().getFunction("BAPI_XMI_LO GON"); func.getImportParameterList().setValue("EXTCO MPANY", "MyCompany"); func.getImportParameterList().setValue("EXTPR ODUCT", "MyProduct"); func.getImportParameterList().setValue("INTER FACE", "XOM"); func.getImportParameterList().setValue("VERSI ON", "0.2"); func.execute(dest); But I still get the NOT LOGGED ON message. Next thing I tried was giving the user I use for the destination all profiles associated with xmi stuff but that didn't do the trick either. Does someone have an idea? Greetings. | Reply to this email to post your response. __.____._ | _.____.__ |