Goods issue for Subcontract PO's
Hello Experts,
For earlier SAP versions there used to be a Tcode : ME2O to issue materials to vendor against subcontract PO's. I do not find this tcode on the SAP standard menu on recent versions. Is there a new way to issue materials to vendor?
Can someone tell me what the new Tcode is & menu path for the same.
Thanks,
Ram
Hi,
Check on it:-
Goods Issue against PO
Re: Subcontracting: component issue storage location
pherasath
Similar Messages
-
Goods issue for subcontracting
Hi,
when I post a goods issue for subcontracting with trx MB1B and mvt 541 the system replies with:
For object XABBELEGNR , number range interval 01
does not exist OMJ6
It seems that numeric ranges are okHi,
Number Range for GR/GI Slip Number
Please check in OMJ6 t.code are anybody maintained number range,If not please maintain.
Hope this would help.
Regards,
JS -
Batch number issue when posting goods receipt for Subcontracting PO
Dear expert,
I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
No batch number will be proposed during PGR in MIGO...
I dont quite understand where is the issue??
My understanding:
We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
Then Vendor will finish the end product and send us back the end product.
We consumption the components use 543 O movement type? And GR the end product..
So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
Where are the issues???
Thanks.Hoo Laa wrote:
I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
>
> I am thinking maybe they didnt active the batch determination for 543 movement type..
>
> Thanks.
Hi Hoo,
You are right!!
Setting of batch number determination has its importance in Mvt Type be it 541, 543....
The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
Cheers!!
Shiva -
Goods receipt for subcontracting order! BAPI_GOODSMVT_CREATE
I wanna use BAPI "BAPI_GOODSMVT_CREATE" to create goods receipt for subcontracting order.
But it says that this combination is not possible. Combination of my movement type and this BAPI.
What can i do to solve it?
thanks in advance.>
Julia Nikiforva wrote:
> I wanna use BAPI "BAPI_GOODSMVT_CREATE" to create goods receipt for subcontracting order.
> But it says that this combination is not possible. Combination of my movement type and this BAPI.
>
> What can i do to solve it?
>
> thanks in advance.
Might work
report zbapi_goodsmovement.
parameters: p-file like rlgrap-filename default
'c:\sapdata\TEST.txt'.
parameters: e-file like rlgrap-filename default
'c:\sapdata\gdsmvterror.txt'.
parameters: xpost like sy-datum default sy-datum.
data: begin of gmhead.
include structure bapi2017_gm_head_01.
data: end of gmhead.
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
data: begin of mthead.
include structure bapi2017_gm_head_ret.
data: end of mthead.
data: begin of itab occurs 100.
include structure bapi2017_gm_item_create.
data: end of itab.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
data: begin of pcitab occurs 100,
ext_doc(10), "External Document Number
mvt_type(3), "Movement Type
doc_date(8), "Document Date
post_date(8), "Posting Date
plant(4), "Plant
material(18), "Material Number
qty(13), "Quantity
recv_loc(4), "Receiving Location
issue_loc(4), "Issuing Location
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
del_no(10), "Delivery Purchase Order Number
del_item(3), "Delivery Item
prod_doc(10), "Production Document No
scrap_reason(10), "Scrap Reason
upd_sta(1), "Update Status
end of pcitab.
call function 'WS_UPLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = sy-uname.
gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
loop at pcitab.
itab-move_type = pcitab-mvt_type.
itab-mvt_ind = 'B'.
itab-plant = pcitab-plant.
itab-material = pcitab-material.
itab-entry_qnt = pcitab-qty.
itab-move_stloc = pcitab-recv_loc.
itab-stge_loc = pcitab-issue_loc.
itab-po_number = pcitab-pur_doc.
itab-po_item = pcitab-po_item.
concatenate pcitab-del_no pcitab-del_item into itab-item_text.
itab-move_reas = pcitab-scrap_reason.
append itab.
endloop.
loop at itab.
write:/ itab-material, itab-plant, itab-stge_loc,
itab-move_type, itab-entry_qnt, itab-entry_uom,
itab-entry_uom_iso, itab-po_number, itab-po_item,
pcitab-ext_doc.
endloop.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = ' '
IMPORTING
goodsmvt_headret = mthead
MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item = itab
GOODSMVT_SERIALNUMBER =
return = errmsg
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ mthead-mat_doc, mthead-doc_year.
perform upd_sta.
endif.
endif.
FORM UPD_STA *
form upd_sta.
loop at pcitab.
pcitab-upd_sta = 'X'.
modify pcitab.
endloop.
call function 'WS_DOWNLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
endform. -
Report for Goods Issued for a Project
Dear Friends,
I want a report for a goods issued for a project.can any body convey the T Code Please...
Regards,use mb51 and select q-special stock and enter wbs no. for which you want to see the details.
if you have more than one wbs then also you can paste no.s of wbs in mb51
regards -
Goods issue for plant maintenance order
Goods issue with ref to plant maintenance order( Componenets of the order) is not possible in transaction code MIGO. Error message " MIGO is not possible for the refurbishment order".
Goods issue for the same order can be posted with transaction MB!A.hi santhosh
kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
follow the procedure for goods issue in refurbishment order.
Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
The entry screen for a goods issue appears.
Choose the pushbutton For order.
Enter the relevant order number in the dialog box and choose Continue.
An entry screen appears.
Choose Copy.
The Maintain Serial Numbers dialog box appears.
Choose Reference document.
Enter the order number in the Refurbishment order group box and choose Execute.
A list appears with the planned serial numbers for the refurbishment order.
Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
The serial numbers are copied into the Maintain Serial Numbers dialog box.
Choose Exit window.
The goods issue is posted.
regards
thyagarajan -
Problem for Goods Receipt for Subcontracting Purchase Order
Dear all,
Presently, we are using SAP version 4.6C and we need to introduce GR for
Subcontracting Purchase Order. We have developed a ABAP program to handle
subcon Goods Receipt by uploading flat-files from our subcontractor. The
scenario is as follows :
Goods Receipt for Subcontracting Purchase Order
1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
movement.
2. Data provided to the function are as follows :
- Posting date
- Document date
- Material number
- Plant
- Storage location
- Batch
- Movement type (101)
- Quantity
- Purchase order number
- Purchase order item
- Movement indicator (B - Goods receipt for purchase order)
3. The function will do data verification and automatically determine GI
item for subcon stock:
- Movement type (543)
- Special stock (O - parts prov. vendor)
- Material
- Quantity
- Plant
Our problem is that :
Only the GR item in the interface is to be transferred and the GI item is
determined by the system. So, the quantity for subcon stock cannot be
changed using this BAPI. Then the system will continue processing the goods
receipt and create material document.
Manually, by using transaction code MIGO, the user can display the subcon
stock data and then change the quantity.
By using transaction code MB01, after the user fills in all the GR fields,
the system comes to line item 002 (subcon stock data) and then quantity can
be changed.
As per user requirement, quantity for GI item must be same with the quantity
that has been transferred to subcon vendor in Delivery for Subcon
(transaction code VL02N).
We cannot achieve this requirement by using the BAPI mentioned above. Would
appreciate any valuable help from anyone who is able to help us on this
matter. Are there any other BAPI's that can help us to achieve the same
result ?
Thank you in advance and best regards.As far as i understood the problem I suggest u to create the
BDC according to user actions that are performed in he manual
operation.
I can't say that the BAPI performs the exac solution what you want.
I have done some BDC work using MB01 and suggest you to be careful
and try to keep the complete in the logic as some chages in rows in BDC will
change the complete scenario.And throw correct quantity val in correct
material
row.
This methodology will help u even in mass uploads.
Or in case of automation u can perform the call transaction BDC in
background mode.
so As per my understanding bdc program is the solution. pls try and let me
know. -
Error while doing Good Issue for Production Order using BAPI
Hi All,
I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
*Action in Transaction (GM_CODE)
*GM Code for Goods Issue for Production Order is 03
gs_gmcode-gm_code = '03'.
*Header Data
*Posting date
gs_header-pstng_date = sy-datum.
*Document date
gs_header-doc_date = sy-datum.
*Item Data
*Material
gs_item-material = zptp_s_rf_migo_261-matnr1.
*Movement Type
gs_item-move_type = '261'.
*Movement Indicator
gs_item-mvt_ind = 'F'.
*Stock Type
gs_item-stck_type = 'F'.
*Plant
gs_item-plant = gv_plant.
*Storage Location
gs_item-stge_loc = gv_str_loc.
*Quantity
gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
*Unit
gs_item-entry_uom = gv_uom.
*ISO code for unit of measurement
gs_item-entry_uom_iso = gv_uom.
*Order Number
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = zptp_s_rf_migo_261-aufnr
IMPORTING
output = gs_item-orderid.
*Reservation Number
gs_item-reserv_no = gv_resv_num.
*Reservation Item
gs_item-res_item = gv_resv_itm.
*Reservation Type
gs_item-res_type = gv_resv_type.
APPEND gs_item TO gt_item.
Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gs_header
goodsmvt_code = gs_gmcode
IMPORTING
goodsmvt_headret = gs_headret
TABLES
goodsmvt_item = gt_item
goodsmvt_serialnumber = gt_serial
return = gt_return.
Thanks in Advance.hi,
did you look at message ?
System says, there are differences between the interface data and the order data. It can be anything. I think you should check
data in the interface .
this is the long explanation of your message :
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Feb 6, 2012 11:24 AM -
Automatic goods issue for outbound delivery, during the transfer order confirmation
Hello,
Could you please advise how to realize automatic goods issue for outbound delivery, during the transfer order confirmation in the WMS.
Now after creation of outbound delivery, i can't post the goods issue. Before i have to make the transfer order and confrim it and only after this i can post the goods issue in the VL02 t-code.
Could you please advise - what i have to customize that to make automatic GI for outb. delivery (i mean with creation material document) during the TO confrimation.
Thanks in advance.Hi Iiya
Check the below setting, might be helpful -
Goods Issue for a Return Outbound Delivery for both Sales Returns
Hi gurus..
tell me the approch for the following development....
custom transaction to perform a Goods Issue for a Return Outbound Delivery for both Sales Returns and Consignment Returns (Pickups) process within a lean warehouse in SAP.
it is vry urgnt
thnksI seem to have found the information I required here:
http://wiki.sdn.sap.com/wiki/display/Snippets/Simulating+the+Sales+Cycle+with+BAPI's
I'm going to keep this post active because I'd still like answers to my questions and any advice that you might be willing to share in regards to what I am trying to do.
Edited by: Mikael Nensén on May 18, 2011 3:52 PM -
Post Goods Issue for Outbound delivery return
Hi, I'm trying to Post a Goods Issue for a returned outbound delivery but I cannot find a function module to do this, I tried using SD_DELIVERY_UPDATE_PICKING but its creating the material against the outbound delivery with status archived, which means it wasn't created.
I also tried using the MB_CREATE_GOODS_MOVEMENT, but this one is creating the material document but not updating the status and the document flow of the delivery.
Thanks,
PabloHi Lopez,
Post Goods Issue with MB_CREATE_GOODS_MOVEMENT FM in VL02N
Regards,
Sravanthi -
BAPI to reverse Goods Issue for movement type 601
Hi Everyone,
Does anyone know of any BAPI that could be use to reverse Goods Issue for Movement type 601?
I tried using BDC of transaction VL09 and was able to reverse the GI document successfully but the return message type was 'E' with unreadable message -
Tabelle 'E' enth#t keinen Eintrag f# 'Ch 004 &'
When I tried using BAPI_GOODSMVT_CANCEL, I get the error message 'E M7 130 Material document cannot be processed'.
Best Regards,
Junwenhi, Junwen!
the following code works pretty well:
fp_vbeln = vbeln_val.
fp_budat = budat_val.
fp_tcode = 'VL09'.
fp_vbtyp = 'J'.
CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
EXPORTING
i_vbeln = fp_vbeln
i_budat = fp_budat
I_COUNT =
I_MBLNR =
i_tcode = fp_tcode
i_vbtyp = fp_vbtyp
TABLES
t_mesg = it_mesg
EXCEPTIONS
error_reverse_goods_issue = 1
OTHERS = 2.
luck. -
Different movement types for Goods Issue for different Order Types
Hello Experts,
Can we maintain different movement types for Goods Issue for different Order Types at the time of automatic creation of reservations?
Thanks and regards,
SatyajitSatyajit,
Folow the link given,
Re: How to add new movement types when creating reservation?
Hope this helps you.
SmanS -
BAPI For Create Goods Issue for Sales order with picked quantity
Hi friends,
Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
with sales order .......its creating delivery order but not doing goods issue with piked quantity........pls,reply its argent
-
How to execute 261 goods issue for REM order items other than with MFBF?
Our users are looking for an easy way to post a 261 goods issue for a single component of a repetitive manufacturing order without using the MFBF transaction where they have to deselect all other components of the order.
The ideal situation would be to use a transaction similar to MB1C or MB11 to simply enter the planned REM order, component material id, and its respective quantitiy and then post.
Any information you can provide will be helpful.Strat,
Thank you for your response but LT01 does not seem to provide the functionality that I am looking for.
To clarify, our users would like to complete a 261 movement for a single component within a particular repetitive manufacturing, without going into the MFBF transaction and having to deselect all of the unnecessary components just to single out one.
So ideally we would like to use the MB1C transaction for a 261 movement. Enter in a REM order, the material id, and the quantity to be issued and simply post a single material. Currently when we attempt to do this with MB1C we receive the error M7162 that our order, which is a product cost collector, cannot be processed with this transaction.
Hope this helps clear it up and thanks again for your response.
- Nick
Maybe you are looking for
-
IE 9.0 doesn't show updated PDF instead shows from cached version
IE 9.0 always shows cached version of PDF file not updated one. Can i know what is the cause of this issue in IE. Actually same issue was occur in IE 8.0 but i've changed security setting to default. As a result, IE8.0 shows updated PDF not from cach
-
Flash or Director for a Platform Game
Hi all, First of all, I want to say that this post is not meant to start another fight about these 2 great app, I just want your advice about which one can give me better performance on the web. I feel comfortable using Lingo and Actioscript 3, howev
-
Can you accept collect call from jail to your at&t go phones
-
Impossible de configurer imessage sur mountain lion
je recois un message d'erreur (Une erreur de serveur c'est produite lors ...) lorsque je configure mon identifiant appel sur Facetime et imessage sur mon MacBookPro depuis la dernière Mise à jour de Mountain Lion OS X 10.8.2
-
Hello ! Is possible to remove the feature (search google , search surf canyon, search duck duck go ,search wikipedia) when a text is selected?