Restricting the return Qty to the Original Invoice qty

Dear Friends,
When i'm copying the data from the Invoice to the return sales Order.
I want to restrict the quantity of the Return Sales Order to the Invoice quantity...
Please tell me how i can restrict the Return quantity to the Original Invoice quantity.
Thanks
Uwanthi

Hi
Welcome to SDN
When i'm copying the data from the Invoice to the return sales Order.
I want to restrict the quantity of the Return Sales Order to the Invoice quantity...
T code OVAH message number V4--229 change this message from warning to error
This will take care of your issue
Regards
Raja

Similar Messages

  • How to preserve the "return" char in the datafile imported

    Is there any way to preserve the "return" char in the datafile when using SQL*Loader to import data?What I wanted is to keep some format of the original data,the sample datafile as following(with the "|" as the fields-limit)
    aaaaa|bbbbbb
    cccccc|jjjjj --this is just a physical record
    when the 2rd filed data being selected,it should be:
    bbbbbb
    cccccc
    Thanks advanced for any suggestion.
    Xiage

    You can use "str X'7c0a'" following the INFILE in your control file to specify that a record is terminated by a pipe character (7c) followed by a newline (0a), like this:
    LOAD DATA
    INFILE 'input_file_name.txt' "str X'7c0a'"
    REPLACE INTO TABLE table_name_to_load_into
    FIELDS TERMINATED BY '|'
    (column_name1,
    column_name2,
    column_name3)

  • Three keys of my keyboard are not working, the cap one, the return key and the space bar, while the virtual keyboard shows to others keys highlighted in orange (^ and `); How to fix it? I writing now with a bluetooth keyboard.

    Three keys of my keyboard are not working, the cap one, the return key and the space bar, while the virtual keyboard shows to others keys highlighted in orange (^ and `); How to fix it? I writing now with a bluetooth keyboard.

    All new keyboards need Snow Leopard 10.6.8 and above for full functionality.
    Rather short-sighted of Apple perhaps, but that seems to be a trend these days.
    I'm afraid the only fix is to upgrade to SL. Personaly, I'd take it back and get a refund and seek an older keyboard or a third-party one elsewhere.

  • How to retrieve the return code of the scenario execution

    Hi,
    I do see the return code in the execution tab of the scenarios..
    I need to use those values in a package.
    So how do i retrieve those value and use in a variable..?
    In which table, i find this value?
    Please respond as soona s possible. This is very critical for me.
    thanks,

    Yes, reference the Java API package oracle.odi.domain.runtime.session - this package contains classes for managing Oracle Data Integrator Sessions and related objects.
    In this package is the java class OdiSessionStepLog which has the method getReturnCode() which will do the same as the earlier substitution variable example

  • How to write a Query a table and the return result is the column name

    Hi All
    Pls advise how to write a query whereas the return result is the
    column name.
    I know there is describe <table_name>;
    Is there any other ways?
    Pls advise
    Tj
    Edited by: user600866 on Oct 14, 2008 12:13 AM

    Data Dictionary table user_tab_columns has all the column names. You can query that and get what ever you want.
    To get the column list of a table just query
    select *
      from user_tab_columns     
    where table_name = <your_table>Edited by: Karthick_Arp on Oct 14, 2008 12:18 AM

  • How to Change the return value for the parameters

    Hi, Can anyone help me with my problem?
    I have a parameter called "P1_Projects" defined in the HTMLDB page, on the report region, there are 2 buttons, one is "Go" button to submit the report on the screen, so user can preview the report, then another button "Export to PDF" can be clicked to generate the report using Oracle Report Services. The "Export to PDF" button will use the same set of parameters submitted for the "Go" button.
    So, the parameter "P1_Projects" is being used by these 2 buttons. and I have to pass a "%" wild card for "All Projects". To make the "Export to PDF" button work, I have to safe encode the return value for "%" to "%25" in order to pass the URL formula, but now my "Go" button doesn't work with "%25", it only recognize the "%" wild card.
    Is there a way to conditionally change the value depends which button is clicked?
    Any hint or help is highly appreciated!
    Hong

    try creating a plsql process which sets the P1_Projects item as required.
    in the plsql you can do:
    if :REQUEST = 'GO' then
    xxx
    else
    xxxx
    end if;
    set the condition to plsql expression:
    :REQUEST in ('GO', 'EXPORT')
    NB. the request value is usually set to the button name when a page is submitted from a button

  • I can't get my tool bar to get the return arrow or the forward arrow so i can browse. i have to quit the browser and start all over again everytime i go to another site and want to return. not on tool bar and get it on.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/787149]''
    second time i have had to go through this, so here goes, i can't get the return or forward buttons on the tool bar and can't return to the website i am in have to quit the web site altogether and restart the firefox after viewing any site, as i have no return arrows or forward buttons on the toolbar.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • About the return code of the tpcall

    if i run the client one time ,then it's right,
    but if run again and again,
    the server should return 'TPSUCESS' or 'TPFAIL'
    BUT,iSucess got by client will be 64(run the client sencond),128(third),192(fourth)
    i did not know what happend to this
    client:
    long reclen=1024;
    FBFR32* inputbuf=NULL;
    int iSuccess;
    inputbuf = (FBFR32*)tpalloc("FML32",NULL,reclen);
    int count=0;(or some other value,like 5,6..)
    for (int i=0;i<count;i++)
         iSuccess=-1;
         userlog("tperrno==%d,desr==%s",tperrno,tpstrerror(tperrno));
         iSuccess = tpcall("shlr",(char*)inputbuf,0L,(char**)&inputbuf,&reclen,0L);
         userlog("tperrno==%d,desr==%s",tperrno,tpstrerror(tperrno));
         userlog("return==%d",iSucess);
    tpfree((char*)inputbuf);
    server:
    void shlr(TPSVCINFO *rqst)
    int ret=dealfun(rqst);
    FBFR32 * sendbuf=(FBFR32*)tpalloc( "FML32", NULL, 1024);
    if (ret==1)
    tpreturn(TPSUCCESS,0,(char*)sendbuf,0L,0);
    else
    tpreturn(TPFAIL, 0,(char*)sendbuf,0L,0);     
    }

    guorke,
    I suggest you add userlog to the server to see the tpreturn situation and compare with tpcall's return code. iSucess is -1 means something wrong, other values such as 64, 128... means the tpcall's execution scucessfully and they are code related with internal handler index.
    Wayne

  • How to read the return values of the API call

    Hi Friends,
    I am trying to access an image on DocumentMall and I am passing the following URL to login to DocumentMall in my ABAP program.
    https://beta-dmapi.documentmall.com/dmapi/login.do?account=NOBLEBETA&appid=39xxxxxxn&username=admin&password=pasxxxxx
    This will inturn return the Session ID as shown below.
    errorcode=0
    sessionid=ae820d5e-a0e9-4d50-ba3e-e2b41ffd3053
    Can you tell me how to capture the session ID in ABAP.
    thanks
    Krishna

    How are you calling it?  Using HTTP_CLIENT?  If so, use the methods of the response object to get the header or body fields.

  • The "return" button under the screen of my iPhone 4 does not close the apps

    I have to push on it several ans several times before something happens.
    Is someone able to help me fix this issue please?
    Thx in advance

    Ah, you mean the Home button. If you're having a hardware issue, you should take the phone to Apple and have them look at it.

  • Create return but linked to original sales order where the material was delivered in the first instance

    Hi Everyone
    I want to create return but linked to original sales order where the material was delivered in the first instance, I don’t want to create other sales order (to return) with references to the original, and then other sales order to be delivered again (replacement).
    Example
    SALES
    1. Create a sales order number 33 with 10 Ton
    2. The delivery is linked to sales order 33 just with 8 Ton
    3. Invoice is created linked to the delivery with 8 Ton
    4. Sales order number 10 pending qty is 2 Ton
    RETURN
    5. We would like to link the return delivery to the sales order, 5 Tons will be retuned
    6. Credit memo is created
    7. Sales order number 10 pending qty update to 7 Ton

    The only way is to change the item categories in the delivery.
    Create the delivery wrt the original sales order.
    Change the item category(In the config make sure the return is checked)- But I think you need to do some changes in the user exit to enable the item category in the delivery)..
    The other option is to have a return order document(type RE) and then create the return delivery for this document. In the copy controls you can maintain the return item categories while creating the return order from sales order..
    Thanks

  • How to cancel the returns order

    Hi,
    i have done a sales process by creating sales order, delivery, invoice and then i  have taken the goods return by returns order, returns delivery and the credit memo.
    Now i want to delete/ cancel all the documents till from credit memo to sales order. im getting error during deleting the returns order.
    can u tell me the process abt how to can all the docs
    Thanks and Regards
    Kishore

    Hi there,
    What error you get when you try to delete the returns?
    If the credit memo is posted, then rever the posting. T
    hen cancel the credit memo in VF11.
    Reverse the PGI in VL09 for the returns delivery. Unpack & reverse the picking quantity. Delete the delivery.
    Then cancel the returns order.
    Pls note that you cannot delete the sales order. You can only cancel or enter reason for rejection in the line items.
    Same way cancel all the documents from F2 to OR.
    Regards,
    Sivanand

  • Unable to post return delivery whne the input material is batch managed

    Hi,
    While clearing the Subcontract GRN where the input material is batch managed, unable to put return delviery and the system throws error and unable to complete quantity posting.
    Please guide me.
    Regards,
    RR Gopalan

    This is caused due to some technical restrictions in QM.
    When the reverse movement is being posted through QM process, the goods movement is being created in the background and it is being posted without reference to a existing material document. That is the system behaves as if you create a return delivery via MB01. In this case, the system cannot determine the batch number. As the reverse is created in the background and the components are determined internally and the batch cannot be passed over from the QM transaction. To prevent postings and avoid unnecessary inconsistencies in stocks,system will issue the error message.
    Workaround:
    The message M7389 is configurable. Hence please check in transcation OMCQ and set this as warning message. This would allow you to post the return delivery, But the problem is the batch nubmer would be wrong. So, You can define the corret batch number in the user-ext MBCFC010, it's MM related, You'd better to work with your MM colleagues.
    Best Regards,

  • How to generate the return code automatically through EP

    Hello all,
               I have created a transaction Iview and i am calling transaction SE16 to which i am passing application parameter as the table name which i want to see.Now i am getting the SE16 screen with the table name successfully passed on to the input field. But i want the Iview to process this screen also so that i dont have to press enter to see the next screen. i want this iview to process the SE16 screen directly and show me the next screen. I dont know how can i pass the return code parameter which will directly execute the table name entered in SE16 screen.suppose my table name is "ABC" and i have set the application parameter as DATABROWSE-TABLENAME=ABC&~okcode=ANZE where ANZE is the sy-ucomm value.Plz reply at the earliest.
    Thanks and regards,
    Alpa Desai.

    Madden wrote:
    I do think OOP can only complement procedural programming,Wrong. They don't have to have anything to do with each other.
    but I just wish for my app to exit the same way whether I return or not an exit code.
    I mean we are talking about the implementation, or the system, here.
    Simply let it end and the "return code" will be 0.
    But ... is there a way for a Java application to execute another Java application ? The analog for CreateProcess, but in the Java world ?Start a thread and call the main method of the class that kicks it off with the necessary arguements is one way.
    When an Java app executes another Java app will a new VM be created ?Runtime.getRuntime().exec() and call java ...... Which will, obviously, start a new VM.
    Is ther an internal way, for this that will work inside the same VM ?See the thread situation above.
    How will the parent get the exit code from the child ?If called with Runtime simply call System.exit and then (from the original program) evaluate the return code (see the Runtime and Process classes).
    If called in a thread, without using Runtime.exec any where, then you use a return at the end of the main method, but, if you are looking for a "return code" from an entire application, you're probably looking at Runtime.exec anyway. Otherwise, you are better of writing it so that it can be used in a real OOP manner (i.e. you don't have to call the main method of another application at all, you simply start instantiating and using the classes involved), in which case, a "return code" from the "application" is meaningless.
    >
    Timothy Madden,
    RomaniaEdited by: masijade. on Nov 19, 2007 10:18 AM

  • Remote Object - not able to get the returned value from java method

         Hi ,
    I am developing one sample flex aplication that connects to the java code and displays the returned value from the
    java method in flex client. Here I am able to invoke the java method but not able to collect the returned value.
    lastResult is giving null .  I am able to see the sysout messages in server console.
    I am using flex 3.2 and blazeds server  and java 1.5
    Here is the code what I have written.
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" initialize="initApp()">
     <mx:Script><![CDATA[
    import mx.controls.Alert; 
    import mx.binding.utils.ChangeWatcher; 
    import mx.rpc.events.ResultEvent; 
    import mx.messaging.*; 
    import mx.messaging.channels.* 
    public function initApp():void { 
         var cs:ChannelSet = new ChannelSet(); 
         var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8400/blazeds/messagebroker/amf");     cs.addChannel(customChannel);
         remoteObj.channelSet = cs;
    public function writeToConsole():void {      remoteObj.writeToConsole(
    "hello from Flash client");
          var returnedVal:String = remoteObj.setName().lastResult;     Alert.show(returnedVal);
    //[Bindable] 
    // private var returnedVal:String; 
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteObj" destination="sro" /> 
    <mx:Form width="437" height="281">
     <mx:FormItem>  
    </mx:FormItem>  
    <mx:Button label="Write To Server Console" click="writeToConsole()"/>
     </mx:Form>
     </mx:WindowedApplication>
    Java code
    public  
         public SimpleRemoteObject(){  
              super();     }
      class SimpleRemoteObject { 
         public void writeToConsole(String msg) {          System.out.println("SimpleRemoteObject.write: " + msg);     }
         public String setName(){          System.
    out.println("Name changed in Java"); 
              return "Name changed in Java";
    And I have configured destination in  remote-config.xml
    <destination id="sro">
       <properties>    
        <source>SimpleRemoteObject</source>
        <scope>application</scope>
       </properties>
      </destination>
    Please help me .

    You are not able to get the returned value because if you see the Remote object help you will realise you have to use result="resultfn()" and fault = "faultfn()"
    In this you define what you wish to do.
    More importantly in the remote object you need to define which method you wish to call using the method class like this
    <mx:RemoteObject id="remoteObj" destination="sro" result="r1" fault="f1"  >
         <Method name="javaMethodName" result="r2" fault="f2"/>
    <mx:RemoteObject>
    r2 is the function where you get the result back from java and can use it to send the alert.

Maybe you are looking for

  • How do I move my itunes account from old to new email address/userID?

    My itunes account was setup using a work email address.  I want to move my apps and music from that email to a personal email.  How do I do that without loosing anything?

  • Gauge titles variables

    Hello! I have 3 gauge graphs (for 3 measures), and in legend (gauge titles) I show actual values. With View selector user can ''jump'' between these gauge graphs, but unfortunately, the title values (variables, like @1, @4) keep always the value of t

  • Performance of extracting document elements

    I have a container with about 100,000 documents, of which several elements are indexed. When I run a query like this: for $lead in doc('dbxml:leads.dbxml/31308')/als:auto-lead-service return <lead attempts="{$lead/@processing-attempts}"/> the query r

  • Mail always being BCC to me

    Every time I send an Email to someone I immediately get a copy of the email sent to me. The BCC setting is turned off and I don't have anything typed in the CC when I send the mail. I have already tried deleting the account from the iphone and starti

  • ADOBE PHOTOSHOP ELEMENTS 7: no serial number

    I received a CD ROM for ADOBE PHOTOSHOP ELEMENTS 7 with the EPSON scanner V750 Pro I purchased. But...I got no serial number anywhere and I cannot use ADOBE PHOTOSHOP 7 and neither EPSON nor ADOBE want to help me!!! Could you help me?? Thanks Alain