Delete transfer order
hello, friends.
i want to delete a delivery that has been previously billed. the billing document has been cancelled and the goods issue reversed. however, i could not use LT0G as the document items are locked. i tried to cancel the transfer orders using LT15 but the system says these have already been confirmed or cancelled.
i try to delete the delivery document and items but the system issued the following messages:
1. warning - billing operations exist
2. error - warehouse operations partially processed
what should i do next?
regards... and thanks!
p.s.
there are several items in the delivery. only 1 line item displays WM status as "partially processed". the reason is that this item is displayed with delivery quantity as "9.99" while the picked quantity as "10.00".
Edited by: jonathan y on May 26, 2009 2:22 PM
Hello Jonathan
I see this may be caused due to unbalanced of delivery and picked quantity. Once i faced issue similar to this and we did below process to correct it. Try it for the item for which you are facing the issue.
1. I add a stock for material #123, batch XYZ of 1 quantity with movement type 501. This is a fictitious stock for adjustment purpose. Material document 789 gets created. TO created with reference to material document and confirmed.
2. Delivery quantity of same material and batch added with 1quantity and created TO for this. Now the stock is in 916 storage type.
3. Created a TO manually and transfer existing stock (1 Qyt) of same material and batch to 916 storage type. Now the available quantity for delivery is 2 Qty.
4. Did LT0G for 2 DR and returned stock to warehouse. Stock returned from 916 to original storage type. In this total material got unpicked.
5. Deleted the delivery.
6. Cancelled material document 789 to return the fictitious stock with 502 movement type created TO and confirmed. Here stock level adjusted to original.
Hope this solves the issue. Reply if it helps or not.
Regards
Amol
Similar Messages
-
Cancel/delete transfer order
Hello Guys,
I would like to ask on how to cancel/delete a certain transfer order wherein the outbound delivery which is linked to it has already been deleted in the system?
When I tried to execute transaction LT15, it gives the following error message:
"There were no deliveries that matched the criteria you specified."
Can anyone help me on how to solve this issue?
Thanks a lot!Hello Jurgen,
Actually the transfer order is not yet confirmed when you check the stock overview via LS26, you can see that the materials are under the "pick quantity" column.
By the way, I've already cancelled the transfer order in debug mode. However it seems that the stocks are still visible since they are allocated for a specific sales order.
I'm thinking of a way on how to totally remove the stocks... -
MM: Reversing confirmed transfer order
Hi Gurus,
I want to reverse a transfer order which is having handling unit and is confirmed. After confirmation someone deleted Handling unit assignement in outbound delivery.
Now I want to delete transfer order which is confirmed but it's handling unit assignment is deleted by someone from delivery. Can anyone suggest me the solution?
issue 2:
Also some one has created a delivery before usage decision trhough migo and confirmed the transfer order so now I can't issue delivery completely (QI to UR stock) OR I can't reverse handling unit. I get different errors. Can anyone give me a solution?
thanks in anticipation.
RajaRamA transfer order for a delivery can be reversed with transaction LT0G.
-
Report for deleted line-items in Transfer Orders
Dear All,
Please help me in writing the code for "Report for deleted line-items in Transfer Orders".
regards,
nishuThanks. Repor completed.
-
Can we delete or cancel a Transfer order after confirmation?
Hi,
We want to delete or Cancel a Transfer order after confirmation.
We reversed PGI, cancelled shipment and trying to delete a line in the delivery, but it says "item already confirmed by TO".
Any pointers?
Thanks
Edited by: Chandru on Jun 28, 2008 3:01 AMHello,
Cancellation of TO - LT15.
Cancellation of TO for Storage unit - LT16.
LT0G - Return delivery to stock
Prase -
Block or warn when delete a delivery that has confirmed transfer order
Hi,
Our system allows user to delete a delivery with confirmed transfer order (not for open TO though). This creates lots material in the status of wating PGI. Is there any method to block or at least warn the user from deleting a delivery with confirmed TO?
Thanks in advance,
ColinHi Sridhar,
Thanks for your quick response. I put these codes in the user exit
FORM userexit_delete_document.
message 'cannot delete' type 'E'.
v50agl-no_commit = 'X'.
ENDFORM. "USEREXIT_DELETE_DOCUMENT
The no_commit would stop delivery being deleted. Since the internal tables and structure have been cleared up/changed before this user exit, when back to VL02N, the line items and some other info disappear. Is there any way I can roll back the data in those internal tables or structures, or simply exit out and back to the selection screen?
Thanks,
Colin -
Possible to delete delivery even though Transfer Order exists
Dear Experts
I am able to delete deliveries even though Transfer order exists and confirmed. How can I restrict this as in this Transfer Order remains open without delivery in Place.
Regards,
Neeraj SrivatavaHi Frenchy
Many thanks for your valuable inputs.
What is the reason I can delete delivery even after Transfer Order is confirmed. This will leave the Picked stock stranded in Dispatch area which cannot be linked with any delivery.
Regards,
Edited by: NEERAJ SRIVASTAVA on Aug 13, 2008 2:42 PM -
WM-production order-need change the open quantity in Transfer order
Hi,
I created the production order (order quantity 1000). i did material staging and generated TR. .
But i need to change the open quantity in transfer order . i need to create the partial Transfer order
against TR..
KINDLY SUGGEST ME
WITH REGARDS
DineshHi Dinesh,
TO for partial qty is possible.
When you are doing material staging with 319 mov.type, you create a transfer order for partial quantity as follows:
You first create a manual transfer order using transaction LT04.
You specify the TR number in the intial screen and navigate to the detail screen, system shows the Open TR quantity and the proposed TO quantity. By default, both these quantities are equal to the TR quantity.
However, when you create by clicing the "Create TO button" (the icon with a plus sign in the tool bar of LT04 screen), system takes you to another screen where it asks for the "Requested Qty" on the top of the screen. Here you can modify the qty as per your requirement; then you can check and confirm the storage type and storage bin for source and destination stocks & save.
It is important that you give the correct source storage type & storage bin that is having stock or otherwise system might give error message.
System will create a TO line item with the entered qty and propose the balance TR qty as the 2nd TO line item. You can skip this 2nd TO item or delete it from the TO.
Once again, if you click the Save button, system will save the TO with the partial quantity.
The balance quantity will be available in the TR as open quantity and this can be seen in the header data of transaction LB03.
Regards
Prabhu -
Automatic form generation on creation transfer order for delivery note?
Hi,
I have to create a form that should automatically be generated on the creation of a transfer order for delivery note. How do I trigger this automatic creation of the form? And how can the transfer order number be passed to my print program?
Thx!hi christophe,
To issue the delivery output, go to transaction VL02N.
Then go to EXTRAS-> OUTPUT->HEADER->EDIT
In the Message output screen enter the relevant output type created for the delivery.
Choose the relevant medium of output.
Choose Simple Mail, in this case the field NAST-NACHA will be having a value of 7.
Specify the Partner Function; in this case it is MA -> Mail partner address
Select the Communication Method for the output type maintained.
This will take you to the SAPOFFICE screen.
Enter there the E-Mail Address to which you want to send the delivery document as PDF.
A mail will be sent to the e-mail address of the E-Mail Address specified, with the delivery output form as a PDF attachment.
hope it will help u ..
*& Report ZZ_TEST *
REPORT zz_test .
INCLUDE zz_test_top.
INCLUDE zz_test01.
FORM entry *
--> RETURN_CODE *
--> US_SCREEN *
FORM entry USING return_code us_screen.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing USING us_screen.
CASE retcode.
WHEN 0.
return_code = 0.
WHEN 3.
return_code = 3.
WHEN OTHERS.
return_code = 1.
ENDCASE.
ENDFORM. "entry
*& Include ZZ_TEST_TOP *
TABLES : nast,
tnapr.
TYPES : BEGIN OF t_SOUDNAMEI1.
INCLUDE STRUCTURE SOUDNAMEI1.
TYPES : END OF t_SOUDNAMEI1.
Internal Table declarations
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
*Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
i_lips LIKE lips OCCURS 0 WITH HEADER LINE,
i_SOUDNAMEI1 TYPE STANDARD TABLE OF t_SOUDNAMEI1.
Work Area declarations
DATA:w_objhead TYPE soli_tab,
wa_control_parameters TYPE ssfctrlop,
wa_output_options TYPE ssfcompop,
w_return TYPE ssfcrescl,
w_doc_chng TYPE sodocchgi1,
w_data TYPE sodocchgi1,
w_buffer TYPE string,"To convert from 132 to 255
wa_SOUDNAMEI1 TYPE t_SOUDNAMEI1,
Variables declarations
w_form_name TYPE rs38l_fnam,
w_len_in LIKE sood-objlen,
w_len_out LIKE sood-objlen,
w_len_outn TYPE i,
w_lines_txt TYPE i,
w_lines_bin TYPE i,
retcode TYPE sy-subrc,
xscreen TYPE c,
w_spld TYPE usr01-spld,
w_receiver TYPE SOXNA-FULLNAME,
w_OBJ_RECORD TYPE OBJ_RECORD,
w_user type sy-uname,
w_email TYPE ad_smtpadr.
Constants Declaration
CONSTANTS : c_x TYPE c VALUE 'X',
c_atrate(1) TYPE c VALUE '@'.
*& Include ZZ_TEST01 *
FORM PROCESSING *
FORM processing USING proc_screen.
SELECT * FROM lips
INTO TABLE i_lips
WHERE vbeln = nast-objky.
Call Function module to Getfunction Module name Generated by Smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = tnapr-sform
IMPORTING
fm_name = w_form_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
retcode = sy-subrc.
ENDIF.
CLEAR : wa_control_parameters,
wa_output_options.
CASE nast-nacha.
WHEN '1'.
wa_control_parameters-device = 'PRINTER'.
WHEN '7'.
DATA: l_email TYPE ad_smtpadr.
wa_output_options-tdnoprev = c_x.
wa_control_parameters-getotf = c_x.
To get the default output device maintained in the
User profile
SELECT SINGLE spld FROM usr01
INTO w_spld
WHERE bname EQ nast-usnam.
IF sy-subrc EQ 0.
MOVE w_spld TO wa_output_options-tddest .
ENDIF.
wa_output_options-tdnoprev = c_x.
wa_control_parameters-getotf = c_x.
To get the email address maintained for the particular output
CALL FUNCTION 'NAST_GET_MESSAGE_OBJECT_RECV'
EXPORTING
pi_objkey = nast-tdname
IMPORTING
pe_addr = w_receiver
CHANGING
pc_objhandle = w_obj_record
EXCEPTIONS
maildata_not_readable = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF w_receiver NA c_atrate.
To retrieve the E-Mail Id in case we get the User name from NAST
CLEAR wa_soudnamei1.
REFRESH i_soudnamei1.
MOVE w_receiver TO wa_soudnamei1-fullname.
To get the user name
CALL FUNCTION 'SO_NAME_CONVERT_API1'
EXPORTING
name = wa_soudnamei1
TABLES
names = i_soudnamei1
EXCEPTIONS
user_not_exist = 1
parameter_error = 2
x_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR wa_soudnamei1.
READ TABLE i_soudnamei1 INTO wa_soudnamei1 INDEX 1.
MOVE wa_soudnamei1-sapname TO w_user.
To get the e-mail Id maintained in the user profile
CALL FUNCTION 'FTR_CORR_CHECK_EMAIL_SAP_USER'
EXPORTING
i_user = w_user
IMPORTING
e_email_address = l_email
EXCEPTIONS
mail_address = 1
determination_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
MOVE l_email TO w_receiver.
ENDIF.
MOVE w_receiver TO w_email.
ENDCASE.
wa_control_parameters-no_dialog = c_x.
wa_control_parameters-langu = nast-spras .
wa_output_options-tdteleland = nast-tland.
wa_output_options-tdtelenum = nast-telfx .
wa_output_options-tdsenddate = nast-erdat .
wa_output_options-tdsendtime = nast-eruhr .
wa_output_options-tddataset = nast-dsnam .
wa_output_options-tdsuffix1 = nast-dsuf1 .
wa_output_options-tdsuffix2 = nast-dsuf2 .
wa_output_options-tdimmed = nast-dimme .
wa_output_options-tddelete = nast-delet .
wa_output_options-tdautority = nast-tdautority.
wa_output_options-tdcovtitle = nast-tdcovtitle .
wa_output_options-tdcover = nast-tdocover .
wa_output_options-tdreceiver = nast-tdreceiver.
wa_output_options-tddivision = nast-tddivision.
wa_output_options-tdcopies = nast-anzal .
wa_output_options-tdnewid = c_x.
wa_output_options-tdarmod = nast-tdarmod.
wa_output_options-tdnoarmch = c_x.
CALL FUNCTION w_form_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = wa_control_parameters
output_options = wa_output_options
user_settings = ' '
IMPORTING
job_output_info = w_return
TABLES
it_lips = i_lips
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF nast-nacha EQ 7 AND sy-subrc EQ 0.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = w_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert PDF from 132 to 255.
LOOP AT i_tline.
Replacing space by ~
TRANSLATE i_tline USING ' ~'.
CONCATENATE w_buffer i_tline INTO w_buffer.
ENDLOOP.
Replacing ~ by space
TRANSLATE w_buffer USING '~ '.
DO.
i_record = w_buffer.
Appending 255 characters as a record
APPEND i_record.
SHIFT w_buffer LEFT BY 255 PLACES.
IF w_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
REFRESH: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR w_objhead.
Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES w_lines_bin.
Document information.
w_doc_chng-obj_name = 'Smartform'.
w_doc_chng-expiry_dat = sy-datum + 10.
CONCATENATE 'Delivery' 'Note'
INTO w_doc_chng-obj_descr.
*w_doc_chng-obj_descr = 'Smart form output'.
w_doc_chng-sensitivty = 'F'. "Functional object
w_doc_chng-doc_size = w_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
i_objpack-head_start = 1.
Number of lines of an object header in object packet
i_objpack-head_num = 0.
Start line of object contents in an object packet
i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
i_objpack-body_num = w_lines_txt.
Code for document class
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Packing as PDF.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
i_objpack-body_num = w_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'Smartform'.
CONCATENATE 'Delivery' 'Note' '.pdf'
INTO i_objpack-obj_descr.
i_objpack-doc_size = w_lines_bin * 255.
APPEND i_objpack.
Document information.
CLEAR i_reclist.
e-mail receivers.
i_reclist-receiver = w_email.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'. "Internet address
APPEND i_reclist.
sending mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDFORM. "processing -
How to cancel more than one transfer order and delivery as once
hi everyone
Thanks for taking the time to read this message.
I need to cancel about 500 transfer order # and corresponding deliveries. I know that using lt15 and vl02n i can achieve this for individual orders. As to Lt16, I donot have authorization to use so i can cotacted my colleague who does. But we could not work out the Storage Unit. What is that?
Is there another transaction that would let me enter a sequence of transfer order# and also Delivery# and let me cancel it at once?
Thanks in AdvanceI would try going route of VL09 to address the deliveries in mass quantity. Can't remember if this will take care of the transfer orders as well. Working at service based company now, so can't really check. If not, perhaps get an ABAPer to write a BDC session to run LT15 in background and delete the transfer orders required. I guess the real point to consider here are the transfer orders confirmed as well? Anyway, give a try with VL09 first.
Thanks,
Jay -
Issue with Transfer order after inbound delivery
HI SAP Experts ,
we have an issue where User inputed the Inbound delivery and then assigned with Handling Unit and then he has Created the Transfer order and which he has confirmed
later he has Unassigned Handling Unit , know how can he Proceed further
Case 1) I believe he has deleted the Inbound delivry also , How then the Transfer order Movements can be reverted
Case 2) inbound delivery exist in system , in unassigned state wrt Handling unit and Transfer order (Confirmed )also exist , if user Tries for vl09 for Reversing Delivery , system throws error , Reversing not possible -What should be done here
Awarded Full Points for correct answer
Thanks and Regards
AdarshHi
You use LT01 with the reverse movement (1 or 10 higher than the production receipt - standard SAP uses 103 fro GR and 104 for the reversal).
You then want to unprocess the transfer requirement if existent (look up the TR number in the TO header)
And cancel VL09 and then TA LT0G -
Hi all,
There are six line items in delivery.
When i am trying to create a transfer order with reference to the delivery, only 4 line items is appearing in TO.
I checked and found that there are two TO's against the delivery and both are deleted.
But in both the TO's one line item is confirmed so those line items in both the TO's was not deleted.
I tried by creating a manual TO and take the stock back in by using 999 mvt.
After i did that also, both the line items are not appearing in the TO against the delivery.
How to proceed
Regards
KKHi
It seems there is some inconsisstency happened to this delivery. TO header says the it is deleted, but one of the TO line items are not deleted fully. That means LTAP line items still exists for those delivery line items(two line items)
Best way try to reduce the delivery quantity for those two line items if possible and create new delivery.
Try this and update
regards,
Ramana -
Transfer order cancellation issue
Hi Experts,
User created transfer order 10 line items,9th and 10th line items not confirmed its in red colour error status all other line items are green ,now my user
trying to cancel 9th and 10th line item through LT15 transaction that time showing error transfer order already confirmed or cancelled,please any body suggest me how to cancel 9th and 10 th line items,Tried through LT0G transaction reversal through delivery,unable to reversal also because my deliver is deleted,
Regards
MohanHi,
When using LT15, enter the item numbers along with TO, then it should allow you to cancel.
Let us know if you need any more help.
Regards
Vijay -
Transfer Order (LT03)
How to change/Delete a transfer order in WMS . can any one please tell me what is the procedure to delete orders which has status like dis. most importantly how to cancel the WMS document number.
Sales order -
completed
Delivery---Completed
Wms Transfer order --- Completed
PGI--Completed.If you drive from Hamburg to Munich then you cannot make this just unhappen, you have to drive back, so it is in WM with TO's. If a TO was confirmed, then you have to create another TO to move the material back.
If your case you need first cancel the Goods Issue with VL09.
Then you can do LT0G to move the goods back, make it unpicked. -
Hi
Can any one tell me how to cancel the Tansfer oder
brief:-
I had created sales order, delivery(picked and packed and PGI ) and done invoice also.
Now the user wants to cancell the every thing as he has delivered some wrong parts
waiting for ur valuable answers
Regards
skDear ,
For the first need to cancel Invoice Use TCODE-VF11 and
To revese PGI Use Tcode-VL09 and for cancel transfer order
Use Tcode- LT15 for non confirm Transfer order.
Use Tcode-LT0G for confirm transfer order.
delete Delivery document use Tcode-VL02 and click on tab OUTBOUND DELIVERY --DELETE before doing the same u need to unpick the material in delivery document.
If ur problem is resolved kindly close the thread.
Regards
AJIT K SINGH
HAPPY TO HELP U
Edited by: AJIT K SINGH on Dec 30, 2009 3:52 PM
Maybe you are looking for
-
Document flow of Inbound Delivery
Dear Gurus, We have upgraded to support pack SAPKH60018 from SAPKH60010. Earlier the process for goods receipt was followed as described below 1. Purchase order 2. Inbound Delivery 3. GR in to Blocked stock against Inbound Delivery (mvmt type 103) 3.
-
Steps for re-using the same user id of a deleted user in OIM 11g ?
Hello experts, By Default, in OIM 11.1.1.5.0 it is not allowing to re-use the same user id of a deleted user. Consider a user with user id as "ABCD1234". The user is deleted from OIM and it is not getting displayed in the user search. But in DB we co
-
Can someone please identify my problem by reading this crash report
Okay hi guys. So I spend a lot of my time playing pc games and ive recently run into a problem with one. Not many of you will know this game but it is called League of Legends. After having played this game on my mac for months i suddenly started enc
-
Unreadable FIles: The file is already in iPhoto Library
I accidentally deleted a photo from an event this AM. I can find it with the other photos in that event in finder using "Show Original in Finder" but when I try to get it to show in Iphoto, i get the msg. "Unreadable Files: 1" then "The following fil
-
Combining Objects into one object
I have just learned Live Cycle this past week without assistance and so far so good. My question is, I am trying to create a single object from multiple objects that I can repeat and insert through a button using the Action Command. Is there a way