Change Document's serial profile
Hi there,
I've the following situation to solve:
1 - Deliveries have been create, with a material with a serial profile, that does not allow to insert serial numbers.
2 - Now, I want to change serial numbers.
Is there any BAPI or function module, that allows to change the serial profile that is associated to a delivery?
Notice that the deliveries are concluded.
Thanks in advance and best regards,
Vasco Brandã
Closed as no suggestion is given
Similar Messages
-
Change status of serial profile
Dear all gurus,
I got the helps from sap expert(s) here previously which is regarding the remove of the serial profile after some quantities posted with serial no in the material master. The answer is no way we can delete the serial profile in the material master, therefore, the only workaround is to change the profile to a serial dummy profile which do not set up any serializing procedure in it.
I successfully done at all this stages, and the system will not ask for the serial no when I perform some goods movement (although the "serial no tab" is still there. eg. balance of stocks = 2 pcs
By the way, when I look at the MMBE --> serial no, I'm still able to see those records with serial no. Is there anyway to remove this records (with serial no)? (2 pcs with serial nos)
However, I got another situation here:
After I changed (re-assign) to "serial dummy profile - w/o serializing procedure", I posted some quantities (3 pcs) without serial no. to the material.
At this point of time... my stock balance is 5 pcs, and now I switch it back to "serial profile" from dummy profile. The system will start to ask to fill in the serial no when perform goods movement. However, due to the 2 pcs with serial no available, i'm able to issue them w/o problem. But, when comes to the balance of 3 pcs which do not have any serialno at all, the system is not allow me to post the transactions.
Is there any alternative workaround if the user requested to use the serial no profile again after sometimes on the same material?
Thanks and appreciate for your reading for this long story here. Good points would be awarded with results.
Regards,
Edwin FuClosed as no suggestion is given
-
There is a requirement , the project will be created and then a user status will be changed in 5 steps as the project goes through approval process and at the end of the process the project will be released. I want to tract down the entire process of the user status change over time. How can I do that, creating change documents for status profile? But in one place I found that change document only created if system status is set to released? In my case system status will be set to release only after all the status change in user status happened.
Hello,
Asides from the obvious adding of a new status to status profile SDADHEAD, you may want to have a look at the SPRO activities:
SAP Solution Manager
-> Scenario-Specific Settings
-> Change Request Management
-> Extended Configuration
-> Change Request Management
-> Change Transaction
-> Change Transaction Types
o Define Status Attributes
Also activity "Make Settings for Change Transaction Types" in the same path is important.
Best regards,
Miguel Ariñ -
Change documents for default values in user profiles
Dear Experts,
Please let me know if there are any tables to find the changes that have been made to the default values in a user profile.
Regards,
Lakshmi.Hi,
as the defaults are not considered as critical, changes are not recorded in change documents.
b.rgds, Bernhard -
Serial Profile "2 Inconsistencies in stock data - error" is NOT validating GR&GI
Hi Gurus,
I have the following scenario:
1.- We have customized in OIS2 a Serial Profile (X001) and added the following Serializing procedures:
MMSL - Maintain goods receipt and issue doc. 03 02
PPAU - Serial numbers in PP order 03 02
PPRL - PP order release 03 02
2.- We have selected in StkCk option "2 Inconsistencies in stock data - Error"
3.- We create material "TEST" with Serial Profile (X001)
4.- We GR (561) the material TEST with serial 111
5.- We create an Order for material TEST
6.- We GI (261) the material TEST serial 111
7.- We GR (501) material TEST serial 111
System is allowing me to GR the same serial against the same material. We are working with PM Orders and these materials (equipments) that we GI in the future will be uninstalled (262) and will come back to our Storage Location. We cannot have 2 same serial numbers against the same material (equipment).
Do I need to customize anything else?
RegardsAdding Error Anaylsis:
Short text of error message:
Only 0 serial numbers entered instead of 1
Long text of error message:
Diagnosis
There is a serial number obligation, so the number of serial
numbers must equal the number of serial numbers in the material document.
You can post the operation only if you entered the correct number
of serial numbers previously.
System Response
Depending on the context in which the error arises, the system
continues processing, or the required function cannot be performed.
Procedure
You have the following options, for example:
o Check that the serial numbers are entered fully.
o If necessary, display an error log.
o If necessary, contact your system administrator.
Technical information about the message:
Message class......."IO"
Number.............. 304
Variable 1.......... 1
Variable 2.......... 0
Variable 3.......... " "
Variable 4.......... " "
Trigger Location of Runtime Error
Program.........................SAPLMBWL
Include...........................LMBWLU21
Row................................62
Module type...................(FUNCTION)
Module Name.................MB_POST_GOODS_MOVEMENT -
Send a Change Document entry when an equipment change its status (IE02)
Hello experts,
In the transaction IE02 (Change Equipment), when a user changes the equipment status, for instance, from Active (ACTV) -> Inactive (INAC) when the SAVE button is pressed I need to post a Change Document entry (CDHDR and CDPOS).
I've already identified the user exit EXIT_SAPMIEQ0_002 which is triggered when the SAVE button is pressed in IE02 transaction. I cannot read the new status value.
At that moment I can read the old status (which has been change until the user exit finalized) but I don't find a way to check if that old_value <> new_value.
Does anybody knows a way to achieve this?
Thanks in advance,
CLStauts changes are tracked in the table JCDS and not in CDHDR and CDPOS.
You will have to check the box for Change documents in the configuration for equipment status ( this is done on equipment type's status profile ). The status change tracking will not happen until it has been set there.
Thanks,
Srihari -
DIAPI posting Delivery Document with Serial Numbers SP1
Release 2005A, SP1 PL4 seems to have broken code that worked with SP00. When trying to create a Delivery Document that contains Serial Numbers, an error is generated: Error -1, General Error. When adding a delievery document which does not contain serial numbers, the document adds successfully.
The following code loops through a recordset to create documents, add expenses and add serial numbers when appropriate. Is this a new 'feature' or can we make a coding change to eliminate this error?
Sample code:
Try
oSalesOrder = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
RecSet = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RecSet2 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RecSet3 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RecSet4 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RecSet5 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RecSet6 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
'-- Select Documents to process and loop through recordset
lsSQL = "SELECT DocEntry FROM DeliveryTable WHERE ProcessResult IS NULL Group by DocEntry"
RecSet.DoQuery(lsSQL)
While Not RecSet.EoF
oSalesOrder.GetByKey(RecSet.Fields.Item(0).Value)
If bDocuments(piCompany).DelDraft = False Then
oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
Else
oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
End If
oDelivery.CardCode = oSalesOrder.CardCode
oDelivery.Comments = "Based On Sales Order " & oSalesOrder.DocNum & "."
oDelivery.DocDate = Today
oDelivery.ContactPersonCode = oSalesOrder.ContactPersonCode
oDelivery.DocCurrency = oSalesOrder.DocCurrency
oDelivery.DocDueDate = Today
If bDocuments(piCompany).DelDraft = True Then
oDelivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
End If
'-- Handle Expenses for Document
Dim ExpenseLoop As Integer
Dim ExpenseCount As Integer = 0
For ExpenseLoop = oSalesOrder.Expenses.Count - 1 To 0 Step -1
ExpenseCount += 1
'-- Create new Expense if needed
If ExpenseCount > oDelivery.Expenses.Count Then
oDelivery.Expenses.Add()
End If
oSalesOrder.Expenses.SetCurrentLine(ExpenseLoop)
'-- Copy all non-readonly properties
If oSalesOrder.Expenses.LineTotal > 0 Then
oDelivery.Expenses.BaseDocEntry = oSalesOrder.Expenses.BaseDocEntry
oDelivery.Expenses.BaseDocLine = oSalesOrder.Expenses.BaseDocLine
oDelivery.Expenses.BaseDocType = oSalesOrder.Expenses.BaseDocType
oDelivery.Expenses.DeductibleTaxSum = oSalesOrder.Expenses.DeductibleTaxSum
oDelivery.Expenses.DistributionMethod = oSalesOrder.Expenses.DistributionMethod
oDelivery.Expenses.ExpenseCode = oSalesOrder.Expenses.ExpenseCode
oDelivery.Expenses.LineTotal = oSalesOrder.Expenses.LineTotal
oDelivery.Expenses.Remarks = oSalesOrder.Expenses.Remarks
oDelivery.Expenses.TaxCode = oSalesOrder.Expenses.TaxCode
oDelivery.Expenses.VatGroup = oSalesOrder.Expenses.VatGroup
End If
Next ExpenseLoop
Dim i As Integer = 0
Dim liMinRef As Integer = -1
For x = 0 To oSalesOrder.Lines.Count - 1
lsSQL = "SELECT ISNULL(MIN(CAST(LineRef as int)),999999) as MinLineRef FROM DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND CAST(LineRef as int) > " & liMinRef
RecSet5.DoQuery(lsSQL)
If Not RecSet5.EoF Then
'-- It's possible that the DeliveryTable has less records then the RDR1 table - if that's the case
'-- we may be at the end, so set the liMinRef field to something out of range
liMinRef = RecSet5.Fields.Item(0).Value
End If
'-- get line items for each document
lsSQL = "Select * from DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND LineRef = " & x & " AND ProcessResult IS Null"
RecSet2.DoQuery(lsSQL)
RecSet2.MoveFirst()
While Not RecSet2.EoF
'-- We need to walk through the SO to find the item that we are receiving based on the LineNum
Dim liCurrentLine As Integer = x
Dim lbFound As Boolean = False
While liCurrentLine <= (oSalesOrder.Lines.Count - 1)
'-- We need to get the PO Line number (x is NOT the LineRef)
oSalesOrder.Lines.SetCurrentLine(liCurrentLine)
If oSalesOrder.Lines.LineNum = liMinRef Then
lbFound = True
Exit While
End If
liCurrentLine += 1
End While
If lbFound Then
i += 1
If i > oDelivery.Lines.Count Then
oDelivery.Lines.Add()
End If
oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
oDelivery.Lines.Quantity = RecSet2.Fields.Item(6).Value
oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
oDelivery.Lines.LineTotal = oSalesOrder.Lines.LineTotal * (oDelivery.Lines.Quantity / oSalesOrder.Lines.Quantity)
oDelivery.Lines.UserFields.Fields.Item("U_WhseLoc").Value = RecSet2.Fields.Item(8).Value
oDelivery.Lines.AccountCode = oSalesOrder.Lines.AccountCode
oDelivery.Lines.Address = oSalesOrder.Lines.Address
oDelivery.Lines.Currency = oSalesOrder.Lines.Currency
oDelivery.Lines.ItemCode = oSalesOrder.Lines.ItemCode
oDelivery.Lines.BaseLine = liMinRef
oDelivery.Lines.ItemDescription = oSalesOrder.Lines.ItemDescription
oDelivery.Lines.WarehouseCode = oSalesOrder.Lines.WarehouseCode
lsUserID = RecSet2.Fields.Item("UserID").Value
'-- manage serial numbers
j = -1
lsSQL = "Select * from DeliverySerial WHERE DocEntry = " & oDelivery.Lines.BaseEntry & " AND LineRef = " & liMinRef
lsSQL += " AND WIPLineRef = " & RecSet2.Fields.Item("WIPLineRef").Value
RecSet3.DoQuery(lsSQL)
While Not RecSet3.EoF
'-- get the next SystemSerialNumber for the Inventory Item
lsSQL = "EXEC " & gsDB(piCompany) & "xspGetSysSerial " & sparm(oDelivery.Lines.ItemCode) & ", " & sparm(RecSet3.Fields.Item("LotNo").Value)
lsSQL += ", " & sparm(RecSet3.Fields.Item("ManSerNo").Value) & ", " & sparm(RecSet3.Fields.Item("IntSerNo").Value)
lsSQL += ", " & RecSet3.Fields.Item("QTY").Value & ", " & sparm(oDelivery.Lines.WarehouseCode) & ", " & sparm(RecSet2.Fields.Item(8).Value)
RecSet4.DoQuery(lsSQL)
j += 1
If j + 1 > oDelivery.Lines.SerialNumbers.Count Then
oDelivery.Lines.SerialNumbers.Add()
End If
oDelivery.Lines.SerialNumbers.SetCurrentLine(j)
oDelivery.Lines.SerialNumbers.BatchID = RecSet3.Fields.Item("LotNo").Value
oDelivery.Lines.SerialNumbers.ManufacturerSerialNumber = RecSet3.Fields.Item("ManSerNo").Value
oDelivery.Lines.SerialNumbers.InternalSerialNumber = RecSet3.Fields.Item("IntSerNo").Value
oDelivery.Lines.SerialNumbers.SystemSerialNumber = RecSet4.Fields.Item(0).Value
oDelivery.Lines.SerialNumbers.BaseLineNumber = oDelivery.Lines.BaseLine
RecSet3.MoveNext()
End While
'-- 'end manage serial numbers
End If
RecSet2.MoveNext()
End While
Next x
'-- now add object to SAP
If 0 <> oDelivery.Add() Then
Dim liError As Long
Dim lsError As String
Call oCompany(piCompany).GetLastError(liError, lsError)
'-- write error code to table - Delivery document creation was unsuccessful
lsSQL = "Update DeliveryTable SET ProcessResult = " & liError & ", ProcessDate = GetDate() WHERE DocEntry = " & oSalesOrder.DocEntry & " AND ProcessResult Is Null"
RecSet2.DoQuery(lsSQL)
lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, liError, lsError, piCompany)
Else
lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, 0, "Success", piCompany)
End If
RecSet.MoveNext()
End While
Catch
LogErrorMessage(Err.Description)
Finally
If Not RecSet Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet)
End If
If Not RecSet2 Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet2)
End If
If Not RecSet3 Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet3)
End If
If Not RecSet4 Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet4)
End If
If Not RecSet5 Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet5)
End If
If Not RecSet6 Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet6)
End If
If Not oSalesOrder Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oSalesOrder)
End If
If Not oDelivery Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oDelivery)
End If
GC.WaitForPendingFinalizers()
End TryWe have narrowed down the issue to this:
If you are just adding a delivery document with serial numbers, the DIAPI works OK. If you are adding a delivery document which is based upon a sales order and add the 3 lines that reference it:
oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
oDelivery.Lines.BaseLine = liMinRef
then you receive a error of -1, General error. This is functionality that did work in 2004 and 2005 SP00. I believe this is a bug. -
I am trying to add a watermark to a photo. I have changed destinations (creating new folders), changed names, changed numbers, over and over but I keep getting this popup:
Please choose a document name, serial number, or serial letter so the destination name is different for the different input files.
I'm using the File> Process Multiple Files method.
What next?
JohnAs you stated above you are typing names and numbers, so in such situation Process Multiple Files tries to rename all your files with same name.
You can type the name as per your choice but you need to select one of the value from available list of serial number field.
Give it a try.
Cheers!!! -
my phone has been changed under warranty by the apple store in germany.
ı need a change document to register the phone in my country again.
ımeı numbers of old and new must be in the document.you can send an mail in pdf format
as soon as possible please.
your's respectfully.
new phone serial no:DQ******TC0
old phone serial no:DN*******T9Y
Product:
iPhone 4S
Serial Number:
DN*******T9Y
Service Requested:
December 3, 2012
Status:
Repair Complete
<Edited by Host>No we cannot send it to you because we are users just like you and Apple does not monitor these forums.
But you can find the IMEI numbers yourself. Read the ENTIRE article:
http://support.apple.com/kb/HT4061 -
How to display the change data in configruation profile for material
dear export :
i want to know when the dependencies of material is deleted and is added in confirgruation profile for material ,but i donnt know how to disaply the change data .
please help me .
best regards.Hi
I don't know if the material document is managed by change document, after posting it any data can be changed in material document.
Max -
Export and import change document for user master data
Dear Gurus,
I have two queries on change document for user master data:
1. Are there any approaches to export and import change document for user master data?
We often do system copy from PRD to QAS for UAT and troubleshooting. Before system copy we export the user master data from QAS and then import after the copy process. We would like to keep the change document for user master data on QAS from being refreshed from PRD for security reason.
2. Change document for Role change in QAS
When the role is created or modified in DEV and then transported to QAS, the role change document doen't include this change log. The role change document in QAS only records those role changes directly made in QAS.
Could you advise this is by SAP design or are there any approaches to record this transported role change in the role change document in QAS?
Thanks
YBY1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
Cheers,
Julius -
Shortcut to generate change documents for multiple user id access in ecc 6
hi.
i need to generate a report with changes to user ids within the last month. i dont have access to sap notes. thanksapart from SUIM, you can also refer to below reports
RSUSR100 Change Documents for Users
RSUSR100N Change Documents for Users
RSUSR101 Change Documents for Profiles
RSUSR102 Change Documents for Authorizations
regards,
Surpreet -
Change Documents for batch characteristics
Dear Guys,
Badly in need of your help !
In our project, we are required to report changes made on batches characteristics.
My program fetches records from CDPOS table that has change doc. object as 'CLASSIFY'.
The challenge is to find the new and old value. They are not directly stored in VALUE NEW and VALUE OLD. They are simply '1'.
I'm sure that they are stored somewhere in the database because the vlaue before and after change can be seen in the transaction mch3n via menu-> Display Change Documents.
I tried hard finding the table-field but looks like its not straight forward. This is really challenging.
Regards,
AshokGert,
The change done in the project profile will only affect newly created projects.
Have you checked if change documents are created for new projects?
Hope this helps
Rgds
Martina -
Change Documents in HU status management
I've been trying to activate change documents on HU status management (object type HUM). The user status profile that I set up works fine (except of course for the logging of the user status changes). Now, I suppose there must be a pretty standard (and maybe even straight-forward) way to activate the change documents for this object, but I simply don't see it. For this object, I get no entries in the JSTO/JEST tables, but in the HUSTOBJ/HUSSTAT. I however can not get to the point that the flag in field HUSTOBJ-CHGKZ is activated via standard customizing.
On the pop-up screen when selecting the HU status info, there's a check-box foreseen (however greyed-out) for the change documents, so, I guess the functionality is fully supported.
Can anyone guide me in the right direction?Dear Patrick,
in the SAP-standard it is only possible to check the change documents
for the HU (in transaction HUMO, in the menu: Goto -> Chnge docs), but
there are no change documents for the status changes.
The reason the field is greyed out is that this functionality has not
been developed. It is a missing functionality. It would be only possible
via a modification to activate change documents for status changes of
the HU.
Regards,
Ely -
Role assignment to users (Change documents)
Hi
I was looking through the change documents for users and here i came across "START_REPORT" under the Transaction column along with SU01 and PFCG. I was not quite sure about what this "STATUS_REPORT" was all about. I was wondering if this is a program. It certainly is not a batch coz we dont run batches here. I am trying to track down this change to the user but STATUS_REPORT is leading me nowhere....
Any ideas?
raviHi ravi
Could you please explain the problem once more ?
If you want to see the changes in the profiles of the user(which i take as one example of change documents) then you can use the transaction SUIM and there it'll give you options for change documents as below:
1) For users
2) For role assignment
3) For Roles
4) For profiles
5) For authorizations
and then you can choose the option you want.
If I can help in some other way then kindly let me know.
Cheers
Maybe you are looking for
-
Sending an email to a group using Mail
Hi, On my mac, to send an email to a group, I just type in the name of the group in my address book and all the emails pop up instantly. However, this doesn't happen when sending an email on my iPhone. Is there a way to send group emails using my iPh
-
Log error while clearing inventory document through Li20
HI All, I have the following issue while creaing inventory document in warehouse level through LI20. System says Available quantity of material is ZERO while clearing stock in WM. We are able to count this inventory document and status of inventory d
-
Variable hierarchy doesn't work
Hi Friends, Please let me expalin my problem. Case 1 Iu2019ve defined a hierarchy as variable in a query and a variable for herarchy nodes to restrict the characteristic as well (characteristic displayed in rows) Calling the query, I can select requ
-
Firefox wont load at all!
I open firefox and it never loads any websites. The screen and website bar stay blank. This has never happened before. I turned my computer off last night, but I honestly don't see how that could do anything. Please help!
-
Hi , In print program there is a text element 525. I am using that text element to print the line items in sapscript. But this 525 text element is not trigered in sapscript.so help me out to solve this issue. I am using RFFOUS_C print