Not Able to book SO using API

Hi All,
I am trying to book the Sales order using OE_ORDER_BOOK_UTIL.COMPLETE_BOOK_ELIGIBLE. I am getting the return status as 'S' but still the order remains in entered status . If anybody faced the similar issue , please let me know.
OE_ORDER_BOOK_UTIL.COMPLETE_BOOK_ELIGIBLE
p_api_version_number => 1.0,
p_init_msg_list => FND_API.G_FALSE,
p_header_id => x_header_rec.header_id,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data
I am creating the order in the same session. (in same procedure call - and is calling from a form)
I could print the error message as 'Unit Selling Price is required on a booked order line.'
and 'Unit List Price is required on a booked order line.'
But just after this process when i am trying to using a begin-end block from sql plus. I am able to book .
please help me.
Thanks,

I have tried passing the values of unit list and selling price and then it started working fine.
But My doubt is .. Initially I did not pass any value for pricing.. but still after completion of the process (even if order does not get booked the price got updated .. can anyone help me to analyze this case?

Similar Messages

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • Not Able to send messages using NOKIA TEXT MESSAGE...

    Hi,
    I am not able to send messages using text message editor. I am having N70. I also have the latest PC suite and latest phone software. Whenever I try to send message, a message appears "Unable to send". It does not even give me the reason. I have connected my phone using data cable and I can transfer music, syncronize and do other stuffs.
    Can someone suggest what needs to be done to send messages using PC??
    Thanks in advance.
    Raghu.

    Hello,
    i am having the same Problem.
    I cannot send any sms via my phone (N70) nor via the latest Pc Suite. It also just says "Unable to send" with no reason.
    I am on:
    V5.0705.3.0.1
    30-01-07
    PM-84
    Model: N70-1
    Code: 0530495
    Any help is much appreciated. :-)
    Kind regards,
    Thorsten
    Message Edited by deeplook on 01-Jul-2008 08:59 PM

  • Not able to book Busines Event

    Im not able to Book Attendee for BUsiness Event, eventhough I have created Business Event & assigned to BUsiness event type
    1 BUsiness Event Group is there 50001830  Ability to Manage Change ->  01.01.1997 - 31.12.9999
    relationship with Business Event Type -GRID-POWER TO CHANGE - 50001882.
    Now when I go to TCode PV00 and select 50001882 and click on book i get message that
    Select a Business Event.
    Are there any standard setttings to be changed ,What is going wrong. can anybody tell me plz..

    HI,
    PLease create the business events in the future date you cant book the person for the events in the past.
    Regards,
    Kapil

  • Not able to select data using DB link.

    Hi ,
    I have created the database link in oracle 8.1.7.0.0 to oracle 8.1.7.4.0
    But I am not able to select data using DB link.
    The error is = ORA 12154 : TNS: could not resolve service name.
    I have created the DB link with the same command in oracle 9.2.0.4.0 to oracle 8.1.7.4.0. I can select data using this link.
    Please suggest me the solution.
    Thanks,
    Shailesh

    If the service name is different on the 8i machine than on the 9i machine, you'll need to modify the service name when creating the link from 8i. Can you see the DB link in ALL_DB_LINKS in the 8i database?

  • HT1349 I own an Ipad 1. Recently, my imessage does not work as i am not able to log in using my Apple ID and password which before this I had been using to log in. How do i resolve this? Tq

    Own an Ipad1. Recently, my imessage does not work and i am not able to log in using my existing name and passwrd. However, this existing username and password can be used to login into my itunes etc.
    How do I resolve this? Tq

    If the problem persists, you'll probably have to make another apple id, it wont take off any games or music or apps or anything you've bought it will all stay there, i have two apple id's and i don't have a problem with anything.

  • Not able to sign in using my apple id

    not able to sign in using my apple id

    for me same problem. could any one give solution for this problem

  • Not able to access pa_project_pub.add_task API

    Hi,
    I am not able to execute pa_project_pub.add_task. I get "*Your current responsibility does not have access to this function*" message when i execute my custom procedure from toad. I also tried for other responsibility but i get same error.
    I was able to create budget with same responsibility "Projects, Vision Operations (USA)".
    BEGIN
         fnd_global.APPS_INITIALIZE(1005151,20420,275,0);
         DBMS_APPLICATION_INFO.SET_CLIENT_INFO (204);
    --custom procedure which calls pa_project_pub.add_task api
         pkg_task_upload.tasks_main;
    END;
    Can any one please let me know what could be the problem.
    Regards,
    Sonali

    Are you using a vision instance? Which release are you in?
    If the issue is yet to be resolved after checking and compiing the invalid objects, as suggested by Hussein, then you can do the following:
    - Check the responsibility ID of "Projects, Vision Operations (USA)", the one you are using. In vision instances the responsibility ID 20420 (as provided in apps_initialize) is little odd. In 11.5.10.x and R12 vision instances the responsibility ID is normally 56486. Though it can be different in your instance.
    - If the responsiblity ID is correct OR you are using a different responsibility then check whether responsibility Menu is having "Open Integration Toolkit Funtions Menu" submenu (without any prompt) assigned and active (grants checkbox). Please also check within this submenu whether "Activity Management Gateway:Add Task" function is assigned and active (grants checkbox)
    - For seeded Project responsibilities the submenu & underlying function is seeded, but if you using a non project responsibility for creating project/ task etc then that responsibility should have "Open Integration Toolkit Funtions Menu" submenu (without any prompt) assigned and active.
    Thanks
    Supro

  • Not able to upload Documents using  BAPI_DOCUMENT_CREATE2 (From SE37)

    Hi
    Not able to upload and created Document in SAP DMS Repository using Function BAPI_DOCUMENT_CREATE2.
    I'm using this BAPI directly from SE37.
    Alwasy it is giving Error - E26 253 Error while checking in and storing:c:\ZANALYSIS_PATTERN.XLS
    Inputs I have given -
    In Document Data -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Description - TEST
    In Document Files -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Storage Category - ZHCL_CS
    WS Application - XLS
    DocPath - C:\
    DocFile - C:\ZANALYSIS_PATTERN.XLS
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    DEFAULTCLASS - X
    Please advice if I had skipped something and mentioned anything wrong.
    Thanks
    Prashant

    HI,
    I am also uploading a pdf file to dms through bapi_document_checkin.
    I am getting error E26 253 Error while checking in and storing:C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    Inputs I have given -
    In Document Data -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Description - UPLOAD
    In Document Files -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Storage Category - DMS_C1_ST
    WS Application - PDF
    DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    DocFile - 10 2_VIEW 1.PDF
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    can u please help me as it is urgent.
    Shilpa

  • File not able to pick while using FCC at sender channel

    Hi Experts ,
    we design one scenario that we need to process flat file to ECC. So we have used FCC at sender channel.
    while we testing ,  only its showing as successfull logs in channel , but we not able to pick the file.
    could you please check the below details and let me know it i missed any thing.
    PFB file which  need to pick.
    PFA scrren shot of FCC
    26.Jun 2014 #123
    Country|Currency|Amount|Code|Rate
    Australia|dollar|1|AUD|18.989
    Brazil|real|1|BRL|9.119
    Bulgaria|lev|1|BGN|14.037
    Canada|dollar|1|CAD|18.836
    China|renminbi|1|CNY|3.242
    Croatia|kuna|1|HRK|3.623
    Denmark|krone|1|DKK|3.682
    EMU|euro|1|EUR|27.455
    Hongkong|dollar|1|HKD|2.603
    Hungary|forint|100|HUF|8.916
    IMF|SDR|1|XDR|31.154
    India|rupee|100|INR|33.540
    Indonesia|rupiah|1000|IDR|1.668
    Israel|shekel|1|ILS|5.883
    Japan|yen|100|JPY|19.824
    Lithuania|litas|1|LTL|7.952
    Malaysia|ringgit|1|MYR|6.272
    Mexico|peso|1|MXN|1.550
    New Zealand|dollar|1|NZD|17.678
    Norway|krone|1|NOK|3.286
    Philippines|peso|100|PHP|46.019
    Poland|zloty|1|PLN|6.627
    Romania|new leu|1|RON|6.258
    Russia|rouble|100|RUB|59.842
    Singapore|dollar|1|SGD|16.137
    South Africa|rand|1|ZAR|1.894
    South Korea|won|100|KRW|1.986
    Sweden|krona|1|SEK|2.989
    Switzerland|franc|1|CHF|22.569
    Thailand|baht|100|THB|62.119
    Turkey|lira|1|TRY|9.469
    United Kingdom|pound|1|GBP|34.361
    USA|dollar|1|USD|20.179
    FCC details
    channel logs.
    regards
    raju

    Hi Peddaraju,
    Cross check correct source directory and file name is maintained in the sender file communication channel. If everything is fine try to restart the XPI File Adapter service in NWA.
    Troubleshoot as suggested in the below thread:
    File Adapter in PI not reading file from file system.
    Regards,
    Krupa

  • Not able to checkout Files using Java Code and SAP BAPI  from DMSServer

    Hi
    Able to download / checkout the files using T-Code SE37 (BAPI_DOCUMENT_CHECKOUTVIEW2).
    But when same RFC is executed from Java, it alsways says -
    Message ::::::::Document LGL/10000000003/000/00 does not exist
    My inputs in Java Code is as below -
    import java.io.*;
    import java.util.*;
    import com.sap.mw.jco.*;
    //CREATED ON - 10-APRIL-2010.
    public class BapiDocCheckOutview {
         public static void main(String args[]){
              try{
                   if(mConnection!=null){
    JCO.Repository repository=new JCO.Repository("AraSoft",mConnection);
    JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs", "SAPFTPA");
    JCO.Function function=repository.getFunctionTemplate("BAPI_DOCUMENT_CHECKOUTVIEW2").getFunction();
                        //End of get function.
                     System.out.println("Before execution1");
                     if(function !=null){
                   JCO.Field DOCUMENTTYPE = function.getImportParameterList().getField("DOCUMENTTYPE");
                    DOCUMENTTYPE.setValue("LGL");
                    JCO.Field DOCUMENTNUMBER = function.getImportParameterList().getField("DOCUMENTNUMBER");
                    DOCUMENTNUMBER.setValue("10000000003");
                    JCO.Field DOCUMENTPART = function.getImportParameterList().getField("DOCUMENTPART");
                    DOCUMENTPART.setValue("000");
                    JCO.Field DOCUMENTVERSION = function.getImportParameterList().getField("DOCUMENTVERSION");
                    DOCUMENTVERSION.setValue("00");
                    JCO.Field GETSTRUCTURE = function.getImportParameterList().getField("GETSTRUCTURE");
                    GETSTRUCTURE.setValue("1");
    JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                 GETCOMPONENTS.setValue("X");
    JCO.Field ORIGINALPATH = function.getImportParameterList().getField("ORIGINALPATH");
                  ORIGINALPATH.setValue("C:
    TEMP
    DMS_");
    JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          GETHEADER.setValue("X");
    JCO.Field PF_FTP_DEST=function.getImportParameterList().getField("PF_FTP_DEST");
              PF_FTP_DEST.setValue("SAPFTPA");
    //JCO.Field PF_HTTP_DEST=function.getImportParameterList().getField("PF_HTTP_DEST");
         //PF_HTTP_DEST.setValue("SAPHTTPA");
                          System.out.println("Here Setting Values Inside Structure ::DOCUMENTFILE");
    JCO.Structure DOCUMENTFILE=function.getImportParameterList().getStructure("DOCUMENTFILE");
    DOCUMENTFILE.setValue("1","ORIGINALTYPE");
    DOCUMENTFILE.setValue("WWI","WSAPPLICATION");
    DOCUMENTFILE.setValue("ZHCL_CS","STORAGECATEGORY");
    DOCUMENTFILE.setValue("E0DF7893E2BD5DF19C07001517B4A299","APPLICATION_ID");
    DOCUMENTFILE.setValue("E0DF7893E2BD5FF19C07001517B4A299","FILE_ID");
    DOCUMENTFILE.setValue("X","CHECKEDIN");
    DOCUMENTFILE.setValue("X","ACTIVE_VERSION");
                            //DOCUMENTFILE.setValue("LGL","DOCUMENTTYPE");
                            //DOCUMENTFILE.setValue("10000000003","DOCUMENTNUMBER");
                            //DOCUMENTFILE.setValue("000","DOCUMENTPART");
                            //DOCUMENTFILE.setValue("00","DOCUMENTVERSION");
                          //JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                          //GETCOMPONENTS.setValue("X");
                          //JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          //GETHEADER.setValue("X");
                        mConnection.execute(function);
    If anyone have an Idea on what I have missed out...
    Please do advice me.
    Thanks
    Prashant

    Hi
    To update in the initial requirement, I have added (prefixed, zeroes) in Document No., doing that, now the  application is able to find the document, but not able to transfer the same from DMS Server to my local Machine, always giving the following error -
    Type ::::::::E
    Message ::::::::File d:\dms\z_IPI_PRASHANT01.doc cannot be created
    Please let me know, if some services needed to checked in SAP System or some more information to be provided in RFC.
    Thanks
    Prashant
    Dear Experts
    Any advice on this. Still not able to download the documents from DMS Server.
    I have also added few more code in my Java program -
         private int use_sapgui;
         public void setSapGui(int use_sapgui){
              use_sapgui = 2;
    PLease help !!
    Regards
    Edited by: Prashantroy on Sep 26, 2011 12:49 PM
    Hi,
    Further to my earlier Mail, while checking the Trace suing SM59 in ECC System I got  the following Error -
    Trace file opened at 20111010 142232 India Standard Time, SAP-REL 701,0,134
    ======> cannot open SAPGUI
    ABAP Programm: SAPLSYSE (Transaction: )
    User: IPI_PRASHANT (Client: 220)
    Destination: SAPFTP (handle: 3, , )
    SERVER> RFC Server Session (handle: 1, 43220900, {5D1DF3E0-ACBD-F11F-8EA0-00A0D1
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: java)
    SERVER> Called function module: RFC_START_PROGRAM
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1742
    FUNCTION: 'exec_sapgui'
    cannot open SAPGUI
    PROG =sapftp erpdev sapgw00 43232164 IDX=4
    Can someone help me in getting this sorted out.
    Thanks N Regards
    Edited by: Prashantroy on Oct 10, 2011 2:32 PM

  • Not able to book a retrobilled order.

    Retrobilled order is not picking up unit selling price from the price list and therefore is not booking.
    Retrobilled order generated with retrobill concurrent program. Trying to enter unit list price and book it but not able to enter the unit list price.
    Not able to complete the order. This order needs to be retrobilled asap.

    Check the dispatch time set for the output type.
    Go to VA02->Menu Extras -> Output ->Header -> Edit.
    Check the value assigned in the column Date/Time. It may be assigned with 1 or 2. Change that to 3 or 4 and check.
    The output master records can be changed in t.code VV12.
    Regards,

  • I am not able to fecth data using this statement

    Hi All,
    Iam getting problem when i was using select queiry based on vbak,vbap and konv tables.
    Error is i am not able to get  all condition types but i am getting only first record
    Example...
    number of the document condition which is KNUMV
    condition item number which is KPOSN
    condition type which is kshcl
    knumv              kposn             kshcl
    00000002          000100        zpro
    00000002          000100        zdsc
    00000002          000100        zima
    00000002          000100        zpak
    but iam getting only first fecord not getting all the records
    like
    000000002    000100    zpro
    code is ..........
    *select Sales Document: Header Data and Item Data from vbak and vbap
    select avbeln aerdat aernam aauart avkorg avtweg aspart akunnr avkbur avkgrp alifsk afaksk aaugru aknumv
           bposnr bmatnr bwerks blgort bkwmeng bpstyv babgru bbedae blprio bvstel bntgew bbrgew
           bvolum bfaksp bktgrm btaxm1 babfor bkalsm_k bmatkl bkondm bgsber bprctr
           into corresponding fields of table it_vbak
           from vbak as a inner join vbap as b on avbeln = bvbeln
           where a~vbeln in lr_vbeln and
                 a~vkorg in lr_vkorg and
                 a~vtweg in lr_vtweg and
                 a~spart in lr_spart and
                 b~werks in lr_plant and
                 a~auart in lr_auart and
                 a~erdat in lr_erdat.
    Move all the data to it_sorder
      IF sy-subrc = 0.
        LOOP AT it_vbak.
              MOVE-CORRESPONDING it_vbak TO it_sorder.
              APPEND it_sorder.
              CLEAR it_sorder.
        ENDLOOP.
      ENDIF.
    *select Conditions from konv
    IF NOT it_sorder[] IS INITIAL.
        SELECT knumv kposn STUNR KAPPL ZAEHK kschl kbetr KAWRT
               INTO CORRESPONDING FIELDS OF TABLE it_konv
               FROM konv FOR ALL ENTRIES IN it_sorder
               WHERE knumv = it_sorder-knumv and
                     kposn = it_sorder-posnr.
      ENDIF.
    Read Conditions  from it_konv move it to it_sorder
      sort it_konv by knumv .
       sort it_sorder by knumv .
        LOOP AT it_sorder.
        READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
                                    kposn = it_sorder-POSNr binary search.
        IF sy-subrc = 0.
          it_sorder-Kposn = it_konv-kposn.
          it_sorder-STUNR = it_konv-STUNR.
          it_sorder-KAPPL = it_konv-KAPPL.
          it_sorder-ZAEHK = it_konv-ZAEHK.
          it_sorder-kschl = it_konv-kschl.
          it_sorder-kbetr = it_konv-kbetr.
          MODIFY it_sorder.
          CLEAR it_sorder.
        ENDIF.
        CLEAR it_konv.
      ENDLOOP.
    pls can you help me
    thanks
    mars

    I think the problem is here:
    sort it_konv by knumv .
    sort it_sorder by knumv .
    LOOP AT it_sorder.
    READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
    kposn = it_sorder-POSNr binary search.
    There will be mulitple lines in it_konv with this key so it will only return the first. You need a second loop round it_konv eg:
    LOOP AT it_conv WHERE knumv = it_sorder-knumv and kposn = it_sorder-POSNr.
    * do stuff here
    ENDLOOP.
    Try that and see if it helps...
    Andy

  • Not able to connect db using developers(plsql developer,sql developer)

    Hi,
    I used to work on plsql developer, but since from few days i am not able to connect to it, so i have installed sql developer still i am not able to connect to database.
    I can connect to the database using sql*plus. dont know what happend suddenly i have not changed any settings.
    I am getting the error when connecting sql developer: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    Please help.
    Thanks,
    Vinod

    Wrong forum - please repost in the SQL Developer forum, edit this post to include the link to the SQL Developer thread and then mark this as ANSWERED.
    SQL Developer
    >
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    >
    In you post on the other forum include your 4 digit Oracle version and the version of SQL Developer that you are using.
    Also provide the step by step details of how you are trying to create the new connection.
    The error message is telling you that you are using a server or host name that does not exist.

  • Not Able To Connect Internet Using Ethernet Getting Not Able To Connect PPP Server

    I was able to connect to internet using ethernet,but suddenly it is not working when i try to connect it says not able to connect ppp server but i am able to connect same ppoe to windows machine

    Hello vivek.palamkar,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting
    http://support.apple.com/kb/ht1714
    Mac OS X: Connecting to the Internet With PPPoE
    Mac OS X: Troubleshooting a PPPoE Internet Connection
    Best of luck,
    Mario

Maybe you are looking for

  • What about my car's BT handsfree ?

    I installed iCloud and found out to my big dismay that i had no longer a 'local' AddressBook from which I can sync my SonyEricsson T715 mobile phone. That also means that my handsfree phone system in my Volvo has become wirthless, since it cannot loa

  • HowTo Multiple Clients in Vista

    Hi guys, I'm trying to connect to an Oracle8 DB and cannot because the Client installed on my box is the latest one (I use it to connect to several Oracle10 DBs). I have to Remote Desktop onto another Box that is using an older Oracle Client. Is is p

  • Safari browser no longer supported by YouTube

    Safari Version 4.1.3 (4533.19.4) no longer supported by YouTube.  Any upgrade or fix?

  • Remove Mail from mailbox after accepting mail by another guy

    I have an requirement in such way that if one employee accpets the mail, mail should get removed from mail box of other employee. Mail are the MS-Outlook mails and all employee are group together in one address book. In second scenario, if employee s

  • Computer name shows unrecognised number

    Screen saver set to show computer name has started displaying iMac then a long number followed by (3). Don't recognise this number, and why is it followed by the bracketed 3?