MB1B: Transfer posting from material to material

hello,
I would like to add material validation mechanism in MB1B for transfer posting from material to material, that is we can define only particular materials can be transfer to receiving material and validate in MB1B with specified movement type, how to do this?
Is there any thing available in standard?
we can do this using user exit but I couldn't find any exit relevant for this scenario?
I appreciate your earliest responses.
regards,
Jawed Ali

well I have checked all these exits but none was called during the process:
                                                                                MBCF0002            Customer function exit: Segment text in material doc. item               
MBCF0005            Material document item for goods receipt/issue slip                      
MBCF0006            Customer function for WBS element                                        
MBCF0007            Customer function exit: Updating a reservation                           
MBCF0009            Filling the storage location field                                       
MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1               
MBCF0011            Read From RESB and RKPF For Print List in  MB26                          
MBCFC003            Maintenance of batch master data for goods movements                     
MBCFC004            Maintenance of batch specifications for goods movements                  
regards,
Jawed Ali

Similar Messages

  • Transfer posting from material to material ( for blocked stock)

    Dear All,
    Whether transfer posting from material to material can be done for blocked stock also? because through 309 movement type i did not find any option, so let me know if there is any option
    Regards,
    Balakrishna R.V

    Dear
    Transfer posting of material can't be done if material is in Block Stock.
    When block stock is inspected in quality test in inquality inspection stock then it goes to Unrestricted use stock.
    finally Transfer posting is possible for unrestricted use stock material.

  • MB1B transfer posting error "SL stock in transfer exceeded by 20 PC."

    Hi All,
    I'm doing a MB1B transfer posting for my materials from 1 storage location to another using movement type 311,
    but some of the materials I encountered this error.
    "SL stock in transfer exceeded by 20 PC : 'Material name' 'Plant' 'Stor. Loc' "
    I went to MB5T to check the materials if it's in the stock in transfer, but they are not in the list.
    I've also check in MMBE to check the stock value of these materials, it shows 100 in unrestricted use which is more than what I'm transferring.
    May I know what have i missed checking?
    Please help and thank you.

    Hi There
    Seems you are trying to do the One step Transfer between locations (311), So it is not required to look into the 313, 315 steps (Stock in trasfer, Removal and palce in transfer)
    From the Suppling location these Material and Batch is reserved for some purpose(261 or 201) and these material may under Dynamic Availability Check, In this case even if you have the stock in Location if it is hard allocated for some other purpose you cant use this qty
    Please check the above settings.
    Thanks
    Senthil P

  • Transfer posting from batch to batch using 309 or 311 issue

    Hi Experts,
    Need your help, I'm facing the following issue, I'm trying to transfer posting from batch to other batch using 309,
    Using MIGO
    the material, plant, storage location are the same but the batch number are different, I didn't get any message and when I save, there's nothing is changed, I checked the material document and found that the destination batch is same as source batch.
    Using MB1B
    the material, plant, storage location are the same but when I entered the source batch, the batch number is copied to the destination batch number and I got message  M7104 "stock to be removed from storage same as stock to be placed into the storage" and I can't change the destination batch number.
    Please advise how can I solve this issue or if there's any alternative way to transfer from batch to other by one step.
    Regards,
    Mohamed Mansour.

    You can well use 309 movement type in MIGO or MB1B and also you can well change the receiving batch number during the transaction..
    MB1B
    MIGO
    I think you can able to change the receiving batch.
    What the status of receiving batch shows in MIGO or MB1B ?
    Also check you field selection for movement type 311
    Go to OMBW, double click on 311, then double click on Transfer Posting
    It should be as optional entry.
    Then try again MB1B.
    Regards
    Dev

  • Transfer Posting: From Valuation Type to Valuation Type

    Hi Guys,
    When i do Transfer Posting: From Valuation Type to Valuation Type  in same plant and same Storage location with mvt type 309 system gives Error as below
    "Stock to be removed from storage same as stock to be placed into storage
    Message no. M7104"
    Can any one suggest the solution
    Regards,
    Ashish Vats

    Hello Ashish,
    As you are trying to transfer same material but one val type to another type, the system checks the source location and destination location, but in your case both are the same it throws information/error message. You need to put the source valuation type and destination type as mentioned by Sanjay.
    Hope this will help.
    Regards
    Arif Mansuri

  • WMS Transfer posting from Q to unrestricted issue.

    Hi All
    Im having some issue  in when I change from Quality inspection to Unrestricted stock.
    When I GR using MVT 101, the stock will go into Interm Area 902 with Q status in the warehouse
    I then use MVT 321 to post the certain material from Q to unrestricted.
    When I use LS26 to check, the stock status of the material has changed from Q to unrestricted.
    However when I create a TO, the status in the TO is still "Q". ( it should be unrestricted so when i do confirm the TO , it will be placed into the propose bin as unrestricted stock not Quality Inspection )
    I check the TR that was created for that material and the stock status is still "Q".
    Is there some setting im missing from my configuration , as the system should automatically change the TR from stock status "Q" to unrestricted after the transfer posting from MVT 321?
    Thanks in advance !

    Hi Frenchy
    Thanks for the reply.
    As explained before. When I do a MIGO from inbound, in the WMS warehouse it should go to a general receipt area ( 902 ) as it should not directly go to bin because its needs to pass IQC before it should be properly transfer from the general receipt area to the bin. In the warehouse via LS26. It's status is Q, and you are correct, when I create the MIGO it automactically creates a TR with the status. After it has pass IQC, ( via inspection lot QA11), a transfer posting is created to for the material ( by batch code ) to change to unrestricted stock. Again in WMS view via LS26. The stock with the batch code is changed to unrestricted.
    Now, my question is, after MVT 321 for transfer posting, in WMS is there a linkage where it should automactially change the TR status to unrestricted so when i create a TO via material document of the GR, it should go to unrestricted instead?

  • Transfer posting from storage to storage locn

    Dear All,
    I understand we can do the transfer posting from storage location to storage location through Mvt type 311.
    The scenario is I have to transfer the goods from Storgae locn 1 unrestricted to storage locn 2 quality inspection.
    Kindly let me know if it is possible.

    Hi,
    There is no direct movement type. You have to do this in 2 steps. 1st with 311 for St.Loc-St.Loc then 322 for Unrestr to QI.
    Hope it helps
    Shiva

  • Transfer posting from functional area A to functional area B

    When running the F.50 transaction some currency gain/loss postings have been posted to the wrong functional area. Can somebody help me how I can do a transfer posting from one functional area to another if it's possible? Or do you know another solution to this issue?

    Hello,
    Please try once transfer posting with clearing through T.code F-51
    and choose transfer posting with clearing.
          Please try this once in development i tried this for other like changing of business area amount cost center like that..
          Regards,
    Sankar

  • Transfer posting with reference to Material Doc and PO

    Dear all,
    Any Idea on how to use this function Transfer Posting wrt Material Doc/PO.
    Basically there is a genuine requirement from client which seems quite logical. There are two PO to different Vendors. Goods are receipt and sent to Quality Inspection. Once visual inspection is done, material from one Vendor is sent to Unrestricted and other still lying to be inspected. Material is transferred to Unrestricted. How does we tag that Stock of Vendor 1 is sent to unrestricted and Stock from vendor 2 is still on Inspection.
    There may be multiple Vendor in this case.
    Secondly, there are more than 50 line items in the PO, I have checked all the items and decide to sent it to unrestricted. And, to save time and confusion, I need to refer the GR/PO.
    No batch
    Any input. And how does this new function (attached image) is helpful. It is not possible to refer the PO/Mat doc during TP though the option is there.
    Regards,
    Lakhya

    Hello ,
    Case 1- Remining quantity will not be taken and sent back to vendor.
    you can just reject the quantity if you don`t want it any more.So only one invoice will be happened for the quantity which you have transfer
    if you will be returning the remaining quantity then do the config for auto return in  SPRO.
    So steps will be like this,
    1) create po for 100
    2) do GR in Quality
    3) post 90 in unrestricted and 10 in return while doing the UD in QA11
    4) do the invoice it will be done for 90.
    case 2 - remaining quantity will be taken in afterwards
    if you want partial UD then it wont be possible , And you have to either plan your receipts to accommodate full quantity of item in single lot .
    you can either do a enhancement to restrict the MIRO before UD is done using LMR1M001
    hope this help.Search on net you will get thread for this requirement.
    Thanks
    Kunal

  • Mb1b Transfer posting problem (urgent)

    hello
    i m using movement type 309.
    in the second screen they are entering batch..so based on that batch i m getting matnr and quantity in that batch.
    In my ZBAPI ..
    SELECT matnr clabs FROM mchb
                           INTO TABLE it_mb1b
                           WHERE werks = plant      
                           AND   lgort = send_stloc 
                           AND   charg = batch.    
    In the second line item..They are entering scrap material which the data has to get from MARD table. There is no batch exists for this second line item.
    i m writing query to get the data from mard like this:-
      SELECT matnr labst FROM mard
             INTO CORRESPONDING FIELDS OF TABLE it_mard
                           WHERE matnr LIKE '%-SCRAP'
                           AND   werks = plant     
                           AND   lgort = '2200'. 
    So, how to fill this second line item in BAPI.
    For the first line item i m using it_gmitem-entry_qnt in the BAPI item list.  This is for the first item in second screen.
    Similarly how to fill the second line item in BAPI_GOODSMVT_CREATE.

    FUNCTION zbapi_mb1b_new.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(MOVE_TYPE) LIKE  BAPI2017_GM_ITEM_CREATE-MOVE_TYPE DEFAULT
    *"       '309'
    *"     VALUE(PLANT) LIKE  BAPI2017_GM_ITEM_CREATE-PLANT DEFAULT '2000'
    *"     VALUE(SEND_STLOC) LIKE  BAPI2017_GM_ITEM_CREATE-STGE_LOC
    *"     VALUE(RECV_STLOC) LIKE  BAPI2017_GM_ITEM_CREATE-MOVE_STLOC
    *"     VALUE(MOVE_PLANT) LIKE  BAPI2017_GM_ITEM_CREATE-MOVE_PLANT
    *"       DEFAULT '2000'
    *"     VALUE(BATCH) LIKE  BAPI2017_GM_ITEM_CREATE-BATCH
    *"     VALUE(QUAN_MEASURE) LIKE  BAPI2017_GM_ITEM_CREATE-QUANTITY
    *"  EXPORTING
    *"     VALUE(MAT_DOC) LIKE  BAPI2017_GM_HEAD_RET-MAT_DOC
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET2
      DATA : ls_quan1 TYPE p DECIMALS 3,
             ls_quan2 TYPE p DECIMALS 3,
             ls_quan3 TYPE p DECIMALS 3,
             ls_quan4 TYPE p DECIMALS 3,
             ls_quan5 TYPE p DECIMALS 3,
             ls_quan6 TYPE p DECIMALS 3.
      DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
      gmhead-pstng_date = sy-datum.  "Posting date defaulted to system date
      gmhead-doc_date   = sy-datum.  "Document date defaulted to system date
      gmcode-gm_code    = '04'.       "Transfer Posting (MB1B)
      SELECT matnr clabs FROM mchb
                           INTO TABLE it_mb1b
                           WHERE werks = plant       "Plant
                           AND   lgort = send_stloc  "Storage location
                           AND   charg = batch.      "Batch Number
      SELECT matnr labst FROM mard
                           INTO CORRESPONDING FIELDS OF TABLE it_mard
                           WHERE matnr LIKE '%-SCRAP'
                           AND   werks = plant      "Plant
                           AND   lgort = '2200'.    "2094 in production
      LOOP AT it_mb1b INTO wa_mb1b.
        ls_quan2 = ( 5 / 100 ) * wa_mb1b-clabs.
        ls_quan3 = wa_mb1b-clabs + ls_quan2.
        ls_quan4 = wa_mb1b-clabs - ls_quan2.
        IF ( quan_measure EQ wa_mb1b-clabs ).
          ls_quan6 = wa_mb1b-clabs.
       ELSEIF ( quan_measure > wa_mb1b-clabs AND quan_measure <= ls_quan3 ).
          ls_quan5 = quan_measure - wa_mb1b-clabs.  "difference
          READ TABLE it_mard WITH KEY matnr0(3) = wa_mb1b-matnr0(3).
          IF sy-subrc EQ 0.
            it_mard-labst = it_mard-labst - ls_quan5.
            MODIFY it_mard TRANSPORTING labst WHERE
                             matnr0(3) = wa_mb1b-matnr0(3).
          ELSE.
          ENDIF.
          MODIFY mard FROM TABLE it_mard.
          CLEAR it_mard.
          ls_quan6 = wa_mb1b-clabs + ls_quan5.
       ELSEIF ( quan_measure < wa_mb1b-clabs AND quan_measure <= ls_quan4 ).
          ls_quan5 = wa_mb1b-clabs - quan_measure.
          it_mard-labst = it_mard-labst + ls_quan5.
          MODIFY it_mard TRANSPORTING labst WHERE
                              matnr0(3) = wa_mb1b-matnr0(3).
          MODIFY mard FROM it_mard.
          ls_quan6 = wa_mb1b-clabs.
       ENDIF.
        it_gmitem-move_type    = move_type.      "Movement type
        it_gmitem-plant        = plant.          "Plant
        it_gmitem-stge_loc     = send_stloc.     "Storage Location
        it_gmitem-move_plant   = move_plant.     "Receiving Plant
        it_gmitem-move_stloc   = recv_stloc.     "Receiving storage location
        it_gmitem-batch        = batch.          "Batch Number
        it_gmitem-material     = wa_mb1b-matnr.  "Material Number
        it_gmitem-move_mat     = wa_mb1b-matnr.  "Receiving/issuing material
        it_gmitem-entry_qnt   = ls_quan6.        "Quantity in unit of entry
        APPEND it_gmitem.
      ENDLOOP.
      CLEAR return.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header             = gmhead
          goodsmvt_code               = gmcode
      TESTRUN                     = 'X'
       IMPORTING
      GOODSMVT_HEADRET            =
         materialdocument            = mat_doc
      MATDOCUMENTYEAR             =
        TABLES
          goodsmvt_item               = it_gmitem
      GOODSMVT_SERIALNUMBER       =
          return                      = return
      IF NOT mat_doc IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         wait          = 'X'
    IMPORTING
      RETURN        =
      ELSE.
      ENDIF.
    ENDFUNCTION.

  • Mb1b transfer posting

    Hello friends,
    In mb1b second screen, they are entering second line item which is called scrap(eg: M03-SCRAP).This is updated in MARD table as the scrap materials doesn't belong to any batch.
    So, they are entering matnr and labst (quantity in second line item).
    How to identify this particular scrap material from mard table.
    I m writing query like this:-
    SELECT matnr labst FROM mard
           INTO CORRESPONDING FIELDS OF TABLE it_mard
                           WHERE matnr = 'M03-SCRAP'
                           AND   werks = plant
                           AND   lgort = '2200'.
    How to get this material number without hardcoding bcoz this ll be vary for different material numbers.

    Hello max,
    scrap field they enter like "M03-SCRAP".
    They said that if first 3 letters of scrap = first 3 letters of receiving material.
    then data has to pick from mard-labst and to be added to the first line item of material and mard should be updated.
    please luk into my coding(function module):-
      DATA : ls_quan2 TYPE p DECIMALS 3,
             ls_quan3 TYPE p DECIMALS 3.
      DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
      gmhead-pstng_date = sy-datum.
      gmhead-doc_date   = sy-datum.
      gmcode-gm_code    = '04'.       "Transfer Posting (MB1B)
      SELECT matnr clabs FROM mchb
                           INTO TABLE it_mb1b
                           WHERE werks = plant
                           AND   lgort = send_stloc
                           AND   charg = batch.
      SELECT matnr labst FROM mard
                           INTO CORRESPONDING FIELDS OF TABLE it_mard
                           WHERE matnr like '%SCRAP'
                           AND   werks = plant
                           AND   lgort = '2200'.
      LOOP AT it_mb1b INTO wa_mb1b.
        it_gmitem-move_type    = move_type.
        it_gmitem-plant        = plant.
        it_gmitem-stge_loc     = send_stloc.
        it_gmitem-move_plant   = move_plant.
        it_gmitem-move_stloc   = recv_stloc.
        it_gmitem-batch        = batch.
        it_gmitem-material     = wa_mb1b-matnr.
        ls_quan2 = quan_measure - wa_mb1b-clabs.
        IF ls_quan2 LE 0.
          ls_quan3 = wa_mb1b-clabs.
        ELSE.
          ls_quan3 = wa_mb1b-clabs + ls_quan2.
          it_mard-labst = it_mard-labst - ls_quan2.
    MODIFY table it_mard TRANSPORTING labst.
        <b>MODIFY it_mard TRANSPORTING labst WHERE matnr = 'M03-SCRAP'.</b>    MODIFY mard. " FROM TABLE it_mard.
        ENDIF.
    <b>" Here how we know that matnr only update in mard.</b>
        it_gmitem-entry_qnt    = ls_quan3.
        APPEND it_gmitem.
      ENDLOOP.
      CLEAR return.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header             = gmhead
          goodsmvt_code               = gmcode
      TESTRUN                     = 'X'
       IMPORTING
      GOODSMVT_HEADRET            =
         materialdocument            = mat_doc
      MATDOCUMENTYEAR             =
        TABLES
          goodsmvt_item               = it_gmitem
      GOODSMVT_SERIALNUMBER       =
          return                      = return
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      wait          = 'X'
    IMPORTING
      RETURN        =

  • Linking A service PO to Transfer Posting From Plant To Plant Movement

    Dear All ,
               We have 11 plants in all . So every time some goods need to be transfered from one plant to other usually a service vendor does the work .
               So my client wants to create as many Open service PO as service vendors  and every time we do goods transfer posting in MB1B/301 it wants to assign the respective PO number (It will be decided on the basis of vendor who is doing transfer posting) to that transfer post document .Later bill passing will be done on the basis of these assignments .
               Can anybody let me know the complete mapping for this scenario if it is a practical requirement .

    >  Can you re-explain to me this step by step ?
    Hi,
    In VOV6 create one Z schedule line category by copying any std sch. line.
    Give values as below
    order type = NB
    Item Category = 7
    Acc *** Category = Blank
    Item relevant for delivey = Ticked
    PR del scheduling = Ticked
    Movement type = 601
    Maintain same material in both the plants
    Create vendor master for supplying plant
    Now,
    When you create and save sales order, automatic PR would be generated with NB type
    Create PO wrt this PR.
    Create delivery through VL10D wrt created PO using 641 movement type
    Do GR using 101 movement type in receiving plant.
    Then create normal outbout delivery for customer wrt Sales Order and then invoicing using VF01
    Doc. flow would be
    Sales Order - PR - PO - Del (641) - GR (101) - Del to customer (651) - Billing
    Hope you get some inputs
    regards,
    Sagar

  • Need information on the transfer posting from WM To IM

    Hello All,
    Is there any scenario in WM and IM, where you are doing the transfer posting in MIGO_TR and creating the material doc for it. Now the stock moves in IM but when u create TO for the material doc and confirm the TO. That's where the stock moves in WM.
    1) MB1B-311 Movt type---create TO for the mat Doc---i am moving the stock from one storage location to another location...then it moves the stock in IM, but i create TO and confirm in LT06...that's where, the stock moves in WM.
    2) MB1B---321 MOVT TYPE...LT06...the stock category changes in IM and WM respectively...
    I know the above scenarios work fine but there is any scenarios in SAP, where the posting happens first in WM and then in IM.
    i need the clarity on the below scenarios, which is similar in case.
    transfer-WM to IM
    Backflushing of WIP to an interim storage location?
    Thanks,

    As Manish mentions above, when you are performing a posting change in a WM-managed SLOC, the preferable method is to use LQ02.  This is because you already know the exact quant involved in the posting change and if your configuration is set properly, it is a single transaction for the end user.
    If you start with MIGO, you must then follow on with LU04 as a second step to convert the Posting Change Notification in the foreground - otherwise you risk carrying out a posting change on the wrong quant!
    You will first need to create custom WM movement types for the constellation of movements you want to perform these posting changes with (e.g., U > S, S > U, etc.).  For the examples I just named you can copy the appropriate 3xx WM movement as a template.  I would recommend that you set these movement types for automatic creation, automatic confirmation and post to the same bin.
    In the IMG you can go to WM > Interfaces > IM > Define Posting Changes and link the IM and WM movements and also the source/destination stock categories (or special stock).  Then in LQ02 you can simply enter the warehouse, storage type, bin and WM movement involved and you should be able to tick the quant(s) to change and post.
    One limitation of using LQ02 for initiating the posting change in WM is that you must transform the entire quant.  If, for example, you have a quant with 100 EA and only 41 EA are to be blocked, you should first quickly perform a bin-to-bin movement of the stock to be blocked to some other bin, perform the posting change, and then move it back.  This has been my experience.  If someone knows a way to do a partial posting change using LQ02 I'd love to know how to do it. 
    Good Luck!
    Jason

  • Transfer posting from plant to plant

    Hi Friends,
    I am doing 303 movement type via mb1b transaction. system is showing an error message "Use one step procedure for transfer posting to material subject to valuation".
    Earlier also i have done 303 mvt, but this time it is showing this message. When I go to error details, it is showing " receiving plant is subject to split valuation".
    Pl tell me what to do now?
    Regards,

    Hi,
    check the entries in the following transaction.
    Path: SPRO->materials mgmt.->purchasing->purchase order->setup stock transport order->assign document type,one-step procedure,underdelivery tolerance
    click on execute,
    check the entries.
    supplying plant ,   plant, doc.type,one-step procudure,tolerance
    check box.

  • Mass Transfer Posting From Quality Stock to Return Stock with FI Effect

    Dear Gurus,
    1 Is there any way To do Transfer Posting At a stretch 1500 material list from Quality Stock to Returns Stock within a plant ?...
    2 Effect of Financial Entries eg Cost ?..
    Thanks & Regards
    Darvesh

    Hi Shoib,
    Is there any way To do Transfer Posting At a stretch 1500 material list from Quality Stock to Returns Stock within a plant ?...
    2 Effect of Financial Entries eg Cost ?..
    Sol:  1  ans is No. You Can not  transfer a 1500 material  from quality to unrestricted stock, Cause  the  Transfer of material is based on Either  PO or material doument
         If you  still want to do it  Chek with your ABAper to  develop a BDC  wich can transfer the material and or each PO  it should crreate a Accounting Document

Maybe you are looking for

  • Using Convert to handle NULL values for empty Strings ""

    After having had the problem with null values not being returned as nulls and reading some suggestion solution I added a converter to my application.   <converter>     <converter-id>NullStringConverter</converter-id>     <converter-for-class>java.lan

  • Creating PDF in Outlook 2010 w/ JPG attachment - jpg does not attach

    Using Acrobat X Std. w/ Office 2010 standard.  Have an email message with a jpg file attachment, using the "convert to PDF" add-in, PDF gets created but there is no attachments.  This works will .doc, .xls, .pdf attachments but we are having no luck

  • Java.rmi.RemoteException:  newServlets not found

    I am developing a java servlet using J2EE 1.4 RI. I have developed a new application called newServlets.ear. This application has a web component named Servlet1. When I click on Tools, Deploy I get the following error: stop newServlets running... jav

  • Changing the root file system device to another device.

    Hi all, I have my arch root file system on /dev/sda1  ext4 and /home on /dev/sda6 , I need to change root device to /dev/sda5. Can I do it just by copying / to /dev/sda6 and reinstalling grub? Please help me if anyone tried it. Thanks & Regards

  • I can't remove "Window" menu at Forms 6i

    in Forms 6i .....I made Menu Item and called it "Window" ... and in property palette I customized as follow :- http://img219.imageshack.us/img219/1858/winitemqz6.png that suppose make the bar completely empty ... (because i removed DEFAULT&SMARTBAR f