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.L
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 History of PO
Dear all,
I would like to know is there any table storing the change log of Delivery Note. I have to take log on each changed about the delivery date of the Delivery Note and use that in a customized program. Is there any table storing the history of the changes?
P.S. The Delivery Note is for PO. Therefore cannot get from the SO History. and I cannot find that in the PO history. Can anyone help? Thanks.
Regards,
MandyCheck CDHDR and CDPOS tables..
-
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 -
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 reddyHi
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. -
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.
Thankshi
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 -
WMTA output type for delivery note.
hey experts
we are using output type WMTA (automatic TA) for delivery note with Medium 8 (Special Function) & date/time 4 (send immdiately when saving appli).
In production server when user save delivery WMTA trigger with ZPLF(std delivery outpt type) in 2nd line and print the doc.
but
In Dev & Qas server when i save the delivery document. it only trigger WMTA and it is not printing the delivery note
i guess unless until WMTA not trigger with ZPLF printing is not possile.
i want know how WMTA output type trigger with ZPLF output type in Production Server.
Why WMTA not triggering the ZPLF in DEV & QAS.
thanks
Edited by: manojverma on Jul 2, 2011 4:40 PMHi MdZ,
I looked at the analysis output. ZD04 output is what i am after. Don't understand the followings:
Q1 - why the ordering in anaylsis is different than in output determination procedure. For example:
In Analysis Output: i have:
LDOO - Output not found
MAIL - manual output
PLOO - Output not found
Z940 - Output found
ZBOL - Output not found
ZD04 - OUTPUT NOT FOUND
The Output Determination Procedure as:
Step Counter CType
10 1 LD00
12 1 ZLFX
13 0 LALE
14 1 ZBOL
20 2 MAIL
75 1 ZD04
90 1 PL00
110 1 Z940
Step 10 should be read , then step 12, and so on. Why is the ordering in procedure different than in
output analysis ?
Q2. Why did it display ZD04 not found when ZD04 appear on the delivery output as green light ? When i drill down, it show 2 access sequence. Access 10 stated Output found. Access 20 stated Output not found.
Thank you.
Joyce -
Reg : change pointer mechanism for triggering the IDOC for delivery note
Hi ,
I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
Thanks !
Regards,
KiranHi,
When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention. If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen. Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
Thanks,
Mahesh. -
Hi experts,
What is the t-code for delivery note creation.
thanksHi
Kumar
Tcode
>VL01N Creation
>VL02N Change / delete
>VL03N Display
>VL09 Goods issue reverse.
Thx. -
Delivery not before date and Delivery not after date
Hi Everyone,
Can anyone help me in this issue, we need to map "delivery not before date" and "delivery not after date" from an EDI 850 into a sales order.
Are there any fields to which we can map the data? if not would anyone suggest how to go about it?
Thanks,
Michelle.Michelle,
We have a similar requirement, albeit we call it a Delivery Window. We have implemented this by mapping two E1EDK03 qualifiers (we use 033 & 034) to two Z fields extended to VBAK, which we then include in our Sales Order Delivery Date logic.
Not very elegant, but then my understanding is that SAP has no concept of the Delivery Window.
Cheers, Paul. -
Hi all,
What are the tables for delivery details.
What i want exactly is header and lines tables for one Delivery .
ThanksThanks Nagmohan...
And i want to know what are the tables get affected and the flow of process from the status to shipp confirm ..
Can you pls tell me patiently..
thanks -
How to reverse goods issue for delivery note by using IDoc
Hi all,
I would like to reverse goods issue and picking request for delivery note by using inbound IDoc.
I used message type SHPCON and IDoc type DEVLRY03 for posting goods issue in inbound processing and it's work but I couldn't find solution for posting reverse goods issue.
Pls let me know which IDoc type or any ways for posting goods issue reversal and cancelling picking request.
Thanks for your time.
Su R.Hello,
For this requirements we can actually follow two Approaches that I can think of. Here they are.
Approach 1
Little Complex Approach. What we can do is to make use of the Same Function Module (Posting Program) IDOC_INPUT_DELVRY to do the Delivery Updates (Except reversing the Goods Issue). During this, we can make use of one of the Customer Functions available in the Enhancement V55K0001 and satisfy our Requirement.
Approach 2
We can actually code a Custom Posting Program (Function Module) in which the first part will take care of updating the Delivery & if the PGI is done, then we can make use of the Function Module BAPI_GOODSMVT_CANCEL to reverse the PGI.
I think the later Approach is much easier rather than going for the Standard Function Module (Posting Program), Exits and find a place where we have to find another Enhancement Spot / Enhancement where we can call the above FM to Cancel the Goods Movement.
Hope these inputs were helpful.
Thanks and Regards,
Venkat Phani Prasad Konduri -
Hi friends!!
May i know is there any table that gives any info about the NOTES .Hi deepika ,
Pls see the following tables
CWBNTVALID Validity table for Notes
CWBNTSTXT Short text for a Note
CWBNTMSG SAP Notes Message Log
CWBNTHEAD Header table for OSS Notes in customer systems
CWBNTGATTR Table for Any Note Attributes
CWBNTDATA Compressed data for OSS Notes
CWBNTCI Assignment of Note to correction instructions
Regards
Byju -
User exit for Delivery note in MIGO transaction
hi friends,
Basically i am MM Functional ,so please guide me how worte user exit in SAP system . if any body face this same issue pls put progrmme and where it placed
In case we enter the duplicate delivery note from the same vendor in the same physical/financial year, should get error/warning message
In MIGO delivery note not accpeted repeted DC numbers
Use MBCF0002 Customer function exit: Segment text in material doc. item
EXIT_SAPMM07M_001 to give ur coding for duplicate delivery note entry and chk.
Field name i_mkpf-xblnr for delivery note number>
sivasankar cherukuri wrote:
> hi friends,
>
> Basically i am MM Functional ,so please guide me how worte user exit in SAP system . if any body face this same issue pls put progrmme and where it placed
>
> In case we enter the duplicate delivery note from the same vendor in the same physical/financial year, should get error/warning message
>
> In MIGO delivery note not accpeted repeted DC numbers
>
> Use MBCF0002 Customer function exit: Segment text in material doc. item
>
> EXIT_SAPMM07M_001 to give ur coding for duplicate delivery note entry and chk.
>
> Field name i_mkpf-xblnr for delivery note number
Go to TCode CMOD and select an existing project / create a new project.
Select enhancement assignment and give the name EXIT_SAPMM07M_001
Save the change.
Then enter again and double click on the name provided above. Inside there will be an INCLUDE ZX*****
Double click on that include, the system will ask to create a program. Accept it.
Now you have the open field to make your validation.
Regards,
Aroop -
Hi ,
How to set default printer for delivery note...
PrashanthHi There,
Do this by printer configuration in the spool.
Go to T-Code SP01,
Execute the spool request,
Then select the required spool and change the printer name in the option 'Print with changes parameters' from the menu option spool request.
Thanks,
Raja -
EDIFACT D96A for Delivery Note
Hi Gurus,
Which Standard is available in spectrum of EDIFACT D96A for Delivery Note?
I can only find 2 for Delivery Note :-
1. DELFOR : Delivery Schedule
2. DELJIT : Delivery JIT
Which one to use for Delivery Note or there is someone else for Delivery Note?
ThanksI do not have any such doc. Anybody in your team/org having functional knowledge about electronic transaction flow and EDIFACT may provide you such doc/mapping. I just know it because I have worked with this EDIFACT message earlier.
Regards,
Anuj
Maybe you are looking for
-
Re:F150(Dunning Run)
Hi SAP Experts, I have a problem while running f150, i done the basic settings, dunning procedure, sales in voice raised in f-22,before run f150. In dunning third level i got a table error (t056z) interest indicator 01, currency INR is missing in ta
-
I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?
-
Sychronisation of DAQ on multiple cards
I am operating with Labview 5.1.1 and Flexmotion on Windows 98 and I am an intermediate user. Using PCI-6023E and PCI-7344 motion controller card, connected by an RTSI cable. Want a process whereby after running a subvi, DAQ begins at the same time o
-
Saving all results from requests coming from a script?
Hi everbody, Is there a possibity to save in a file all the results coming from a script? My script provide me 14 results from select query and I want to save this results... Thank's for helping me
-
Different availability check for VA01 as for VA02
Hello, For the availability check, during sales order creation (VA01), the system takes into account the requirements transferred to MRP. In some cases, an order cannot be confirmed, even if there is sufficient stock according to CO09. If I change th