Creation of a Delivery note : VL10G
Hi,
i want to create a Delivery note in Tcode : VL10G from a PO.
so i enter a PO number then i execute, but i have a table without items as result.
Please how to solve that ?
Regards
VL10B is used for the selection of Purchase Orders only. VL10G allows you to select Purchase Orders and Sales Orders.
Check that the other selection criteria match the details on your purchase order. If you enter a receiving point or delivery creation date range that doesn't match the delivery date on the PO, you won't get any results. The Deliv.creation date range is defaulted based on the value of the CalcRuleDefltDlvCrDt field, so you need to make sure that you select the most appropriate value.
Similar Messages
-
How to create a pop up window while creation of the delivery note.
Hello Experts
How to create a pop up window while creation of the delivery note.
As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
For e.g.
Str. Loc Qty UOM
DE01 100 KG
DE99 50 KGDear all,
i m having two document numbers for invoic of same types such as output type print program and smartform.
biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
Directly the cursor comes to initial stage of vf03.
suggest what to do
Thanks and regarnds
ravi -
Error during the creation of a delivery note
Hi,
While creating the delivery, an error is produced when i saw the log . It was as follows
"An Item with no delivery quantity is not permitted. Item will be deleted"
The material is unrestricted, not reserved for any other orders except my PO .
any idea about this error?
Thanks and regardsHi. The issue was solved. It was related with an incorrect value in the material master record (availability check field).
Thanks and regards -
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 -
Credit Check is not working while creation of the delivery
Hi,
Credit check is not performing while creation of the delivery.
As per current settings, there is no credit check at SO level. Ideally, system should show an error message while creation of the delivery if credit limit of the customer is exceeds.
Below is the current OVA8 setting for Delivery group 02.
It was working fine till last week, but due to some unknown changes in customization or master data, same is not working now.
Could you please check below settings and suggest if any setting is wrong?You talking about the reaction field D am talking about beside to reaction field that is status/Block(check) .
Status/Block(tick) is used to block the document.
Where as you reaction field is used to give the either warning or error message based input you are giving
A and C gives warning message and allow to save the document.
B and D gives error message and will not allow to proceed further
Please check this and try system will block the delivery.
thanks,
Srinu.
Message was edited by: Srinu S -
There's an error while delivery note creation for STO order
There's an error while delivery note creation for STO order even stock available in unrestricted stock
Edited by: sharma aman on Nov 8, 2011 9:00 AMDear Sharma Aman,
Check whether the following link helps you.
Mesaage : while creation of delivery : An item with no delivery quantity .)
Please search in google with the error message and definitely you will get some older posts in SDN which is solved.
In that case , you need not wait for the solution as it is already available.
If the solution provided do not suit you, then post it in SDN so that it will be a learning for others.
Try to search in the forum or in google before posting further queries
Thanks & Regards,
Hegal K Charles -
Delivery Note to Subcontract creation error "Essential transfer parameters
Hi
I am facing issue in return delivey
Delivery Note to Subcontract creation error "Essential transfer parameters are missing in record:000001".
Could you please let me know the casue of this error and where exactly i can see error.
Regards
vikcyHi Vicky,
Check If the Customer number(Plant) has been maintained in the vendor master record control data and the vendor should also be maintained in the customer master data. Once you maintain this system determines the shipping point based on the customer master and the shipping data missing. Kindly try delivering after maintaining these and let me know If you need any more information on this.
Regards
Ram Pedarla -
Incomplete sales order to block delivery note creation
Hello experts,
I use the incomplete procedure on the sales order and save the order with one field not filled in. So this sales order is incomplete, but seems user can still create delivery note for the order.
In the "status group" IMG, there is one check box for delivery, I tick it on, but still the delivery note can be created even the sales order is incomplete for that field.
Anything missing here or this is as expected? Thanks!Hi JohnXu,
--Go to T.Code VUA2 & select your sales document type & check mark on IC-Dialog & save it.
--Raise sales order VA01 with incomplete information & try to save the order the system throws error message.If you still want to save the order the system will not allow you to save the document.
Let me know if your problem is solved
Regards
Pradeep -
Automatic creation of Delivery Notes in pick transaction
In the pick transaction, when you have a lot of lines with a lot of Delivery adresses, the button (Deliver) creates automatically all the Delivery notes.
That's fine but all the documents remains open until you add them manually in the system.
I have a customer who creates many hundreds delivery notes at the same time.
I wish a button (Create and Add) which automatically create and add every Delivery Notes;
ChristianHi sameer,
unless the standard program is modified you cannot do auto pgi. However batch jobs can help creating a delivery afer sales order. But incase WM is implemented then we can for the required delivery movment types create an automatic transfer order and confirmation. This brings us closer to some extent in the task. Then schedule again a job that does PGI.
can you please however explain the business need for auto pgi. It helps us to learn something as well.
regards
sadhu kishore -
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 -
Creation of Inbound delivery mandatory for ASN process in classic scenario?
Dear Experts,
We are going for classic scenario for our green field SRM implementation process. Our client is not using ASN process in their existing MM process. However, they are now looking for an oppurtunity to enable Suppliers to trigger ASN using SUS. In such case, is creation of inbound delivery from Buyer side a mandatory process?
Is the below the process correct?
PO -> ASN (Supplier using SUS) -> Inbound delivery (Optional) -> Goods Receipt (Mandatory) -> Invoicing.
Here, I understand that Goods receipt can be verified against the PO or via Inbound delivery to PO. ASN will inform the store keeper in advance about impending goods receipt and smoothen the confirmation process.
Could you please comment on the above process? Could you please suggest the best practices followed here?
Thanks and regards,
Ranjan
Ranjan SutradharHey Ranjan!,
You are on track.
The process flow you have shown is true. ASN is available as a standard as part of the MM-SUS process. It makes the buyer aware of any delays in delivery or to make arrangements on shipping docks to receive goods on a said date etc.
Regards,
Nikhil -
Error in creation of inbound delivery
hi
When I tried to create inbound delivery against schedule agreement
1) Following warning message is coming when I enter the quantity for each and every line item
u201CAcknowledgment for PO item contains data varianceu201D
2)Following error message is coming when I saved the delivery
u201CTermination during purchase order updateu201D
So I am unable to create the inbound delivery
Note: this error is coming for a particular vendor onlyHi ,
Goto SM13 .
Find the terminations based on user and creation date.
Get the same analysed by ur ABAP team.
Also check the confirmations in PO at Item level.
Regards
Ramesh Ch -
MIGO - GR Against Purchase Order - Delivery Note # not to Repeat !!
Hi all,
Here is a interesting requirement from the business user!!
Scenario: Currently they are making Goods receipt against Purchase order in Transaction MIGO. Delivery Note # (LFSNR) is entered during Posting.
Problem: Recently they did MIGO for Purchase order, by mistake they did Goods receipt twice for same vendor delivery note # !
Question: Can you please suggest a way to validate the Delivery note # field of MIGO, Such that it is unique. If the number is Repeated for the Same Vendor, system should throw a error message, stating that Delivery note # already exists. So that it avoids posting of GR for same delivery note even by mistake !!
I thought of validating this entry in MSEG Table, but problem is it will delay the posting of document !!
Is there a standard user exit or setting to validate this field during posting!!
Thanks in advance.
Regards,
ThiyaguJoven,
If you see transaction VL31, Creation of Inbound Delivery, SAP did the validation for EXTERNAL ID in the Input screen of the Transaction. If we try to repeat the External id #, system throws error message as below.
"The external ID of the delivery note is not unique (see inb. dely
0180267952)" Message no. BORGR547
When we make Goods receipt against Inbound Delivery instead Purchase order. We may over come the problem some how. Reason is that during Inbound Delivery creation itself External ID is validated. During GR against Inbound Delivery this External Id gets copied as Delivery Note #, so this is the alternative i thought !!
Thanks,
Thiyagu -
Hi all,
While trying to create a delivery note against sale order in VL10G, the message "only 0 ea of material XXX available". In stock material quantity is available. The material has some reservations against it. Will this be resulting in not creating delivery note.
Regards
sappyHello,
Is your material stock against order ie restricted to specific order or is it make to stock ie in Unrestricted.
Please check the availability check in sales order. It will show if any delivery is created but not done PGI. Either delete that delivery & then you will be able to create the delivery for this order.
Let me know if the problem still continues.
Thanks -
Delivery notes in scheduling agreements
Hello,
we send scheduling agreement (ME38) to our supplier. Now we create delivery notes with vl31n, which should reduce the open quantity of our schedules. Unfortunaly the delivery notes will not reduce the quantity and we send the supplier a wrong open, too high quantity. How can we solve this problem?
SPRO > Material Management > Purchasing > Confirmations > Set Up confirmation control
We set already the parameter for "Confirmation is Relevant to Materials Planning".
Regards
AndreasHi
You should use creation profile which has General data "Determine Backlog/Imm. Reqt" ticked for both JIT and Forecast . T.code is OMUP
Regards
Antony
Maybe you are looking for
-
Apps are not being transferred after updating to new iOS
I've read a few posts but nothing explicitly about this issue. I am the original account owner, same computer, iPod has worked with the same apps for over a year until I updated to the new iOS a few days ago. I recently updated my iPod Touch to the n
-
Not able to get performance gain using Multidimensional Clustering
Hi All, We are trying to test the effect of Multidimensional Clustering on the performance of queries, infocubes/DSO loading and deletion of requests from BW objects. Unfortunately we are not able to see any performance gain when we use MDC. We are u
-
Difference between oracle 10g R1 and R2
hi, I would like to know is there are any difference betweeen oracle 10g R1 and R2. I am using forall condition in a select statement. The query is runnign fine in R2 and not in R1. Kinldy update. Rgds....
-
Specifying Different Oracle Drivers
I'm having some issues using some Oracle drivers versions in different applications that use different Oracle versions (8 and 9), is there a way to define for one Connection Pool one version and for another a different one but still have XA support?
-
Itunes 9.0 import error
After upgrading to 9.0 I attempted to import two CD's. I can play songs from the CD and see all the track info, but when I click import CD, I get the error: "Error occured while converting <song>. The required file cannot be found." However, since I