Sap DMS on MacOSX part 2 – ECC6

I’ve already told about problematic DMS on JAVA SAP GUI for Mac OSX (here).

This time the problem was: after SAP upgrade to ECC6 it was impossible to open documents in JAVA SAP GUI - the sap error was the 26266: impossible to resolve %AUTO% (My solution in this post applies only to the Mac OSX version, but the correction has to be similar on Linux/Solaris too).  Of course I searched on OSS, forums and so on, but nothing helped me, so I decided to use the hammer.

I created an enhancement in the Program LCV120F05 using the implicit enhancement spot at the beginning of the FORM appl_start_exec, and this is my simple code:

ENHANCEMENT 1  Z_LVC120F05.    "active version
*
if gs_frontend-winsys = 'MF'.
  pf_application = 'open'.
endif.
*
ENDENHANCEMENT.

I check for frontend type and if it’s Mac OSX (‘MF’) I change the %AUTO% content in the application that has to open the document. The OS will open the document with the default program for the specified file.

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Posted lunedì, novembre 26th, 2012 under Sap.

Leave a Reply