Bapi to upload and download the leave details

Hi all,
      Can  u please tell me a bapi to upload and download the leave details for the infotype 2001.
Thanks.

Hi
Warning! The API methods "Delete," "Approve," "Create," and "Request," and "Change," as well as their corresponding RFCs:
<b>bapi_absence_delete
bapi_absence_create
bapi_absence_approve
bapi_absence_request
bapi_absence_change</b>
are <b>no longer valid</b>. Using these APIs can create inconsistencies in time data.
Instead, use the corresponding API Methods "ManageDelete," "ManageCreation," and "ManageChange" for the Business Object BUS7007, as well as the following corresponding RFCs:
<b>bapi_ptmgrattabs_mngdelete
bapi_ptmgrattabs_mngcreation
bapi_ptmgrattabs_mngchange</b>
Regards
Raj

Similar Messages

  • Upload and download the file same name but different extension from the document library.

    HI,
         I am using the Client Object Model (Copy. Asmx ) To upload and download the file from the document library.
    I am having the mandatory File ID for the each Document.
    I tried to upload the the document (KIF53.txt) with File ID (KIF53) uploaded successfully.
    Again I tried to Upload the document(KIF53.docx) With File ID(KIF53) its uploaded the file but it not upload the File ID in the Column
    Please find the below screen shoot for the reference.

    thanks ashish
    tried 
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder IsFolder alredy Exist.
    private string IsFolderExist(string InputFolderName)
            string retStatus
    = false.ToString();
            try
                ClientContext context
    = newClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
    context.Credentials = CredentialCache.DefaultCredentials;
                List list
    = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
                FieldCollection fields
    = list.Fields;
                CamlQuery camlQueryForItem
    = new CamlQuery();
    camlQueryForItem.ViewXml = string.Format(@"<View 
    Scope='RecursiveAll'>
    <Query>
                          <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                            </Eq>
    </Where>
    </Query>
    </View>", @"/sites/test/hcl/"
    + InputFolderName);
    Microsoft.SharePoint.Client.ListItemCollection listItems
    = list.GetItems(camlQueryForItem);
    context.Load(listItems);
    context.ExecuteQuery();
                if (listItems.Count
    > 0)
    retStatus = true.ToString();
                else
    retStatus = false.ToString();
            catch (Exception ex)
    retStatus = "X02";
            return retStatus;
    thanks
    Sundhar 

  • How to upload and Download the file in a system through java programing

    I am trying to upload a file as well as want to download the uploaded file in my system....I don't have any server an all.
    I want to implement this in my system only .
    I got this code but i don't know ,where i have to make the change and what are the parameters i have to pass.
    can any one help me on this code ....please
    here some piece of code
    File Upload and Download Code Example
    package com.resource.util;
    public class FileUpload
    public void upload( String ftpServer, String user, String password,
    String fileName, File source ) throws MalformedURLException,
    IOException
    if (ftpServer != null && fileName != null && source != null)
    StringBuffer sb = new StringBuffer( "ftp://" );
    // check for authentication else assume its anonymous access.
    if (user != null && password != null)
    sb.append( user );
    sb.append( ':' );
    sb.append( password );
    sb.append( '@' );
    sb.append( ftpServer );
    sb.append( '/' );
    sb.append( fileName );
    * type ==> a=ASCII mode, i=image (binary) mode, d= file directory
    * listing
    sb.append( ";type=i" );
    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    try
    URL url = new URL( sb.toString() );
    URLConnection urlc = url.openConnection();
    bos = new BufferedOutputStream( urlc.getOutputStream() );
    bis = new BufferedInputStream( new FileInputStream( source ) );
    int i;
    // read byte by byte until end of stream
    while ((i = bis.read()) != -1)
    bos.write( i );
    finally
    if (bis != null)
    try
    bis.close();
    catch (IOException ioe)
    ioe.printStackTrace();
    if (bos != null)
    try
    bos.close();
    catch (IOException ioe)
    ioe.printStackTrace();
    else
    System.out.println( "Input not available." );
    }

    At least that is what the code you posted suggests to me.It looks like that to me too.
    I believe that
    URLConnection urlc = url.openConnection(url);Will return you an FTP URLConnection implementation if you pass it a ftp:// url
    So for simple FTP ops, you don't need any external libs.
    Actually, looking at your code, this is already what you are doing, so I really don't get this:
    am not using FTP server..... i want to implement in my system only ....So How i will do.
    Can you give me any idea based on this code Can you explain a bit more what you need?
    patumaire

  • Upload and download files

    Hi,
         I have to upload and Download the scanned images using my Webdynpro  Abap application.Please send anybody having sample app document for this.
    Regards,
    KumarL K

    Hi,
    Refer these online help: [FileUpload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm], [FileDownload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm].
    I hope it helps.
    Regards
    Arjun

  • How to upload and download image?

    hi,
    can anyone send me links  how to to upload and download image to and from sever
    Here i am using amfphp,mysql,php
    i have an button and textfield.when i clicked on the button the path will be stored into database and image will be
    stored into server folder.Similarly for edit i want to display that image to end user.How to do that?

    hi,
    you need to first bring the image into your sap system.
    that you can achieve by right clicking you application and then clicking on create mime object.
    check out this link too:
    Re: how to upload an image file(or any file) in mime using file upload ui eleme
    then you have to insert an image ui element in your view.
    check out the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    according to you req i think you need to upload and download the image file in your system using a button. so for this you can follow the below link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    hope this will surely help you!!!
    thanks & regards,
    punit raval.
    Edited by: punit raval on Jun 24, 2009 9:56 AM

  • Upload and download files from ADF 11g into blob type colum

    Hi Guys ,
    Anybody help me how to upload and download the *.pdf / *.doc file in blob object in ADF 11G.
    Thanks ,
    Ashwani Yadav

    You should try the JDeveloper and ADF forum. This is the Oracle FORMS forum.
    Craig...

  • Tracking file upload and download details

    Hi All,
    We are using TMG in our place,all users/servers are used to connect the internet with TMG server..
    is there a way to track the information of file upload and download details in TMG.. 
    KJSUBBU

    Hi,
    Please check the blog below. I haven't try it.
    Live monitor for TMG server
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee
    the accuracy of this third-party contact information.
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • TS3989 the uploading and downloading of photos in photostream is not working, it used to work. have gone through all the setups. checked that everything is on. using windows7 pc. any ideas ??

    photostram has stopped working between iphone and pc, uploading and downloading. I have gone through all the setups, made sure everthing is on but still no luck. Any ideas??

    Frank-
    Thanks for the suggestion -- I hadn't tried that but just did and it still doesn't seem to work. Would the binding cache AttrDefs separately from results?

  • The file upload and download

    Hi all,
    I am going to build a form and run on the web. I am going to do a form which intend to do the file upload and download (any type of file). How can I achieve it?
    Also, once I put it on the web, I would like to do a 'web-like' function: when the user click on the file name, it can open it with the association with the browser (For instance, when I click on the *.doc file, it opens the word automatically). Is it poosible to do so and how to do so? Thanks first.
    Patrick

    Go to Utilities>more Utilities>upload/download is there.
    Amresh.

  • Where are the buttons gone File upload and Download in New ABAP Editor

    Where are the buttons gone of File upload and Download in New ABAP Editor in ECC 6.0.
    Or some new utility added for this feature.
    Kindly guide.
    Thanks,
    pradeep

    Go to Utilities>more Utilities>upload/download is there.
    Amresh.

  • Upload and Download through the same button toolbar Spreadsheet

    Hello,
    Does anyone know if I can set up the two processes: Uploading and downloading Data Inside the Excel toolbar?
    Web ADI defines the Oracle tap where the Upload and Download options are. Where Web ADI defines the Oracle tap?
    Can I modify that menu and unify in the same button the upload and download processes.
    My client wants to see the refreshed data inside Oracle without pushing Uploading Data and pushing again Downloading Data.
    Thanks in advance,
    Carmen.

    Duplicate as this thread:
    Upload and Download through same Excel Sheet
    //Nitin

  • What is the Program name to Upload and Download Scripts

    Hi ALL ,
                  Can anybody help me out by the program name by which we upload and download scripts ..
    Thanks in Advance
    Regards
    Shankar

    RSTXSCRP
    Regards,
    Aparna

  • How to view the report of Upload and Download list

    Hello,
    I would like to see the Portal Activity Report of all the users who have logged in and out and their times and I would like to see the names also with how many uploades and downloades from the portal.
    I can view only the user ids thats all in the Portal Activity Report.
    Can anyone help me. Please
    cheers
    murali

    Hi Murali,
    KM access is not logged by the portal activity report so far.
    You would have to implement it on your own. For an introduction see Documents hits count (KM Activity Reporting)
    Hope it helps
    Detlev

  • What are the uploads and downloads speeds

    what are the upload and download speeds of the time capsule?

    what are the upload and download speeds of the time capsule?
    If you are asking about Internet download and upload speeds, this is limited by your service plan with your Internet provider.
    It might be something like 10 Mbps download and 2 Mpbs upload, for example. That's because on most home plans, the download speeds are typically much faster than the upload speeds....unless you opt for a business type connection at significantly higher cost.
    The Time Capsule is capable of much faster speeds than your service provider can ever deliver, so the bottleneck on your network will always be the Internet connection...not the Time Capsule.

  • To upload and download any file to the server

    Hi,
    I want to upload and download files into and from the server; as we do it in yahoo attachments. Give the location of the file, click upload, it must upload the file to the web server and click on the uploaded file, it should get downloaded. i want to do this in Application server.
    Can anyone help me on this please......
    Thanks in advance,,
    Bala

    hi bala ,
    for a windown server u can use VNC (virtual network connection) which opens a session on u r desktop later u can drag and drop form there vice versa and for a linux box you can use Win SCP which helps to open a session with interface to u r desktop in both cases you can upload and down load files very easiy just as we drag and drop items in a simple pc .. we use the same technique...
    bye
    vamshi

Maybe you are looking for