Want to Create batch in process order at a time of Operation release.
HI,
We are going to release operation one by one for process order. There are 4 operations in my process order. I want to create batch in process order header when i release first operation.
Is there way i can set the Production Scheduler Profile to PREL to create batch at header level.
Thanks in advance!
Thanks for the Information,
to my understanding, all the Operation controls are in Operation control key.
There is No Batch creation functionlaity assiciated with Operation control key.
Look for a user exit to create the Batch with the PREL of the Header or REL of the 1st operation.
Regards
Ratan
Similar Messages
-
Create batch for process order
Hi,
I have a requirement to create batch for the process order while releasing/ creating it.
PLease let me know, which BAPi to be used.
Thanks & Regards,
Kalyan Venigalla.Hi All ,
Pls reply
Thanks . -
Reservation of component Batch for Process order
Hi PP Guys,
I did the batch determination of a particular component batch in process order, but when I try to create another process order system proposing the available qty without considering the earlier reserved batches.
I want to view only the batches which are free from any reservations during batch determination in process order.
Example: If Batch "A" having qty 1000 kg in unrestricted stock.
I have created a process order and did the batch determination for the quantity of 900 kg, when I create another process order for the same material system should propose only the available component batch qty of 100 kg only, but system still proposing the un-restricted available qty of 1000 kg.
Please advise me the solution to map the scenaio.
Thanks in advance.
regards,
PurnaHi,
Check whether Reservation is included in your checking control(T.Code OPJJ).
If not then correct it by activating check box for Include reservations.
Regards,
Dhaval -
Want to create a multiple Purchase Order using one file source
I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
Right now I get Item.no is missing [POR1.ItemCode][Line 2]Here is a code sample
Private Sub testcode()
Dim strOrdplanFile As String
Dim oLineRec As SAPbobsCOM.Recordset
Dim strLine As String = ""
Dim ItemName As String
Dim Quantity As String
Dim RequiredDate As String
Dim SupplierType As String
Dim ShipTo As String
Dim Vendor As String
Dim oPurchaseOrder As SAPbobsCOM.Documents
Dim bAddPOrder As Boolean = True
Dim bPurchase As Boolean = False
Dim sSQL As String
Dim iReads As Integer = 1
Dim iCurrentPurchaseNumber As Integer = 0
Dim bErrors As Boolean = False
Dim retCode As Double
oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
Dim sr As New StreamReader(strOrdplanFile)
strLine = sr.ReadLine()
txtPurRec.String = "0"
oFormStatus.Update()
Try
Do
Vendor = strLine.Substring(0, 8).Trim()
ShipTo = strLine.Substring(12, 8).Trim()
SupplierType = strLine.Substring(26, 1)
ItemName = strLine.Substring(27, 20).Trim()
Quantity = strLine.Substring(94, 8)
RequiredDate = strLine.Substring(206, 9)
oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
oLineRec.DoQuery(sSQL)
If oLineRec.RecordCount() > 0 Then ' if it exists add the record
If oLineRec.Fields.Item(0).Value.ToString = "B" Then
If (bAddPOrder) Then
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
Else
'compare CardCode to make sure Vendor hasn't change
If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
'Add item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
Else
'vender code changed
retCode = oPurchaseOrder.Add()
If (retCode <> 0) Then
SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
End If
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
End If
iReads = iReads + 1
End If 'new
strLine = sr.ReadLine()
End If
End If
Loop Until sr.EndOfStream
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Information)
End Try
If (bPurchase) Then
lRetCode = oPurchaseOrder.Add()
End If
sr.Close()
swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
oPurchaseOrder = Nothing
End If
End Sub -
Process Orders, send idoc (LOIPRO) when its released and saved.
Hi ,
Here is my requirement.
For process Orders, send idoc (LOIPRO) when its released and saved. (COR2).
Here are the options I have tried.
- Create an enhancement spot after the commit statement, and submit RCCLORD
For some strange reason Submit to RCCLORD isn't working. Even I have tried to execute it independently, It isn't working properly. It is working fine from POIT, but not independently...
- Call CLOI_MASTERIDOC_CREATE_LOIPRO function module, but for this I have to get all the related data into proper tables, and I am not sure if it works either.
I have searched here in SDN to for some help, the closest thread talks about creating a ZFM for IDOC creation, but I dont have much of the details of that.
Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)
Need some help on this.
Thanks & Regards,
Kalyan Venigalla.Hi!
not sure, but maybe it will help you:
RCCLORD have code with check already sent orders
Try add this code before submit RCCLORD
* -> free global table for collecting order numbers
free memory id 'LOIAUFNRTAB'. " -
Automatic Creation of Batch in Process Order Confirmation
Hi Guru,
What are settings required to set the batch creation automatic during the confirmation of the process order? The header material is semifinished and batch management is ticked in the material master. BOM has been created. In the present scenario, few
Regards,
RajaHi,
You can do that in T Code CORW.
For the required production scheduler select the batch creation for process order.
Also in the Assignment tab of the process order, there is a field for batch, next to it there is a Create button. Click that, you will get the batch number in that field.
Hope that helps.
Regards,
Rohit.
Added: I apologise, its not the Assignment tab in process order. It is Goods Receipt tab.
Edited by: Rohit Chauhan on Aug 3, 2009 9:42 AM -
Header batch no copy to component batch in Process order
Hi,
I have following requirement...
we create process orders with COR1 in PP module.. then we assign the batch no to in the goods receipt tab as shown below..
Now when we save the Process order system has to automatically assign the same batch no to one of the component automatically as shown below..
What user exit or enhancement I can use for this..If anybody worked on this can you help me out...
Thanks
KumarHi All,
Can u suggest me any user exits, BAPI or BADI's for this...
Thanks
Kumar -
Splitting batch in process order
HI friends,
How I can split bach in process order ?
Regards,
ChetanHi.
Please Refer Below SDN thread.
[Batch split|Batch determination for component in co11n;
Pradeep
Edited by: Pradeep Kumar on May 24, 2008 10:49 AM -
Stock of Batch in Process order
Hi,
The Requirement is as follows:
Material A is used as a component in Process Order and is managed in Batches. The requirement is the system should show the the available batches with stock when F4 is done for Batch field in Component overview of the Process order.
Regards,
PrasadHi Dhaval,
There is no search filter as Batches in Unrest.
The following search filters are available:
1. Searches for batches via classes
2. batches for plant material
3. batches for Material
4. Batches for valuation type
5. Valuation types for the material
6. Batch work list
7. original batches for plant material
8. Original batches for material
9. Batches for vendor
My requirement is to get those Batches which contains stock with unrestricted status. ie batch list with expiry as mentioned by you.
Regards,
Prasad -
Batch management & process Order
hi gurus !!!
can we have qty divided in two batch numbers against same process order ??Hi Kaushik,
You need to define Batch Strategy with number of splits "2", so that system will allow 2 splits for a component while Batch determination.
This is a defination basically for a combination of condition type and access sequence.
Hope this helps...
Note during automatic batch determination, if sufficient stocks of a single batch is existing, system default uses only one batch.
Regards,
Prasobh
Reward your points if this was helpful -
Update batch for process order in change mode
Hi All ,
I need to update the batch number(which will be external batch number given by me ) in COR2 (process order change) transaction ,under the tab Goods receipt .
Is there any bapi which achieves this ?? pls reply
Thanks .try use BAPI_RESERVATION_CHANGE
-
I want to create batch in IS-RETAIL. with out using batch management
dear all
i have to create a batch with using batch management in IS-RETAIL . when i am creating the MM41 that time i have to give the tick mark for batch management that has to come in migo screen with movement type 105. their i can select the batch's whcih i can use . how can i do it. batch management not required, but have to create batch for my material .
thank you
Arkdear experts
yester day i asked the same question. i created the article and also ticked in batch management tab. but i did't configure any batch management in my screen. when i am going to use the migo screen with movement type 105 i have to select the storage locations with different batch number for that article . how can i maintain that? can you please give me the solution for this . i dont need any batch management configuration ? i need simple solution but should be use full for my requirement?.
thank you
RK -
Process order and user time zone
Our system server time zone is CET but we are using EST for user time zone and plant. When we create process orders, the creation date/time is using the server time zone CET.
I understand that in the database, the CET time is used but Is there a way to show the timestamp in the user time zone EST?
Thanks,
GhislainHi Lisa:
We usually let USers maintain their own time zone even though its different from System Time Zone.
When it comes to SAP systems, BASIS usually maintains this and it will most proabably the time in their zone.
And users have their own time zone.
It effects only for support Deelopers who migh tlook at failed jobs in SAP/BW and try to decode them. In this case, they will have to know the differences in TIme Zones, but its not a bog problem.
Ram C.
Message was edited by: Ram Chamarthy -
Process Order Confirmation Quantity from Preceeding Operation
Hi All,
Please can you let me know if the below requirement can be met:
I have 2 phases to confirm (both are milestone confirmations). The Process order header quantity is 100 kg. While doing the confirmation for Phase 1, I do a final confirmation for 90 kg. Now while doing the confirmation for Phase 2, the system still populates the default yield as 100 kg and not 90 kg.
Is there a way to display 90 kg as default yield for Phase 2? Is there a standard Config that can help? If not what is the solution?
Thanks,Hi,
Please refer the following link.
http://help.sap.com/saphelp_47x200/helpdata/en/b1/c04d83439a11d189410000e829fbbd/frameset.htm
Regards
Kannan -
ReworK: Rework process order
Hi Experts,
Can I have an answer to my following question?
Problem: we want to create a rework process order and we want cost settlement to got to process order (already completed). When I select order as as an account assignement object it raise an error of order status" your bach is archived".
Can anyone reply?
Thanks
ShivHi shiv
Can u explain what is the status of ur order?
Thanks & Regards,
Irshad
Maybe you are looking for
-
Making two hard drives work or appear as a single drive
I have a G5 with two 500 GB internal drives. One I use to backup the first, however, now my drives are full and I would like to buy 1 TB external to back up the two internal drives but is there anyway to setup the second internal drive to work with t
-
How to play home movies on TV via Iphone and NAS Drive?
I have a problem playing transferred home movies on a flat screen tv through the "TV Out" feature of my Iphone 4. Brief History: I have captured about a TB worth of various home movie videos from VHS tape to my PC hard drive in AVI format using AVS V
-
Issues while starting Weblogic 10.0
I am using Weblogic 10.0 that comes embedded with BEA weblogic studio. It was running fine but when i tried to redeploy the EAR, I got an error. Please help in resolving the issue. Thanks in advance. PFB the error logs: ####<Jan 13, 2009 11:38:17 AM
-
How to wordwrap in acrobat standard 9
I am new to acrobat. I converted a word document to a pdf, started the forms wizard and detected the text fields, but how do I set a field to wordwrap without the text getting smaller and smaller????????????????
-
Not able to download with Firefox 9.01 on OSX 10.7.2
Hi I was not able to download the LR 4 Beta 1 with Firefox 9.01 on OSX 10.7.2, The Browser just got into a loop. https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_lightroom4 no problem with Safari Version 5.1.2 (7534.52.7) br Mike