Locked outbound delivery
hello
i am using transaction vl09 in order to delete an outbound delivery.
i am using userexit MV50AFZ1 in the save form i am trying to do a batch input which update a field in transaction vl02n.
i cant do it because the delivery is locked.
is there any way to do this?
If you're working on 4.7 you might try
BAPI BAPI_OUTB_DELIVERY_CHANGE in place of BDC.
Otherwise try FM WS_DELIVERY_UPDATE.
BDC will not allow you to change it if there is a lock and BAPI does work sometime ( If it does not require an exclusive lock ).
I am telling you this from my experience so it is worth trying for.
Thanks,
Ram
Similar Messages
-
Check if handling Unit/outbound delivery locked?
Hi all,
How do i check whether a HANDLING UNIT is locked or not?
How do i check whether a Outbound delivery is locked or not?
Any Std FM's available?Any input will be highly appreciated.
Thanks.
Edited by: Andy102 on Apr 23, 2010 7:56 AMHi,
To check the Outbound delivery is locked, call the below function module
CALL FUNCTION 'SHP_ENQUEUE_EVVBLKE'
EXPORTING
MODE_LIKP = 'E'
MANDT = SY-MANDT
vbeln = <Delivery Number>
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
CSL_NO_CONNECTION = 3
CSL_INCONSISTENCY = 4
OTHERS = 5
IF sy-subrc ne 0.
delivery is locked
else.
delivery is not locked.
ENDIF.
For handling unit use the function module "ENQUEUE_EVVEKPE"
Regards
Vinod
Edited by: Vinod Kumar on Apr 23, 2010 11:51 AM -
Urgent help needed-Updating an outbound delivery.
Hi,
I have created an outbound delivery for a stock transport order in using VL10D.
The otbound delivery then goes to a different system wherein it is updated with picking,packing and shipping info.Then it comes back to SAP in the form of idoc(DELVRY05).Now what I need is to write a code in an exit(I know where to write the code) from where the data in the idoc will update the outbouned delivery with picked and delivered quantity.
I tried using FM's SD_DELIVERY_UPDATE_PICKING and WS_DELIVERY_UPDATE_2 but it is not working.Also where will I get to see the update if it happens.
Please help me.Its required urgently.
Thanks,
Sandeep.Sandeep,
I m trying to understand this requirement. Your IDOC comes in with updated information for a delivery thats already available in the system.
In this case, the IDOC would lock the delivery object for its ude, so writing FM's directly might not help.
Please let me know your process code or your inbound FM. If it is IDOC_INPUT_DELVRY, then it already uses a WS_DELIVERY_UPDATE_2 , so there is little reason why you should be calling the FM again.
Please note that when this comes in it creates an inbound delivery rather an outbound. So, is your third party system sending you back an outbound IDOC?
Do you want to update the delivery that u sent out ( SD) to the third party system from that information.
In that case, please use BAPI_OUTB_DELIVERY_CONFIRM_DEC. This is for delivery conformation from a third party system. The documentation is very clear and there are toms of examples on SDN.
Please reward if useful.
Thanks
Ganesh.S -
GRN w.r.t outbound delivery
Hi Gurus,
Even though GRN has not been done, i am getting the following error while doing GRN against outbound delivery. "Goods receipt not possible for delivery : error code 4". Error code 4 is" There are no delivery items". message no. M7865.
Regards,
KumarHi,
Check the document flow in VL03N.
Check whether PGI is reversed. Read the message details of error code 4, you will be able to analyze this properly.
Also sometimes, this happens because of lock entries. So kindly check this also in SM12.
Regards,
Piyush -
Updating condition records in an outbound delivery
Hi,
I'm trying to update condition records in an outbound delivery but couldn't find any suitable BAPI for the same so I just implemented the BADI 'le_shp_delivery_proc' and called a FM inside the method SAVE_DOCUMENT_PREPARE' which does a call transaction to VL02N to update the condition records. But the problem now is that, when I try to save this delivery, again the same BADI is triggered and goes through the same process of call transaction and thus gives me an error message that the delivery is locked as it indeed is.
Can somebody suggest a way out of this problem. ??
Thanks
AshishHi,
@praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
Any more suggestions?
Thanks
Ashish -
Program to change Outbound Delivery Statusses back from 'C' ?
I've looked, but cannot find; is there a SAP program/BAPI that can set back the Outbound Delivery statuses?
For instance VBUK-PKSTA or VBUP-PKSTA EQ 'C'. " Packing status: Completely processed
I'd like to set to 'B' or 'A'.
Thank you and best regards,
AdrianStep-by-step:
1. We had to write a little abap that updates VBUK-WBSTK for the 'locked' entries.
2. We logged an OSS call with SAP and they sent us ZZRB_VBFA_NO_GI_DOC_5 that updates/deletes entries from VBFA. I'll post the code on request. This report deletes document flow entries for GI in delivery where no material document exsists on database. Afterwards, you have to run the report ZZDELSTA or RVDELSTA to correct the delivery status.
3. Cancel Billing Document with VF11
4. OSS Note #137011 or 506510 refers: We created ZZDELSTA according to this note. We had to comment out the ELSE in the following code snippet to "make it work"
IF GT_LIKP-VBTYP EQ '7'.
T180-TRVOG = 'D'.
ELSE.
T180-TRVOG = '0'.
ENDIF.
Best regards,
Adrian -
Select multiple boxes at time of Outbound Delivery processing with scanner
Hi all,
I am facing a problem at time of processing outbound delivery. I am bound to select 1 box and its corresponding HU. This reduces productivity of end users. I want to know if there is any possibility to select multiple boxes at one go using a scanner, so as to attach all HU at same time.
Regards,
AjayHi,
This is because plant 2 is processing delivery -2 with reference to sales order.
So when you want to process deliver -1 then same already created with reference to sales order. it means both delivery cant be accessed one time because reference is sales order, so it lock
If you want to pick both at same time,
Then assign one shipping point to both plants, so when you create delivery both item will copy in delivery,then pick both at same time.
kapil -
Outbound delivery creation - one sales order
Hi,
We have an issue on locking of delivery processing of sales orders with two plants. Is it possible for the two plants to create/change the outbound delivery at the same time? If yes, how?Hi,
This is because plant 2 is processing delivery -2 with reference to sales order.
So when you want to process deliver -1 then same already created with reference to sales order. it means both delivery cant be accessed one time because reference is sales order, so it lock
If you want to pick both at same time,
Then assign one shipping point to both plants, so when you create delivery both item will copy in delivery,then pick both at same time.
kapil -
Updating delivery quantity in outbound delivery.
Hi,
I have to update the delivery quantity field of an outbound delivery from the quantity that is coming in through an idoc.Is there any BAPI to do the the updation? Also please explain the parameters which need to be passed in the BAPI.
I tried using a BDC recording but it gave an error that the article is locked.
Its urgently required.
Thanks,
Sandeep.Hi,
Here are the some useful links.
BAPI to create delivery
Delivery
BAPI Outbound delivery
Please go through them
Regards,
Rama.Pammi -
How to compare delivery date in schedule lines and PGI in outbound delivery
Hi,
I want to create a report to monitor and compare different dates in sales and delivery process.
One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
Would you have any idea?
Thank you.It seems there's no exact (table) connection / link between delivery item and schedule line item.
Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
(if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
Schedule Line and Delivery Link
Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM -
Need BAPI for MIGO to create a Goods Receipt against PO &Outbound Delivery
Hi Friends,
GRNs (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
If PO Number = EKKO-EBELN GR against Purchase Order
= LIKP-VBELN GR against Outbound Delivery
Based on the above condition I need to create a Goods Receipt.
Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
The fields available are with us are...
Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number SLED
Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
Please provide sample code if possible.
Waiting for replies,
Thanks and Regards,
SudhaHi Friends,
GRNs (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
If PO Number = EKKO-EBELN GR against Purchase Order
= LIKP-VBELN GR against Outbound Delivery
Based on the above condition I need to create a Goods Receipt.
Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
The fields available are with us are...
Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number SLED
Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
Please provide sample code if possible.
Waiting for replies,
Thanks and Regards,
Sudha -
Goods Receive for Outbound Delivery Without Reference using MIGO
Dear Colleague ...
We might need your insight on the case below related to Goods Receive of Outbound Delivery without Reference using MIGO:
(1) In the current SAP Enjoy screen of MIGO, we are allowed to select the reference document (e.g. = PO, Material Document, Inbound Document, Outbound Document, etc.)
(2) We did 3 (three) kind of test set: GR for Inbound Delivery, GR for Outbound Delivery with STO and GR for Outbound Delivery without reference.
(3) The first 2 (two) cases work just find with MIGO. We believe it is because the receiving plant is pretty much determined in the reference document, which is PO (case 1) or STO (case 3)
(4) However, the last case came up with the error message "Goods receipt not possible for delivery 8000610236: error code 5". We believe that this is the standard design of SAP, that the receiving plant is required and it is not defined explicitly in the delivery document.
(5) Moreover, we also believe that that's the reason why SAP (via the Logistic Execution module) provide the Handling Unit and Shipment, which can be used to perform such receive function, which will imply the MM posting (goods issue and goods receive) IF there is stock transfer involved.
Appreciate for any thoughts or input on the above. Many thanks,
Alvon Sibaraniuse transaction mb0a it will work for the scenario.
-
Stoarage location is not being reflected in the outbound delivery
Hi
I have a scenario of creating outbound delivery with respect to sales order, But when i am creating outbound delivery vai tranaction Vl10H , The system creates outbuond delivery but the stoarge location is not being reflected in the outbound delivery . Since this storage location is WM managed hence the WM status shows that the transfer order is not required .
When i tried to put manually the storage location the system throws an error that this storage location in not maintained in plant R001 .
Althoght the stoack has been there in the stoarage location with resepct to plant ans also the matrerial master is also been extended for this storage laocation and all the respective views such as WM and Sales hasbeen maintianed .
Could any one guide me what correction is to be done to incorporate the Storage location in Delivery ?
Thnaks and Regards
RAJ KHi,
did you check if there is a storage location determination maintained for the relevant combination of shipping point, plant and
stor.conditions (table TVKOL)?
Please also check if the storage location determination is activated for the relevant delivery item type in customizing (transaction 0vlp - field "Determine storage location" (V_TVLP-BELGO)).
Regards,
Ely -
Output types are not getting displayed in Outbound Delivery in Display mode
Hello,
The actual requirement is that output types should get attched to the outbound delivery when we do GI(Good Issue) on the outbound delivery.
So, I have created an outbound delivery and did GI on it through IDoc. But, I can not see output types on the delivery (To see output types, go to Extra -> Output -> Header in VL03N) in the display mode. However, I can see in change mode (VL02N).
Could you please suggest the solution for this?Hi sreeram,
go to crm -> transactions -> basic settings -> define transaction types
copy default email cx03 and create new zemail.
assign that zemail to bus2000126 business activity.select the business activity and click on customizing header.assign the category email. click on channel. maintain the channels 1)GUI crm webclient UI, 2)ICW Interaction center webclient.
save the changes.
go to crm -> transactions -> basic settings -> settings for activities -> maintain categories, goals, priorities -> click on assign categories to transaction types.
assign the category email(which you have assigned above) to the transaction type zemail.
even check maintain categories as well
click on maintain categories -> check 401 email assigned to class G email.
Regards
Krishna -
Problem with IDoc for an outbound delivery
Dear All,
I am facing a problem with the IDoc defined for an outbound delivery.
Scenario:
Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
What I did:
I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
What I can do:
I can issue an IDoc message, it looks ok and contains the standard data.
Problem:
It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
Am I using the proper exit? I appreciate any suggestions.
Thanks,
Grzegorz SkorusHello Grzegorz
Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases, it may help you.
Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
Futher the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
Hope this helps and others will pitch in.
1498409 - Valuation Type unavailable when creating deliveries using IDOC
631913 - Exit after formatting delivery IDoc type DELVRY
Maybe you are looking for
-
Can I add a second monitor to Touchsmart 520-1170a?
Can I add a second monitor to a Touchsmart 520-1170a?
-
My contacts do not seem to be working correctly since upgrading to Maverick
I can't even add contacts. I add them and they aren't there. My cloud with my iphone is working fine. Just contacts on my macbook pro?
-
Hi Guys, What are witholding taxes applying in vendor master?can any send doc available i am waiting for fast response i will give best rewards Thanks Steeve
-
can anyone tell me how to rightclick in parralels using a macbook pro.
-
Windows 7 can't install 64-bit version Photoshop CS6...
I've got the error log: Exit Code: 7 Please see specific errors and warnings below for troubleshooting. For example, ERROR: DW013 ... WARNING: DS013 ... -------------------------------------- Summary -------------------------------------- - 0 fat