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;
Christian
Hi 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
Similar Messages
-
Automatic creation of Transfer order for Picking and putaway
Hello All .
I would appreciate if someone can explain the process of configuring Automatic creation of Transfer order for Picking ( outbound delivery)and putaway( inbound delivery) .
thanks
RahulHi
To have transfer orders created automatically in the background, you must first set the indicator Automatic transfer order creation for each respective movement type in the Customizing application for Warehouse Management under the path <b>Activities - Transfers - Define Movement Types</b>. The system automatically copies this indicator into the header item of the source document.
For more information on how to set up automatic transfer order creation for transfer requirements and posting change notices, refer to the IMG for Warehouse Management under the path <b>Activities - Transfers- Set up Autom</b>. TO Creation for TR/Posting Change Notices.
You can find more details on this link
http://help.sap.com/saphelp_47x200/helpdata/en/c6/f85c504afa11d182b90000e829fbfe/frameset.htm
Thanks & Regards
Kishore -
Printing delivery notes upon picking confirmation
We wish to only print delivery notes once picking is confirmed and goods ready to go. We can achieve this in VL02n via amendment to routine 35 in V/27 however generation of output does not appear to apply when picking is confirmed via transaction VL06C rather than in the delivery itself. Any suggestions as to how to generate reliable printing of delivery notes upon confirmation that picking is complete?
Thanks
Birna RowleyHi,
In the definition of output scheme, set a new conditional subroutine (define it with VOFM) as 035 (for instance 935), as this coding:
form kobev_935.
* Workarea KOMKBV2 is available
if komkbv2-kostk = 'C'.
sy-subrc = 0.
else.
sy-subrc = 4.
endif.
endform.
form kobed_935.
endform.
Check before with debugging that KOMKBV2-KOSTK has the desired value. After, define the output with VV21 and option inmediatly.
I hope this helps you
Regards,
Eduardo -
Automatic creation of delivery ,pgi and billing as soon as ordrer is creat
Hai gurus,
Can we do automatic creation of delivery,pgi and billing as soon as order is saved.
Plz explain ?
Thanks in Advance
sameerHi 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 -
Automatic creation of delivery and TO
Hi everyone,
can any body explain me process of creating delivery automatically with the delivery date and time from sales order. whether this auto creation of delivery also creates TO(transfer order). Here a batch job should run for every 2 hours automatically to create delivery. so which program should i run in the background and what are the process steps......also pls let me know how i can auto create TO for all the deliveries as soon as the delivery gets created.
........waiting for ur reply.....
thanks®ardsHi;
For creating the deliveries automatically you can use the T.code VL04 in the b/g or run the program RV50SBT1 in the b/g every 2 hours. This can be done using T.code SM36, this is where you set up the job. Here you can specify the details and the timing.
For creating the TO's for the delivery, either you do it through the config setting or run a similar job in the b/g and TO's should be created automatically.
For some reason if you find deliveries are not created you may use V.22 and give the Log number(which you will get from the job log) and see the reasons for delivery bnot being created.
hope this helps.
Regards,
Mani. -
Automatic creation of delivery for a PO
Hi,
We are in ECC 6.0. We have a requirement to automatically create delivery for a product based on PO.
Here is the scenario:
We have a sub contracting scenario where in material MAT1is made by breaking up MAT2. 1CAR of MAT1 is made from 2 CAR of MAT2 and packaged.
Now the requirement is when a when a Purchase order is created MAT1, we also manually create a delivery for MAT2s for the subcontractor to pickup the stock of MAT2 to make MAT1.
The requirement is when I create a PO for MAT1, the system should automatically create a delivery for MAT2. MAT2 is always in stock.
I hope my explanation is clear.
Can some body suggest me if there is a way to do this?
Thanks.Hi,
I would try to build solution based on WF events related to PO creation. Once PO is created(saved in system), the event is being raised. Here you can build function where you check whether PO is for MAT1 -> if yes -> raise automatic delivery creation for MAT2 (two possibilities:
1. use bapi 2. batch imput).
for this, you have to have some WF knowledge.
hope it helps.
regards,
wojciech -
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 -
Automatically creation of delivery group in the sales order
Hi Can u please tell me how do i create automatically delivery group in the sales order.
Hi,
You can maintain the complete delivery indicator in your Customer Master(Ship to Party ) record shipping tab(Partial deliveries).
As per SAP ,This indicator
Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
There by it can form a Delivery group.
Have a Nice Day.
Regards,
Ravi -
Deactivate the automatic Creation of Delivery after Sales Order is Posted
SD gurus,
When I am creating a Sales Order, after posting it I want to create the delivery for the same manually.
But the configuraion is so made that the delivery is automatically generated.
How do i go for it ?
Kindly helpHi Mohanty,
I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
1) Goto VOV8 tansaction.
2) Select the Sales order type (For eg: OR for standard order) and double click on that
3) Under Shipping tab, Set Immediate Delivery with Blank value
Plz reward points if it is helpful
Thanks,
Vinay -
Automatic creation of delivery(vl01n)
Hello,
I want to create a outbound / inbound delivery through t-code VL01N with reference to salesorder / repair order.
Please suggest me any BADI , BAPI of functional module..
tHANKS,
aNIL
Edited by: anilpat1 on Mar 31, 2009 4:03 PMHi Anil,
Please find the BAPI's by using which you can create delivery :
BAPI_INB_DELIVERY_CONFIRM_DEC --- > BAPI for inbound delivery ... BAPI_OUTB_DELIVERY_CONFIRM_DEC ---> BAPI for Outbound Delivery ...
Regards,
Vishnu . -
Orientation is wrong when delivery note, pick ticket are printed together!
Hi All,
I am facing this peculiar problem.
When delivery notes and pick ticket both are printed at the same time from VL02N, then the pick ticket is being printed in portrait instead of landscape.
The delivery note should print as portrait and pick ticket should print as landscape.But these when printed together from VL02N transaction, the second one pick list is printed as Portrait rather than Landscape.
The spool is generating correctly (DELIVERY NOTE as PORTRAIT and PICK LIST as LANDSCAPE) but when passed to printer both are printing in PORTRAIT format.
The printer settings are same in PRODUCTION as well as QA.In Production system it is working fine but the same settings are there in QA behaving differently.
The printer model we are using is HP Laserjet 4350.
Please advice.
Regards,
Pratyusha
Edited by: pratyushasdn on Jul 12, 2010 4:59 PM
Edited by: pratyushasdn on Jul 13, 2010 7:26 AMDear Pratyusha,
Kindly chck on the production and quality system version of the form. The landscape/ potrait option is passed on to the smartform and should be independent of the driver program / Tcode. Kindly chck on it again and revert -
Delivery Notes Generation Via Pick List
Am trying to generate delivery notes off pick tickets and i can't find any code example. I now came up with the following code but am having issues when items are in multiple Bin Locations.
Public Sub Sales2Delivery() '(ByVal OrderID As String)
Dim OrderID As String = ""
Try
Using connection As New SqlConnection(StaginConn)
'Dim command As New SqlCommand("SELECT DocEntry from ORDR with (nolock) WHERE NumAtCard = '" & OrderID & "'", connection)
Dim command As New SqlCommand("SET DATEFORMAT DMY; select distinct top 5 o.DocEntry, o.NumAtCard from ordr O with (nolock) join RDR1 R with (nolock) on R.DocEntry = O.DocEntry join OPKL P with (nolock) on P.AbsEntry = R.PickIdNo where u_shipstate = 'Delivered' and CAST(O.docdate as date) >= '30/04/2014' and P.Status = 'Y';", connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Dim BusinessOrders As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oOrders), Documents)
Dim BusinessDelivery As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oDeliveryNotes), Documents)
Dim orders As Documents = BusinessOrders
orders.GetByKey(Convert.ToInt32(reader(0)))
OrderID = Convert.ToString(reader(1))
Dim Delivery As Documents = BusinessDelivery
Delivery.CardCode = orders.CardCode
Delivery.CardName = orders.CardName
Delivery.NumAtCard = orders.NumAtCard
'Delivery.DocNum = orders.DocNum
Delivery.HandWritten = BoYesNoEnum.tNO
Delivery.Series = 8
Delivery.DocDate = DateTime.Today
Delivery.DocDueDate = DateTime.Today
Delivery.TaxDate = DateTime.Today
Delivery.Address = orders.Address
Delivery.Address2 = orders.Address2
Delivery.Comments = "Based on Sales Order #" + orders.NumAtCard & "."
Delivery.DocCurrency = orders.DocCurrency
Delivery.DocDueDate = orders.DocDueDate
Delivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
Delivery.ShipToCode = orders.ShipToCode
Dim lines As Document_Lines = orders.Lines
'If (count > 0) Then
' lines.Add()
' lines.SetCurrentLine((lines.Count - 1))
'End If
Dim oPickList As PickLists = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oPickLists), PickLists)
oPickList.GetByKey(orders.Lines.PickListIdNumber)
For i As Int32 = 0 To (lines.Count - 1)
If i > 0 Then
Delivery.Lines.Add()
Delivery.Lines.SetCurrentLine(i)
End If
' Set the Current Lines on the order
orders.Lines.SetCurrentLine(i)
Try
oPickList.Lines.SetCurrentLine(i)
Delivery.Lines.BaseEntry = oPickList.Lines.OrderEntry
Delivery.Lines.BaseLine = oPickList.Lines.OrderRowID
Delivery.Lines.Quantity = oPickList.Lines.PickedQuantity
Delivery.Lines.BaseType = DirectCast(SAPbobsCOM.BoObjectTypes.oOrders, Integer)
Delivery.Lines.BinAllocations.BinAbsEntry = oPickList.Lines.BinAllocations.BinAbsEntry
Dim rs As SAPbobsCOM.Recordset = vCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
rs.DoQuery("select itemcode, price, dscription from RDR1 R where R.LineNum = " & oPickList.Lines.OrderRowID & " and R.PickIdNo = " & oPickList.Lines.AbsoluteEntry)
While (rs.EoF <> True)
Delivery.Lines.ItemCode = rs.Fields.Item(0).Value.ToString 'orders.Lines.ItemCode
Delivery.Lines.UnitPrice = CType(rs.Fields.Item(1).Value.ToString, Double) 'orders.Lines.UnitPrice
Delivery.Lines.ItemDescription = rs.Fields.Item(2).Value.ToString 'orders.Lines.ItemDescription
rs.MoveNext()
End While
rs = Nothing
Catch ex As Exception
Continue For
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End Try
Next
If Delivery.Add() <> 0 Then
ErrDetails.AppendLine(" Unable to create Delivery note for Order: " & OrderID & " <br /> " & vCompany.GetLastErrorCode() & ":" & vCompany.GetLastErrorDescription())
Else
ErrDetails.AppendLine("Successfully created Delivery note for Order:" & OrderID) ' & " as requested by " & UserEmail & ".")
End If
orders = Nothing
Delivery = Nothing
BusinessOrders = Nothing
BusinessDelivery = Nothing
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End While
'orders = Nothing
'BusinessOrders = Nothing
End Using
Catch ex As Exception
ErrDetails.AppendLine(" Error generating Delivery note for Order: " & OrderID & " <br /> " & ex.ToString())
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
Finally
If Not String.IsNullOrWhiteSpace(ErrDetails.ToString) Then
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Errors encountered while registering data on " & System.DateTime.Now.ToString("F") & ".Errors:" & ChrW(13) & ChrW(10) & Me.ErrDetails.ToString), True)
Else
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Application Ran successfully on " & System.DateTime.Now.ToString("F") & "."), True)
End If
End Try
End Sub
The Error message am getting is 1470000368 - The quantity allocated to bin locations must be positive.Am getting this error now is
"1470000341 - Fully allocate item "1017494" to bin locations in warehouse "Isolo". Issue is we have items in multiple Bin locations and the items have been picked via the pick ticket. Is it also possible to generate the delivery note off the Pick List.
The new code am using is
Public Sub Sales2Delivery() '(ByVal OrderID As String)
Dim OrderID As String = ""
Try
Using connection As New SqlConnection(StaginConn)
'Dim command As New SqlCommand("SELECT DocEntry from ORDR with (nolock) WHERE NumAtCard = '" & OrderID & "'", connection)
Dim command As New SqlCommand("SET DATEFORMAT DMY; select distinct top 5 o.DocEntry, o.NumAtCard from ordr O with (nolock) join RDR1 R with (nolock) on R.DocEntry = O.DocEntry join OPKL P with (nolock) on P.AbsEntry = R.PickIdNo where u_shipstate = 'Delivered' and CAST(O.docdate as date) >= '30/04/2014' and P.Status = 'Y' and o.DocStatus = 'O';", connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Dim BusinessOrders As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oOrders), Documents)
Dim BusinessDelivery As Documents = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oDeliveryNotes), Documents)
Dim orders As Documents = BusinessOrders
orders.GetByKey(Convert.ToInt32(reader(0)))
OrderID = Convert.ToString(reader(1))
Dim Delivery As Documents = BusinessDelivery
Delivery.CardCode = orders.CardCode
Delivery.CardName = orders.CardName
Delivery.NumAtCard = orders.NumAtCard
'Delivery.DocNum = orders.DocNum
Delivery.HandWritten = BoYesNoEnum.tNO
'Delivery.Series = 8
Delivery.DocDate = DateTime.Today
Delivery.DocDueDate = DateTime.Today
Delivery.TaxDate = DateTime.Today
Delivery.Address = orders.Address
Delivery.Address2 = orders.Address2
Delivery.Comments = "Based on Sales Order #" + orders.NumAtCard & "."
Delivery.DocCurrency = orders.DocCurrency
Delivery.DocDueDate = orders.DocDueDate
Delivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
Delivery.ShipToCode = orders.ShipToCode
Dim lines As Document_Lines = orders.Lines
'If (count > 0) Then
' lines.Add()
' lines.SetCurrentLine((lines.Count - 1))
'End If
Dim oPickList As PickLists = DirectCast(vCompany.GetBusinessObject(BoObjectTypes.oPickLists), PickLists)
oPickList.GetByKey(orders.Lines.PickListIdNumber)
For i As Int32 = 0 To (lines.Count - 1)
If i > 0 Then
Delivery.Lines.Add()
Delivery.Lines.SetCurrentLine(i)
End If
' Set the Current Lines on the order
orders.Lines.SetCurrentLine(i)
Try
oPickList.Lines.SetCurrentLine(i)
Delivery.Lines.BaseEntry = oPickList.Lines.OrderEntry
Delivery.Lines.BaseLine = oPickList.Lines.OrderRowID
Delivery.Lines.Quantity = oPickList.Lines.PickedQuantity
Delivery.Lines.BaseType = DirectCast(SAPbobsCOM.BoObjectTypes.oOrders, Integer)
'Dim rs As SAPbobsCOM.Recordset = vCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
'rs.DoQuery("select itemcode, price, dscription from RDR1 R where R.LineNum = " & oPickList.Lines.OrderRowID & " and R.PickIdNo = " & oPickList.Lines.AbsoluteEntry)
'While (rs.EoF <> True)
Delivery.Lines.ItemCode = orders.Lines.ItemCode
Delivery.Lines.UnitPrice = orders.Lines.UnitPrice
Delivery.Lines.ItemDescription = orders.Lines.ItemDescription
' rs.MoveNext()
' End While
'rs = Nothing
Catch ex As Exception
Continue For
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End Try
Next
If Delivery.Add() <> 0 Then
ErrDetails.AppendLine(" Unable to create Delivery note for Order: " & OrderID & " <br /> " & vCompany.GetLastErrorCode() & ":" & vCompany.GetLastErrorDescription())
Else
ErrDetails.AppendLine("Successfully created Delivery note for Order:" & OrderID) ' & " as requested by " & UserEmail & ".")
End If
orders = Nothing
Delivery = Nothing
BusinessOrders = Nothing
BusinessDelivery = Nothing
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
End While
'orders = Nothing
'BusinessOrders = Nothing
End Using
Catch ex As Exception
ErrDetails.AppendLine(" Error generating Delivery note for Order: " & OrderID & " <br /> " & ex.ToString())
My.Computer.FileSystem.WriteAllText(_LogPath, ErrDetails.ToString, True)
Finally
If Not String.IsNullOrWhiteSpace(ErrDetails.ToString) Then
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Errors encountered while registering data on " & System.DateTime.Now.ToString("F") & ".Errors:" & ChrW(13) & ChrW(10) & Me.ErrDetails.ToString), True)
Else
My.Computer.FileSystem.WriteAllText(_LogPath, (ChrW(13) & ChrW(10) & ChrW(13) & ChrW(10) & "Application Ran successfully on " & System.DateTime.Now.ToString("F") & "."), True)
End If
End Try
End Sub -
Automatic creation of debit or credit memo
Hi All,
I have a requirement of automatic creation of credit note with reference to sales order when i click save at transaction VF01 after generating billing document against delivery number.
I used the include ZXVVFU08 it is triggered when the save button is pressed in VF01. i have wriiten BDC code in this include. At the point when i click save, the billing number is getting generated but credit memo is not getting generate.It is giving an error 'No billing documents were generated'
How do i ensure that the invoice number is already saved before the BDC starts?
Need help. Thank you!Dear seetharamsapsd ,
Create a new document type for both credit memo and debit memo requests.
Copy control to the respective credit memo and debit memo should be there.
Pricing procedure should contain provision to map the difference amount.
Create a Z program recording a BDC for the creation of Debit and credit memo request.
It is better to keep have only one Z program.
In the program write a logic to check the price change comparing the values of previous month created orders and
this months condition record values.
Based on whether there is increase or decrease , system should run the respective BDC for the debit or credit memo request.
This program can be set in background maybe at midnight.
Also save VF04 as a background job (so that the debit / credit memos as also created automatically)
Set this VF04 background job to run after say 1 or 2 hours from the time our Z program is running.
I hope you know the different tables/fields from where you can get the desired condition to run the program.
Thanks & Regards,
Hegal K Charles -
MIGO_GR fill delivery note field from manual entry in bill of lading
I have to fill header field delivery note from manual entry in bill of lading in tcode MIGO_GR for mopvement type 101.
I searched for the exits and BADI's but header fields are not in changing parameters.
Has anybody worked on automatically filling the delivery note field in MIGO_GR transaction from bill of lading field or a value from database?Hi You can use MB_MIGO_BADI Badi.
Thanks,
Anmol. -
Disable Automatic Creation of Serial Number at GRN
Dear Gurus
All my materials are subjected to serial numbers and the serial number profile is activated in the material master.
At the time of GRN, the serial numbers to be selected from the already uploaded list.
But there is a option to craete serial numbers automatically ( a check box to tick at MIGO GRN serial number tab)
Need to deactivate the same as the users tend to tick this by mistake.
Please guide me on the process.
Thanks in Advance.
NalindaRHi Nalinda,
You got solve this question? I have the same problem, and I need disable de automatic creation of serial Number in all transactions, because serials nrs are always external. And I could not do anything with the profile of the serial nr in t-code OIS2.
You can give me some information that help in this question.
Thanks in advance.
Mary
Maybe you are looking for
-
What does this 'delegate no longer defined' message mean?
I'm getting a certain yellow warning when I build our app with SDK 3.0 GM that I wasn't getting before: /Users/admin/Desktop/myapps/AppName/MainView.xib:36: warning: The 'delegate' outlet of 'Toolbar' is connected to 'Bar Button Item (Save)' but 'del
-
How to Upload the excel flat file in LSMW
Hi all, Can any one plz Help me, How to Upload a excel file format by suing the lsmw . Regadrs. [email protected] Upender.. Edited by: Upender Reddy on Sep 12, 2008 8:37 AM
-
WTE-03501 WTCSYNC package not found
WTCSYNC package not found I Am trying to configure icache after it failed during installation. The configuration assistant fails while "Adding User List" process. The process fails at export from the origin database. I have configured extproc and tns
-
Oracle Reports - Oracle9IAS developer suite
I am trying to run the report from the from using RUN_REPORT_OBJECT. I am getting an error - cannot connect to the report server (I am running this in Oracle9I Developer Suite environment) I created report object in my form, in which I specified repo
-
Hi all, User gets critical error on MSS saying" criitical error has occured. Unsaved data has been lost' "No data exists in this period for infotype 105 & employee 25379". She gets this when shei s trying to view team absences on MSS. Employee 25379