We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] Problems Logging On xom smapi With BAPI_XMI_LOGON

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
© 2016 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
Gravian  
 
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language