Error in defining interface control - WM interface

Hi All
I am trying to link the WM system with an external system using transaction OMKY. When trying to define the interface control, with source storage type as *** and Destination Storage type 015, I am getting an error "Relationship between masked storage types must first be defined". Where do I define this relationship?
please help
Thanks

Hi dilip,
Declare in the Import tab in the global definitions:
  t_vbrk type y_ty_vbrk.
  t_vbrp type y_ty_vbrp.
Create the table types for these two parameters (t_ vbrk and t_vbrp) in se11.
In the driver program declare:
  fs_vbrk LIKE LINE OF t_vbrk,         
  fs_vbrp LIKE LINE OF t_vbrp.        
Regards,
Sravanthi

Similar Messages

  • Error in Acctg Interface in Invoice

    hi all,
       I cannot create an accounting doc for an invoice which has a posting status: "  Error in Accounting Interface".
    I read all the threads in the forums.  I did not have issue with Acct Determination for Revenue.  I do not use acct assignment group. The Account Anlysis in VF02 is fine.
    Do we assign anything from an invoice to a cost center ??
    When i try to release accounting doc, i got error msg:
       Cost Center Control-Area/ 3150 does not exist on 7/7/2010
    Issue is  there is no cost center 3150 at all.  Why is it saying cost center ? Any suggestions are welcome.
    thanks
    Joyce

    Cost center is not available in the specific Controlling area. Reason could be any of the below :
    - not available on particular date, that means the validity is not in the period in which you are posting.
    - cost center itself is not available.
    -wrongly selected cost center / wrongly entered cost center
    Please check the valid from date and valid to date of the cost center in the cost center master data in KS02 and you can extend the valid to date if necessary.
    OR
    Is it a GUI transaction that you are trying to pass or some batch input/BAPI?
    If the last is correct, put leading zeros in the cost centre field. If it's a normal transaction, check that the cost centre is assigned to the right company code (KS03).
    Thanks & Regards
    JP

  • Error FI/CO interface: Balance in transaction currency from BAPI BAPI_ACC_DOCUMENT_POST

    Hi All,
    We are facing error FI/CO interface: Balance in transaction currency from BAPI BAPI_ACC_DOCUMENT_POST.
    This error we are getting only in case of passing tax data.
    Can anyone help me on this.
    Below is the code :
       *fill header
    gd_documentheader-username   =  sy-uname.
    gd_documentheader-header_txt = 'Test'.
    gd_documentheader-comp_code  = p_ccode.   "SQ
    gd_documentheader-doc_date   =  sy-datum.
    gd_documentheader-pstng_date =  sy-datum.
    gd_documentheader-doc_type   = 'KR'.
    gd_documentheader-ref_doc_no = p_xblnr. "SQ
    *gd_documentheader-bus_act = 'RMWE'.
    city = p_city.
    state = p_state.
    zipcode = p_zip.
    *get tax juridisction code
    IF NOT ( city     IS INITIAL ) AND
       NOT ( state    IS INITIAL ) AND
       NOT ( zipcode IS INITIAL ).
      SELECT SINGLE rfcdest INTO ttxd-rfcdest FROM ttxd
       WHERE kalsm = 'TAXUSX'.
      CLEAR x_com_jur.
      REFRESH t_com_jur.
      x_com_jur-city     =  city.
      x_com_jur-state    =  state.
      IF zipcode+5(4) EQ space.
        zipcode+5(4) = '0000'.
      ENDIF.
      CONCATENATE zipcode+0(5) '-' zipcode+5(4)
             INTO x_com_jur-zipcode.
      x_com_jur-country  = 'US'.
      CALL FUNCTION 'RFC_DETERMINE_JURISDICTION'
        DESTINATION ttxd-rfcdest
        EXPORTING
          location_data    = x_com_jur
        IMPORTING
          location_err     = x_com_err
        TABLES
          location_results = t_com_jur.
      IF sy-subrc = 0.
        READ TABLE t_com_jur INTO x_com_jur INDEX 1.
        it_accountgl-taxjurcode =  x_com_jur-txjcd.
      ENDIF.
    ENDIF.
    *fill AP (line 1) - vendor related data
    SELECT SINGLE zterm FROM lfb1 INTO p_zterm WHERE lifnr = p_lifnr.
    it_accountpayable-itemno_acc = 1.
    it_accountpayable-tax_code = p_txcd.
    it_accountpayable-pmnttrms   = p_zterm. "SQ
    it_accountpayable-vendor_no  = p_lifnr. "SQ
    *it_accountpayable-item_text = 'S2P Testing in UDR1'. - SQ
    it_accountpayable-pymt_meth = p_pmet. "- SQ
    APPEND it_accountpayable.
    *fill GL (line 2)
    it_accountgl-itemno_acc      =  2.
    *item_text - sq
    IF p_asset IS NOT INITIAL.
      TABLES : anlz,
               anla.
      SELECT SINGLE * FROM anlz  WHERE anln1 = p_asset.
      SELECT SINGLE * FROM anla WHERE anln1 = p_asset.
    *concatenate '00' anla-KTOGR into it_accountgl-gl_account .
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = anla-ktogr
        IMPORTING
          output = it_accountgl-gl_account.
      it_accountgl-asset_no = p_asset.
      it_accountgl-sub_number = '0000'.
      it_accountgl-cs_trans_t = '105'.
      it_accountgl-acct_type = 'A'.
    ELSE.
      it_accountgl-gl_account      = p_gl.
      it_accountgl-costcenter      = p_cc.
      it_accountgl-wbs_element     = p_posid.
    ENDIF.
    it_accountgl-comp_code       = p_ccode.
    it_accountgl-tax_code = p_txcd.  "SQ
    it_accountgl-pstng_date      =  sy-datum.
    it_accountgl-fisc_year       =  sy-datum(4).
    APPEND it_accountgl.
    CLEAR it_currencyamount.
    *fill currency ammounts for lines 1 & 2
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-itemno_acc  = 1.
    *it_currencyamount-amt_base =  -1.
    it_currencyamount-amt_doccur  = - 116. "p_totamt.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    it_currencyamount-tax_amt  = - 16.
    APPEND it_currencyamount.
    CLEAR it_currencyamount.
    it_currencyamount-itemno_acc  = 2.
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-amt_doccur  = 100.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    *it_currencyamount-amt_base =  100.
    *it_currencyamount-TAX_AMT =  -10.
    APPEND it_currencyamount.
    *tax data
    it_accounttax-itemno_acc = 3.
    it_accounttax-tax_code = p_txcd.
    it_accounttax-gl_account = '0023110000'.
    *it_accounttax-gl_account = p_gl.
    it_accounttax-TAXJURCODE = x_com_jur-txjcd.
    it_accounttax-acct_key = 'NVV'.
    it_accounttax-cond_key = 'XP2I'.
    **it_accounttax-direct_tax = 'X'.
    APPEND it_accounttax.
    CLEAR it_currencyamount.
    it_currencyamount-itemno_acc  = 3.
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-amt_doccur  = 16.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    it_currencyamount-amt_base =  100.
    it_currencyamount-TAX_AMT =  - 16  .
    APPEND it_currencyamount.
       CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader          = gd_documentheader
    IMPORTING
       obj_key                 = wa_obj_key
      TABLES
       accountgl               = it_accountgl
    *   ACCOUNTRECEIVABLE       =
       accountpayable          = it_accountpayable
       accounttax              = it_accounttax
        currencyamount          = it_currencyamount
    *   CRITERIA                =
    *   VALUEFIELD              =
    *   EXTENSION1              =
        return                  =  it_return
    COMMIT WORK.
    Regards,
    Priyaranjan

    Hi,
    Reason 1:
    An revenue-recognition-relevant item has several active conditions whose values cancel themselves so that a net item value of 0 results. The conditions have both the same revenue account (SAKN1) and the same clearing account (SAKN2).
    For these conditions, the system writes a line with value 0 into the temporary FI/CO interface (internal tables: CACCIT, CACCCR). If table VBREVK does not contain control lines for this line, no further processing occurs and the line remains in the temporary FI/CO interface. Then the system reads this line for the creation of the next billing item which conatins a net value and generates a posting line with value 0. As a result, there is a balance in the FI/CO interface, and the billing document cannot be transferred.
    Reason 2:
    The billing document contains at least one item with an item category for which there is a setting stipulating that the values of this item should not be transferred to the header total of the document.
    That is, in the maintenance of the item categories, this item category has the characteristic 'X' or 'Y' in 'Statistical value' field.
    Reason 3:
    Case: Billing document contains items without pricing conditions.
    Then, on release to accounting, error RW022 occurs.
    regards,
    Saju.S

  • Error in form interface

    Hi,
    I had an error in form interface.I declared as,
    IN_VOICE      TYPE            VBRK-VBELN  for parameter.
    error: "VBRK-VBELN" is not a pre-defined type or a type from a type group.

    Hi dilip,
    Declare in the Import tab in the global definitions:
      t_vbrk type y_ty_vbrk.
      t_vbrp type y_ty_vbrp.
    Create the table types for these two parameters (t_ vbrk and t_vbrp) in se11.
    In the driver program declare:
      fs_vbrk LIKE LINE OF t_vbrk,         
      fs_vbrp LIKE LINE OF t_vbrp.        
    Regards,
    Sravanthi

  • [wscompile] error: invalid remote interface

    I have an interface I want to publish as a web service. This interface extends java.rmi.Remote and each of its methods throws a RemoteException. But when I run wscompile (via ant) against this interface in order to have the wsdl file generated it gives me:
    error: invalid remote interface; class manplan.j2ee.service.project.ProjectManager is not an interfacee
    I have searched the forum and the internet yet could not find an answer. Any hints are most welcome. Below you will find excerpts from the relevant files.
    Cheers,
    Olaf
    [interface]
    public interface ProjectManager extends java.rmi.Remote
         void createProject(final Project project) throws DuplicateProjectException,
                   ProjectManagementRuntimeException, RemoteException;
    [ant]
    <wscompile
         keep="true"
         define="true"
         base="${ws.build.classes.dir}"
         xPrintStackTrace="true"
         verbose="true"
         model="${ws.build.dir}/${ws.model.rpcenc.file}"
         config="${ws.conf.rpcenc.file}">
         <classpath>
              <path refid="ws.class.path"/>
         </classpath>
    </wscompile>
    [interface-config.xml]
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service
    name="ProjectManagementService"
    targetNamespace="urn:manplan:Services"
    typeNamespace="urn:manplan:Types"
    packageName="manplan.j2ee.webservice">
    <interface name="manplan.j2ee.service.project.ProjectManager"/>
    </service>
    </configuration>

    OK. Found it: unlike Axis' java2wsdl does wscompile not support JavaBeans and so it gets confused by all those Project params and return types. So I guess wscompile is not the right tool for me in this situation?
    Cheers,
    Olaf

  • XmlBeans and user defined interface...Does it work within WLW?

    I'm attempting to build an xmlbean with a user defined interface that our xmlbean ( derived from our xsd) will implement.
    <br><br>
    I have tried this using the samples from the Apache Xmlbean project ( v1.0.4 ) and the BEA version; both have worked.
    <br><br>
    I was wondering if anyone has attempted this and managed to achieve success using this via the WLW build process.
    <br><br>
    I have removed the reference to the our xmlbean within the handler and used the com.bea.xml.XmlBean reference. This worked with both apache and BEA tests. This also reduces the need for a circular build process ( ugly at best! )
    <br><br>
    I get the following error message:
    <br><br>
    <b>
    ERROR: localInfo.xsdconfig:35: Interface 'com.extension.weatherExtension' not found.
    ERROR: localInfo.xsdconfig:35: Interface 'com.extension.weatherExtensionHandler' not found.
    </b>
    <br><br>
    It woud seem that i am missing the java classes fromthe classpath....however i echo out the classpath during the build and my compiled jar is there.
    <br><br>
    Any thoughts?
    <br><br>
    Thanks

    Andy,
    Let me see if I can help.
    Groups A and B and assigned to group C. That means members of group A are also members of group C. Members of group B are also members of group C.
    However members of group C are only members of group C. So any roles you assign to group A apply only to group A. Likewise with B, roles assigned to group B apply only to group B.
    Now, assign a role to group C and members of groups A, B, and C have that role. So assign general roles to group C and more specific ones to groups A and B.
       C-role 1
    A    B-role 2
    Carl is assigned to group C so he has role 1.
    Brenda is assigned to group B so she has roles 1 and 2.
    Does this help?
    -Michael
    Message was edited by: Michael Shea

  • Error in Financial Interface

    Hi Friends,
    In invoice posting we are getting posting status as " Error in Financial Interface" What is to be checked?
    The background program runs once a day and sometimes we get this error for the document,  But if the same Debit / Credit memo is released through VF02 then we have no error.
    Any help in this issue would be great.
    Venkat.

    Hi JC,
    Following reasons for error `Error in Accounting interface` when releasing SD Billing document to Accounting
    1. Output tax code is not defined / assigned to the GL Account
    2. Product Cost estimate calculated with wrong consting variant
    3. Assignment of Costing element to value field T code KE4R
    4. SD condition is not assigned to COPA
    Please check and let us know the outcome.
    Regards,
    Santosh

  • Accounting Document not posted for Cancelled Invoice -error in FI interface

    Hi,
    When I create a billing document then an accounting document gets created automatically in the background and then when I cancel the billing document no accounting document gets generated and the field Posting Status in header Detail of Billing document updated as "Errors in Financials Interface.
    I tried to release it for Posting via VFX3 but failed due to below error message in Log:
    "Incorrect doc.no.: 4900000005. Select document number between 3000000000 and 3099999999"
    I have checked the Number range assignments to the Invoice type and Accounting type.
    The number range is same for both Invoice type (Y0F2) and Cancelled Invoice type (Y0S1).
    The Accounting document type (RV) is also same for both the cases. But it is working fine for Y0F2 (Acounting document generated and cleared automatically). But not working fine for Cancelled Invoice (Y0S1).
    Can anybody please help me find out a solution to the issue.
    Thanks, Ram.

    Hi,
    The error message F5151 refers to the number range of the FI document.
    Please have a look at the note 1259505: FAQ: New cancellation procedure in SD, which covers this issue in detail.
    Question 5:
    Q5. What is the FI document type, generated by the cancellation ?
    In the old cancellation procedure, the FI document type is always
    determined in SD, and passed to FI (the same when a normal invoice  -
    not a cancellation -  is transferred to accounting).
    In transaction VOFA there is the field 'Document type' (TVFK-BLART).
    If this field is filled, then the FI document will have the document
    type maintained here.
    If TVFK-BLART is empty, then the FI document will get the default
    document type 'RV'.
    If the new cancellation procedure is performed, the FI document type is
    always determined in FI, based on the document type of the FI document
    to be reversed.
    In transaction OBA7 the FI document type has assigned the field 'Reverse
    document type' (T003-STBLA).
    If it is filled, then the FI cancellation document will get the document
    type maintained here.
    If T003-STBLA is empty, then the FI document cancellation will get the
    same document type as the cancelled FI document.
    Notice that an unexpected FI document type can cause the error message
    F5 151.
    Example:
    F2 invoice 90000001 was released, creating an accounting document with
    document type 'RV'.
    This F2 invoice is reversed by the S1 billing document 70000001.
    In customizing of SD there is:
    Billing Type    Document Type
    F2              RV
    S1
    In customizing of FI there is:
    Document Type    Number range   Reverse Document Type
    RV               00             AB
    AB               01             AB
    The FI number ranges (object RF_BELEG) are:
    No  From number    To number   Ext
    00  0090000000     0099999999  X
    01  0100000000     0199999999
    Different situations can occur, due to these customizing settings of the
    FI document type, caused by the type of cancellation.
    If the new cancellation is used:
    The FI document type 'RV' has 'Reverse Document Type' = 'AB'.
    Document type 'AB' has number range '01' set as internal.
    So the FI document will have its own number included in
    100000000-199999999.
    There is no issue.
    If the old cancellation is used:
    The cancellation billing type S1 has no 'Document type' maintained, so
    the FI document will get document type 'RV'. It has number range '00',
    set as external number range.
    So the FI document should get the same number of S1 billing document.
    But the S1 billing document has number 70000001, not included in the
    interval of number range '01'.
    This will cause error F5 151.
    I hope this information helps you.

  • Error in accounting interface -no accounting document generated

    Hi All,
    For a billing document the accounting document is not generated.
    The posting status is hsown as "error in accounting interface".
    Also the billing date(23rd May) is less than the created on date(2nd June).
    I know when we go to the change mode of the billing doc and give the billing date as current date it will realease to accouting.
    What I wnat to know is what could be the possible reasons for the billing date being less than created on date and the posting status being "error in accounting interface".
    Please help.

    hello, friend.
    is your billing referenced to the sales order or delivery?  in standard, if you do not specify the billing date on creation, the system will take the goods issue date for delivery-related billing.
    for order-related billing, it will reference the service rendered date.  if there is no entry, then it will try to reference the billing date in the sales order.
    as to errors in the interface, there are at least a few i can think of:
    1.  the profit center per line item in the sales order was not entered/proposed, or that the entry itself was in error
    2.  the revenue posting based on the original billing date is for a period already closed (however, this opinion is mine and needs to be confirmed by FICO)
    3.  errors in account determination is also a possible reason, although you have to look at the error message if this is pointed out
    hope this helped you.
    regards.

  • Error in Account Interface

    Hi Friends,
    Credit Memo is not posted to FI. In posting status at header data of billing document I could see a message some thing like " Error in Account Interface"
    Can any body give me some what could be the problem.
    Thanks in advance
    J M

    Hello,
    if the error message is FF805 then please have a look as follow:
    This error can be occurs by the following causes:                                                                               
    1.                                                                     
      When the tax condition has a condition base value with '0' this      
      condition is deleted when releasing to accounting. This checking is  
      implemented with release 4.6. In release 3.1 this was not implemented.
      As a result the error FF805 is triggered. So please check that the   
      tax base is not zero in the document.                                                                               
    2.                                                                     
      The error message FF 805 often is created due to errors in           
      customizing, especially in the pricing procedure. Please check       
      whether you have two active, non-statistical tax conditions in your  
      procedure with overlapping reference steps (transaction V/08).       
      This also can trigger this error.                                                                               
    Addionally please have a look at the note 872449. Often the error      
    occurs due to an wrong customizing.                                    
    You should use the condition base formula 16 for MWST.                                                                               
    Surely I could help you with this information and I wish you a nice    
    start in the week.       
    regards
    Claudia

  • *Error in Accounting Interface*

    Dear All,
    when creating billing document for cash sales Accounting Document is NOT Creating and in the cash invoice header in the field of posting status Error in Accounting Interface
    as for the cash sales invoice all the G/L accounts are maintained (VKOA,OV77) and their is no posting block in the billing type.
    Please give the soluation of this problem, its very urgent.
    Thanks in advance.
    Best Regards
    salm

    Check with FI Consultant if Profit Centre is required to be maintained in Customer Master Data.
    The current solution will be to cancell Billing Document --> Cancel PGI --> Cancel Delivery --> foreclose Sales Order
    Maintain Profit Centre in Customer Master Data
    Recreate Sales Order --> Delivery --> PGI --> Billing Document
    Alternatively,
    With the help of Abaper force Profit Centre in Billing Document in Debug Mode. (Not recommended practise)
    Regards,
    Rajesh Banka

  • JSP Debbuging -Error: 'class' or 'interface' expected-

    Hi,
    Does anybody know why am I getting the following error when trying to either debug or run a JSP?
    Error: 'class' or 'interface' expected
    This happens with JDeveloper 9.0.2.829
    It was running just OK, when running from the Navigator Panel (Right click -> Run test.jsp)
    But, when I tried to run the JSP from the Debug Icon -that debugs the whole project-, I got the error I already mentioned.
    Thanks in advance for your help
    Agutin

    Hi,
    Does anybody know why am I getting the following error when trying to either debug or run a JSP?
    Error: 'class' or 'interface' expected
    This happens with JDeveloper 9.0.2.829
    It was running just OK, when running from the Navigator Panel (Right click -> Run test.jsp)
    But, when I tried to run the JSP from the Debug Icon -that debugs the whole project-, I got the error I already mentioned.
    Thanks in advance for your help
    Agutin

  • Compile Error: 'class' or 'interface' expected

    Hi all,
    I have a code which was compiling/running successfully:
    import java.net.*;
    code
    When I added the line: import java.io.*;
    import java.net.*;
    import java.io.*;
    code
    Got the following compile error:
    'class' or 'interface' expected
    import java.io.*;
    ^
    If I comment one of my import statements then it compiles, but I can't have both!
    Does anybody know what's the problem? where it comes from?
    Any help is greatly appreciated.

    I haven't post the entire code b/c it's very long, anyway here it is...
    import java.net.*; ;
    import java.io.*;
    //class TransactionOp: #1
    class TransactionOp
    int ID = 0;
    double price = 0.0;
    int subsID = 0;
    String xmlDoc = "";
    String xmlResp = "";
    String respID = "";
    String authCode = "";
    int opResult = 0;
    public TransactionOp(int anID, double aPrice, int aSubID)
         ID = anID;
         price = aPrice;
         subsID = aSubID;     
         //op done values: 1: REF, 2: DCL, 3: AUTH, 4: AUTH_NoID
         //op errors: -1: noResponse, -2: noAuthResp, -3: noStatus, -4: no gw.
    //class AddressCC: #2
    class AddressCC
    String zipcode = "";
    String city = "";
    String state = "";
    String country = "";
    String address1 = "";
    public AddressCC(String addr1, String city1, String state1, String country1, String zipcode1)
         address1 = addr1;
         city = city1;
         state = state1;
         country = country1;
         zipcode = zipcode1;
    //class InfoCC: #3
    class InfoCC
    String fullName = "";
    String number = "";
    String expDate = "";
    public InfoCC(String name, String number1, String date)
         fullName = name;
         number = number1;
         expDate = date;
    public class SurePayGW
    //instance fields
    private String merchant = "";//merchant = aMode
    private String password = "";
    private String server = "";
    private int subsID = 0;
    public SurePayGW()
         merchant = "34593";
         password = "hnbv78hj6";
         server = "xml.surepay.com";     
    }//endof constructor:SurePayGW
    //String formattedS = "\"" + s + "\"";
    public void spitDoc(SurePayGW sp, AddressCC address, InfoCC ccInfo, TransactionOp trans)
         String xmlBuf = "<!DOCTYPE pp.request PUBLIC \"-//IMALL//DTD PUREPAYMENTS 1.0//EN\" \"http://www.purepayments.com/dtd/purepayments.dtd\">";     
         xmlBuf = xmlBuf + "<pp.request merchant=" + "\"" + sp.merchant+ "\" password=" + "\"" + sp.password+ "\">";
         xmlBuf = xmlBuf + "<pp.auth ecommerce=\"true\" ordernumber=" + "\"" + trans.ID + "\" recurring=\"false\">";     
         xmlBuf = xmlBuf + "<pp.creditcard number=" + "\"" + ccInfo.number + "\" expiration=" + "\"" + ccInfo.expDate.charAt(0) + ccInfo.expDate.charAt(1)+ "/" + ccInfo.expDate.charAt(2) + ccInfo.expDate.charAt(3) + "\">";          
         xmlBuf = xmlBuf + "<pp.address type=\"billing\" zip=" + "\"" + address.zipcode + "\" city=" + "\"" + address.city + "\" state=" + "\"" + address.state + "\" country=" + "\"" + address.country + "\" fullname=" + "\"" + ccInfo.fullName + "\" address1=" + "\"" + address.address1 + "\"/>";
         xmlBuf = xmlBuf + "</pp.creditcard>";     
         xmlBuf = xmlBuf + "<pp.address type=\"shipping\" zip=" + "\"" + address.zipcode + "\" city=" + "\"" + address.city + "\" state=" + "\"" + address.state + "\" country=" + "\"" + address.country + "\" fullname=" + "\"" + ccInfo.fullName + "\" address1=" + "\"" + address.address1 + "\"/>";     
         xmlBuf = xmlBuf + "<pp.lineitem sku=\"R" + trans.subsID + "Zg\" description=\"Subscription Renewal\" taxrate=\"0\" quantity=\"1\" unitprice=\"" + trans.price + "USD\"/>";
         xmlBuf = xmlBuf + "</pp.auth></pp.request>";
         //print("@DBG [SurePayDoc.submitTransaction]: will send %s" % xmlBuf)
         trans.xmlDoc= xmlBuf;
         //System.out.println("This the final result of xmlBuf: ");
         //System.out.println(xmlBuf);
         //System.out.println("trans.xmlDoc = " + trans.xmlDoc);
    }//endof m: spitDoc
    public void submitTransaction(SurePayGW sp, TransactionOp aTrans)
         String param = "";
         HttpURLConnection connection;
         URL url;
         String urlString = "";
         String input = "";
         String response = "";
         try
              //params= urllib.urlencode({'xml' : aTrans.xmlDoc})
              param = java.net.URLEncoder.encode(aTrans.xmlDoc, "UTF-8");
              //System.out.println("The output from java.net.URLEncoder.encode: " + param);
              //link= httplib.HTTPSConnection(self.server)
              urlString = "https://" + sp.server;
              url = new URL(urlString);
              connection = (HttpURLConnection)url.openConnection();          
              System.out.println(connection.getURL());          
              System.out.println(connection.getResponseCode() + " " + connection.getResponseMessage());          
              System.out.println(connection.getURL());
              connection.setDoInput(true);
              connection.setDoOutput(true);
              connection.setUseCaches(false);
              //link.putrequest('POST', '/')
         connection.setRequestMethod("POST");
              //link.putheader('Content-type', 'application/x-www-form-urlencoded')
              //link.putheader('Content-length', ("%d" % len(params)))
              //link.putheader('Accept', 'text/plain')
              connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
              connection.setRequestProperty("Content-length", param.length());
              connection.setRequestProperty("Accept", "text/plain");
              //link.endheaders()
              connection.connect();
              System.out.println("Client : Connected");
              //link.send(params)
              //response= link.getresponse()
              //data= response.read()     
              DataOutputStream out = new DataOutputStream(connection.getOutputStream());
              System.out.println("Client : Writing Content");
              out.writeBytes(content);
              System.out.println("Client : Flushing Stream");
              out.flush();
              System.out.println("Client : Waiting for response from Server");
              BufferedReader in = new BufferedReader(new InputStreamReader(http.getInputStream()));
              System.out.println("Client : Opened input stream");
              while((input = in.readLine()) != null)
                   response += input + "\r";
              System.out.println("Client : received : "+response);
              //I'm not bothering to close the streams or http connection yet.
         }//endof: try
         catch (MalformedURLException e)
              e.printStackTrace();
         catch (Exception e)
              e.printStackTrace();
    }//endof m:submitTransaction
    }//endof class:SurePayGW

  • Error in accounting interface at the time of Invoice posting

    Hi..
      Im getting this error at the time of Invoice Posting .
    "Error in accounting interface "
    Plz guide me
    regards
    Deepa

    Deepa,
    Go to VF02, enter your invoice, click on the green flag (release to accounting), now the system will show the exact error.
    Prase

  • Idoc Processing Error - Communication error calling XI interface

    Hi All, We in the middle of our upgrade from IS-PS-CA 472 to ECC6 and are facing issues processing old Idoc's with status 64 via BD87 the error message says that "Communication error calling XI interface". We have not implemented XI at this point in time.
    Can anyone please advice why this is happen is this something to do the SAP version.
    Please help.
    Rgds
    Saj

    Can you provide the message number.
    Reddy

Maybe you are looking for

  • Project Contracts Deliverables : Unable to Ship Confirm

    Sub : Project Contracts Deliverables : Unable to Ship Confirm Hi, When trying to " Ship Confirm " for deliveries initiated from Project Contracts, Error Msg appears : Error : Some deliveries selected for ship confirm have errors or warnings. On click

  • Satellite A - CD/DVD drive does only read CD's

    I'm abit confused at this situation. My CD/DVD drive reads CD's but does not read DVD's. I dont know if I have to reinstall the driver for the CD/DVD or does it need replacing. Please can someone help.

  • Multiple method signatures in an MBean

    The text formatting seems to be broken on this site. Sorry for the mass of text! I have an MBean containing some utility functions used within a custom authenticator. At the moment, there all use a single data source, but I need to extend them to use

  • "The application Mail quit unexpectedly"

    Mail has started crashing every time I attempt to open it. It used to run ok, then one day this started and I can't find a way round it to even try and fix it. Is there a way to backup/uninstall/reinstall/restore mail to try and fix the problem? Proc

  • AIR projects broken SDK 4.5.0.18623 to SDK 4.5.0.19786

    Hero SDK 4.5.0.18623 works in Flash Builder 4 with AIR 2.5   With the release of SDK 4.5.0.19786 I can no longer compile an AIR project in Flash Builder 4, I receive the following error: Process terminated without establishing connection to debugger.