When I retrieve returnpack from customer, stock type should be blocked

Hello,
When I retrieve returnpack from customer, I want stock type should be blocked. When I use standart movement type 622, stock type is unrestricted use. Are there any way for this? I couldn't find any movement type which retrieve returnpack stock from customer stock (for example 622v) to storage location stock (for example 622).
Best regards,
Yasar Unalp

BADI ME_PROCESS_PO_CUST .
here you can add the Logic .

Similar Messages

  • Transfer of stock from Returns stock type to Unrestricted/Blocked

    Hi,Friends
    How to transfer of stock from Returns stock type to Unrestricted/Blocked
    what movement type will trigger by transfering this stock,
    Thanks & Regards
    Krishna

    Hi,
    use MB1B Mvt Type 453 returns to unrestricted
    Unrestriced to Blocked stock use - 344
    Thanks & Regards,
    kiran

  • Return from customer movement type

    Hello,
    We use in our system 653 mov.type when we return goods from customer.
    Usually we create the return order with reference to the original customer order and the original customer order is MTO (make to order) . When posting the 653 mov.type the system take the cost of the material (VPRS) from moving average price of unrestricted stock.
    My question is : in cases that my return customer order is with reference to original customer order, is it possible to configure a movement type (or other way) that the system will take the cost from the original customer order and not from the cost in unrestricted stock and in advance it will affect the moving average price ??
    I will try to explain by an example:
    I have in stock 10 pieces each for 5 $,
    My return order has 4 pieces that has cost of 8 $ in the original customer order.
    The system behavior today after returning the stock with 653 mov type:
    I have 14 pieces with cost of 5 $ - no change in moving average price and VPRS cost for profitability analysis  is 5 $
    The desirable behavior according to my expectations:
    I will have 14 pieces with cost of (50+32)/14=5.8 u2013 the moving average will change according to cost in original customer order 8 $ and VPRS cost for profitability analysis is 8$.
    I hope I made my self clear enough
    Regards
    Idit

    Hello Kishore,
    Thanks for your answer.
    I can understand the idea that MAP changes only in case of Purchase of material not at time of sales returns.
    But I want to give you a case that causes problems in our view:
    Most of my sale cases are MTO, that means that I buy for order and therefore my MAP will not be affect.
    Example: my MAP 3 $ I buy to order for 5 $ and when I will do GR it will not affect the MAP (101E)
    When I will return the goods (653) I want that the cost from vendor (5$) will affect the MAP because this was the real cost from my vendor but when I return the stock I return it to unrestricted stock.
    I have cases that I transfer sales order stock to unrestricted stock and the MAP is change according to cost of sales order (411E/412E) u2013 it's the same in my logic - the MAP change according to the real cost from vendor.
    I will be happy to have your response.
    Kind Regards
    Idit

  • How to retrieve date from a set type in SAP CRM in BRF+ application

    Hi,
    Can anybody please let me know how can I retrieve date from a set type in SAP CRM to BRF+.
    I need to process the data in BRF+ and then send it back to CRM. Thanks.
    Regards
    Yogesh

    Hi Manish,
    From my experience, you cannot change an existing attribute of a set type (esp. when it has a dependency).
    You need to delete the attribute, save the changes and then re-create the attribute with new value table.
    Also remove any dependencies before deleting the attribute.
    Regards,
    Vartika

  • Retrieve data from LONG data types

    Hi,
    I am trying to retrieve data from LONG data types with following query.
    select * from all_views where upper(text) like '%TABLE_NAME%';
    In above query text column has long datatype. This query works for varchar, but it returns an error for long.
    How can I modify the query so that it returns data from text column.
    Thanks in advance,
    Aditya

    You can't use any expressions against LONG. One solution is to use PL/SQL:
    BEGIN
        FOR v_rec IN (SELECT * FROM ALL_VIEWS) LOOP
          IF UPPER(v_rec.text) LIKE '%TABLE_NAME%'
            THEN
              DBMS_OUTPUT.PUT_LINE(v_rec.text);
          END IF;
        END LOOP;
    END;
    /SY.

  • Duplicate the details section when I retrieve data from Delivery notes

    Hey all.
    I built a query that retrieve data from ODLN and it works fine.
    But, when I have a Delivery Notes Document that has items from some different orders (that I copy them to Delivery notes of course) it duplicate my rows in the report
    I run the query at SQL server and it's work fine (on the same document)
    Is someone knows why this is happen?

    If one of these programs will not kick the iPod out of recovery mode than you are out of luck.
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too
    Your only home is to restore from your last backup
    iOS: Back up and restore your iOS device with iCloud or iTunes       

  • Trace the reference Standard movement type from customized movement type

    Hi,
    In my system there are few customized movement type.
    Can I know which Standard movement type was used as reference to create the customized movement type.

    try table t156 table .. put your mvt type and see the BUSTR field for the reference mvt

  • Is Custom_authentication blocking me to retrieve password from custom tabl

    Hi
    All i am using custom authentication function which i got in forum and is as below:
    /* Formatted on 2007/02/28 16:54 (Formatter Plus v4.8.0) */
    CREATE OR REPLACE FUNCTION custom_auth (
    p_username IN VARCHAR2,
    p_password IN VARCHAR2
    RETURN BOOLEAN
    IS
    l_password VARCHAR2 (4000);
    l_stored_password VARCHAR2 (4000);
    l_expires_on DATE;
    l_count NUMBER;
    BEGIN
    -- First, check to see if the user is in the user table
    --select count(*) into l_count from ap_users where login_id like p_username;
    SELECT COUNT (*)
    INTO l_count
    FROM my_table
    WHERE UPPER (user_name) = UPPER (p_username);
    IF l_count > 0
    THEN
    -- First, we fetch the stored hashed password & expire date
    SELECT PASSWORD, expires_on
    INTO l_stored_password, l_expires_on
    FROM my_table
    WHERE UPPER (user_name) = UPPER (p_username);
    -- Next, we check to see if the user's account is expired
    -- If it is, return FALSE
    IF l_expires_on > SYSDATE OR l_expires_on IS NULL
    THEN
    -- If the account is not expired, we have to apply the custom hash
    -- function to the password
    -- l_password := custom_hash (p_username, p_password);
    -- Finally, we compare them to see if they are the same and return
    -- either TRUE or FALSE
    IF p_password = l_stored_password
    THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    ELSE
    RETURN FALSE;
    END IF;
    ELSE
    -- The username provided is not in the DEMO_USERS table
    RETURN FALSE;
    END IF;
    END;
    I have created a user table my_table for managing user . I have created a from on table with report for creating,updating,deleting users .
    Whenever i am trying to update the first name which is one column of my custom table then for each update asking for password but my client want that once he login as an employee without asking password he should update any column.
    If he desire he can change the password also .
    but when i am enetring as an employee and trying to update any user each time asking password . So is it due to Custom_Auth function or any other problem.
    Please can any one tell me the reason.
    Thanks in advance,
    Amit

    Hi all my problem get solved thanks i am allowing this report to admin so making password as text field working fine thanks

  • Error when calling bpm service from custom component

    Hi all,
    I have built a custom component in order to fetch task related data by calling a bpm service inside the method of my custom service.
    This is the error trace i got in audit info.
    "not loading page MSG_PAGE because it is up to date with timestamp 1324331008000
    Script stack dump (user: abc, request: IdcService=CUSTOM_SERVICE&dDocName=ABC018005)
    No resource include or function stack for error. "
    What does this error signify?
    In the service definition of my custom service, I am using MSG_PAGE as my template. Is it related to this why i am facing the error? how do i get to know for a particular  functionality i should use a particular template?
    Please provide your inputs asap.
    Thanks in advance.

    HI jiri,
    Please have a look at the stacktrace and provide me a solution as in how to overcome the error.
    I had included Report.trace in order to check the flow of the program and found that the problem arises when i establish the connection.
    Caused by: java.lang.IllegalArgumentException: interface bpmpackage.TaskQueryService is not visible from class loader
             at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
             at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
             at weblogic.wsee.jaxws.spi.ClientInstance.createProxyInstance(ClientInstance.java:143)
             at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:855)
             at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
             at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:792)
             at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
             at javax.xml.ws.Service.getPort(Service.java:92)
             at bpmpackage.TaskQueryService_Service.getTaskQueryServicePort(TaskQueryService_Service.java:97)
             at package.BPMConnection.getService(BPMConnection.java:58)
             at package.classname.fetchTasks(classname.java:239)
             at package.classname.InboundServiceMethod(classname.java:311)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
             at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
             at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    Thanks in advance.

  • When materials are returned from customer how to create gate entry ?

    I need to create gate entry for customer return materials before doing PGR. Is there any process available in SAP?
    Pls help
    Jaya

    HI
    you can do one thing
    At the time of doing PGR create a new output type and design smart form / Script based on client requirement and take the print out at the time of PGR
    and also if you want to check the stock for Return material you can track in the system by using MB51 you can find out rather than doing manually because one if you done PGR means you received the Stock
    if i am wrong please correct me
    Regards,
    Prasanna

  • Mail crashes when it retrieves mail from POP server

    I'm using Mail version 2.1.1 on OS X 10.4.10. I have two e-mail accounts each on a POP server. I've been using Thunderbird, but Mail does a few things that Thunderbird doesn't. The only problem is that if there are a lot of messages to download, Mail just crashes. As an example, I have a good 600 messages in one of my mailboxes (because I don't like to delete messages from the server if I have room to keep them there). I just added the account to Mail and it wants to download every single message on the server, so it gets about 5 to 50 messages downloaded and then crashes. I don't really need it to download all those messages, so is there a way to tell Mail to only download messages that I get after the date that I add the account? or will I just have to use IMAP?

    Does Mail really crash (i.e. quit unexpectedly) or does it freeze (i.e. become unresponsive)?
    You cannot prevent Mail from trying to download all the messages from the POP server, but Mail shouldn’t crash when downloading them either...
    Try the following to check whether the junk filter could have a bearing on it and post back with your observations:
    1. Either tell Mail to go offline immediately after opening it, or shut down your Internet connection and open Mail afterwards.
    2. Go to Preferences > Junk Mail and disable junk mail filtering.
    3. Go online again. Does Mail crash now?
    Another thing that may cause Mail 2.x to crash while retrieving mail is using Address Book smart groups in rules and/or in smart mailboxes. The only workaround I know for that is getting rid of any rules and smart mailboxes that make use of AB smart groups.

  • Pacman -S faile to retrieve packages from [custom]

    Hi Forum
    I have installed Arch in an external USB HDD
    /dev/sdb1 -> /boot
    /dev/sdb2 -> /
    /dev/sdb3 -> swap
    /dev/sdb4 -> /mount/Arch_repo
    in .../Arch_repo I have a snapshot of [community], [core] and [extra];
    I have configured [community], [core] and [extra] in pacman.conf so as to point to the proper locations in the folders.
    I also have a /mount/My_repo
    in My_repo I dump all packages I built from AUR, plus my own packages created from my own PKGBUILDs and enabled [custom] in pacman.conf to point to that place.
    Yet when I run pacman -Syu ( academic example, since my Arch_repo is static, the snapshot is not supposed to change, since this setup will be used to create a LiveDVD as soon as a finish packing and installing everything I want ) pacman complaints it cannot find custom.db.tar.gz.
    Good point... it does not exist... ... so pacman does not know the contents of [custom] and whatever i dump there; I have compared to community.db.tar.gz, and found out this gzip is a whole set of folders with the names of packages containing each one the package manifest and the dependences list.
    Is there any tool to build this for a custom repo, or must I create this by hand...?
    My question is of particular importance since I am thinking about using a tool that checks the the existing packages in the system ( pacman -Q ) and then uses them to build a live Image of that system, ArchISO; if these packages cannot be "seen" inside some repo ( missing custom.db.tar.gz ) their inclusion in my live image is very likely not to occur...
    And lots of packages I want to include in my Live contraption are in [custom]... so how do i fix this thing....??
    I mean... for ArchISO to work, and include packages from a repo, the tar.gz of that repo's database must exist... is there some way I can create this for [custom]...?
    BRGDS
    Alex
    Last edited by Alexvader (2010-05-23 19:56:59)

    cd repodir/; repo-add reponame.db.tar.gz *.pkg.tar.*

  • Delivery number range taken is different from customizing delivery type

    Folks,
    I have the following situation:
    Delivery type has number range 17/18 which is SAP standard. During creation of deliveries, system take a different number range, i.e. a not SAP standard. Where else then in the delivery can we influence the number range determination?
    Thanks.
    MdZ

    The normal behaviour is that in VN01, you would be maintaining the number ranges for all SD documents and assign the serial number in the respective documents.  In your case, for delivery, in OVLK, for your delivery document type, the number should have been assigned.
    In case you have assigned but still, system is not considering that, then user exit would have been applied.
    thanks
    G. Lakshmipathi

  • HT201269 Retrieve info from iphone 4 after sim was blocked

    I have set up my new iphone 5 but before i could get home the sim in my iphone four was blocked how can i now retrieve the information from my iphone 4

    Nothing is stored on the SIM. Aside from being able to connect to the cellular network, it's still fully functional.

  • Object corruption when retrieving object from List

    Hi,
    We have a batch program. There are muliple threads running which read data from database and then processes the data.
    In each thread. there is a call to fetch data from a table, create objects and populate a list and return it.
    This list is then given to another method which processes each item from the list
    This is a simplified version of what the code looks like.
    public class Manager{
         public void run(){
              Reader r = new Reader();
              Processor processor = new Processor();
              List list = reader.getItems();
              processor.processItem(list);
    public class Reader{
         public List getItems(){
              List list = new ArrayList();
              // Resultset rs = execute a query and get
    // a resultset object
              while(rs.next()){
                   Item item = new Item();
                   // set information from rs and set
    //into item
                   list.add(item);
              return list;
    public class Processor {
         public processItem(List list){
              Item item = null;
              while (!list.isEmpty()){
                   item = (Item)list.remove(0);
    In the processItem method of Processor class, when I retrieve item from the List
    it should return me an object of type Item. But very rarely what happens is that
    the object I return is not of type Item, but null or a junk class like [C@1309b55.
    Once this happens, i get a class cast exception when i am trying to cast this to
    Item class.
    Can anyone please tell me if you have encountered such a scenario before?
    The process is running in a 2 processor environment.
    It's mulithreaded, but method calls are done from within a thread.
    The ArrayList is not shared across multiple threads. It's life starts
    and ends within the run method of the thread.

    Item class is made up of three instances of three
    separate classes with corresponding getters and
    setters.
    All these 3 classes, have member variables of String,
    int and double.
    There are getter and setter methods for all of the
    variables as well as overridden equals and hashcode
    methodsYou have to show your code, inside [code] and [/code] tags.

Maybe you are looking for

  • How to update to Safari 2.0.4??

    My update to Safari 2.0.4 failed (probably because I tend to rename my apps with their version number, so the old Safari was named "Safari 2.03", but this is never any problem with iTunes or QuickTime). There was a new app, called Safari (with versio

  • How can i get files from my time capsule to my new mac?

    Hello there,  I know this topic i much discussed, but searching has not turned up a solution. I have a new mac book pro 15 on order and want to grab my files from my time capsule.   My old mac book pro 15 (3 months old) was encrypted with file safe. 

  • Trouble with Filemaker Installation Package-User Issue

    I'm have an issue with a downloaded update from Filemaker (.dmg). When I open the file the Installation Package that we all see is a blank icon. Says it wants to open with Adobe PageMaker. If I change user to another I have set up, the package icon i

  • LED Lights on R6970 Lightning (Twin Frozr 3)

    Is it possible to turn off the row of LED lights on the back of the card? Sometimes I inevitably leave my computer on at night and I believe these lights would be super distracting, considering I have a windowed case. This is the only thing keeping m

  • Vo based on where like clause

    Hi All, In my Vo the query is:- select empno,ename from emp where ename like :1 now i am setting the variable in VO as follows:- setWhereClauseParams(null); setWhereClauseParam(0, empNameKey); executeQuery(); But i am getting an error :- SQL error du