MB1B Transfer posting 311Q ( Material provided to vendor ) ......
Hello
Subcontracting process useing movement type (311 Q)
in the trasaction MB1B. i wold like to fetch the components from the PO , like 541.
error "Combination of movement type 311 Q and function selected not possible "
please help me
you cannot consume with 543 if you have not move any stock with 541, even you created a storage location.
The storage location is useless for the consumption, except you use the PP subcontracting process instead of the MM subcontracting process.
A storage location for the subcontractor is usually on created for the case that you send materials directly from subcontractor to customer. in this case you receive the finished material into that location, but for consumption in MM subcontracting process no storage location is involved. the material has to be in special stock O and is only monitored at plant level, instead of storage location the vendor is shon in stock overview MMBE.
In PP subcontracting process, you create a production order yourself to consume the materials, only the service fee is ordered via a PO that is linked to this production order. the calculation of the finished material is made from the production order. you then have to receive twice, you do MIGO to confirm that you got the service, and you receive the quantity to the production order.
Similar Messages
-
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 Aliwell 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 -
GR to "Material provided to vendor" stock from PO
Hi
I need to Post stock directly to "Material provided to vendor"
Stock while doing GR with reference to Purchase order and
I activated QM view for the material. So, I entered vendor no in the PO and select SC indicator also. While doing GR with
reference to PO, stock also increased in Quality inspection stock of Material provided to vendor. Now my problem is
there is no inspection lot was generated. I want to create
inspection lot. Is it Possible ? if no, pl clarify.
Thanx in advance,
Regards,
RRS.Hi,
Try with following,
Assign QM Active to movenent Type 101- O, then maintain Quality infor record- Insp. Control- Source inspection Key ( Take help frm u r QM Consultant)
Rgds,
Vikas -
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 -
How to clear the stock of material provided to vendor(subcontracting stock)
Hi SAP Gurus,
Please let me know how to clear the stock of material provided to vendor(subcontracting stock) and need your help in what senario this stock will show in " Matl prov. to vendor "
Thanks and Regards,
SHARAN.Hi Sharan,
Matl Povided to Vendor stock will appear in Subcontracting scenario.
If at all you have given some material to a subcontractor , this will be consumed automaticaly when you will recieve the ordered material from subcontractor.that is 543 movement will take place in the backgroung when u do the GR.
In case if u need to clear the stock u can do 542 and take the stock back to unrestricted.
Edited by: Donsandy on Jan 21, 2009 6:19 PM -
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.VDear
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 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. -
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 = -
Transfer Posting 1 material into many component material
Hello Gurus,
Good Day! I would like to seek some help with regards to a scenario wherein after a Finished Good is produced and found out in QI that it is rejected, this FG will be disassembled.
For example the BOM below:
Finished Good: FG1
Semifinished Good : SFG1, SFG2
Raw Material: RM1, RM2
In the scenario, the Finished Good will be rejected and will go to blocked stock.
From the Blocked Stock, it will be dissassembled into its seperate component.
The Semifinished Good (SFG1, SFG2) of this material will go to other storage location were it will be processed and will undergo crushing so it can be used again.
The Raw material (RM1 and RM2) will go to QI to be inspected if this material can be used again.
Question is how we will be able to do this transaction in the system. We are not using Repetitive Manufacturing so we cannot use the backflush functionality.
I tried to use movement type 310 Transfer posting Material to Material Reversal, but it needs 1 unit of material per Component which makes it incorrect.
Please let me know any ideas you can share.
Thank you,
Raymondhi
try this
copy movement 201 and 202 as zxxx and zyyy
>nwo From the Blocked Stock, it will be dissassembled into its seperate component.
create new costcenter for this dept say DDDD
now issue fin1 with ZXXX
then receive the SFG1 and 2 by ZYYY
>The Semifinished Good (SFG1, SFG2) of this material will go to other storage location were it will be >processed and will undergo crushing so it can be used again.
now agin issue SFG1 and 2 withZXXX for EEEE cost center (for crushing)
receive withZYYY RM1and 2
while receiving choose quality stock
>The Raw material (RM1 and RM2) will go to QI to be inspected if this material can be used again.
hope it helps
regards
KI -
MRP4 view exclude storage location & material provided by vendor/customer..
Hi
Could anyone please tell me in MRP4 view for a material,where is the option so that i can exclude or include the storage location stock from MRP?
and also in which T code i should indicate the material is provided by vendor/material provided by customer?In CS01wher's this option?
Please help me
Thanks & regards
RajHi Karthik,
MRP area is nothing to do with storage locations settings in MRP4 view. If you want to activate MRP area and use the MRP run at MRP area level then you have to customized MRP area either at storage location level or sub-contractor level (in MRP master data settings )... then you need to assign this MRP1 view of the material and with valid MRP type. Now when you run the MRP then planning will be carried out at this MRP area for this part.
With storage location indicators in MRP4 view (must enter with putting the stoarge location values from MM02/MM03) you can exclude the stock of this storage location (indicator 1) in the palnning run or you can plan seperately with indicator2 with using re-order level. Here no need of MRP area.
If helps rewards points.
Regards
TAJUDDIN -
Hello All,
Is it possible to Transfer all unrestricted materials in a warehouse (in a particular storage type) to blocked?
thanks in advance
regards,
ranjitHi Ranjit,
Using MB1B transaction code and movement type 344 you can move unrestricted stock into blocked stock.
The outcome of this transaction would a material document number.
Later create a transfer order using Transaction Code LT06 and cofirm the same.
Kindly revert back in case your are struck any where.
Regards
Krishna
Note - Reward me if my solution has solved your issue -
MB1B transfer posting doesn't copy serial number information to delivery
Hi all,
we have a decentral warehouse setting and use MB1B for transfer postings. MB1B automatically creates the corresponding delivery which will be transmittedt to the external warehouse.
Unfortunately the serial number from MB1B will not be copied into the delivery.
Is there a configuration setting that I miss, or is there a User-Exit which could be used to copy the serial number information from transaction MB1B into the delivery?
Thanks fro your help,
FrankHi Frank,
Use Tcode VOFM to define the Data transfer routine . Your MM consultant may help you more.
Pole -
MB1B transfer posting Idoc/Message type for outbound and inbound
Hello All
Can anyone tell me the idoc/message type for movement type 313 outbound and 315 inbound to SAP. This is for MB1B Enter Transfer Positing.
Thanks
RickyIts WMMBXY
-
External Processing with material Provided to Vendor
Dear All,
I have a problem in external processing of Maintenance Order.
When i have created external processing operation.
I have assigned one component for that external operation which i have to send to vendor.
After saving the Maintenance order, system is generating Purchase Requisition for that operation.
That purchase requisition is having account assignment category F. But it is not picking the item category L and the component assigned for this external operation is not flowing to the purchase requisition.
Please guide me to solve this issue.
Thanks & Regards
BalaHi
For external service we can use PM03, for that we have to create service sheet and proceed further.
But here my requirement is, just like PP external processing they are doing one operation outside.
If you look at PP routing, Operation overview there is given external processing data and there will be subcontracting tick.
If we tick the sub-contracting button, then system will pick the component assigned to that operation to the Purchase requisition.
If we don't tick that button, system will not copy the component to PReq. .
Is there any option available here in PM?
Please guide me.
Thanks & Regards
Bala -
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,
LakhyaHello ,
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
Maybe you are looking for
-
Data reconciliation - real example
HI, Can any one give me a real example (for any one scenario) for data reconciliation. Please do not give me the procedure or SAP published material. Thanks in advance
-
Table for Profit center for Valid Plant
Hello, Kindly provide me the Table for the Valid Profit centre against the Plant.in the result it should give me the list of Plant and Profit Centre. Thanks regards
-
Having issue with PDEContentRemoveElem() for deleting PDEElements
Hi, I am facing some problem in my code for deleting the PDEElements from the input pdf file. I used the method PDEContentRemoveElem() and still I am seeing no elements are getting deleted from the pdf file. I gave the full code I have written for t
-
Can't See Files On Remote Server
Wondering if anyone has a fix for not seeing files on remote server... It's even got my host stumped. I have a fairly large static site which I CAN SEE files via my host's "File Manager" 90 Folders 3090 Files 52,336.74KB But I cannot see files and fo
-
Guest Account. Web Only??
Hi How do I activate the guest account in Mountain Lion so that it is web only? Thanks, Paul