Wednesday, August 29, 2007

Front end services

This morning, one of my colleagues had a requirement, in which he wanted to process a file from presentation server and once done, the file system should move the file to a different directory, in the presentation server. We have done the same in application server using SYSTEM command, but to do the same, the following approach can be used.

Assuming presentation server is a Windows system.

  1. Create a .BAT file with following script. Assuming that we are moving a file called 'File1.txt' from C: to C:\Folder

    c:
    cd \
    move file1.txt folder\file1.txt
  2. Name the file as move_file.bat and store it in C:\ root
  3. Have the following piece of code for executing from ABAP code

    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
    APPLICATION = 'C:\move_file.bat' .

The above code will execute the BAT file from ABAP code. We can also launch any application from ABAP with above manner.

Learnt something !

11 Comments:

Anonymous Tarun Gupta said...

I read your blog and thought I could tell you about something else which would be useful for seeing maps and directions in India.

I am writing to tell you about MapmyIndia.com, a free interactive maps and directions portal for all India. See the map of connaught place, new delhi, get directions in mumbai from nariman point to juhu airport, and find nearby ATMs in kormangala, bangalore.

As a company and individual enthusiasts, we dream only of solving the problem of reliable directions and navigation for India. For your blog specifically, you can map enable it by using our youtube-style embeddable maps, and links to specific searches (of maps, directions, local and eLocation) on MapmyIndia.

Do give us feedback, suggestions, or get involved yourself by mailing me back at tarun@mapmyindia.com or marketing@mapmyindia.com.

And if you find the different services useful, we would be grateful to you for writing and telling your readers about us.

Warm Regards,
Tarun Gupta
The MapmyIndia Team
For directions in India, just search print and go with MapmyIndia.com

September 27, 2007 5:14 AM  

~ * ~

Anonymous Anonymous said...

Karthik ,
Few years back I had conversation with .I am the same Atlantagowda from KA.COM .
Happy to see your blog again devru and your sustained interest in SAP-ABAP-TECHNICAL . I have been doing SAP technical stuff since 1998 and working in several modules across SAP and lots of stuff. I dont even remember and never documented .
mail me at prakash.consult@gmail.com

August 21, 2008 1:31 PM  

~ * ~

Blogger William Wren said...

Hi pleased to meet thee, Id appreciate your comments on this thing what I wrote within the realm of my blog

September 04, 2009 6:23 AM  

~ * ~

Anonymous Anonymous said...

辣妹視訊show liveut聊天室kww偷拍s18x色片s18x色網s18x色站s18x美女寫真s18x成人jp成人視訊美女s18xs18x色片s18x色網s18x色站s18x美女寫真s18x論壇s18x成人s18x色論s18x性站s18x入口

December 26, 2009 10:58 PM  

~ * ~

Anonymous Anonymous said...

After I originally commented I appear to have clicked the -Notify me when new comments are added-
checkbox and from now on whenever a comment is added I recieve
four emails with the exact same comment. Is there an easy method
you can remove me from that service? Appreciate it!



Here is my website; SlimBerry Cleanse Diet

April 26, 2013 1:27 PM  

~ * ~

Anonymous Anonymous said...

Amazing! This blog looks just like my old one!
It's on a totally different topic but it has pretty much the same layout and design. Outstanding choice of colors!

My blog post; the latest beauty buzz fiafini deluxe anti-agin eye cream

May 10, 2013 8:45 AM  

~ * ~

Anonymous Anonymous said...

I do not know if it's just me or if perhaps everyone else encountering issues with your site. It seems like some of the text within your content are running off the screen. Can somebody else please comment and let me know if this is happening to them as well? This could be a issue with my internet browser because I've had this happen before.

Thanks

Also visit my page Pure White Kidney Bean Extract

May 10, 2013 2:34 PM  

~ * ~

Anonymous Anonymous said...

Pretty nice post. I just stumbled upon your weblog
and wished to say that I've truly enjoyed surfing around your blog posts. After all I will be subscribing to your rss feed and I hope you write again soon!

Also visit my website :: acai ultra lean reviews

May 13, 2013 8:40 AM  

~ * ~

Anonymous Anonymous said...

This design is incredible! You obviously know how to keep
a reader entertained. Between your wit and your videos,
I was almost moved to start my own blog (well, almost.
..HaHa!) Wonderful job. I really loved what you had to say, and
more than that, how you presented it. Too cool!


Feel free to surf to my homepage; Veluminous Reviews

May 18, 2013 8:45 AM  

~ * ~

Anonymous Anonymous said...

Hi my loved one! I want to say that this article is amazing, great written and come with almost
all vital infos. I'd like to peer extra posts like this .

My site ... women's armitron watches

May 18, 2013 11:15 AM  

~ * ~

Anonymous Anonymous said...

WOW just what I was searching for. Came here by searching for top diet

Take a look at my website - Ultra Slim patch

May 19, 2013 9:47 AM  

~ * ~

Post a Comment

<< Home