Sap object locked into change request

My problem was caused by an all-systems-crash that thrown off coherence, because data on dev, qas and prd were restored from different time situations. In particular there was some abap objects that were not inserted in change requests anymore while saving them, but they apparently weren’t in a cr. I found that those object were locked in a change request released task, so I cannot take them in a new change request.

As solution to the problem I used the transaction SE03, request/tasks – unlock objects (expert tools). All tasks containing the objects to rescue, not only the main change requests, must be unlocked. Then I could save workbench changes of those objects in a new cr.

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Filemaker GO background image on iPad

I had to solve this little but annoying problem starting to develop solutions based on Filemaker on iPad. Once I add a background image to my Filemaker format that image results cut at about half of its height when I open the database on the iPad, via Filemaker GO.

The problem could be solved if the background image is NOT placed between two sections of the format (i.e. header and body). For a correct visualization the image must be contained in only one section!

Greet.

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Sap DMS on MacOSX

I faced this simple but annoying problem lately: technical drawings stored in Sap DMS have to be accessed from both sap gui for windows (on win it’s also possible the Sap Easy DMS plugin of explorer) and sap gui for java on MacOSX. At the “view” command on the sap gui the drawing file (pdf in my case) is transferred to the frontend and then opened… but the directory where the sap gui copy the file is determinated by a Path customized under “Define data carrier type server, front end” in Transaction: DC20. But if you set this Path for the data carrier type “PC” it will not work on both Win and Mac (yes, Sap on standard functions for determinate the frontend type returns “PC” also for MacOSX, this is the ral problem…).

The solution is to simply leave blank the field Path for the data carrier type “PC”. The sap gui will copy the dms files in its temp directory.

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Free Facebook fans web services

Facebook is part of our lifes, and as web developer I had to develop on the Fb plattform, API, plugins and tabs for Fan Pages/Official Pages. But when you develop a fanpage it’s inevitable: the client will ask some sort of free advertising to promote his new Page.

Preface: when you create an Official Page first of all you have to

1) invite via facebook* or via mail a selected audience/friends that can like your Page, to create a substrate of fan to start from; *UPDATE: Facebook suspended the page suggestion method, even for page admins, even if it left the link “suggest to friends”, we can now only “share” the link of a page (or pay for a fb advertise campaign)…

2) fill the Page with rich, interesting and fresh contents, create pools, promotions for users, etc

You can’t think to start from few fans and no contents and only promote on free services, almost useless. But if you created and launched your Page properly as described and want to reach a “critical mass” of fan to create a reputation for your Page – that level/number that create some sort of trust into potential fans/likers, usually some thousand fans – then you can then try those services (btw if you have a budget > 0 you can first think to a fb adv campaign or even “buying” some fans, but this is not our topic now).

Here you are a little review of some free Facebook fans services (the first is a bit sponsored, I developed some modules):

  • FreeFanLikes a simple and well designed service that works with a “like to be liked” logic: you like a pair of dozens pages from a cute interface (you can even skip or report inappropriate contents for some of them) and than you can insert and expose your Page on the site. No login requested, only facebook app permission to select what you already like and an email to be reminded of the expiring of the Page inserted (email is not checked so you can give a fake if you don’t want the alert); the Page stays active for three month and than you can re-insert that in the same way… Easy and I suggest it!
  • FreeFacebookFans the site section where you can achieve free fans is a little visitors attracting trick, in fact it is a promise to “suggest” your page to other fans of the site facebook page once I’ll have liked it; they also publish every week a list of the new pages inserted on the homepage… but the real site business is the facebook fans invite selling, so I can’t really consider this site a “service”.
  • Earnfans similar to freefanlikes, it is simple but not too clear: you can insert your page to the earnfans database by giving your like to a list of 10 pages; you cannot skip a page of the list and it’s not clear how long your page stays on the database of likeable pages… by the way easy, and no registration is needed: give it a try.
  • Twiends is a popular credit based sevice, you earn credits giving like to Facebook Pages or becoming follower on Twitter (or, off course, buying it) and you then decide how many credits to give in exchange of fans or followers for your own fb Page/twitter account like or follow (also you can get website visits or youtube views). You have to create an account and then connect with facebook/twitter. With Safari I cannot connect with facebook due to a bug. It can give immediate return to the “investment” of using it but it is mainly focused on twitter and it is often used with fake accounts. UPDATE: Twiends suspended the fb page service due to problems with Facebook.
  • Fantunnel another credit based service: cute graphic, doesn’t need registration, only facebook app access that ask for public, email(I hate this) and stram publish authorizations (when I tryed it I don’t grant the last two and the site crashed…but refreshing all turns ok). The best value is that it’s possible to target fans with nationality. Once you grant permissions you have a dashboard where you can like pages to earn the amount of credits that page offers (or as always you can buy credits), and a section were to publish Some critics: a lot of pages doesn’t show the like button, seems like a problem with facebook api/like button…and when you logoff from the site you also automatically logoff from facebook-annoying! A little buggy.
  • Llinks a mix of “like to be liked” and “credits” service: after you have liked all the “VIP” pages on the home you can insert yours but you have to (buy or) earn credits by likeing other “Regular” pages in order to have an high credit amount at the end of the day; if your page is one of the higher credits page of the day will be inserted on the VIP section for (only) one day. No registration needed. Very bad interface design. Too complicated=ineffective.
  • LikeStat “like to be liked”/”credits” mixed service that has the possibility to view the like increase of the inserted pages on a graph (but it’s not clear if the statistics are about likes received on Likestat or your general trend). You only have to grant facebook permission to the site, including email details. Pages are on a list ordered by number of credits earned by like (or buyed). Interesting is the fact that you can sell your credits to your facebook friends for money.
  • Likeexchange ugly “like to be liked” young service. It needs registration and facebook permissions, in two separate steps. Usability is unknown on this site. Good ideas but bad implementation.

___

A final note goes to those sites audience: most of users are Facebook Page owners therefore an high percentage is represented by developers/web designers/marketing consultants and finally there are advanced Facebook users that created an official Page.

Hope you enjoyed the article!

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Install Windows Phone 7 Developer tools on Windows XP

Lately I’m trying windows phone 7 as smartphone OS, and I’m very satisfied of it: responsive, crash free, well designed and I loved the graphic theme… It do what it has to! Being a programmer I wanted also try to develop something on this new platform, but my vm on mac is a win xp, for performace reasons, and Microsoft developer tools for WP7 don’t allow (by default) the install on Windows XP. To overcome this problem I found a little but very useful post from www.brucebarrera.com :

  • Download Windows Phone 7 dev tools from here
  • Extract the contents of the package to a specified folder by using vm_web.exe /x
  • from the extracted files open baseline.dat with a text editor
  • go to the section [gencomp7788]
  • change the values of  InstallOnLHS and InstallOnWinXP from 1 to 0
  • save the file baseline.dat
  • Run setup.exe /web from the folder you extracted to in step 2

Thanx to Bruce Barrera for the tip!

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Local Print on SAPGUI for java (Linux – MacOSX): Sap output device configuration

I have some clients starting migrating to MacOSX for daily office use, and they need the Sapgui, and off course they want to print on their local printers. I had them installed the latest Sapgui for java (rel. 7.20 at this time) but they couldn’t print on local printers with the classic LOCL/LPT1 sap device (They still could print on sap server connected printers, host spooler access method “C”).

In order to print on local printers on Sapgui for java we have to:

  • add “G” to the Host Spooler Access Methods Sap list, using Report RSPO0075 (if you don’t find this report follow the Sap Note 821519 Instructions);
  • create a new output device in Transaction SPAD with device type POST2 and access method “G”, as shown on the following images.

Further documentation here!

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Print with SAPSprint

A brief post for a little trick I used lately… The scenario was: the client have to print via sap but the printer isn’t neither connected to sap server nor a network printer. The method I adopted is SAPSprint, a sap windows utility that transform the pc where is connected the printer to a printer server compatible with sap. Once you installed SAPSprint there’s only a pair of step to complete:

  • Share the printer from the windows sharing;
  • Create a new printer on SAP, via Tx SPAD, with those parameters:
    - On DeviceAttributes Tab:
    Device Type – SAPWIN
    Device Class – Standard Printer
    - On Access Method Tab:
    Host Spool Access Method: S: print using SAP protocol
    Host Printer: <network shared printer path> (i.e.: \\PC12\SHAREDPRINTER)
    Destination host: <name of the pc sharing the printer> (i.e.: PC12)
Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Asp Excel integration: open/close xls files on server – read/write cell

This is a particular scenario: I have to use an excel worksheet as calculation engine on a web page. MS itself discourages the asp-excel (application) integration but this is the easiest method I found. Here are my test’s steps and the code for the test, in asp:

  • Create an Excel Object and open a worksheet of an xls file;
  • 1
    2
    3
    4
    5
    
    Set ex = server.CreateObject("Excel.Application")
    If IsObject(ex) Then
    ex.Application.DisplayAlerts = False
    ex.Application.Visible= True
    ex.Workbooks.Open("C:\Inetpub\wwwroot\testExcel\Test.xls")
  • Write a pair of values on two cells (I prepared a third cell with the SUM formula for these two cells, to test the formulas execution);
  • 6
    7
    
    ex.ActiveSheet.Cells(1,1).Value = "4"
    ex.ActiveSheet.Cells(1,2).Value = "3"
  • Save (that means execution of the formulas, the file Test1.xls is only for cache, the real file saved is the same Test.xls) and close the file and Excel Application;
  • 8
    9
    10
    11
    12
    13
    
    ex.Save("C:\Inetpub\wwwroot\testExcel\Temp1.xls")
    ex.Workbooks.Close
    ex.Quit
    Else
    Response.write("Can Not Connect to Excel.Application")
    End IF
  • Reopen the xls file, as first point;
  • Read the cell of the formula result;
  • 1
    
    Response.write(ex.ActiveSheet.Cells(4,4).Value)
  • close the file and Excel Application, as before;

The great limitation of the solution is that Excel must be installed on the web server.

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Android 2.2 Froyo on Motorola Milestone – how to (not official version)

(Obiouvsly) I am a Motorola Milestone owner (I friendly hate touchscreen keyboards) and during this summer holidays I spent a little time to find how to have my smartphone updated to Android 2.2, aka Froyo. Motorola haven’t released an official update yet but I can’t wait :) …here is a solution (follow these steps at your own risk!) [UPDATED 14-10-2010]:

  • wipe your phone/factory reset (always have a backup…);
  • Download OpenRecovery from here (latest version is 1.04a); UPDATE: download new open recovery here: androidiani-openrecovery, copy the contents of the zip into the root of the sd card;
  • Download the custom 2.2 Rom, MotoFrenzy, from here (by now is the  version 0.52 and the only issue is a focus disfunction of the camera), CyanogenMod 6 for Milestone from here (here it is the official thread on modmymobile, here the official page from the developer nadlabak), and copy the zip into: sd card/openrecovery/updates/
  • Start OpenRecovery: reboot in recovery mode (shutdown the phone, press camera button + stanby button, when a triangle appear press volume up + camera button), now select “apply update.zip” and you are in OpenRecovery menu;
  • Install the rom from OpenRecovery menu->nandroid->restore image->motofrenzy (or the name of the directory you copied the rom files of point 3); use OpenRecovery Apply Update menu to install the custom ROM;
  • Done! …Enjoy flash (download the flash player from the market), app to sd, jit, etc! Now with working camera and better battery life!
Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
Leave the first comment

Sap Inbound idoc folder rfc processing script / Batch (on Windows server)

This time the problem is: I had to periodically read an ftp folder for inbound idoc files to process with Sap; the simpliest way to process an inbound idoc file is with a call of the program startrfc.exe, that you can find on every Sap installation executables folder, passing the following parameters:

startrfc -3 -d <sys_id> -u <sap_rfc_user> -p <password>
-c <mandt> -l <login_language, E for English> -h <sap_host_name>
-s <system_number> -F EDI_DATA_INCOMING
-E PORT=<edi_port> -E PATHNAME=<file_path>

But this call process only a single file, it doesn’t admit “<drive>/<file_directory>/*.*” like strings as PATHNAME.

I solved the problem using the dos command “FORFILES” (scheduled every n minutes); here is the batch script:

FORFILES -p <folder_path> -m * -c "startrfc -3 -d <sys_id>
-u <sap_rfc_user> -p <password> -c <mandt> -l <login_language>
-h <sap_host_name> -s <system_number> -F EDI_DATA_INCOMING
-E PORT=<edi_port> -E PATHNAME=\\<host>\<folder>\...\\@FILE"

In my specific scenario there was some other points to take care of:

  • I had to read from a network smb shared folder (of an ftp server) but the <folder_path> is not admitted as “\\<host>\<path>” so I had to map a network drive;
  • at the opposite front the PATHNAME of the EDI_DATA_INCOMING function call doesn’t admit mapped network drive so I built the files path this way: \\<host>\<folder>\…\\@FILE , instead of simply using the @PATH of the FORFILES command; It’s mandatory to use a double back-slash \\ before the @FILE parameter to get the script working.
  • the -m * parameter is used as mask for file names, I used “*” to process all files, even without extensions.


As ever I hope this could help someone out there! :)

Share this post:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn
  • Tumblr
One comment so far, add another