AR and AP upload -T Code F-02.

Hi Team,
Let me know correct approach BDC or BAPI or LSMW for AR AP upload - T Code F-02.
Thanks
MMV

Hi Mrutynjaya,
You can use the BAPI , BAPI_ACC_DOCUMENT_POST.
Further if you want to how to use this BAPI, kindly let me know.
Regards,
Shobana.K.

Similar Messages

  • I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    HTML files from an existing site cannot be reused in Muse as Muse works only with files having extension as .muse.
    However, you use apps like Dreamweaver to edit your existing HTML files.

  • Hi,I want  ABAP program to create an file of this data and to upload in app

    Hi Sir/Madam,
               I want  ABAP program to create an file of this data and to upload in application server.this is urgent requirement.plz reply soon. i'll b thankful to u.
    Regards,
    Vishali

    Hi ,
    Use this abap code .this will create a file in AL11 that you can use .
    data: d_msg_text(50),
          v_string(20000) type c,
          v_filename type rlgrap-filename,
    ******Create a file on app server
    concatenate '<directory name present in AL11 case sensitive>' ' filename.CSV' into v_filename .
    condense v_filename no-gaps .
    open dataset v_filename for output in text mode
    encoding default message d_msg_text.
    if sy-subrc ne 0.
      write: 'File cannot be opened. Reason:', d_msg_text.
      exit.
    endif.
    ****Header for file
    concatenate 'information you want to write in file like header etc ' into v_string separated by '|'.
    transfer v_string to v_filename.
    *****Write data into file by looping an internal table
    loop at  <internal table > assigning <work area>.
      concatenate      <work area>-field name1   <work area>-field name2    into v_string separated by '|' .
      transfer v_string to v_filename.
    endloop.
    close dataset v_filename.
    Hope this will solve your purpose.
    Regards,
    Jaya Tiwari

  • JSP that converts office extensions to pdf and then upload them

    Hi there !
    Im trying to convert office extensions ( .xls, .ppt, etc) to pdf and then upload the resulting file to a server .
    currectly im using the upload solution posted by the user anna_DRA here : http://forums.sun.com/thread.jspa?threadID=672874
    and as for the conversion im using a solution which uses OpenOffice's lib to do the conversion.I'm going to post the codes of my JSP and my HTML ( which just contains the form to get the file to be converted and uploaded).
    observation: the point which is giving me headaches is how to get the file sent by my form, convert it into a File object, use my conversion tool and then deliver it to my upload tool so it can be stored.... i cant seem to get the File object from the request object ( tried getattribute and it returns null....) .
    observation':I do know about and how to use MVC but my boss asked me to make this work with just one JSP or a JSP and a HTML.
    index.html :
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Upload test</title>
    </head>
    <body>
    <form enctype="multipart/form-data" action="/WSPdfConversion1.1/Conversion.jsp" method=POST>
    <input type="file" name = "FileUp">
    <input type="submit" value="Enviar"/>
    </form>
    </body>
    </html>Conversion.jsp :
    upload portion:
    MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
    OpenOfficeConnection OpenOfficeConnection = new SocketOpenOfficeConnection(8100);
    String newName = "";
    Hashtable files = mrequest.getFiles();
    UploadFile file = (UploadFile) files.get("FileUp");//Give name u r given in the previous page.
    String fileName = file.getFileName();
    upBean.store(mrequest, "FileUp");conversion portion:
    OpenOfficeConnection OpenOfficeConnection = new SocketOpenOfficeConnection(8100);
    try {
        OpenOfficeConnection.connect();
    } catch (ConnectException e) {
        e.printStackTrace();
    File inputFile = new File("C:\\Users\\thiago\\Documents\\"+fileName);
    for(int i = 0; i <= fileName.length() - 4; i++){
        String s = ""+fileName.charAt(i);
        newName = newName.concat(s);
    File outputFile = new File("C:\\Users\\thiago\\Documents\\"+newName+".pdf");
    //convert the spreadsheet
    DocumentConverter ExcelToPDFConverter = new OpenOfficeDocumentConverter(OpenOfficeConnection);
    ExcelToPDFConverter.convert(inputFile, outputFile);
    OpenOfficeConnection.disconnect();Both work just ok when separated but i cant get both to work together....
    Any help is much appreciated!!!
    Thanks in advance
    Edited by: thiagocbalducci on Mar 24, 2010 12:07 PM
    Edited by: thiagocbalducci on Mar 24, 2010 12:09 PM

    Hello TSN,
    Test Screen Name wrote:
    Picking just one point: PDF -> EPS -> PDF. This could not possibly do more than one page, because EPS is absolutely by definition a single page format. Therefore you must choose a page when exporting PDF to EPS.
    Thanks for your response.
    I was thinking Microsoft... which has allowed multi-page eps files for years. But you're correct, this is normally an unsupported .eps format.
    I solved the problem over the weekend by doing the following:
    1) I removed the suspect OTF font family but despite doing so, the folder still had two 'corrupted' but unused copies of an italic font. They refused to remove so I had to boot into Win7 SAFE mode to remove.
    2) After complete removal of the OTF font family. I reinstalled the OTF font *BUT* only from a different repository (oddly, this other OTF font set is slightly larger per font).
    3) Once installed, I tested with Flare, published and uploaded to Crocodoc SUCCESSFULLY. Yeah!
    I don't have anymore time to test but the questions remain, such as, was it one or more of the following issues:
    a) Flare has a problem handling some OTF fonts or cannot error correct (the way other programs do) for marginal fonts or font errors?
    b) Was it the two corrupted fonts in the Windows/fonts folder?
    c) Was it the slightly different OTF fonts that I am no longer using?
    Take care

  • How and where to add code to login page

    I have a login page which uses the Dreamweaver Login Behavior.  I want to add code to:
         Check the status of the person loging in (status is the last field in the mySQL authentication table).
              a.     If the person is already logged in, display an error message, and reject the attempt.
              b.     If the person is NOT currently logged in, set his status accordingly, and log him in.
    Since the behavior is generated code, and well above my head, I don't know what code to enter, and where to enter it.  Here's the code for the form:
    <?php require_once('Connections/login.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['username'])) {
      $loginUsername=$_POST['username'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "WOTCPg1.php";
      $MM_redirectLoginFailed = "loginerror.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_login, $login);
      $LoginRS__query=sprintf("SELECT UserID, Password FROM authentication WHERE UserID=%s AND Password=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $login) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;      
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript">
    function setFocus()
    document.getElementById("username").focus();
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Log-in to IOD</title>
    <style type="text/css">
    <!--
    #apDiv3 {
    position:absolute;
    left:5px;
    top:101px;
    width:760px;
    height:612px;
    z-index:2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: center;
    background-image: url(images/grid_gray.gif);
    border: medium ridge #009;
    #apDiv1 {
    position:absolute;
    left:94px;
    top:227px;
    width:629px;
    height:282px;
    z-index:3;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: center;
    #apDiv2 {
    position:absolute;
    left:178px;
    top:248px;
    width:564px;
    height:254px;
    z-index:3;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: left;
    border: medium groove #036;
    #apDiv4 {
    position:absolute;
    left:178px;
    top:245px;
    width:566px;
    height:242px;
    z-index:3;
    border: medium groove #009;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: capitalize;
    color: #009;
    .SubmitButton {
    color: #009;
    -->
    </style>
    </head>
    <body onLoad="setFocus()" >
    <span style="position:absolute; left:3px; top:2px; width:758; height:89;"><img src="sitebuilder/preview/sitebuilder/clipart/bars/regular/horizontal/sleekLines_blue.gif" width="760" height="90" alt="" /></span>
    <div id="e2" style="position:absolute; left:13px; top:14px; width:670px; height:32;"><span class="text"><b><span style="font-size: 22px"><font color="#FFFFFF">Sign-in to Information On Demand</font></span><font color="#FFFFFF" size="4"><span style="font-size:22px;line-height:26px;"><br soft="soft" />
    </span></font></b></span></div>
    <div id="apDiv3">
      <p><span style="text-align: center; text-decoration: underline; color: #009; text-transform: capitalize; font-variant: normal; font-weight: bold; line-height: normal; font-style: normal; font-size: 18pt; font-family: Arial, Helvetica, sans-serif;">Customer Sign-In</span><span style="position:absolute; left:12px; top:23px; width:151px; height:65;"><img src="sitebuilder/images/redInfoOnDemandLogo-150x65.jpg" width="149" height="65" alt="" /></span></p>
    </div>
    <div id="apDiv4">
    <form ACTION="<?php echo $loginFormAction; ?>" id="login" name="login" method="POST">
        <p>     </p>
        <p>User Name:<br /><input name="username" type="text" id="username" tabindex="1" size="30" maxlength="30" />
        </p>
        <p>User's Password:<br />
          <input type="password" name="password" id="password" tabindex="2" />
        </p>
        <p>
          <input name="submit" type="submit" class="SubmitButton" id="submit" tabindex="3" style="color:#009; font-weight:bold" value="Sign-in" />
       <input type="reset" name="reset" id="reset" value="Reset" tabindex="4" style="color:#009; font-weight:bold">
        </p>
      </form>
    </div>
    <br />
    </div>
    </body>
    </html>
    Here's the code for the script "included" in the first line of the page:
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_login = "localhost";  // Change to "mysql" when uploaded to Yahoo
    $database_login = "infoondemand";
    $username_login = "root";   // Change to "creacontech" when uploaded to Yahoo
    $password_login = "raisin4312";
    $login = mysql_pconnect($hostname_login, $username_login, $password_login) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    Could someone help me with this?  I'd very much appreciate any assistance.

    I should have warned you ealier that I don't know PHP very well, but if I can help nail down the process then hopefully one of the PHP experts can jump in.
    I'm still a little fuzzy on what is going on.  If Susie and Rodunda both have their own UserIDs and Passwords, then they can both be logged in at the same time, insert records til their hearts content and there will be abolutely no confict at all. The only issue here that may present a problem is if one of them attameps to update a record while the other one is looking at it, or getting ready to make their own modifications.
    Also, if Susie and Rodunda have their own user accounts with their own credentials, how is it that one would try to log in using the others' credentials?
    At any rate, and hopefully to get closer to a solutions for you, When a user is successfully authenticated, the session variable MM_Username is created.  So, simpy by checking for the existence of this session variable can tell you if that use is logged in or not.  This check can be placed before any of the login script so that it doesn't interfere with the behavior generated code. And you can choose what to do depending on the condition that exists - such as redirecting immediately to another page, or displaying or hiding a certain region on the page.
    Keep in mind that when the page first loads, thel login code is placed in an IF statement that checks the form action, so at first it's ignored and loads the form.  When the form is submitted, the IF conditino is met and the code executes.  To update the database with a "Logged in or out" value, you first have to place a recordset just after the IF statement that checks the form action, wirte another IF statement to check the value of the field, and then redirect to a logout page or continue with the login.
    If you continue with the login, you'll need an Update statement to change the field in the database just before the successful redirect.  If you've redirected to a log out page, you'll also need s similar update statement there.
    To write the recordset code, you can use DW's wizard and just move the code to where it needs to go. But the DW's update code depend on predeifned recordsets and form actions, so you'll need to find a script or hand code it, I wouldn't recommend trying to use DW's code and then modify it.
    So, what do you think, are we getting closer?

  • Restrict Access and Multiple Upload with Insert

    I continue to have problems with using Restrict Access to Folder with Multiple Upload with Insert. When the restrict access is enabled the uploader does not work, when it's removed it works. Any ideas?

    I've found that if I have a page that displays the kt_login_id, login and then go to that page it doesn't display the login ID. Then if I add the multiple image uploader w/ DB insert and reload the page the login ID is displayed and the uploader works, however, if I set an uploader field to the login ID it inserts and uploads everything but the login id. I thought this might have to do with the fact the the 'Restrict Access to Page' is not on the page yet. When I add it the uploader and insert stops working. I've placed the 'Restrict Access to Page' code in every possible place in the code (above the head) and the only place where the uploader/insert works is when the resrtict code is after the uploader code. But then again the login id does not get inserted. Please someone help.

  • SAP STANDARD ASSET UPLOAD T.CODE?

    Hi
    gurus
    1. SAP System standard Asset upload transaction code?
    2. My system date is 21.09.07. But in SAP it showing 22.09.07. where i can change date settings in SAP. i want equal as system date.

    Hi,
    You have to upload asset in AA and in GL
    In AA -- Use AS91
    In GL -- Use OSAV
    Radha

  • How can I convert a word file into a pdf and then upload to a web site?

    I need to convert a word document into a pdf and then upload it to a web site so people can read it from my
    site. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    Hi there,
    There's actually an easy streamlined way to do this using Acrobat.com. Here are the steps:
    1. Log in to Acrobat.com with your Adobe ID.
    2. On the left, you'll see a navigation menu that includes the item "Import and Edit". Click that.
    3. Choose the .doc (Word) file you want to convert and upload it to Buzzword.
    4. After making sure that it looks the way you want it to, go to the top menu (still in Buzzword now, not the organizer where all your files live) and click the document menu. There will be an option to "Export" - choose that.
    5. When prompted to select filetype, choose "Adobe PDF" and press OK.
    6. It'll save to your desktop, so now you have to get it into your acrobat.com organizer. To do that, close the Buzzword document by clicking the little "x" in the upper right corner, under the Sign Out button. This'll get you back to your organizer, where you can choose "Import" from the left nav menu again. This time choose your new PDF file.
    7. Select the  file icon in the organizer and click the Share button. Or, select Share  from the file context menu.
    8. Select Allow Anyone With A  Link To Share This Document to set the document to open access, and then  click Copy Embed Code. The necessary HTML code to embed the preview is  copied onto the clipboard.
    9. Open the HTML file and paste  the code into the file. The Flash previewer can display any file type  that you can convert to PDF.
    Hope this helps! Good luck, and let us know how it works out.
    Rebecca

  • Is there any way to upload Tariff Code (with multiple XML files) from application server?

    Hi All,
    Is there any way to upload Tariff Code (with multiple XML files) from application server?. Its urgent.
    Regards,
    Jatin

    Hi Jatin,
    Yes, of course you can upload multiple files for tariff codes.
    This can be done by the below path:-
    SAP GTS Cockpit(tcode-/sapsll/menu_legal)-->Customs Management-->Classification-->Classification Master Data-->Upload Tariff Code Numbers from XML file(tocde- /SAPSLL/LLNS_UPL101).
    In the above area after browsing and choosing the first file, please select multiple check box to choose more files as well. Then you can further select your application server and upload all those files in one go.
    PS:- Although, we have an option to upload multiple such files but actually we should avoid multiple file uploads due to various reasons. Hence, please take utmost care during such procedure.
    Regards,
    Aman

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • URGENT - PLEASE READ MY MIND AND GIVE ME THE CODE

    I AM DOING AN URGENT PROJECT AND I NEED SOME CODE. PLEASE PROVIDE THE CODE WITHOUT DELAY.
    I AM SENDING DETAILS OUT ON MIND FREQUENCY 42 GigaHz at 10 GigaWatt.
    STOP WHATEVER ELSE YOU ARE DOING AND SEND ME THE CODE NOW!

    I am not happy with the service from Sun. Please me the solution NOW!Sun wishes to let you know that it feels truly sorry about your unpleasant experience and installs a new
    24/7 competence call center immediately. Please hold the line while the building is being constructed.
    ERRATA Sun apologizes for the actual inconvenience, but in the constant objective of satisfying the most, and due to the peculiar context of the stated problem,
    the 24/7 competence call center will be replaced with a 42 Ghz English/Swahili mind-reading center. Please keep your mind opened until Sun finds the needed brains.

  • When i try to open photoshop this shows up Please uninstall and reinstall the product.  If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.  Error: 16

    i had to take my photoshop file into a hardrive because my dad was going to give me a new Mac and when things didn't work out and went back to my old one i use the time capsule thing to save everything before but didn't give me photoshop so i physically moved the file and tried to open it but then this error shows up
    Please uninstall and reinstall the product.
    If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.
    Error: 16
    and when i click the uninstall app on the file it tells me this
    The alias “Uninstall Adobe Photoshop CS6 2” can’t be opened because the original item can’t be found
    and when i click fix alias i click on photoshop and the app just turns into photoshop and i just run in circles
    please help thank you

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Download CS6 products
    Mylenium

  • My ipod touch 5th generation is stuck on the apple logo, and i tried fixing it with itunes but it tells me there an error and gives me a code saying i needed to update my itunes and it was.what other ways is there to fix it.

    ipod stuck on the apple logo. i did the itunes thing but it tells me error and gives me a code saying i need to update itunes but it was and i did again but it still said the same thing. help how do i fix my ipod.

    Hey Edgar, how exactly did you do the updates? Are you running iTunes 11.2.2? And you iPod 5 is still running iOS 6.1.2 as your tag shows? or are you running iOS 7.1.1?  More info would be helpful. As Deggie asked, what was the error message, the more detailed the better. One more thing-- is this a Mac machine or a PC? Cheers.

  • My Ipad1 will not update it starts to update and stops and gives me a code 28

    Ipad will not update it starts to update and stops and gives me a code 28

    Could be a hardware problem:
    Error 23, 28, 29: These errors may indicate a hardware issue with your device. Follow the steps in this article. Also attempt to restore while connected with the white USB Dock Connector cable that shipped with your device, on a known good computer and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value, (00 499901 064000 0), can also confirm a hardware issue. Out-of-date or incorrectly configured security software can also cause these errors.

Maybe you are looking for

  • Can you link an iTunes library to more than one apple ID?

    My wife and I have our own iPhones (4S) I have an iPad 2 and we have an iMac. We currently have one apple ID but iCloud is updating all our devices with the same data. I want to be able to create a new apple ID for my wife that still allows us to sha

  • Not able to create rows in a table with dependent columns in an OAF page.

    We have a table in an OAF page which has the property "Records Displayed" set as "10". Hence pagination kicks in for more than 10 rows in the table. "Add rows" is enabled in this table. The table also has 'detail' component. In this table, we have cr

  • No goods issue can be posted- error in STO

    Dear Experts, I am trying to post GI for an outbound delivery in VL02N. This delivery was created when I did Goods Issue in MB1B using Mtype : 352 for a Stock Transfer Purchase Order Kindly note that my Storage Location is WM+HU Managed. I confirmed

  • Upload using iPhone Safari browser

    Can the iPhone's Safari browser upload files? I'd like to use my company's web-based CMS tool for adding content, but the 'file browse' button is inactive (grayed out). Can't attach files in Gmail either... I was hoping this might be a 'feature' adde

  • Uplod word file from java

    how we upload word file from java web page?? pls is urgent.