Goods Receipt using handling unit!!
Hi,
I need to do GR based on the handling unit no (VEKP-EXIDV)....
i have found that bapi BAPI_GOODSMVT_CREATE will suffice the need...but what i have is VEKP-EXIDV....how to fetch other values required and do the GR?
Regards
Gunjan
using VEKP-EXIDV, fetch the delivery number from VEKP-VPOBJKEY where VEKP-VPOBJ is 01.
Then using this delivery number fetch the details from LIKP and LIPS and pass that data to the BAPI..
try this...
reward points if helpful...
Similar Messages
-
Goods Receipt for Handling Unit using RF
Hello,
The customer requirement is to do Goods Receipt for HU in RF. In RF the standard transaction is LM76 for GR for HU.
The scenario is Multiple handling units are there for each inbound delivery. the client wants to do GR for each HU. where as in
standard TC: LM76, if one HU is entered GR is done for the entire inbound delivery.
Can i go for customized transaction (is it possible to develop) in RF where GR is done for each handling unit ( i.e. multiple HU's
are there in the inbound delivery)
Regards,
NeethaHi,
I've done something similar on RF for a retailer in Holland and used enhancement MWMRFDLV/INCLUDE ZXLHUU31.
I've added an example of the code that is implemented.
This enhancement is called by transaction LM61 op to LM66 en LM71 up to LM76.
Transaction LM76 is initially intended to select the delivery by scanning the HU.
What I did is reducing the information on the sceen to the HU that has been scanned
Secondly yo need to assure that when the user is creating a TO or posting the GR it is performed for the HU only.
For this you need to do additional development mwmrf631 (= Delivery Header / in the PAI define your own logic that post the GR for a single HU) What I used is an outputtype in application V6 (HU) that is triggerred from include ZXLHUU21 and will post the GR with BAPI_GOODSMVT_CREATE' . See 2nd example include ZXLHuu21
I hope my comment are usefull for you.
Kind regards
Ronald
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INCLUDE ZXLHUU31
case sy-tcode.
WHEN con_lm76.
inperken OP HU als de levering meerdere Handling Units heeft
alleen dan inperken op HU informatie
LOOP AT et_postab WHERE posnr = '000000'.
SELECT SINGLE anzpk FROM likp INTO et_postab-anzpk
WHERE vbeln = et_postab-vbeln.
MODIFY et_postab.
IF et_postab-anzpk > 1.
EXIT.
ENDIF.
ENDLOOP.
CHECK et_postab-anzpk > 1.
GET PARAMETER ID 'INP_100' FIELD inp_100.
i_exidv = inp_100.
IF i_exidv NA sy-abcde.
et_postab-exidv = i_exidv.
et_postab-anzpk = 1.
LOOP AT et_postab WHERE posnr <> '000000'.
SELECT SINGLE aexidv abrgew b~vemng
INTO (et_postab-exidv, et_postab-brgew, et_postab-lfimg)
FROM vekp AS a INNER JOIN vepo AS b
ON avenum = bvenum
WHERE a~exidv = i_exidv
AND bvenum = avenum
AND b~vbeln = et_postab-vbeln
AND b~posnr = et_postab-posnr.
MODIFY et_postab.
ENDLOOP.
et_postab-anzpk = 1.
MODIFY et_postab TRANSPORTING exidv brgew anzpk WHERE posnr = '000000'.
DELETE et_postab WHERE exidv IS INITIAL.
SORT et_postab BY posnr.
ENDIF.
ENDCASE.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EXIT_SAPLLMOB_084 INCLUDE ZXLHUU21 .
*& Include ZXLHUU21 *
Initial development by Perfect for People - Ronald Westdijk
o_current_field = current_field.
o_verification_errors[] = verification_errors[].
SET PARAMETER ID 'BYDLVRY' FIELD LIKP-VBELN.
CASE sy-tcode.
WHEN con_lm76.
CASE sy-ucomm.
WHEN fcode_save.
melding alleen geven als meerdere Handling Units bestaan
en als deze nog moeten worden geboekt.
SELECT SINGLE anzpk FROM likp INTO i_anzpk
WHERE vbeln = likp-vbeln.
CHECK i_anzpk > '1'.
check output messages in tabel NAST of deze nog moet worden geboekt.
melding alleen geven als er nog meerdere HU open staan.
eerst de HU's ophalen
daarna de nast records inlezen in i_nast (output ZMCR) en checken
REFRESH i_nast.
CLEAR vbco3.
vbco3-vbeln = likp-vbeln.
CALL FUNCTION 'SD_PACKING_PRINT_VIEW'
EXPORTING
comwa = vbco3
auftrag_nicht_lesen = 'X'
exportdaten_nicht_lesen = 'X'
TABLES
vbplk_tab = xvbplk
vbplp_tab = xvbplp
vbpls_tab = xvbpls.
LOOP AT xvbplk.
SELECT SINGLE * FROM nast INTO i_nast
WHERE vstat = '0'
AND kappl = 'V6'
AND objky = xvbplk-venum
AND kschl = 'ZMCR'.
IF sy-subrc = 0.
APPEND i_nast.
ENDIF.
ENDLOOP.
DESCRIBE TABLE i_nast LINES n.
CHECK n > 1.
message lf317 Het systeem zal de boeking uitvoeren, verder?
sy-msgid = 'LF'.
sy-msgno = '317'.
PERFORM warning_message(rlmob001).
GET PARAMETER ID 'POX' FIELD msg_answ.
SET PARAMETER ID 'POX' FIELD ''.
CASE msg_answ.
WHEN ver_on.
output ZMCR after HU to post Goods receipt is executed.
REFRESH bapihukey.
bapihukey-hu_exid = i_exidv.
APPEND bapihukey.
REFRESH bapioutptype.
bapioutptype-trans_medium = '8'.
bapioutptype-output_type = 'ZMCR'.
APPEND bapioutptype.
CALL FUNCTION 'BAPI_HU_PROCESS_MSG_DIRECT'
TABLES
hukey = bapihukey
outputtype = bapioutptype
return = bapiret2.
LEAVE TO TRANSACTION con_lm01.
ENDCASE.
ENDCASE.
ENDCASE. -
Steps For Goods Receipt For Work Order Using Handling Units
Hello MM gurus,
I'm new to HU Management. Can you please share with me the steps for executing a "Goods Receipt For Work Order" using Handling Units?
I created a HU (1000000026), and then using transaction COWBHUWE I tried using that HU to create a goods receipt, but I keep getting the message below:
Handling unit 1000000026 is not provided for goods receipt
Message no. VHURM046
Do you have to assign/plan HUs to Process Orders first? I think the problem is that I'm not understanding the process or the requirements for a goods receipt for work order using HU.Hello Manish Kumar,
I've been doing Handling Units testing in our sandbox environment and I've been trying to Pack a Finished Product for a Process Order using
1-Transaction code HU02 to create the Handling Unit
2-Transaction COWBHUE after creating the HU to enter the production order number and the HU number and propose it, but the it doesn't work. When I propose it, nothing happens.
3.-I also tried COWBPACK, but for some reason, when I go into COWBPACK, key in the Process Order, and then press enter, I get the following message:
You do not have authorization to create handling units for plant BP08
Message no. VHUPD500
Do you know how to solve this issue? -
Goods Receipt using Inbound Delivery with reference to Outbound Delivery
Here is our scenario that we need help finding a solution:
1. Multiple Intracompany POs created
2. On the confirmations tab of the POs, we have u201CInbound Deliveryu201D Selected because the items need to be received in with Handling Unit management.
3. We have the Order Combination box checked on the shipping tab to allow 1 delivery to be created for multiple purchase orders.
4. We create only 1 Outbound Delivery for only available items on various purchase orders.
5. Due to being handling unit managed, we need to receive the items using an inbound delivery.
Problem: We need to find a solution to easily enter an outbound delivery number which will allow us to receive only the parts that were shipped (issued), via the inbound delivery process.
If we remove the confirmation control key, we can complete a Goods Receipt for Outbound Delivery in MIGO u2013 but is there a way to complete a goods receipt using an inbound delivery with reference to an Outbound Delivery?
Thank you for the help.Hi,
You can work with Inbound delivery created via IDOC Triggered from Outbound Delivery, this will carry the HU Data as well. Please refer this wonderful note, which will explain you a lot of things, Note 1119073 - FAQ: Automatic inbound delivery creation for stock transfers
There are other notes also available for Inbound delivery creation with HU in STO, please browse the notes, if you find any difficulty.
Regards
Chandra Shekhar -
Determine costs for packing when using handling units
Hi Experts,
How can I track the costs for packing process and packing material when I am using Handling Units to represent the packing ?
Is there any idea?
The only way I see for tracking the costs is to create a packing operation when creating the FP (and do not use HU).
Thanks,
ArtashesThanks for the answer Mario, but let me ask more precise question.
I have a finished product AAA which is not packed. Now I have a requirement to pack it.
So before hearing about HU, I would add a new operation step to AAA recipe, new resource and a packing material to AAA's BOM.
For this option I don't have questions.
But now I want to use HU. so I create packaging instructions, and do the transactions
- COWBPACK - Work Order - Finished Product - to pack materials in process order
- COWBHUWE - Goods Receipt for Work Order - to do a GR for process order.
And where can I consider the labour and packing material expenses here? I even don't have a resource which is doing a packing. so I can't do scheduling...maybe I don't understand the usage of HU?
Thanks and Regards,
Artashes -
Add Goods Receipt using DI API
Hi all,
I want to add a new Goods Receipt using DI API, for each of the lines:
oBatchReceipt.Lines.SetCurrentLine(1)
oBatchReceipt.Lines.ItemCode = "ItemA"
oBatchReceipt.Lines.WarehouseCode = "WH01"
oBatchReceipt.Lines.Quantity = 1000
instead of entering the unitcost of the item, i want to enter the line total.
(unitcost or oBatchReceipt.Lines.Price is commented out)
'oBatchReceipt.Lines.Price = costUnit
oBatchReceipt.Lines.LineTotal = 1563
so, when the Goods Receipt is added, there is no error popped up, but the total of created Goods Receipt is 0 (zero).
I want to use the LineTotal instead of Price. Using the SBO system UI, user can enter quantity and linetotal and sytem will automatically calculate the price. But using DI API, i dont think it works because someone from forum says that LineTotal is NOT read/write property as written in SDK documentation.
Anyone knows about this issue?
Thanks.
Cheers'
erwineHi Erwine Sukardy ,
For eg. you have used an item named as " ItemA". Please go to the "Item Mater Data " . Set the unitprice as you required .Then no need to enter unitprice at line level using DIAPI .
If unitprice exists in item master data then . It will automatically calculates the LineTotal.
Hope it helps....,
Best Regards
V.Rangarajan -
Posting goods receipt using transaction MB1C
Hi
When I posting goods receipt using transaction MB1C , I am getting following error
Account 310000 for Transo/event key BSX is a A control Account.
Please tell me the solution for this error.
kalai.Dear Suriya,
If your issue is still un-resolved, Just try with:
T. Code: FS00
Key-in your G/L Account - 310000 & Company Code, in respective fields; go to
Tab: Create/bank/interest
Here, you will find a Box: Post automatically only. Enable the box (check-mark the box) for GR/IR clearing account.
Jope, this may help in some ways.
Best Regards,
Amit.
Note: In continuation to others' suggestion, I'll also suggest to consult FI-Personnel, at your end. -
Use Handling Units to group production orders?
Hello,
can I use Handling Units to group production orders together? We have a workcenter where all our orders go through and we'd like to group, say, the morning's orders in a single HU on which we could post a single transaction (batch?) instead of posting on each and every order.
Thanks,
JonathanPlease check OSS note 793168.
-
Use handling units for subcontracting
Hello Experts,
we are currently trying to improve our subcontracting process. The stock of material is provided to the vendor in boxes, he processes the articles and delivers them back to us in the same boxes.
To be able to identify the boxes when they come back, we want to use handling units.
When i tried to test this, i faced a problem in transaction VLMOVE. There is no handling unit process similar to movement type 541.
Is this a customizing issue or is it not allowed to use handling units for subcontracting?
Hope you can provide some information on this.
Kind regards
Mathias BaumhoffPlease check OSS note 793168.
-
Goods Movements with Handling Units
Hi:
Any one knows how can I get make Goods Movement with Handling Units inter plants?
I am trying by VLMOVE but this Tcode just has process for into a Plant not for Transfer posting plant to plant., so, I need give out for materials in Handling Units and Receive the sames in the Receptor Plant
Is there a special configuration for get this?
Thanks in advance.
Omar PereaHi Vishal:
You're right... I was missing the 301, 303 y 305, but with this operations I can try to resolve my Isuue.
Thanks
OP -
Close a Goods Receipt using DIAPI
Hello averyone, I tried to find some information about this issue and manage to found some related information about closing transactions using the DIAPI.
Thought, I need more specific information, can anyone tell me if it's posible to close a Goods Receipt using DIAPI? I need to close some of them using code so the user doesn't have to right click and select the Close option.
Thanks in advance,
Mariana MazzeroHi,
did you try with the Close method of the Documents object?
you lookup for the object key then simply call Close().
this is the sdk help example in vb6, it's on Orders but I hope it works on Good Receipt, too:
Sub CloseDocument()
Dim RetVal As Long
Dim ErrCode As Long
Dim ErrMsg As String
Dim vOrder As SAPbobsCOM.Documents
Set vOrder = vCmp.GetBusinessObject(oOrders)
'Retrieve the document record to close from the database
RetVal = vOrder.GetByKey("55")
If RetVal <> 0 Then
vCmp.GetLastError ErrCode, ErrMsg
MsgBox "Failed to Retrieve the record " & ErrCode & " " & ErrMsg
Exit Sub
End If
'Close the record
RetVal = vOrder.Close
If RetVal <> 0 Then
vCmp.GetLastError ErrCode, ErrMsg
MsgBox "Failed to Close the record " & ErrCode & " " & ErrMsg
End If
End Sub
Hope this helps -
Can't add a goods receipt using 8.8 DP API.
Hi,
I'm having a problem adding a goods receipt using the 8.8 DI API. It's not based on any document like a PO or production order. It needs one line. Here is my code:
If ItemExists(ItemCode) Then
If TotalTime > 0 Then
With oGoodsReceipt
With .Lines
.ItemCode = ItemCode
.Quantity = TotalTime
.UnitPrice = GetItemPrice(ItemCode, GetDefPriceList())
.WarehouseCode = Warehouse
With .UserFields.Fields
.Item("U_NB_EmpID").Value = CStr(EmpID)
.Item("U_NBS_BaseType").Value = ObjectType.ProductionOrder
.Item("U_NBS_BaseEntry").Value = GetDocEntryFromDocNum("OWOR", PdONum)
.Item("U_NBS_BaseLine").Value = PdOLine - 1 'One less than what the user sees on the PdO form.
End With
If .Count > 0 Then
Err = oGoodsReceipt.Add()
End If
If Err Then
oCompany.GetLastError(Err, ErrMsg)
Throw New Exception("Function: ReceiveLabor - Error. " & ErrMsg)
Else
NewDocEntry = oCompany.GetNewObjectKey
End If
End With
End With
Else
'Returning Labor
End If
Else
Throw New Exception("Function: ReceiveLabor - Error. Item '" & ItemCode & "' is not in the item master.")
End If
The error message from SAP Business One is: "[IGN1.WhsCode][Line: 1], 'Item no is missing'"
I'm using SP: 00 PL: 04.
The code looks like it ought to work. Any ideas?
Thanks,
Mike
Edited by: Mike Angelastro on Jan 4, 2010 10:03 AMI solved the problem. The warehouse was not the correct one.
-
Hi Experts
I wasnt to be able to do a goods receipt using DTW. Please note that i DONT want to do a goods receipt for a customer
Instead of manually doing a goods receipt through inventory> inventory transactions> Goods receipt (where there is no customer involved) i want to do a DTW import due to the volume
Can some one tell me which upload spread sheets i need to use.
I have looked at the SAP template under the that on the given template the customer code field is mandotary. AS mentioned above i do not want to use customers
Thank you
Kind Regards
ApsaraHi Apsara.....
I think something is wrong with the Goods Receipt OIGN template. Because it is purely for Stock not have concern with Business Patner.
I would suggest you to create new template from Maintain Interface in DTW.....
For How to Create Template unsing DTW please refer this link.......
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64258757
Regards,
Rahul -
Setting Quality Inspection to use Handling Units
I would like to know if anyone understands the procedure for setting up quality Inspection using Handling Units. I need to setup sampling procedures, use skip strategies, etc.
If someone can let me know a clear way to se this up in Native SAP, that would be a great help.
More specifically, how to perform Sample Calculation using Sample Management and sample-drawing procedure
Thanks.
Edited by: RGSAP2008 on Apr 15, 2010 8:42 PM
Edited by: RGSAP2008 on Apr 15, 2010 8:50 PM
Edited by: RGSAP2008 on Apr 15, 2010 8:51 PMI've only worked with HU's in QM for a brief while but there isn't a ton difference with or w/o HU's. The sampling procedures, sample drawing, etc.. work about the same.
The UD posting screen is different and you post by the individual handling units, not by UOM.
For QM you basically just need to click on the HU indicator in the insepction type setup in the material master. You'll find the "Insp. Ctrl" field doesn't work as it normally does. Most of the selections in there don't work. Early lot creation does work if I remember but the other ones don't. Each GR of handling units against a production order will result in an additional inspection lot.
FF -
Combine pallets using Handling unit
Hi experts,
i created a material using pallets and that pallets has 12 piece of materials ,i just want to combine 3 pallets in one handing unit(like container) using handling unit ..how i have to configure........
thanksDear Kumar,
You can get through packing related configuration settings and assign those settings in the Material master data.
Please fallow these steps
-->First you create material master data for the packaging material Pallets and Container with VERP material type.
Now you go to IMG then define packing related settings for the packaging material.Menu path is
SPRO>IMG>Logistics execution>Shipping>Packing
-->Define Packaging Material Types as ZPL Pallet ,ZCON Container
-->Define Material Group for Packaging Materials as ZPL Pallet ,ZCON Container.
-->Define Allowed Packaging Materials
ZPL Pallet <>ZCON-- Container.
Now you assign Material Group for Packaging Materials in the material master data Basic Data 1 view.
In finished material master data assign Pallet material group.
In Pallet material master data assign container material group.
Noe you can able to pack as per your requirement in the delivery document.
I hope it will help you,
Regards,
Murali.
Maybe you are looking for
-
I'm preparing to sell my iBook G3 and would like to find out how to clean everything on my hard drive, or at least have the computer the way it was when I received it from the factory. Any suggestions????
-
NW 2004S and ECC 6.0 - ESS Quota Overview does not simulate
Dear all, we are upgrading from 4.6C to ECC 6.0 and from the standalone ESS solution to the ESS in EP NW 2004s. In the old ESS we used service pz09 which allows EE's to simulate their future absence quota. In the new ESS in EP we are testing the appl
-
Quick question about setTimeout
Hello, I am building an app that will use setTimeout, the app will run in the background and I am using setTimeout in the background to do some download of data, etc. my question is, does setTimeout have a limit to the number of seconds you can pass
-
Satellite L850D - freezing in Windows 8.1
I'm having trouble with my Satellite L850D. The system will freeze for 30seconds to 5 minutes before it recovers or restarts ( restarts around 10% of the time). This system originally shipped with windows 8. Restoring system solved the problem but wh
-
To open a hyperlink when a text is clicked in a work item(Mail)
Hi all, I would like to open a link when a text is clicked in a automated mail. Please let me know how can the URL be associated with the text. Regards, Sirisha N.