Delivery note mass deletion
hi
can delivery notes created through collective processing be deleted enmasse as in a batch job?or is there any other any alternative? waiting for expert opinions
regards
rp reddy
Hi
likp, lisp, vbup, vbfa don't have delivery note after
it gets deleted. i can get it from CDHDR or CDPOS
but i can not associate it with sales order.
In cdhdr, cdpos we have entry only for object value
the delivery note nor.
Regards,
Abhimanyu L.
Similar Messages
-
Table for Delivery Note after Deletion
Hi
I want to find out delivery note which are created and deleted at a later point of time against a sales order.
once i delete a delivery note i am unable to find tables
which have the delted delivery note. If any one knows the
tables plz do share
Thanks & Regards,
abhimanyu.LHi
likp, lisp, vbup, vbfa don't have delivery note after
it gets deleted. i can get it from CDHDR or CDPOS
but i can not associate it with sales order.
In cdhdr, cdpos we have entry only for object value
the delivery note nor.
Regards,
Abhimanyu L. -
Mass Deletion of Parked Document
Hi,
Can someone please let me know how to delete parked documents in MASS, using FBV0, we can delete one by one.
If not mass deletion, is there any other option of mass archiving or not releasing kind of stuff?
Thanks
BallaHELLO,
You do not have the option to mass delete. One option I can think of is LSMW if you know the documents to be deleted.
However, you have the option to mass post the documents. Batch (SM35)
Regards,
Ravi -
How to look as to who has deleted the Delivery note
Hi
I have a issue from one of my customers who mentioned in his problem that he needs to find out as to who has deleted a Delivery note. He has mentioned the Delivery note number.
I have tried looking at SM21 & tables CDHDR and CDPOS but I could not find. I tried to simulate the similar issue in my development environment by deleting one of the deliveries and checking in Transaction SM21if it displays my name, but it did not.
Please help me in this issue or at least let me know how to approach this problem.
ThanksHi,
You can find the Information from the CDHDR table
Goto the table in SE16 and ehter the details for the table like
OBJECT CLASS As LIEFERUNG
OBJECT ID As DELIVERY DOCUMENT NUMBER ( It should be 10 digits)
Now execute.
It will all the information on who deleted.
regards,
santosh -
Undo GR with a deleted delivery note
Hello,
I don´t know if somebody has been in the same situation and could help or give us a solution:
We would like to undo the Goods receipt from a Purchase order, but SAP doesn´t allow it due to the delivery note has been canceled by mystake.
Two possibilities
- Undo the deleted Delivery Note.
- Undo the goods receipt in this situation.
Thank you!
Regards,Hello,
I don´t know if somebody has been in the same situation and could help or give us a solution:
We would like to undo the Goods receipt from a Purchase order, but SAP doesn´t allow it due to the delivery note has been canceled by mystake.
Two possibilities
- Undo the deleted Delivery Note.
- Undo the goods receipt in this situation.
Thank you!
Regards, -
Hi,
I am new end user on MM and SD.how to get list of delivery notes delited in past with username who deleted and material no qty and Sales Order no.
I really need this to find who is deleting DN everyday. Why materila never moved out from W/H.
Thanks,
Bipin SinghHi,
please check the below link:
List of Deleted delivery note
Regards,
Chinna -
Output Type for Deleting Delivery Notes completely
Hello,
I've a problem that in case of complete deletion of a delivery note I want to get message of deletion via IDOC DELVRY05. Normally the complete document will be deleted without any outbut determination.
Where do I have to implement this? Is it in normal output determination for outbound deliveries?
Thank you for your effort.
Kind Regards
Norbert*
-
How do you mass-delete iPhone notes?
That's the question.
... and on a Mac, you can mass-delete from the 'Mail' app (easier if you're using a 'Notes' folder instead of 'Storing notes in inbox')
-
Mass Printing of Delivery Notes
Hello SCN,
Is there a way to reprint all delivery notes printed for a specific period? Transaction or Report? Let's say for example all DN printed last month by a specific user?
Please help me solve this problem.
Thank you in advance.
Jayson.Hi,
First you can get the list of all deliveries which were printed for a given selection criteria. If you know the output type and the time during which the list of outputs to be reprinted, your job is half done. Just go to NAST table, give the output name and the created on date. The object key in the result represents the delivery document number.
Now there is a catch there. If the despatch time is 1 (Send by periodical job), then you have to use the program RSNAST00 in the transaction code SE38 and give the delivery numbers(in object key field) with trailing zeros for 10digits and give the output type , click the "Send again" checkbox and execute the program. Now all the outputs for the object keys will be reprinted.
If the despatch time is 3, then you have to use the tcode VL71 give the dleivery number, output type and processing mode as 2. Now the output will be reprinted.
If the despatch time is 4, you can use RSNAST00 itself.
Hope this helps -
Mass deleting process for BW metadata
Dear BW women and BW men,
My question: how to initialyze a BW system without implement BW a another time the master.
I would like to have it in the state like after the implementation, so without metadata created or activated.
I would like to make a saving and not implement the BW master a second time.
I would like a kinf of operation or a program to delete all the cubes, all the io, all the objects.
I would like all the object in a status delivery and not activated or something like that...
Probably there is a automatised solution and not a manual one.
Thanks,
Ronan.Hi Rakesh,
Following may Help you
1. For Cancelling Excise invoice use T-Code J1IH and click on the option Cancel Excise invoice it will reverse the entry which is created in J1IIN
2. I dont think you need to cancel Proforma Invoice however you can try with VF11
3. For reversing all PGI , use T-code VL09 with the selection of date
4. Create any BDC with the help of Abaper to reverse PGI and Mass deletion of Delivery order in single transaction.
Regards
Shambhu Sarkar -
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 -
Mass Deletion of Schedule Lines
Dear Friends,
Our client's requirement is to mass delete the schedule lines generated through MRP by wrong production schedule. They want to delete it once in a month.
regards,
AskDear,
I'm not sure just try this,
Go to SM30 table MASSFLDLST
add field LOEKZ
You defined in customizing table T161 field STAKO- LOEKZ
Then you can delete it through MEMASSSA T.Code
Else better you use tools like LSMW to close those unwanted schedule lines.
Regards,
R>brahmankar -
Delivery Notes keep getting generated
Hi All
I have a really challenging issue...
I have a number of Purchase Orders that were set up in 1999 and have been invoiced and Goods receipted.
For some reason delivery notes keep getting generated for these PO's - one last night dated 19/05/2010 for a PO in 1999
Now I think that the order is some kind of Stock transport order as the vendor is one of our plants and they keep complaining of stock being allocated for these deliveries
Now....I thought it would be as easy as going into the delivery note via (VL02N) and deleting the delivery requirement (line item) but this seems to back order the stock until another delivery note is generated.
I have looked at the PO and it seems as if the Delivery Completed indicator and the final delivery are not checked
I tried to check these and save the PO but it is asking me now to enter a delivery type (The field is greyed out though)
How can I get round this and stop these notes being generated? Any help or suggestions would be greatly appreciated
Thanks
AndyCheck your Delivery due list batch job variant and try to exclude prior year PO's.
May be you can select the lines and click on Block Icon.
Regards
Sai -
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 -
Mass Deletion Of Purchase Requisitions Without Using LSMW
Hi,
We would like to delete huge volume of PR generated through MRP. Deleting PR will be a frequent activity in our business scenario. Since the person responsible for MRP is not very much conversant with LSMW, we want to avoid using LSMW.
I tried with MEMASSQR. But 'deletion indicator' field is not available in the field list.
Is there any method through which I can carry out mass deletion of PR?Hi,
I've tryed this from Manish Kumar Agarwal :
Go to SM30 enter the table MASSFLDLST
then create the new entry object type = BUS2105
Table name = EBAN Field:- "EBAKZ" (Purchase requisition closed)
Then run MEMASSRQ and select this field and then PRs after tnat on next page you will get option like film:- carry out mass changes go ahead with it.
But strangelly, it doesnt appear in the memassrq... any idea?
Maybe you are looking for
-
Good day! I'm currently doing a computation for an income statement cube where: Net Sales for the current month = Sales of the previous month - Sales discount of the current month. Now my problem is with the net sales for the month of January. How ca
-
Add a link to an image in iBooks?
Is this possible? I can't seam to add any links to an image that I placed in the document.
-
What is Adobe Reader MUI 9.3.4 update - multiple languages
I have a choice of 2 downloads from Adobe Adobe Reader MUI 9.3.4 update - multiple languages and Adobe Reader 9.3.4 update - multiple languages Both are the same size and date. What is the difference between these?
-
How do I know if the external antenna is working???
Basically as the title says - how do I know? Is there are settings I have to alter in the admin??? As it stands I have connected the external Doc Bot antenna to the base station - but there seems to be no difference in the signal strength - ie that s
-
Help with File Upload manually
Hi Experts, I need code to upload a file without using the upload UI Element. we have our terms and conditions which has to be signed by the user and once the user signs and clicks the next button to go to the next page, I generate a pdf with the tim