Updating picking qty from Shipment confirmation
Hi frenz,
We got a requirement that when we get 856(shipment confirmation) from our external warehouse, we gotta update the picked quantities in delivery document and ASN has to be sent automatically.
Can anyone help me on where to write coding for updating picked quantities on delivery document? Else do we have any standard way for doing this?
Thanks in advance.
praveen
hi vinod,
I know this function module already; Any way thanks for your reply. But i want some more information regarding this scenario. Like where do i write this code (do we have any exits?). N e way thank you for ur reply.
---praveen.
Similar Messages
-
How to update picked qty as delivery qty while creating outbound delivery
Hi,
I am using badi definition LE_SHP_DELIVERY_PROC to update delivery qty as picked qty at the time of creating delivery. By using method SAVE_DOCUMENT_PREPARE I am populating delivery qt(yCT_XLIPS- G_LFIMG) to picked qty(CT_XLIPS[1]-PIKMG). and i am also populating update flag as 'I'. after saving the delivery document i am not able to update picked qty which was populated in BADI. could you please suggest anything needs to care. thanks in advance.
Regards,
PeranandamHi,
I did a little test and, within the method CHANGE_DELIVERY_ITEM, itu2019s possible to fill the picking quantity (structure CS_LIPSD) but unfortunately during the save the added information is lost.
This is because the BAdI method is fired too soon and the routine PICKMENGE_BEARBEITEN (SAPFV50P) is not called at all.
The problem is quite complex; even after changing the picking quantities, the picking status still remains open!
The picked quantity is generally filled:
u2022 by printing the picking list
u2022 Warehouse Management by creating a transfer order
u2022 or by manual entry
Otherwise, it is assumed that picking has not yet been initiated and the result is that picked quantity is ignored.
In my opinion itu2019s very difficult to solve your problem using only the BAdI implementation.
I suggest you to propose an alternative solution such as the automatic processing of Picking Output EK00; easy to activate and absolutely standard!!!!!!
Regards,
Andrea -
Hello
I am trying to use FM SD_DELIVERY_UPDATE_PICKING_1 for updating the pick qty in the delivery. My scenario has 2 line items each having a batch split line. I need to update the pick qty for these batch lines from a Z transaction where the user inputs the pick qty.
The problem is that the pick qty is getting updated always with the delivery qty even if the user enters a pick qty value less than the delivery qty.
It would be highly appreciated if anyone can suggest where the problem might be (i may not be using the FM correctly).
Thanks in Advance.Have you check the FM
RV_DELIVERY_PICK_UPDATE
RV_DELIVERY_PICK_VIEW
Thanks -
Problem in updating Pick Qty using SD_DELIVERY_UPDATE_PICKING_1
Hi,
I am updating the picking quantity in a delivery document using function module SD_DELIVERY_UPDATE_PICKING_1.
However the document flow shows the picking request is still Open and not Completed. This does not happen when I do this online. Am I missing something in the parameters.
Please advise as the documentation of this function module is not very clear.
Thanks and Regards,
AdityaHi Ranjith,
Thanks for all your input. I also posted a message to SAP and they recommended SAP Notes 457925 and 491875.
I might go in for BDC as a last resort on VL02N since time is quite a constraint.
I really appreciate the inputs you have given.
Actually my customer system is running on mySAP ERP ECC 5.0 so it would certainly have all the note corrections mentioned in the several notes
Thanks and Regards,
Aditya -
Inventory movement takes away delivery note picked qty.
We have a situation that delivery note is created and picking is saved.
Inventory movement such as MB1A, MB1B, MB1C or Post Goods Issue, the system will only check available inventory and not worry about confirmed and/or committed quantities. And take away picked qty from delivery note. Is this a SAP standard behavier or we are missing some setting?
Thanks,
DoriHi,
It is a standard behaviour of the system : some movements must have priority against sales requirement : if you need to scrap the goods, if you need to return the goods to the vendor, if you want to put the goods from unrestricted stock to quality or blocked stock, ..., idem with a change of storage location, ...
If you really want to avoid this, there is some customizing in inventory management :(spro + MM + IM + outbound and transfers + availability checks or somethng like this) : like in SD for sales orders and deliveries, you will be able to decide by movement type and transaction what kind of stock you want to take into account.
But, from what I know, no one excluded sales requirements. But we are in an SD forum
Rgds,
Philippe -
How to Update picking qunatity while Automatic picking is active
Hello All,
I have a requirment of updating the Delivery pick quantity.
I am updating the it through BAPI,
Is there any other way of updating picked qunatity in case automatic picking is active.
Please suggest
regards,
SNBHello,
Please look into below thread links for the same issue:
Updating Picking Quantity using VL02N ?
how to update picked qty as delivery qty while creating outbound delivery
Hope the information is useful
Regards, -
I need a FM to update batch no. & picking qty. of delivery also to do PGI.
I need a FM to update batch no.& picking qty of delivery items as well as to do PGI (Post goods issue) for the same delivery.I am using 'WS_DELIVERY_UPDATE' but it doesn't update the batch no. and gives error saying no bactches are deifned for delivery no XXXXX and item XXXX.Can any one suggest the suitable function module to do this? It will be better if you can give details about input parameters with example.
Thanks & Regards,
Nimish Dongare.Hi,
I used the following code for both picking & PGI...I think it shud also work for updating the batch details.
Picking:
*get header data
WA_VBKOK-VBELN_VL = <DEL_NBR>
WA_VBKOK-VBELN = VBFA-VBELV
get line data
LOOP AT TAB_VBPOK.
TAB_VBPOK-VBELN_VL = WA_VBKOK-VBELN_VL.
tab_vbpok-posnr_vl = <line number> '900001'
tab_vbpok-matnr= <material nbr>
tab_vbpok-charg= <batch nbr>
tab_vbpok-pikmg =<pick qty>
tab_vbpok-meins= <uom>
TAB_VBPOK-VBELN = SY-DATUM.
TAB_VBPOK-POSNN = SY-UZEIT.
TAB_VBPOK-VBTYP_N = VBFA-VBTYP_N.
SELECT * INTO TABLE TVBFA FROM VBFA
WHERE VBELV = WA_VBKOK-VBELN_VL.
SORT TVBFA DESCENDING.
CLEAR TVBFA.
READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
POSNV = TAB_VBPOK-POSNR_VL
VBTYP_N = 'Q'
TAQUI = ' '.
IF SY-SUBRC EQ 0.
V_PIKMG = TAB_VBPOK-PIKMG + TVBFA-RFMNG. " Picking quantity
CLEAR TVBFA.
READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
POSNV = TAB_VBPOK-POSNR_VL
VBTYP_N = 'Q'
TAQUI = 'X'.
IF SY-SUBRC EQ 0.
V_PIKMG = V_PIKMG + TVBFA-RFMNG. " Total Picking quantity
*****Error Message: Picked quantity is larger than the quantity to be delivered.
IF LIPS-LFIMG LT V_PIKMG.
PERFORM GET_RETURN USING 'E' 'VL' '019' SPACE SPACE SPACE SPACE
RETURN.
V_EXIT = 'Y'.
EXIT. " EXIT THE RFC.
ENDIF.
ENDIF.
ENDIF.
MODIFY TAB_VBPOK.
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
VBKOK_WA = WA_VBKOK
SYNCHRON = 'X'
DELIVERY = WA_VBKOK-VBELN_VL
UPDATE_PICKING = 'X'
COMMIT = 'X'
IF_DATABASE_UPDATE_1 = '1'
TABLES
VBPOK_TAB = TAB_VBPOK
PROT = I_PROTT.
IF NOT I_PROTT IS INITIAL.
RETURN-TYPE = 'E'.
RETURN-MESSAGE = 'Picking Failed!'.
EXIT. "EXIT THE RFC
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
PGI
*get header data
WA_VBKOK-VBELN_VL = <DEL_NBR>
WA_VBKOK-VBELN = VBFA-VBELV
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
VBKOK_WA = WA_VBKOK
SYNCHRON = 'X'
DELIVERY = WA_VBKOK-VBELN_VL
NICHT_SPERREN_1 = 'X'
IF_ERROR_MESSAGES_SEND = 'X'
TABLES
PROT = I_PROTT.
IF NOT I_PROTT IS INITIAL.
RETURN-TYPE = 'E'.
RETURN-MESSAGE = 'Goods Issue Failed!'.
EXIT. "EXIT THE RFC
ELSE.
COMMIT WORK AND WAIT.
endif.
thanks -
Can outbound delivery pick update be sent from Decentralized WM to ERP?
(I moved this thread from the ERP -Logistics Materials Management (MM) forum)
We are running batch management and DWM/ERP both on ECC 6.0
I have a request to be able to have the DWM pick information on an outbound delivery reflected as "scheduled for delivery" in the ERP system. Specifically, i need to show in the ERP system which batches have been already picked on the outbound delivery.
i've read the documentation on the "subsequent changes to distributed deliveries". The SHP_OBDLV_CHANGE idoc seems like the right method to pass the "pick quantity" and "batch" from the line item on the delivery. However, it is not part of the standard IDOC. Ultimately, i would like to see MMBE in ERP reflect the batches that have been picked on the DN in DWM.
Has anyone successfully done this?
Is what I'm proposing even possible?Anandha,
First off, thank you for your comments. You noted a couple of things that i still have a questions about.
1. "Once the delivery is picked (TO created and confirmed) in the DWM system, the delivery confirmation Idoc must trigger to update the ERP system. BAPI SHP_OBDLV_CONFIRM_DECENTRAL should update the ERP system where the PGI is posted."
Currently, we use the SHP_OBDLV_CONFIRM_DECENTRAL iDOC to send PGI data from DWM to ERP. Are you saying that I can trigger an "initial" update of the delivery with the "pick" information (batch split, quantity)? BAPI SHP_OBDLV_CONFIRM_DECENTRAL would be the way I would do that? Would this BAPI create an iDOC?
2. "If the batch is changed in the ERP while the IDoc has been to DWM, there could be errors while posting the PGI since the batch number in the ERP system and DWM may not be the same. When the batch number is changed in the DWM system during the picking, we had someone to monitor those Idoc's that failed to update the ERP and had them manually edit the Idoc with the correct batch numbers before saving it."
Currently, we do not allow changes to the Delivery in ERP once it has distributed to DWM. Thus, i don't think that we will have the same problems as you have had. However, in order to enable the Delivery update of pick information in #1, what would be required to allow the Delivery to be modifiable in ERP?
Thanks again,
Andy -
How to pick up withdrawl qty from T-code MD63
hi all ,
i want to pick up the withdrawl qty from sheduled line TAB in t-code MD63 .
Can anybody tell me any function module or any code to pick up this value ?
field for withdrawl qty is PBMUL from structure RM60E structure .Hi,
Withdrawal quantity can be found in table PBED field ENTMG.
Cheers,
Surinder -
POSC setting to create WTs automatically to putaway remaining qty from pick point to original bin
Hello,
In Layout oriented storage control for out bound process, I removed the HU at intermediate storage type as pick point and removed partial qty as per the OBD and completed whole process. This is OK as per the POSC setting. Now my original HU iwith remaining qty is still at pick point. I need to place it at original storage bin. I can easily do it with manually with WPT 9999. But if I want that, system should create warehouse task automatically from ID point remaining qty in original HU to original storage type-BIn. Is there any setting for this? In other word, how can I configure the system to create 3rd task automatically to put away remaining qty from pick point area to original storage bin of product?
Thanks,
Milind.Hi MILIND
In this case you can use exception handling and achieve. Create exception code in which WpT will be create WT to original bin. Fixed bin transfer from ID point to the mat available.
Regards
Suraj -
SAP provided function module to update picking confirmation in VL02N
Hi
In transaction VL02N , the quantity,net weight and batch inf is updated manually.So the question is there any SAP provided function module to update picking confirmation instead of using BDC/call transaction method?Hi,
Use below FM :
Clear : i_prot.
refresh : i_prot.
Delivery Update
CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
EXPORTING
do_commit = 'X'
TABLES
t_delivery_items = i_lips
prot = i_prot
EXCEPTIONS
conversion_overflow = 1
essential_data_missing = 2
error = 3
nothing_to_update = 4
lock_after_update_failed = 5
error_in_delivery_update = 6
OTHERS = 7.
COMMIT WORK.
Pass lips-lgort..
Refer
https://forums.sdn.sap.com/click.jspa?searchID=4212688&messageID=3855382
Regards -
MIGO Qty should Update Order Qty
Gurus,
Reqirement is during third party process:
MIGO step should update the migo confirmed qty to
sales order confirmed quantity .
suppose : order raised for 100 qty .
PO raised for 11 qty
MIGo qty 80 qty
So, migo should update qty 80 to sales order qty - from 100 to 80.
RegardsHi Jitender,
As Per my understanding MIGO is third party is used for Statistical pourpose only, A you are not getting any physical good in your Premises. Good will delivered Directly from your vendor to your customer.
Hope this iwll help.
Thanks,
Raja -
Getting error when ASN update is send from R/3 to SNC
Hello,
We are facing below error when we ASN update is send from R/3 to SNC. We are using SNC5.1. Due to this it is not updating it in SNC as ASN confirmed. We are implementing customer collaboration.
Below is error:
ASN item 4046020504 / 900002 ( 669301 R00550 / 00001 ): Notified quantity 20196.000000 is greater than due qty 19635.00000000000000 (tolerance: 0.000000) 187(/SCMB/DM_DLV)
Is this that when the actual delivery qty is more than requested qty R/3, to have correct update we need to maintain over delivery/Under del tolerance in SNC.
If yes then where I can maintain in SNC.
THXHi Vaibhav,
SAP SNC uses the supplier tolerances from the following source:
If the purchase order that the customer has sent from his or her back-end system to SAP SNC contains delivery tolerances for an item, SAP SNC uses these delivery tolerances. If the purchase order item does not contain delivery tolerances, SAP SNC uses the delivery tolerances from the purchase order header
If the purchase order does not contain delivery tolerances, SAP SNC uses the delivery tolerances for the purchase order item from the following source:
If the purchase order item contains a contract, SAP SNC uses the tolerances from the contract.
If the contract does not exist in SAP SNC or if the purchase order item does not contain a contract, SAP SNC uses the delivery tolerances from the purchasing info record.
If the purchasing info record does not exist in the SAP SNC system, SAP SNC uses the delivery tolerances from the location product master of the customer location.
Regards,
Sandeep -
Pick qty delivery qty----Pls help
Hi,
THe storage type as full stock removal checked without any returns to same bin and return storage type maintained.
A delivery is created for 5 pc but picked 9 pc so i am not able to do PGI,(TO Created and confirmed)
I think we cannot change the pick qty Pls suggest any workaround for this.
An OSS note exists for this to change the pick qty but business doesnot want to implement the OSS note 25151.
Pls help
IndhiraHi,
From IMG>Logistics Execution>Warehouse Management>Interfaces>Shipping-->Define Shipping Control
There you can handle your case accordingly! Good luck
Nice Weekend
Tao -
Delivery status B and TO status C , Deliver qty and Pick qty are equal
Hi
OBD status is wrong and its coming as Partialy picked for a item however the delivered qty and pick qty are equal. also TO is created and confirmed for delivered qty.
I have checked TO is not pending for confrimation please advise.Hi Rahul,
Please check the OSS note
1475784 - Delivery header status is not consistent with item status
Try to run report RVDELSTA in simulation to check whether system propose any change. if at all you are not getting any positive result from above steps raise an OSS note with SAP
Maybe you are looking for
-
MS Access 2003 and Data Services 3.0
I want to access MS Access 2003 from Aqualogic Data Services 3.0. The documentation tells me that Aqualogic Data Services 3.0 supports MS Access 2003 I read the "Extending Database Support" from the Administration Guide to deploy the xml file ... I d
-
No midi clock out on AMT8 ports 4-8
Hi, Logic 9, with daisy chained Emagic Unitor8's and AMT Unitory8->Unitor8->Amt8 I"m getting midi clock out on all ports except the last 4. Does anyone have a suggestion on how to make this work or if it is even possible? - Joel
-
Access to file in HTMLDB_APPLICATION_FILES
Hello, I have uploaded file to HTMLDB_APPLICATION_FILES and now I want to copy data from that file to a table in database. How can I do that? Thanks
-
I am looking for an SAP standard report that will show IC receovable and Payables between multiple companies. I will then use this information for external consolidation purposes.
-
Time Machine ~ need to delete Mail msg.
All of my Mail msg. have been backed up via time machine: how do I delete these (there is no 'gear' icon available ) Just started using Time Machine so a newbie: I also have vision restrictions so it is driving me crazy trying to read through the po