LT03 transfer order for delivery note
Hi Guys,
I try to execute the transfer order for delivery note with Lt03 after saving my delivery, but i got the error message No item that are to be picked were found. Ho can i solve that?
Plase need ur help.
Thanks
hi
then check in OVLP whether u have checked box for u r item category
and also check the document flow it might have already picked
Similar Messages
-
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 -
IDOC for transfer order for delivery note LT03
Hi All,
I need to generate an outbound IDOC upon transfer order creation in Tcode LT03.
I found there are two types of IDOC discussed in this forum before. One is the Canceling Transfer Order IDOC and another one is the Confirmation Transfer Order IDOC.
I'm not sure whether these relevant to what I need or not.
Can i know what FM, message type and basic type should I use for this situation?
(generate an outbound IDOC upon transfer order creation in Tcode LT03)
Please advice.
Thanks.
Best Regards,
JL
Message was edited by:
KAR SENG LAWI found something here,
Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK ?
need advice.
Thanks again. -
Error while creating a transfer order for delivery note.
Hi Gurus,
I have already created an outbound delivery. I am creating a transfer request as a basis for goods movement in the warehouse and to print the picking list. so i use the path:
Logistics -> Sales and Distribution -> Shipping and Transportation -> Picking -> Create Transfer Order -> Single Document.
Now here i enter the warehouse number, plant, delivery. when i press enter i get error "No items that are to be picked were found".
I went to the following IMG path -- Enterprise Structure --> Assignment --> Logistics-Execution --> Assign Warehouse number to plant/storage location.
Assign the warehouse to the plan and storage location.
Still i get the same error. Could some one help me out here?
Thanks in advance
AmitHi,
can you check whether Warehouse number exists and transfer order creation is required or not at Delivery document under Picking tab -
Stock Transfer Order for Delivery Note
Hello
i have facing some problem in client
i have seen one STO with Plant to Plant but iam afraid that the supplying plant and receiving plant are same , (took it as BP01 supplying plant BP01 receiving plant)
in that STO they have mentioned 3 materials (three line items) for two line items he has created the Delivery Note, for third line item system will not allow to create delivery note why? i ahve checked the purchase order history
1) is it possible in SAP STO (plant to plant) they are same?
2)if no why system will alow him to create for two line items for delivery?
3) if they were created the delivery for two line items , why not third line item?
(i have stock of all materials is OK),Hi,
It is OK for the STO to have the same issuingh and receiving plants (although if you do this deliberately it does indicate that the org structure is suspect)
As for the third delivery not being able to be processed, there are so many reasons and so I would need the EXACT message you are getting for this.
You say that there is enough stock but is it in the right place and is it all available (remember that available stock is not the same as unrestricted stock, there may be other requirements that have reduced the available stock even though the physical stock is still sufficient).
But without the message details I can't be much more help.
Steve B -
Creating transfer order for delivery with ABAP
Hi Experts,
I'm using L_TO_CREATE_DN to create a transfer order for delivery note...
Is it possible to use this function or another one, to create a transfer order for one position of the delivery note ?
Regards,
DavidHi,
Try this L_TO_CREATE_SINGLE
Tks,
Krishna -
Creating Transfer Order for Delivery with Specified Source Bin
Hello,
My requirement is to create a pick transfer order for an outbound delivery.
<b>L_TO_CREATE_DN</b> works perfectly well, however, it does not let me to specify the source (fixed) bin in my warehouse. It actually executes the bin determination routine to pick the source bin for me, which is not acceptable.
<b>L_TO_CREATE_SINGLE</b> won't work as my destination bin is a dynamic bin, and this FM does not allow to set LTAP-NKDYN.
So, I'm stuck. LT03 actually allows the user to input source bin information, so I'm saving BDC as my last option, but wanted to see if anyone here has other ideas.
Thanks in advance!
R.D.Hi,
Try this L_TO_CREATE_SINGLE
Tks,
Krishna -
Issue at the time of creation of transfer order for inbound delivery
Hello,
I am facing one issue at the time of creation of transfer order for inbound delivery.
If I create inbound delivery for purchase order with account assignment as 'M' (Ind. cust. w/o KD-CO), inbound delivery is not updated. Also document flow for inbounde delivery s not updated. I can create N number of transfer orders for on inbound delivery. Need help to resolve issue.
If I create inbound delivery for purchase order with account assignment other than 'M' (Ind. cust. w/o KD-CO), inbound delivery and document flow is updated.
Thanks and Regards,
NikhilHi
In OMS2 t-code
for your material type and plant ,you have to mark value based and qunaity based updation mark
Regards
kailas Ugale -
Single Transfer Order for Multiple Handling Units
I have been researchig the ability to create a single transfer order for multiple handling units. My assumptions are if it can be done that:
1) A transfer order can have a single source, so if the source document for the handling unit (delivery) is different, that means different transfer order
2) A TO can have multiple materials (line items) with different destination bins and quantities per bin
I looked at the configuration for TO Split, but it's not clear that this will handle my requirement.
I also saw this http://aq33.com/material-management/Articles-005798.html and it also says that my requirement can't be meant. I'm just checking before I tell my customer this cannot be done.Yes you are right, if Source document is different, you need to go with different TO.
But you can choose the Handling unit split, while creating a TO itself. i.e., You can quantify the goods for each handling unit.
Edited by: Ganesh M on Feb 29, 2012 6:20 AM -
Create Transfer Order for Consingment Pick up
Hey, is there anyone know how to create transfer order for consignment pick up.
I had tried it using LT06 by using GR material document but it didnt work.
Please i need the answer rather sooner than later.
ThanksHello,
Customer consignment pick is from customer consignment stock back to plant stock.. First of all check in MMBE whether stock exists for that material under customer consignment stock. You can check this in MMBE.
Your stock should be maintained in customer consignment and not in interim storage type.
Ideally your process shall flow like this
Sales order (KA-Consignment Pick up with item category as KAN & schedule line category: F0 & F1)>>Enter the order reason, material and quantity in sales orde & Save It>>Create Outbound delivery (VL10B/VL01N)>>Now Create Tranfer order to move the stock from consignment to warehouse stock>>Go to VL02N Choose from menu Subsequent Functions u2013 Create Transfer Order & Enter>>Add Storage bin if required>>Confirm the transfer order (LT12)>>Do the Post Goods Reciept (VL02N)
Now Check Consignment stock quantity with MB58 Add Material , Plant , Customer Execute
BR,
Tushar -
VL06 / LT0S create Transfer Order for Multiple Deliveries
Dear all,
My customer is used to create a WM Transfer Order for multiple Deliveries with transaction LT0S. The group that is processed here was created with VL06 / subsequent functions/ Group / Create with WM reference / TO for Multiple Deliveries.
-Currently I am trying to find a backway processing mode for this. Are Pickwaves a good alternative? Or will they generate TO' s per Delivery?
-My concern is this: Creating ONE TO is essential to keep the the picking route. With multiple TO's I will lose this. Creation of the group mentioned in the menu path above requires manual input such as giving a name for the group and checking the checkbox TO. for Mult.Del.
Thank you for your time.
SandeepVinod,
Thanks for taking the time.
Have been able to have my Pick Waves generated in background jobs. However, not been able to process these Pick Waves in a single TO. Each delivery gets its own TO. So far Pick Waves have not proven to be an alternative to LT0s
I have not been able to find a setting -like the checkbox in VL06 K Group with WM reference, TO for Multiple Deliveries- that enable me to have ONE TO per Pick Wave.
Any suggestions?
Thanks,
Sandeep and Dave -
Hi Experts,
1) I know the Inbound DELIVERY # and ITEM #, so I need to pull the associated TRANSFER ORDER, so, let me know that, Which tables I hv to use to get TRANSFER ORDER # for my_inbound_delivery_#?
(In our system the DELIVERY field-VBELN is BLANK in LTAK & LTAP tables, other wise, it wuld b easy)
2) Wht is the Transaction code to see this transfer order?
thanq
Edited by: Srinivas on Jun 30, 2008 2:00 PM
Edited by: Srinivas on Jun 30, 2008 2:09 PMHi Srinivas,
1.
2. LT03 Create Transfer Order -
Can't change quantity when copy from Sale order for Delivery
Hi all!
Can i use authorization for can't change quantity when copy from Sale order for Delivery.Tien,
Approval will not work when you have mutiple rows of data. You would have to work with SP Transaction Notification
There has been threads before on the forum on the same topics.
Block the Quantity in Sales Delivery
Approval Procedure for chaning quantity in Delivery Document
Suda -
Creating Transfer Order for a Material document
Hi,
I am transferring the Unrestricted stock from one material to another material through Movement type 309.
I am creating a material document through BAPI_GOODSMVT_CREATE. Once the Material document is created and if the stock is in multiple storage types or storage bins, then I need to perform LT06. Instead of doing BDC recording I am using L_TO_CREATE_MULTIPLE function module for creating the TO. I am passing all the necessary values to this FM. TO is getting created but the Material document is not reflecting in that TO.
As per the configuration, movement type 309 will create the posting change only not the Transfer Requirement.
Does anybody have encountered the same problem?. If so please let me know how you have resolved the issue.
Regards,
Kishore.Hello Kirankumar,
It is possible to assign external number ranges for Storage unit, so maintain storage unit number range to assign SU number externally.
Now when you create Transfer order for material document at that time you can assign SU number externally.
Hope this helps.
regards,
Arif Mansuri -
Error during creation of transfer orders for material
Hi,
We are doing a transfer of stock from one storage with WM to a storage without WM.
But system does not finish the process automatically displaing the following error message:
"Error during creation of transfer orders for material document 49000XXXX"
System cannot find source storage bin
Thanks in advance for the help
Regard
Enzoyour picking strategy does not find the bin where the material is.
So you need to check what value you have entered for picking in WM view of material master.
then you have to check where your material is (storage type and bin)
then you need to check customizing to where what storage types are included in the picking strategy that is tight to the material master entry.
Maybe you are looking for
-
NPD - no chance to attach files for no signature requestees
Hello, Please see here below the following scenario: ACTIVITY: RISK ASSESSMENT ACTYVITY TYPE: DOCUMENT COLLABORATION IN PLACE EDITING TEAM MEMBERS: they are not entered at activity template level but they are assigned at project level OWNER in step 2
-
After downloading new OS key pad not functioning Properly. Type in message and it takes several seconds to populate. Anyone else having same problem or solution?
-
Stuck on gray screen on install of snow leopard server....
6 core 3.3 ghz, Mac Pro, running snow leopard server. I need to change from my current RAID5 config to RAID0. How I wanted to proceed; 1) make TM backup 2) reinstall 10.6 server from installer disk (not the machine specific one, as I lost it, and app
-
How do i delete photos from iPhoto without deleting them permanently from my macbook pro?
I'm sorry but i'm new to all this. When i move photos from iphoto to the trash will that also delete that particular photo from my macbook pro storage entirely?
-
One-Way Video (Presentation Mode) iChat Capability?
Does iChat allow for a one-way only video connection from my web camera to other iChat user even though they have a web camera? Some users are shy about video chatting, or I may want to be in a presentation only mode.