To Find Bad stock transfer

Hi All,
the logic required is to check the sales office of sending and receiving plant and if they are same then it is a good transfer, otherwise a bad transfer. And the sale office , plant  relation is maintained in master Table.
How can i do it at BEX Level and as for now i do not want to change the model and report is based on Info Cube.
Regards
Nadeem

When you got this report requirement, your client would have given you sample layout. According to that, you must include your logic in bex. Share the sample layout to advice further..
You may restrict your KF with two restrictions like Sending Plant = User entry based variable
and Recieving plant = Replacing (sending plant variable).
Hope it gives you an idea..

Similar Messages

  • Badi for purchase requisition and stock transfer order

    Hi,
    Could anybody please tell the BADI to update the item details (dates etc) in the 'Purchase requisition' and stock transfer orders.
    I could find ME_PROCESS_REQ etc but could not locate the methods to modify the item level data.
    Thanks & regards,
    Ravish

    Hi,
    You can use the same badi which you found out.
    ME_PROCESS_REQ.
    In that there is a method process_item.
    There you can get the line items of the PR.
    Then in the POST method you can do the stock transfer .
    In the check method also you can check the entire process of PR.
    With Regards,
    Sumodh.P

  • MM : Stock Transfer Invoice Change

    Hi !
    For Stock Transfer from one plant to another we first make a STI, then Outbound Delivery created through VL10B, then finally make the Post Goods Issue through VL02N. My problem is that even after this process is completed, the system allows to make change in the STI through ME22n. We want the system  not to allow to make any changes once Outbound Delivery craeted or PGI takes place. Can any one help ?
    Thanks in advance.
    Regards
    Anjan

    Dear Anjan,
    I think you cannot achieve this by standard SAP for this you need to customise using user exit or badi. Just check with your abaper. If i find the exit or badi i will send across in my next reply.
    Hope this helps.
    Regards,
    Sreekanth

  • Stock transfer invoice generate without pgi

    Dear experts
    one stock transfer invoice has been created without pgi done and physicaly material has been despatched to sale depot at remote location.stock is not appearing in transit and also we are unable to do pgi right know. without canceling invoice, how we can make pgi and make material in trans so that it can be captured at sale depot . kindly suggest solution asap. Regards

    Dear Anjan,
    I think you cannot achieve this by standard SAP for this you need to customise using user exit or badi. Just check with your abaper. If i find the exit or badi i will send across in my next reply.
    Hope this helps.
    Regards,
    Sreekanth

  • GR no & GR date in stock transfer report

    Hi, Team
    we have developed report for stock transfer (from plant to Depot) in that up to Dec-12 all the relevant information showing correctly but if i run the report for the period 01.01.2013 to 30.01.13 all the Excise details i.e. Excise invoice no,Ex inv date, BED, GR no & GR date data showing blank
    i inform this to our ABAP consultant for this error and he replied that due diff. in period in FI & MM this data showing blank and after April-12 this data showing correctly .
    so kindly advice me how to resolve this issue
    attaching report screen shot for ref.
    pl find below details
    Input :-
    Material
    Plant
    Receiving Plant
    Posting date (From- to)
    Thanks
    Paramanand Shinde

    Hi Sridhar,
    So, do you mean I need to take MSEG(BWART-Movement type field) first, and then MKPF(BUDAT-Posting dt) ?
    Thaks in advance,
    Irfan.

  • Missing pieces during stock transfer

    Hello folks!
    I have a typical problem. i guess if u have worked for domestic deployment project, u wouldnt laugh!!.
    Well, i make a 2-step plant to plant stock transfer, say with 100 pieces. when i complete the stock transfer at the receiving plant, i find 2 pieces missing, how would system accommodate this loss?? it would constantly display the material as in transit.
    (the great Indian Scenario : There are thefts happening in the broad day light in the name of OCTROI. There WILL be a problem in the documents u r carrying with the goods at any given time unless u r ready to part with one or two pieces of what u r carrying. now there are 2 pieces with barcocdes are missing. how to destroy these barcodes legally. so that audit person has no problem with it/ or we have sufficient documents duly signed by the senior most employee in the client company to show why these barcodes have been destroyed)

    Hi,
    SAP suggest the following:
    1) either receive the missing parts and scrap them in the receiving plant or
    2) receive in the receiving plant and make a return STO to the supplying plant and scrap there.
    MdZ

  • Stock transfer between Plant/Storage location to Plant/Storage location

    Dear Experts,
    This is a MM component of SAP Retail.
    We have 4 brands ( Plants of type B, Plants of type C etc) that needs inventory from the same Distribution center (Plant A) for some common products. Here the direction is to prioritize the inventory per brand. The requirement is one brand should not take the inventory of the other brand.
    To overcome this problem , the solution proposed is to have different storage location for different brands in the same DC.
    When we run replenishment  planning for the brands and do a ATP check, the availability check should consider only the one issuing storage location in the DC which we allocated for the brand.
    I do see the following set up in SPRO and I have done the following.
    Step1: Activate Stock Transfer between Storage Locations
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> u2018Activate Stock transfer between storage locationsu2019
    Step2: Assign Delivery Type and checking rule according to storage
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations->Assign Delivery Type and Checking Rule According to Storage
    Step3: Define Shipping Data for Stock Transfer between Storage Locations
    SPRO ->Material Management ->Purchasing ->Purchase Order ->set up stock transport order ->set up stock transport order between storage locations -> Define Shipping Data for Stock Transfers between Storage Locations

    Step4: Define Rule for Determination off Shipping Point
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations -> Set-up Storage-Location u2013dependent shipping point determination->Define rule for determination of shipping point
    Step5: Shipping Point Assignment According to Storage Location
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> Set-up Storage-Location u2013dependent shipping point determination-> Assign Shipping Points According to Storage Location
    Question.No:1- After completing the above set up  in me21n, the issuing storage location field is greyed out. I am not able to enter any value here. Can you please help.
    Question.No:2
    I do see the following setting.
    Under IMG ---> Material Management ---> Purchasing --> Purchase Order --> Set up Stock Transport Order -->Business Add-In for Determination of Issuing Storage Location
    Display the IMPLEMENTATION
    Double click on the method GET_SUPPLYING_SL
    Click the Execute button
    Click the detail button on IF_EX_MD_EXT_SUP
    Execute GET_SUPPLYING_SL
    There is a prerequisite for this BADI .I have done those things.What i dont understand is where to force the combination of supplying site/issuing stor.loc/receiving site/receiving stor.loc
    Kindly provide your inputs.
    Thanks,
    Vasanthan

    Dear,
    Have You configure MRP in second plant (where you want to transport the Material).
    Please try with this and do again Po for stock transport.
    Regards
    Piyush Patel

  • Stock Transfer B/W Two Plants ( 303 & 305 )

    Hi MM Experts.....
    Im working with the scenario of two plant stock transfer ie., 303 & 305 and in need to control the posting date of 305 should be gerater or equal to the reference document ie., 303.
    There is a field LFBNR - Document No. of Reference Document but i cannot find the reference doc number ie., 303 on that.
    Im tried to figure out the reference document in the MKPF & MSEG table but i couldn't only for 303 & 305 document alone.
    Please suggest me ......
    Regards
    MM-L.Senthil Kumar

    There is no link between 303 and 305.
    One moves stock from a storage location  into in-transit, while the other posts from in-transit to a storage location.
    Depending on the time one needs to transport the material physically, you can have stock of several movements done with 303 in in-transit.
    Further you are looking for a way to restrict posting with an earlier receipt date than issue date, but this just assumes that the GR folks are working wrong, while the people who perform the goods issue are doing everything right.
    You better analyse your process and talk with the receivers why they enter a earlier date. I doupt that they are doing this to mess around. I would even guess they are doing it because they received the goods at this earlier date, but could not perform the GR because the goods issue folks had not done their job.

  • Table for  the PO Date and Stock Transfer Order Date of a material no

    Hello Everyone!
    I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
    On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
    I am not getting the table through which I can get these two dates for a material.
    Please help me out.
    Its urgent.

    hi,
    see these tables:
         EKKO – Purchase Order Header Table
         EKPO – Purchase Order Item  Table
         EKBE – PO History table.
    reward if its useful

  • Stock transfer Price calculation

    Dear expert,
    I got following request from my client about calculating the Stock pricing for Excise calculation,
    u201CWhenever stock transfer of any material happens from one excisable plant to another excisable plant we have to pass on the excise duty, irrespective of MRP of that material i.e. assessable value for Excise calculation will be same.
    In order to find out accessable value we divide the material in four category i.e.
    a. Domestic Purchase
    b. Imported
    c. In-house production
    d. Interplant transfer
    In the z transaction we put material code & plant as an input field.
    System will first check that whether BOM of that material exist or not, if yes than take the MAP value of the same, add 10% on it give assessable value.
    If BOM does not exist than search movement 105, if exist than check that whether its purchase order has INR currency, if yes than it is domestic purchase if not than it is Imported, in case of domestic purchase take its accessable value, in case of imported we have to add customer duty.
    If 105 does not exist than check 101, check that this 101 is against production order or purchase order, if production order than take MAP + 10% if purchase than take its accessable value.
    If 101 does not exist than check 310, 305 movement & take supply plant of the same & again check the all the above scenarios.u201D
    Please advise which condition or Table can be used for finding out the requirement
    Regards,
    Pranav Dave

    Hi Astricks,
    I'm not really sure, but please check the different settings.
    For the store there should be a customer defined.
    The DC should be in a different distribution chain than teh store to ensure possibility of different prices.
    There must be a valid inforecord from the vendor and further please check the table KNVV if there is an entry between the customer of the STORE and the distribution chain of the DC.
    Also check in the transaction WB02, if the delivery sites are maintained.
    If this will not help, please open an customer message on IS-R-BD-RPC  (retail pricing) with example. Someone will take care about it.
    Regards
    Björn

  • In STO(stock transfer)proforma invoice is done without PGI.

    Hi
    experts,
    in our system for stock transfer (STO) PROFORMA INVOICE  is done without POST GOODS ISSUE.
    I want to make compulary PGI AND THEN PROFORMA INVOICE.(DELIVERY-PGI-PERFORMA INVOICE)
    is there any USER EXIT OR BADI.
    THANKS
    AJAY.

    Hi,
    goto VTFL select Delivery type to Billing type to which you want PGI should be Checked before Invoice
    Goto Header detail and change the Copying requirements as 311.
    Hi , I have tested again in my system , It is working fine with Routine 311 - Copying requirements at item level (VTFL) , while creating invoice you will get log info saying document has allready been created, so check again once..
    Ex : Copy controls (VTFL) = F8 to LF , Item category TAN (Standard) assign 311 To Item category.

  • Intercompany Stock Transfer in Retail

    Dear Experts,
    I have the following issue:
    we need to customize intercompany stock trasfer in Retail system (ECC 6).
    I not how to do it in normal SAP.
    Is it different in Retail?
    I cannot assign Sales Org/Distr Channel/Division and Customer to the plants in "Set Up Stock Transport Order".
    There is no plants created for Retail (with T001W-VLFKZ field not empty).
    Does it mean that intercompany stock transfer is configured differently in Retail (different customizig transactions)?
    If yes where can I find detailed description of configuration steps for intersompant stock transfer in Retail?
    Thanks in advance.

    Dear Sotiris,
    so is scenario in retail is the same as in normal SAP but only customizing done with different transactions?
    For example in normal SAP I would start procedd with creating Purchase order from ordering plant, indicating vendor which has suppliyng plant (LFA1-WERKS) corresponding to delivering plant. By this field system would understand that this is intercompany stock trasfer order.
    In retail I cannot assign field LFA1-WERKS since it gives me error: "0101 is not an industry plant; assignment not possible. You wanted to assign plant 0101 to the vendor. You cannot make this assignment as 0101 is not an industry plant. You can link a retail plant to a vendor via the plant master.".
    WHERE I CAN LINK VENDOR TO PLANT? I cannot do it in WB02 and also in WB08!
    Please help!

  • Stock Transfer Error

    Hi Gurus,
    I am trying the Stock Transfer Process.
    Plant to Plant
      ME21N with Bought Out
      VL10B
      VL02N
      PGI
      VF01
    Now I am getting the following error, kindly help to solve this.
    0080000063 000000 Customer DWMHH0002: Exception 7 in function module VIEW_KUAG2
    LongText
    Diagnosis
        During the attempt to read customer master record
        DWMHH0002, an error occured which is not handled
        separately.
    System Response
        The billing document for this business transaction was not
        created.
    Procedure
        If the error occured during a background job, you should
        try to create the billing document online. If the error
        occured online, the billing document can be created online.
        In any case, you should check the customer master record.
        If you cannot find any error in the master data, contact
        SAP.
    ical data
    ech. data details
    Client                                 643
    Group Number
    Sales Document Number                  0080000063
    Item Number of the SD Document         000000
    Schedule Line Number                   0083
    Counter in Control Tables              00
    Message Identification                 VF
    System Message Number                  083
    Output Type                            E
    Message Variable 01                    DWMHH0002
    Message Variable 02
    Message Variable 03                    VIEW_KUAG2
    Message Variable 04
    Group Type                             F
    Rajesh Chalke

    Hi Gurus,
    The T.Code is not working, I am using ECC 6 Ver.
    Customer is already maintained for plant 1000 only I am trying to STO between two diff Plant and Storage Location.
    Path - MM + PO + PO + STO + Define Shipping Data for Plants
    1000
    1100
    Both I have defined.
    Rajesh Chalke

  • Stock transfer plant to plant

    hi,
    while doing stock transfer from one plant to anoather(same company code),
    if the spit valuation is active for the material, system is throwing the error that u cant use 303 and 304 mvt type, and insist to use 301 or STO.
    ours both plant are situated in different areas, please let me know can i go for 301??
    i tried with 351mvt, but while doing the migo_gi of issuing plant, it asks for purchase order(STO), but in the MIGO field i dont find PO field to mention, can any body please help.

    Hi Suresh
    It seems u r in total confusion, first will try to make ur question simple:
    1) You want to transfer stock from one plant to another within a Co Code.
    Ways u can do it: 1) One step procedure using mvt type 301.
    2) 2 Step using mvt type 303 and 305. so from where mvt type 304 is coming.
    u use 301 to transfer from Ures to Stock in transfer and then from stock in transfer to unres of rece. plant u use 305.
    3) if plants are in different area best way is to use STO.
    ur receiving plant should raise a STO against issuing plant.
    then ur issiong plant should use 351 to tansfer unres stock to stock in transit.
    and finally rece. plant will do a GR 101 mvt type.
    and in MIGO against the transaction field u have to select the STO/PO and then enetr the valid STO number ..execute.
    regrds
    Yogesh

  • Frieght for intra company stock transfer

    hi all,
    Greetings!
    Our requirement is to include the Freight cost included to the intra company stock transfer.
    Generally, we don't use any pricing procedure for intra company STO and ther is no condition tab for the PO.And the GR will be valuated at the valuation price of supplying plant.
    If we assign pricing procedure in the configuration for "Determine Schema for Stock Transport Orders" , how will the system find the valuation price of the supplying plant and include the freight cost to that. Is there any standard condition type available to capture the valuation price of supplying plant.
    Regards
    Gobinathan G

    Hi,
    U Can use the calculation Schema for STO.
    M/06--> RM2000 -- STO is the std template.
    Then under : Define Schema Determination
    Determine Schema for Stock Transport Orders
    Then based on the Document type in PO the Automatic pricing Procedure will trigger.
    you can maintain the Fright cost there.
    Accounting entries:
    Receiving plant Inventory a/c  : Dt
    Supplying Plant Inventory a/c : Ct
    Fright clearing A/C               : Ct
    SAM

Maybe you are looking for