Problem in Posting data using BAPI_ACC_DOCUMENT_POST

Hi ,
I am trying to post a Sub-ledger account using the BAPI_ACC_DOCUMENT_POST.
The Details I am passing are
DOCUMENTHEADER
USERNAME  -        UPPUVID
COMPANY CODE - 1030
DOC_DATE -           2/2/2009 
PSTNG_DATE-        2/2/2009
FISCAL YEAR-        2009
PERIOD -                02
DOC TYPE -            DR
ACCOUNTGL
ITEMNO_ACC   0000000002
GL_ACCOUNT  230400   
PROFIT_CTR    110001          
ACCOUNTRECEIVABLE
ITEMNO_ACC     0000000001
CUSTOMER       40000087
GL_ACCOUNT   110100  
CURRENCYAMOUNT
ITEMNO_ACC       CU CURRE CUR AMT_DOCCUR 
0000000001          USD                    1,000.0000 
0000000002          USD                    1,000.0000-
The result shown is as follows.
Document posted successfully: BKPFF 180001511510302009 DV1CLNT200 
But when we go and check in FB03 .
I am getting an error message saying Document doesnot exist for the Tcode 1030 .
Also there is no corresponding entry in BKPF .
Please let me know If I have to pass anything else to post the  data.
Regards,
Vidyulatha U.

Hi Vidyulatha,
You can also use FM : POSTING_INTERFACE_START & POSTING_INTERFACE_DOCUMENT & POSTING_INTERFACE_END.
As you know you can post all types of documents through FB01.
You can set the i_tcode as 'FB01' & i_sgfunct as 'C'.
You just Pass on the values to these FMs.
Edited by: Yogesh Karanjikar on Feb 2, 2009 10:55 AM
Edited by: Yogesh Karanjikar on Feb 2, 2009 10:56 AM

Similar Messages

  • Any Standard FM  for material stocks on posting date  using  Tcode  MB5B

    Hi,
    I  need   Standard  FM  to get  material stocks on posting date  using   Tcode   :   MB5B
    Stock type  i am using  is  : Storage Location/Batch Stock
    the  Input   i am  providing  is    Material, Plant , Storage Location, selection  date From , selecDate To.
    Then   i need  to get  data  that it  provides   header  and  document  item level.
    Can u please tel me  how do i get  that  material stock data  on posting date and in which tables
    it will be populated in the database.
    ITs required  can u take view and post info
    Thanks & Regards
    sivakumar kasa
    Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
    Edited by: siva kumar kasa on Dec 22, 2010 7:15 AM

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • Adobe form-Able to post  data using Adobe Reader 9 but not with Adobe Proff

    Hello Guru's
    I am facing one problem with adobe forms.
    We have develoed a adobe form using adobe reader 9.
    Now when user are posting the purchase requistion using the form,they are able to post the data using
    Adobe Reader 9 but not with Adobe Reader professional.
    Can anyone please advice me what can be the problem here.

    Adobe Reader 9 can't save the old FDA forms. FDA must update their forms.

  • POST Data Using Javascript

    Hi Guys,
    I ran into this trouble, basically, what I need is to post data into this url using REST:
    www.thissite.com/comment
    now it says:
    do this with a variable name content, containing "key: value" line by line:
    id:
    Action: comment
    Text: the text comment
    now it has a sample on how to do this using java:
    import java.io.IOException;
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.methods.PostMethod;
    import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
    import org.apache.commons.httpclient.methods.multipart.Part;
    import org.apache.commons.httpclient.methods.multipart.StringPart;
    public class RtTicketCreator {
    static final String BASE_URI = "http://www.thissite.com/REST/1.0";
    public static void main(String[] args) throws IOException {
    PostMethod mPost = new PostMethod(BASE_URI + "/1234/comment/");
    Part[] parts = { new StringPart("content", "id: 1234\nAction: comment") };
    mPost.setRequestEntity(new MultipartRequestEntity(parts, mPost.getParams()));
    HttpClient cl = new HttpClient();
    cl.executeMethod(mPost);
    System.out.println(mPost.getResponseBodyAsString());
    Now, my question is: Can I do this using javascript? If yes, could you at least give me an idea how to accomplish this?
    Thanks Guys,
    Best Regards,
    Aaron

    Hi Vishvesh,
    Could you please let me know how you resolved the issue.
    I am also developing a web app in eclipse consuming the odata and when checking the script in Firebug i gor the error as
    GET http:/<server>;port/sap/opu/sdata/sap/GURU/$metadata/$metadata?$format=xml 
    00:01:50 2012-04-06 The following problem occurred: HTTP request failed0,, -
    Thanks and regards
    Gururaj

  • Posting data using HTTPClient (Innovation)

    Hi all,
    I have the following problem:
    I'm using HTTPClient library from Innovation.ch and have used the following code to post data to the following website : http://blast.genome.ad.jp/
    import java.io.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.*;
    import HTTPClient.*;
    public class VistaConnection {
      private String sequence;
      private String str;
      private String resultURL;
      public VistaConnection(String seq) {
        sequence = seq;
        try{
          URI doc_url = new URI ("http://blast.genome.ad.jp");
          URI form_url = new URI (doc_url,"/sit-bin/nph-blast");
          HTTPConnection con = new HTTPConnection(form_url);
          NVPair[] form_data =
              new NVPair[] {
                  new NVPair("prog", "blastn"),
                  new NVPair("dbname", "nr-nt"),
                  new NVPair("V_value", "500"),
                  new NVPair("B_value", "250"),
                  new NVPair("sequence", sequence),
                  new NVPair("filter", "F"),
          HTTPResponse resp = con.Post(form_url.getPathAndQuery(), form_data);
          String Output = "";
          if(resp.getStatusCode () >=300){
            System.err.println("Received Error:"+ resp.getReasonLine());
            //System.err.println(resp.getText());
          else {
            DataInputStream input = new DataInputStream(resp.getInputStream());
            resultURL = "";
            while(null != ((str = input.readLine()))){
              System.out.println(str);
              Output += str;
            input.close();
        }catch(IOException ioe){
          System.err.println(ioe.toString());
        }catch (ParseException pe) {
          System.err.println("Error parsing Content-Type: " + pe.toString());
        } catch (ModuleException me) {
          System.err.println("Error handling request: " + me.getMessage());
    }when I run this code in my program the data gets posted but I cannot retreive the results because they are loaded up in separate web page,
    I was Hoping that someone would be able to give me some Idea of how to retreive these results from the server through my code.
    Thanks for any help
    P.S. Just in case I've added the data that I post through my program below:
    gi|23821530|dbj||SEG_D10989S Bos taurus gene for endothelin receptorGGGATCCCGAGCAAACTGCGGAGGCCACACTGTCAGGCATTCCCTCGGCGTTTCGTCAGAGCCAGACCCT
    CCCGCTGCTGAAGGGAGGCGCGCTCTGCTCCCGGGCTGCCGGGAACCCAGCCGCGCGCCGGGGAAGGAGG
    TCCCTGCCTGGTGCGTCCGGACCAAGAGGTAACCGTTCTGCTTGGTGTTTAATTCAAATCTGTGATTGAA
    CCTTATCCTGGGGCTTCAGTTTGGATTACTTCTTAGGTTTGTTTTTGTTTGTTTGTTTGTTTTTTAACCT
    GTAGCTACAGCAGATTAAAATGGGATTGGAGTGAAGGAGAGGGCTTGAGTGTCTGAAGTCACTCGAAGGG
    GATAGAAACTTCCGAGTTAATCCAGATAGAGACTCTTCCAAATAGACCAAGTGGAGATGTCCGGGAGATT
    TTCCGAGTCAGCCGGCTCAGTCCTGGGGTGTGTGTATGGGGGGTGGGGGCGGTGCCGAAGAGCGGAAGGA
    AGGGGTCTGAAAGTCCAGACATGCGGCATCCGGGGTTGCTGTGGAGTCGAAAGCAGAGACTGGCGATGCC
    CTTGATCTCTAACCTGCCTTGATTTGCCCCGTCCCCGCGCGCCCTTGGCCAGAACGAATACTGCTCCCTC
    TGCGCACACCAGGAGCTCAAAGCTTTGCTTTGGACACCCGTCCTCTCCTCCCCGTCACACCCCTTCCAGG
    ATACCCCGCCCCACTGCGAGTCATTTACCCCTCAGGGGACGCAGGGGAGGAAAAACCAGCGAAAGCTGGC
    TCTGGAGGGACGGTCTAGGGGCGCAAGCGAGTCCCACGCGCCAGAGTTCCCCACTCCCGCGCCAGCTCGA
    CTTATTAATACTTTTGCGCACTGAGAGTGCGGGCGCTGCTGCGCTTGAGGATAGCGGCTTGCAGGGGCGT
    GGCTGGGGACGCTGACCCGGGTGTCCTGTCTTCCTTCCCTTGCTGGTCTCTAGACTCGGAAAGCGGAGGA
    GCGGCCACCCGACTCCCTCTGGAGCAGGCAGCAGCATGCAGCCGCTGCCCAGCTTGTGCGGACGCGCCCT
    GGTGGCGCTGATCCTTGCCTGCGGCGTGGCGGGGATCCAAGCAGAAGAGAGGGAATTCCCGCCAGCCGGG
    GCCACTCAGCCACTTCCGGGGACCGGAGAGATGATGGAGACCCCGACTGAGACCTCCTGGCCCGGGAGGT
    CCAACGCCAGCGACCCGCGATCGTCCGCAACACCGCAGATTCCTAGAGGGGGAAGGATGGCGGGAATCCC
    ACCGCGCACCCCACCCCCGTGCGATGGACCCATAGAGATCAAGGAGACTTTCAAGTACATCAACACGGTG
    GTGTCCTGCCTAGTGTTCGTGCTGGGCATCATCGGAAACTCCACGCTACTGAGAATCATTTACAAGAACA
    AGTGCATGCGAAACGGTCCAAATATCTTGATAGCCAGCCTGGCTCTCGGAGACCTGCTGCACATTATCAT
    TGATATCCCCATCAATACCTACAAGGTAAGGGGTGCCCTG
    CCACTAAGTATACATACAGGTTCAAGAGCACCCTGTGAACATCTCCCTAACAGAGCTCTGTGTCTCCTCA
    ATGCAGCTGCTTGCCAAGGACTGGCCCTTTGGGGTTGAGATGTGTAAGCTGGTGCCTTTCATTCAGAAGG
    CCTCCGTGGGCATCACTGTGCTGAGTCTATGTGCTCTAAGTATTGACAGGTAAGAGCAAGTATCTAAGCG
    ACATATATCCTGACCACGATCCTAGTGCTTGCTACGTTACTTAGAAAGTAAACTGTAATTCAATAAAAAC
    CAGGCTCTGCCAGCTTGGCAATTGATTCTGTTTTGTTCTTCAGATATCGAGCTGTTGCTTCTTGGAGTCG
    GATTAAAGGAATCGGGGTTCCAAAATGGACAGCAGTAGAAATTGTTTTAATTTGGGTGGTCTCCGTGGTT
    CTGGCTGTCCCTGAGGCTGTGGGTTTTGATATAATTACCAGTGATCACATAGGAAATAAACTGAGAATCT
    GCTTGCTCCATCCCACTCAGAAAACAGCATTTATGCAGGTAAATTTTACTTTTTTTTTCCCT
    TCCCCCATAGTTTTACAAGACAGCTAAAGACTGGTGGCTATTTAGTTTCTATTTCTGCCTGCCGCTGGCC
    ATCACTGCATTGTTTTATACCCTGATGACTTGTGAAATGTTGAGAAAGAAGAGTGGTATGCAAATTGCCT
    TAAATGATCACTTAAAACAGGTAAGG
    TTTATTTCAGAGACGGGAAGTGGCCAAAACAGTATTTTGCCTGGTCCTTGTCTTTGCTCTGTGTTGGCTT
    CCTCTTCATCTTAGCAGGATTTTGAAGCTCACTCTTTATGATCAGCATGATCCCCGTAGATGTGAATTTT
    TAAGGTAAGT
    ATAAATAAATTTTCATATTATTTTTGCAGCTTTTTGTTGGTATTGGACTACATTGGCATCAACATGGCCT
    CCCTGAATTCCTGTATTAACCCAATAGCTCTGTATTTGGTGAGCAAAAGATTCAAAAACTGCTTTAAGGT
    AAGACAGTATCGAAAATCAAAA
    TGGTGAGCAAGGAGGGTTGTGATAGTGTAACTTGATGTAAACTTATAACGAAGTTACTTTGCTTTGTGCA
    GTCATGTTTATGCTGCTGGTGCCAATCATTTGAAGAAAAACAGTCCTTGGAGGAAAAGCAGTCGTGCTTA
    AAGTTCAAAGCTAACGATCACGGATATGACAACTTCCGTTCCAGTAATAAATACAGCTCATCTTGAAAGA
    AGGATTATTCATTTTCTTTATTTTGGACAGAAATCATTCAAACAAAGAGGTATCTGTCAAAGTAAAACAA
    AACAACGTGTGTGTTTGCACAAAACAATGTACAAATGTAAGAGTGATTATTTTCTTCACACTCAAGAGTT
    CCACATGACGTTTGATGAGCTGTTTCCAGCATGAGAAGACAAGCAGTGAGAATTAAGAAAGCCTTATTGT
    GAAAGCACTTAATTCTTTTACAGTTAGCACTTCACTATATTATAGCTCTTCAGAACTTCGGTCTATTCAT
    ACACCACTTACATTTAACTTGAGTTCACTCA

    Well, can't actually test this (don't have unproxied access to the internet today) but strikes me this should work.
    It doesn't use the library you use because it just isn't required for something as simple as this.
    Just run as it is and the web server should return an error because the sequence is invalid, then try again with your data.
    Good luck.
    import java.io.InputStream;
    import java.io.ByteArrayOutputStream;
    import java.net.URL;
    import java.net.HttpURLConnection;
    class Sjohri1
         public static void main(String argv[])
              throws Exception
              String sequence= "whatever"; // your sequence goes here
              String szUrl= "http://blast.genome.ad.jp/sit-bin/nph-blast";
              szUrl += "?prog=blastn";
              szUrl += "&dbname=nr-nt";
              szUrl += "&V_value=500";
              szUrl += "&B_value=250";
              szUrl += "&sequence=" +sequence;
              szUrl += "&filter=F";
              URL url= new URL(szUrl);
              HttpURLConnection urlConn= (HttpURLConnection) url.openConnection();
              InputStream in= urlConn.getInputStream();
              ByteArrayOutputStream out= new ByteArrayOutputStream();
              for (int ch; (ch= in.read()) >= 0;)
                   out.write(ch);
              System.out.println(out.toString());
    }

  • Problem of Posting date in CJ88

    Hi
      I am using WBS settlement transaction CJ88 and I am using BDC call transaction method
      In the Extras column I give th posting date as current date but still program is creating the assets which  have posting date as month-end date. In CJ88 if we dont give posting date it takes the month-end date as posting date.If I pass manually the posting date as current date in CJ88 it returns the entered posting date..but the program doesnot.
        PERFORM POPULATE_BDC USING:
                'X'  'SAPLKO71'       '1000',
                ' '  'BDC_CURSOR'     'LKP74-POSID',
                ' '  'BDC_OKCODE'     '=AUSF',
                ' '  'LKP74-POSID'    T_PRPS-POSID,
                ' '  'LKO74-PERIO'    P_PERIO,
                ' '  'LKO74-GJAHR'    P_GJAHR,
                ' '  'LKO74-VAART'    '3',
                ' '  'LKO74-TESTLAUF' ' '.
    Screen for posting date.
                'X'  'SAPLSPO4'        '0300',
                ' '  'BDC_CURSOR'      'SVALD-VALUE',
                ' '  'BDC_OKCODE'      '=FURT',
               ' '  'SVALD-VALUE'     L_DATE,
    Pls help.
    Thanks

    Hello Vamshi
    Could it be a problem in the PRD system that the posting period (for August) is already closed?
    I am not a specialist in billing documents yet this is the first thing that comes into my mind assuming that your user-exit is technically ok.
    Regards
      Uwe

  • How to post asset using BAPI_ACC_DOCUMENT_POST w/o creating custom OBJ_TYPE

    Hi,
    I want to post asset together with expense into one document. The first approach is to use BAPI_ACC_DOCUMENT_POST with custom obj_type, like ZBKPF. But when we post using the custom obj_type, we cannot reverse the document using FB08.
    Is that anyway we can post using BAPI_ACC_DOCUMENT_POST and reverse using FB08?
    Or is that any BAPI that can do this?
    Thanks,
    Tai
    Edited by: Tai Pang Ng on Apr 8, 2011 9:37 PM

    It is because I want to post asset. I tried to post my asset without specified the obj_type and acc_type, then I got an error saying cannot direct post thru my GL account. That's true becuase posting asset, we just use asset number and reconciliation GL.
    Then I tried to put my asset no in GL field, then I got another error saying the GL is not in Chart of Account, and that's true also becuase the asset no is never config in our chart of account.
    Then I found out that I had to specified the acct_type to 'A'. After that, I got another error saying RFBURFBU000000000000 is not define. That's I cannot post this thru obj_type RBFU. After checking that, I had to specified bus_act to RMWE and custom obj_type to some Z value to make it go.
    But after all these, I cannot reverse my posting using FB08 anymore because this is an custom obj_type and not allow to reverse using FB08.
    Please let me know if I made mistake in the above.
    Thanks,
    Tai

  • Regarding problem in posting date after opening new year

    Hi SAP Gururs,
    I have just opened the new fiscal year thrugh OB52 and also made a new number range by copying the previuos year number range thrugh OBH2.
    Now when i m posting the entries for G/l, Customer & vendors, everything is going fine but vendor entry is not posting thrugh fb 60 and error is coming that (Posting date < Entry date) and when i m taking the help the following msg is appearing Message no. /SAPDMC/LSMW_OBJ_080237.
    Please provide help to the above issue. It is urgent.
    Thanks & Regards
    Inder

    Hi Mark,
    Yes I h ave check that the number range is copied for 2008 & also the posting period is opened for 2008 for vendors.
    Also i have posted few entries using t-codes FB50, FB70 & also FB60.
    Only in case of FB60 the entry is posted for 1st April 2008 but not for 2nd April & onwards.
    Please let me know what u meant by last line i.e entry date as posting date. What i have done is that i have try to do the entry by using the same invoice date & posting date i.e 2nd April, 2008. But still the same error is coming.
    Please help to reslove the issue.
    Thanks & Regards
    Inder

  • Problem in POST data preserve in Policy Agent 2.2 for SJSWS 7.0

    Hi
    Appreciate your help.
    I am using SJSWS 7.0 U1 and the PA for the same.
    I have a requirement to preserve the POST data when during the following situation.
    Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
    Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
    The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
    I get 500 internal server in the browser.
    I have set the following property to true in AMAgent.properties to true.
    com.sun.am.policy.agents.config.postdata.preserve.enable
    My obj.conf has the following entry.
    <Object ppath="*/dummypost/sunpostpreserve*">
    Service type=text/* method=(GET|HEAD|POST) fn=append_post_data
    (note It had only GET originally)
    </Object>
    <Object ppath="*/UpdateAgentCacheServlet*">
    Service type=text/* method=(POST) fn=process_notification
    </Object>
    The amAgent Logfile has the following errors
    2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: Error Registering POST content body
    2007-10-03 07:03:05.735MaxDebug 22984:92e14d8 PolicyAgent: Register POST content body : (null)
    2007-10-03 07:03:05.735 Debug 22984:92e14d8 PolicyAgent: Register POST data key :2007-10-0307:03:05.735
    2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
    2007-10-03 07:03:05.735 Warning 22984:92e14d8 PolicyAgent: Register POST data insert into hash table failed:2007-10-0307:03:05.735
    2007-10-03 07:03:09.093MaxDebug 22984:92e14d8 PolicyAgent: validate_session_policy(): Completed handling request with status: success.
    2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: POST Magic Query Value : 2007-10-0307:03:05.735
    2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: Found magic URI but entry not in POST Hash table :2007-10-0307:03:05.735
    And the errors log in the SJSWS.
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service"
    [03/Oct/2007:06:50:39] failure (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: HTTP2302: Function append_post_data aborted the request without setting the status code
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service" returned -1 (REQ_ABORTED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="error-j2ee" Directive="Error"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="flex-log" Directive="AddLog"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:40] fine (22984): Updating accelerator cache
    regards
    Madhu M

    Hi
    Appreciate your help.
    I am using SJSWS 7.0 U1 and the PA for the same.
    I have a requirement to preserve the POST data when during the following situation.
    Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
    Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
    The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
    I get 500 internal server in the browser.
    I have set the following property to true in AMAgent.properties to true.
    com.sun.am.policy.agents.config.postdata.preserve.enable
    My obj.conf has the following entry.
    <Object ppath="*/dummypost/sunpostpreserve*">
    Service type=text/* method=(GET|HEAD|POST) fn=append_post_data
    (note It had only GET originally)
    </Object>
    <Object ppath="*/UpdateAgentCacheServlet*">
    Service type=text/* method=(POST) fn=process_notification
    </Object>
    The amAgent Logfile has the following errors
    2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: Error Registering POST content body
    2007-10-03 07:03:05.735MaxDebug 22984:92e14d8 PolicyAgent: Register POST content body : (null)
    2007-10-03 07:03:05.735 Debug 22984:92e14d8 PolicyAgent: Register POST data key :2007-10-0307:03:05.735
    2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
    2007-10-03 07:03:05.735 Warning 22984:92e14d8 PolicyAgent: Register POST data insert into hash table failed:2007-10-0307:03:05.735
    2007-10-03 07:03:09.093MaxDebug 22984:92e14d8 PolicyAgent: validate_session_policy(): Completed handling request with status: success.
    2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: POST Magic Query Value : 2007-10-0307:03:05.735
    2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: Found magic URI but entry not in POST Hash table :2007-10-0307:03:05.735
    And the errors log in the SJSWS.
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service"
    [03/Oct/2007:06:50:39] failure (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: HTTP2302: Function append_post_data aborted the request without setting the status code
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service" returned -1 (REQ_ABORTED)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="error-j2ee" Directive="Error"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="flex-log" Directive="AddLog"
    [03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
    [03/Oct/2007:06:50:40] fine (22984): Updating accelerator cache
    regards
    Madhu M

  • POST data using XML

    hi everyone...i want to upload a video to youtube from my desktop application. i went through the following link.
    http://code.google.com/apis/youtube/2.0/developers_guide_protocol_resumable_uploads.html#Sending_a_Resumable_Upload_API_Request
    it is for sending data using XML. but i don't know how to send data using XML. can someone give me an insight of data POST'ing using XML? any help is appreciated.

    actually i saw the following segment in this link :
    http://code.google.com/apis/youtube/2.0/developers_guide_protocol_resumable_uploads.html#Sending_a_Resumable_Upload_API_Request
    POST /resumable/feeds/api/users/default/uploads HTTP/1.1
    Host: uploads.gdata.youtube.com
    Authorization: AuthSub token="DXAA...sdb8"
    GData-Version: 2
    X-GData-Key: key=adf15ee97731bca89da876c...a8dc
    Content-Length: 1941255
    Slug: my_file.mp4
    Content-Type: application/atom+xml; charset=UTF-8
    <?xml version="1.0"?>
    <entry xmlns="http://www.w3.org/2005/Atom"
      xmlns:media="http://search.yahoo.com/mrss/"
      xmlns:yt="http://gdata.youtube.com/schemas/2007">
      <media:group>
        <media:title type="plain">Bad Wedding Toast</media:title>
        <media:description type="plain">
          I gave a bad toast at my friend's wedding.
        </media:description>
        <media:category
          scheme="http://gdata.youtube.com/schemas/2007/categories.cat">People
        </media:category>
        <media:keywords>toast, wedding</media:keywords>
      </media:group>
    </entry>

  • Problem in POST data preserve in Policy Agent 2.2 for SJSWS 6.1

    Hi
    I am using Policy Agent 2.2 for SJSWS 6.1
    I have a requirement to preserve the POST data when during the following situation.
    Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
    Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
    The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
    I have tried by configuring the following property in AMAgent.properties file.
    com.sun.am.policy.agents.config.postdata.preserve.enable = true
    But it doesn't work. When I tried to troubleshoot, I learned from the following resource that, POST data preservation is only supported on Policy Agent 2.2 for Sun Java System Web Server 7.0 Is it not supported on 6.1?
    http://docs.sun.com/app/docs/doc/820-1130/gaueu
    I get the following error in the log file of SJSWS.
    trying to POST /dummypost/sunpostpreserve2007-09-2804:48:53.379, send-file reports: HTTP4142: can't find /opt/SUNWwbsvr/docs/dummypost/sunpostpreserve2007-09-2804:48:53.379 (File not found)
    I have verified that the following entry is made in the obj.conf
    PathCheck fn=validate_session_policy
    <Object ppath="*/dummypost/sunpostpreserve*">
    Service type=text/* method=(GET) fn=append_post_data
    </Object>
    <Object ppath="*/UpdateAgentCacheServlet*">
    Service type=text/* method=(POST) fn=process_notification
    </Object>
    I am using the PA 2.2 which says that the following bug is fixed.
    Bug(s) fixed in 2.2 RTM Hotpatch 8
    ==================================
    Bug#: 6545159
    Agent type: Sun Java System Web Server agent
    Description: CDSSO mode wipes out form post data
    Appreciate your help.
    thanks & regards
    Madhu

    Hi
    Now I get 404 error and the logs in amAgent is
    2007-10-03 04:56:20.922 Error 22356:a51e558 PolicyAgent: Error Registering POST content body
    2007-10-03 04:56:20.922MaxDebug 22356:a51e558 PolicyAgent: Register POST content body : (null)
    2007-10-03 04:56:20.923 Debug 22356:a51e558 PolicyAgent: Register POST data key :2007-10-0304:56:20.922
    2007-10-03 04:56:20.923 Error 22356:a51e558 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
    2007-10-03 04:56:20.923 Warning 22356:a51e558 PolicyAgent: Register POST data insert into hash table failed:2007-10-0304:56:20.922
    And in the errors log file of SJSWS is+_
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="uri-clean" Directive="PathCheck"
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
    [03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
    [03/Oct/2007:05:13:05] fine (22515): Updating accelerator cache
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service"
    [03/Oct/2007:05:13:14] warning (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, send-file reports: HTTP4142: can't find /opt/WMS/rel/www/webserver7/https-localhost.localdomain/docs/dummypost/sunpostpreserve2007-10-0304:56:20.922 (File not found)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service" returned -1 (REQ_ABORTED)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="error-j2ee" Directive="Error"
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="flex-log" Directive="AddLog"
    [03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
    thanks
    Madhu

  • Problems obtaining POST data / content using Sockets

    Hi,
    I have a servlet which needs to listen on a specific port for HTTP post requests.
    At present I have the following code:
    try{
       inputStream=client.getInputStream();
       streamReader=new InputStreamReader(inputStream);
       reader=new BufferedReader(streamReader);
    }catch(IOException e){
       //Write error entry in the log file.
    //Get the request and HOPEFULLY the params...
    try{
       System.out.println("encoder "+streamReader.getEncoding());
       for (String thisLine = reader.readLine();thisLine!=null;thisLine = reader.readLine()){
          if (thisLine!=null){
         System.out.println(thisLine);
    }     This produces the following....
    POST /sms HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-
    powerpoint, application/vnd.ms-excel, application/msword, */*
    Referer: http://localhost/test.html
    Accept-Language: en-gb
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
    Host: 127.0.0.1:9999
    Content-Length: 74
    Connection: Keep-Alive
    Cache-Control: no-cache
    I can see that the content is there 74 bytes of it, and it is encoded application/x-www-form-urlencoded, however I don't understand what I need to do to get the FORM information???????
    It works fine if it is an HTTP Get, however I have to get it to work with a POST.
    Can Anyone help??????????
    Thanks
    Glenn

    client is a java.net.Socket.
    Found some further information:
    I'm actually getting an exception I've just noticed from the log files see below:
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(Unknown Source)
         at java.net.SocketInputStream.read(Unknown Source)
         at java.io.InputStreamReader.fill(Unknown Source)
         at java.io.InputStreamReader.read(Unknown Source)
         at java.io.BufferedReader.fill(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at com.nokia.wap.server.IM.service.hd.run(hd.java:108)
    the offending line in my code from above is line 108:
    for (String thisLine = reader.readLine();thisLine!=null;thisLine = reader.readLine()){though i'm not sure if this is a code problem / when I close the html browser and hence cancel the http request?!
    sorry to add to the situation. :o(

  • Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST

    Hi everyone,
    I'm passing the postingkey, WBS element, Sales tax code into the EXTENSION1 variable of BAPI_ACC_DOCUMENT_POST. But it is populating the postingkeys with other values.
    suppose, i'm passing the posting keys with values 02, 12 but when i check the posted document number in FB03 it is showing the posting keys as 01 & 11.
    Could anyone help me with this.
    Regards,
    Tom

    Hi,
    I just checked the coding of this BAPI and saw that Extension1 is used in a user exit as below, which calls a Business transaction events. So I guess you will have to implement the BTE by creating your own function module to change the posting key according to your requirement.
    Have a look at the function module OPEN_FI_PERFORM_RWBAPI01_P. This is called from the subroutine below
        PERFORM call_customer_function
                TABLES extension1.
    For further details, check the function module's (BAPI_ACC_DOCUMENT_POST) documentation and click on extension1 -- further click on BTE link provided there.
    You can also achieve this using the BADI ACC_DOCUMENT, here you would have to pass your data to extension2 isntead.
    KR,
    Advait
    Edited by: Advait Gode on Aug 7, 2009 8:28 AM

  • Problem in posting FB01transaction using function modules

    Hi,
       I am uploading the data to transaction FB01.
       For that i have used three function modules:
       1, POSTING_INTERFACE_START
       2, POSTING_INTERFACE_DOCUMENT
       3, POSTING_INTERFACE_END
        The this is, i have added 2 custom fields on 2nd screen more button.
        The data is coming into those fields, but its not getting saved.
        when i do it in 4.6c its working fine, but in 4.7 its not working.
        when i save it in manual posting, its getting saved.
        Can you please help me to overcome this problem.
    Regards,
    Srikanth.

    Hi This has already been developed in 4.6c and copied the same same program in 4.7. Data is getting updated in 4.6c but the data is not getting updated in 4.7.
    if we use the BAPI as u said,  we have to change the total program. but i dont think client will agree for that coz its working fine in 4.6c. can u please suggest any solution??
    Regards,
    Srikanth.

  • Problem in reading data using scanner

    In a client - server application,Iam sending the data "~!Raam7krishna~!" continously to the server periodically.... In the server side,Iam using scanner to read the data with the delimiter ~!. Server should continously read the data from the client.so iam using infinite for loop to read the data from the inputstream using scanner..
    Problem is when a client send the data first time,i am received the data correctly in server side... At the second time of transmission of data from client to server,Server should not read any data .... but it does not throw any exception... but my client send the data to the server.... can anyone give me solution......
    Scanner scan=new Scanner(InputStream);
    for(;;)
    {     String data=scan.next
    }

    In a client - server application,Iam sending the data "~!Raam7krishna~!" continously to the server periodically.... In the server side,Iam using scanner to read the data with the delimiter ~!. Server should continously read the data from the client.so iam using infinite for loop to read the data from the inputstream using scanner..
    Problem is when a client send the data first time,i am received the data correctly in server side... At the second time of transmission of data from client to server,Server should not read any data .... but it does not throw any exception... but my client send the data to the server.... can anyone give me solution......
    Scanner scan=new Scanner(InputStream);
    for(;;)
    {     String data=scan.next
    }

Maybe you are looking for

  • Why is Save As box for downloading files opening to random directories?

    In version 9 when I performed a download of a file the save as dialog box would prompt me for a save location per my settings. I would select a directory to save it to and save the file. When I saved another file from the same site it would default t

  • PowerShell: Update SharePoint multiple value lookup column?!

    Hi. I have some PowerShell scripts that access, update and insert data into various SharePoint 2010 lists. This all works nicely but there is one thing I'm having trouble with. I want to populate a lookup column in a list with multiple values. The co

  • Need to use variable inside a text field.

    I have a field in my database called "introduction" that contains the following: "My name is #myname#" When I output #introduction# to the webpage, I would like #myname# to show the field value - i.e. "My name is Brett".    How do I let CF know to di

  • PHP Live Preview

    I have my project folder set up correctly with the link to my localhost and everyting. When I click the live preview link, it does bring up the correct page. However, it does not stay linked. I then have to either click the preview button again and o

  • Openreach Engineer ?

    I am expecting an openreach engineer to visit my home in a few weeks to upgrade my current broadband from ADSL to Fibre. I understand that the process involves changing the faceplate on the BT Master Socket and connecting a new modem to the new facep