User Field (in Cost Activity)
Hi,
Someone knows where are stored (which table) the data enter in the User Field Tab on a Cost Activity in PS ?
Thanks in advance
Aleksi
Aleski,
Yes it is AFVU and it is the same table for any type of activity...not just cost activities (also internal and external)
Rgds
Martina
Similar Messages
-
User-defined fields in cost calculation
Hi, I'm working with process order in customer service process.
I would like to make a cost precalculation based on a user-defined field.
To let you know.
I created a new user-defined field.
I affected to it a new parameter ID so that this user-defined field value can be used in formulas.
I created a new formula with my parameter ID.
This is allowed for costs.
Now in my work center I defined these data for costing
price for pre calculation is defined for IN9020 and cost center.
Now in my service order I fill the required field.
I would have thought that according to formula, SAP would use this value (6 PC through the formula) to calculate costs.
This is not the case.
Did anybody already use this?
Regards
OlivierDear Maniaba
We have used user fields in task list to capture quantity in terms of nos & its weight for each operation. This we used as a work around to capture the repair jobs quantity & tonnage. While mapping repair of a particular machine with out any reference to material(that is we have not created them as serialised material as in the case of refurbishment) we have created task list for its repair and user wanted to capture the quantity of repair (say how many & also its weight) so we have maintained the tonnage per 1 no in these fields. later when order is being created user selects the task list & changes the quantity field then we have developed report where we calculate the total tonnage of that job & also no of items repaired.
Regards
S P Behera -
Hi,
In what table can I find relation between the<b> Plan Activity</b> and <b>Distribution Key</b> data assciated with a <b>Activity Type</b> field in Costing transaction KP26.
Please help.
Regards,
Rajesh.HI,
Please check these notes.
86613
688883 Confirmation with price 0: Message BK057
645811 Confirmation with plan price 0: No costs in CO
Plese assign points if it useful.
Regards
Ravinagh Boni -
Hi ,
I have maintained a specific numerical values under " User field " tab in Cj20N under activity tab.
Now i need to take that value for developing a report . Could any one please suggest me the right table name and path to track the value.
regards
Muralidharan.SThanks with that I got the Operation and counter number , but the values against the user feild entry is still not available.
Regards
Muralidharan.S -
How to get an user field in a sap form
SBO2004
I'm trying to get an user field in a sap form(651).
My code is:
Dim FrmT As SAPbouiCOM.Form
Dim Itm As SAPbouiCOM.Item
FrmT = GestorSAP.SBO_Application.Forms.GetForm("651", 1)
If (Not FrmT Is Nothing) Then
Itm = FrmT.Items.Item("U_Project")
End If
Frmt is not nothing, but itm is ever nothing and gives me an exception(item not valid). If i go to sap and look at this form, with debugging info activated, i see:
Form=651 Itm=U_Project Variable=1 OCLG,U_Project
What am i ding wrong?Hi Miguel Angel.
Try with form "-651".
UDF form is the negative sap form.
HTH
Juli
P.S:I'm not sure your code works, I never work with GetForm method, but yes with UDF form -
Added user field to CJI3 - missing in column set until post
Hello,
We added a user field to the CJI3 report using these instructions:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/400fbf3d-4be0-2d10-2d85-bbaf27f72258?QuickLink=index&overridelayout=true&49563922669358
We added a user defined field in our WBS structure, PRPS-USR001, to the CJI3 report.
On page 8 it says that once the change is made, the column will become availble. We haven't found that to be the case. What I found was that the field does not show up until 1) there is a value in it for a project and 2) there has been a new posting to that particular WBS element.
So it appears that after we update the master data for the particular WBS on each project, we will not be able to use the data in CJI3 until there is a posting to that WBS element for each relevant project.
Is there any way to "activate" or "push" SAP such that once the master data is updated in the project it is available in CJI3? Or do we have to wait until something has been posted to that WBS? Historically there are postings to the WBS but it doesn't appear in CJI3 until there is a new posting since we updated the field.
Thanks much,
AndreaHi Andrea
cji3 is the actual cost/revenue line item report of ps. In order for the new column to appear you need to satisfy both pre-requisites:
1.actual line item in your wbs
2.the user field to have a value.
If you satisfy just one of the pre-req's i am afraid you will not get it in your cji3 output.
Hope it helps somehow
Panagiotis -
Define Time-Based Fields for Cost Centers
Dear All!
I would like to know , how I'm abale to cahnge the setting
of business area for Time-Based Field of Cost Centers to period
Transaction is OKEG
Would be thankfulYou can maintain master data for cost centers, cost elements, activity
types, and business processes with time dependencies. You can make
changes at any time for any given time interval. Data storage also takes
place with a time reference. In this way, a master data record can have
multiple database records storing different information.
The smallest interval is one day. To ensure data consistency, you
cannotchange each field daily. The timeframes in which you can change a
field depend on the field functions, which are fixed by the SAP R/3
System and cannot be changed. Master data maintenance includes an
automatic check for each field's time-based consistency, resulting in
individual time-based maintenance for each field.
Regards
Prabhu -
Custom Fields in Cost Assignment Tab
Hi,
We have a requirement of displaying a users 10 favourite cost elements in the cost assignment tab while creating a shopping cart.
To meet this requirement we want 10 rows to be displayed in the cost assignment tab. Each row will consist of the following fields:
Account category
Cost Center/WBS Element
GL Account
Check box/Boolean Field.
The user will select the check boxes or update the boolean fields of the row/s he wants to select.
To achieve this requirement we have added the fields (as per sap note 672960) to the following structures/tables:
INCL_EEW_PD_ACC_CSF
BBP_C_ACC_F
BBP_C_ACCFD.
Also added the fields in customizing (TCode SPRO) as decribed in the note.
The problem is only one each of account category, cost center/WBS Element and GL account is displayed one below the other, whereas we want 10 rows to be displayed.
How do we go about achieving this requirement. Any help would be greatly appreciated.
Thanks and Regards,
JayeshJayesh,
Hi. I'm not too sure of the release you are on, but on SRM 5.5 there are two that would be able to solve your requirement.
1) BBP_F4_READ_ON_ENTRY. Here you can set a Favourites list for Cost Centre or WBS. This means when they go to the Account assignment screen the default 'F4' list will include their 10 fav.
2) BBP_DOC_CHANGE_BADI. This can be used to default the account assignment rows in. It does mean they will have to remove the wrong ones, or you could set them all in with a zero percentage, and the user would have to setup the split.
My suggestion would be to use option 1. Its not quite the way you have suggested with bespoke fields, but it is quite easy for the user to use.
Cheers
Rob -
Error: "User status Z5 is active (ORD 300761)?"
Hi
Experts,
While Iam doing ME21N an error occurs, even though while I want to change the Budget Amount in KO22, it is not allowing due to below error, I checked KO02, KO22,
User status Z5 is active (ORD 300761)
Message no. BS014
Diagnosis
For object ORD 300761 user status Z5 (Technically Complete (IO)) is active. According to this status, transaction 'Budgeting' is not allowed.
Procedure
You can only carry out the requested function if this is allowed according to the status of the object.
Thanks,
AnilHi Anil,
It seems like you dont have authorisation to change the status.
Please check with your BASIS person, he may provide you the required authorisation.
As soon as you got the authorisation message, type immidiatly ?NSU53 in transaction code field and ENTER.
You will now get the information regarding roles, which will be helpful to BASIS people for tracking authorisation for you.
Regards,
Srinu -
How to maintain WORK for General Cost activity
Hi,
can anybody show me how to maintain WORK for a General Cost activity. In the detail screen I cannot find field WORK, so I also don't know how to confirm for a General Cost activity
Thanks
LongHi,
It seems you have 2 different requirment:
1. Maintaining work: Use Internal activity
2. Confirm cost activity: Refer [Link|Actual cost in Cost Activity;
Regards -
For some reason it seems that the Field key for User fields is shared between WBS and Network Activity. We use it for WBS-elements, but I want to close the User Fields tab for network activity.
When I try to remove it for ntw activity I get the tab back with a red triangle, saying that fields are necessary...
Any help is greatly apreciated.Anjali, If We Remove the field key from the network profile. This will still display the user filed tab, but the same will be in display mode and having drop down for the user field selection. The movement we select this drop down the filed will become input as per settings.
And I peruse that PS user wanted to delete the tab. Please verify my observation.
With Regards
Nitin P. -
Confirmation time ticket user field
Hi gurus,
There's a freely defineable field ready for activation in COR6N right? I ask ABAP's help to activate this because we need to add one field (short text) in the COR6N transaction to handle short text. Once activated, where does this data go? which table is used for saving that data entered in the new additional field?
Thanks,
KumarHi
If the ABAPer using the user exit, then your data will go to the Standard Table AFRU.
If he is adding the field by changing the standard program, then it will go to the Ztable where he is assigning.
It is better to use User exit or BADI.
Thanks & Regards
Bala -
"Region" field in Cost center master data needed as mandatory
Hello Gurus,
I would like to ask you where exactly in SPRO we can customize the field "Region" in Address tab in Cost center creation as a mandatory? so far its only optional
is this possible?
thanks in advance for your help.
HanaHey Hana,
According to [this thread|Re: KS01 , Field status Cost center master data;, you will need a user exit to accomplish that. -
How to add Valid values in user field?
Hi,
I'm trying to add a user field (valid values) in my user table, but i don't know what's wrong with my code.
It creates the field, but not the field that i want.
oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUserFieldsMD.TableName = sTableName
oUserFieldsMD.Name = sFieldName
oUserFieldsMD.Description = sDescription
oUserFieldsMD.Type = FieldType
oUserFieldsMD.Size = iSize
'Valid Values 1
oUserFieldsMD.ValidValues.Value = "D"
oUserFieldsMD.ValidValues.Description = "Disable"
oUserFieldsMD.ValidValues.Add()
oUserFieldsMD.DefaultValue = "D"
'Valid Values 2
oUserFieldsMD.ValidValues.Value = "A"
oUserFieldsMD.ValidValues.Description = "Active"
oUserFieldsMD.ValidValues.Add()
Dim i As Integer
Dim err As String
i = oUserFieldsMD.Add()
If i <> 0 Then
oCompany.GetLastError(i, err)
SBO_Application.MessageBox(i & "; " & err)
End If
BruceHi Bruce
It looks good, just take out the second one "UserFieldsMD.ValidValues.Add()". Leave the first one. Just take out the second one after oUserFieldsMD.ValidValues.Description = "Active"
Hope this helps -
How to list all the Fields for an Active Directory Object
How do I list all the fields that an Active Directory object contains? I know the most common ones, but would like to enumerate through all the fields and obtain the type of fields and their values...
Here is my complete code - I only put snippets so that the post was not too huge...
Option Explicit
Const ADS_SCOPE_SUBTREE = 2
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim adoCommand, adoConnection, adoRecordSet
Dim dtmDate, dtmValue
Dim j
Dim lngBias, lngBiasKey, lngHigh, lngLow, lngValue
Dim objADObject, objClass, objDate, objFile, objFSO, objRootDSE, objShell
Dim pathToScript
Dim strAdsPath, strConfig, strDNSDomain, strHex, strItem, strProperty, strValue
Dim strFilter, strQuery
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell")
pathToScript = objShell.CurrentDirectory
Set objFile = objFSO.CreateTextFile(pathToScript & "\TestAD.csv")
' Determine Time Zone bias in local registry.
' This bias changes with Daylight Savings Time.
lngBiasKey = objShell.RegRead("HKLM\System\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias")
If (UCase(TypeName(lngBiasKey)) = "LONG") Then
lngBias = lngBiasKey
ElseIf (UCase(TypeName(lngBiasKey)) = "VARIANT()") Then
lngBias = 0
For j = 0 To UBound(lngBiasKey)
lngBias = lngBias + (lngBiasKey(j) * 256^j)
Next
End If
' Determine configuration context and DNS domain from RootDSE object.
Set objRootDSE = GetObject("LDAP://RootDSE")
strConfig = objRootDSE.Get("configurationNamingContext")
strDNSDomain = objRootDSE.Get("defaultNamingContext")
Set adoCommand = CreateObject("ADODB.Command")
Set adoConnection = CreateObject("ADODB.Connection")
adoConnection.Provider = "ADsDSOObject"
adoConnection.Open "Active Directory Provider"
adoCommand.ActiveConnection = adoConnection
adoCommand.CommandText = "SELECT * FROM 'LDAP://" & strDNSDomain & "'WHERE objectClass=user'"
adoCommand.Properties("Page Size") = 1000
adoCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
Set adoRecordSet = adoCommand.Execute
Set adoRecordSet = adoCommand.Execute
adoRecordSet.MoveFirst
Do Until adoRecordSet.EOF
strAdsPath = adoRecordSet.Fields("ADsPath").Value
' Bind to Active Directory object specified.
Set objADObject = GetObject(strAdsPath)
Set objClass = GetObject(objADObject.Schema)
' Write which object is grabbed from AD
objFile.Write(Replace(strAdsPath, ",", ";;;"))
' Enumerate mandatory object properties.
For Each strProperty In objClass.MandatoryProperties
On Error Resume Next
strValue = objADObject.Get(strProperty)
If (Err.Number = 0) Then
On Error GoTo 0
If (TypeName(strValue) = "String") Or (TypeName(strValue) = "Long") Or (TypeName(strValue) = "Date") Then
objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
ElseIf (TypeName(strValue) = "Byte()") Then
strHex = OctetToHexStr(strValue)
objFile.Write("," & strProperty & "|||" & CStr(strHex))
ElseIf (TypeName(strValue) = "Variant()") Then
For Each strItem In strValue
On Error Resume Next
objFile.Write("," & strProperty & "|||" & Replace(CStr(strItem), ",", ";;;"))
If (Err.Number <> 0) Then
On Error GoTo 0
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
On Error GoTo 0
Next
ElseIf (TypeName(strValue) = "Boolean") Then
objFile.Write("," & strProperty & "|||" & CBool(strValue))
Else
objFile.Write("," & strProperty & "|||Type:" & TypeName(strValue))
End If
Else
Err.Clear
sColl = objADObject.GetEx(strProperty)
If (Err.Number = 0) Then
For Each strItem In sColl
objFile.Write("," & strProperty & "|||" & CStr(strItem))
If (Err.Number <> 0) Then
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
Next
On Error GoTo 0
Else
Err.Clear
Set objDate = objADObject.Get(strProperty)
If (Err.Number = 0) Then
lngHigh = objDate.HighPart
If (Err.Number = 0) Then
lngLow = objDate.LowPart
If (lngLow < 0) Then
lngHigh = lngHigh + 1
End If
lngValue = (lngHigh * (2 ^ 32)) + lngLow
If (lngValue > 120000000000000000) Then
dtmValue = #1/1/1601# + (lngValue / 600000000 - lngBias) / 1440
On Error Resume Next
dtmDate = CDate(dtmValue)
If (Err.Number <> 0) Then
objFile.Write("," & strProperty & "|||<Never>")
Else
objFile.Write("," & strProperty & "|||" & CStr(dtmDate))
End If
Else
objFile.Write("," & strProperty & "|||" & FormatNumber(lngValue, 0))
End If
Else
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
Else
On Error GoTo 0
objFile.Write("," & strProperty)
End If
On Error GoTo 0
End If
End If
Next
' Enumerate optional object properties.
For Each strProperty In objClass.OptionalProperties
On Error Resume Next
strValue = objADObject.Get(strProperty)
If (Err.Number = 0) Then
On Error GoTo 0
If (TypeName(strValue) = "String") Then
objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
ElseIf (TypeName(strValue) = "Long") Then
objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
ElseIf (TypeName(strValue) = "Date") Then
objFile.Write("," & strProperty & "|||" & Replace(CStr(strValue), ",", ";;;"))
ElseIf (TypeName(strValue) = "Byte()") Then
strHex = OctetToHexStr(strValue)
objFile.Write("," & strProperty & "|||" & CStr(strHex))
ElseIf (TypeName(strValue) = "Variant()") Then
For Each strItem In strValue
On Error Resume Next
objFile.Write("," & strProperty & "|||" & Replace(CStr(strItem), ",", ";;;"))
If (Err.Number <> 0) Then
On Error GoTo 0
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
On Error GoTo 0
Next
ElseIf (TypeName(strValue) = "Boolean") Then
objFile.Write("," & strProperty & "|||" & CBool(strValue))
Else
objFile.Write("," & strProperty & "|||Type:" & TypeName(strValue))
End If
Else
Err.Clear
sColl = objADObject.GetEx(strProperty)
If (Err.Number = 0) Then
For Each strItem In sColl
objFile.Write("," & strProperty & "|||" & CStr(strItem))
If (Err.Number <> 0) Then
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
Next
On Error GoTo 0
Else
Err.Clear
Set objDate = objADObject.Get(strProperty)
If (Err.Number = 0) Then
lngHigh = objDate.HighPart
If (Err.Number = 0) Then
lngLow = objDate.LowPart
If (lngLow < 0) Then
lngHigh = lngHigh + 1
End If
lngValue = (lngHigh * (2 ^ 32)) + lngLow
If (lngValue > 120000000000000000) Then
dtmValue = #1/1/1601# + (lngValue / 600000000 - lngBias) / 1440
On Error Resume Next
dtmDate = CDate(dtmValue)
If (Err.Number <> 0) Then
objFile.Write("," & strProperty & "|||<Never>")
Else
objFile.Write("," & strProperty & "|||" & CStr(dtmDate))
End If
Else
objFile.Write("," & strProperty & "|||" & lngValue)
End If
Else
objFile.Write("," & strProperty & "|||Value cannot be displayed")
End If
Else
On Error GoTo 0
objFile.Write("," & strProperty & "||| ")
End If
On Error GoTo 0
End If
End If
Next
objFile.WriteLine("")
adoRecordSet.MoveNext
Loop
objFile.Close
' Function to convert OctetString (Byte Array) to a hex string.
Function OctetToHexStr(arrbytOctet)
Dim k
OctetToHexStr = ""
For k = 1 To Lenb(arrbytOctet)
OctetToHexStr = OctetToHexStr _
& Right("0" & Hex(Ascb(Midb(arrbytOctet, k, 1))), 2)
Next
End Function
I have been able to obtain all the Computer, Contact, Group and OU objects without issue with this code...
Maybe you are looking for
-
Ultranav not recognized at all by windows 7 after getting it back from servicing
Hello, I just got back my W530 form servicing due to BSODs, they replaced the memories, mother board, and a power cable, and now the Ultranav pointing device doesn't work, and isn't listsed in the device manager. What should I try? I have already tri
-
My husband's iphone has a hotmail ID but it was hacked and we need to change it to his current email. Where do we change it? I tried on apple and it says he has a yahoo address? His yahoo mail comes to his phone. We want to download apps on his phon
-
What is the best way to add hard disk space to macbook pro?
I'm running out of disk space on my macbook pro. What is the best way to add disk space?
-
Abesence Quota to be Paid and Unpaid
Hi Experts, We have a requirement where client wants to have an Absence Quota called Medical Quota for 60 days per year, however of the 60 days 30 days will be 100 % paid and the remaining 30 days to be 70 % paid. Can you please let me know how to a
-
Okay, here's a challenge. I just updated to a Mac Pro 2.8 running Leopard 10.5.2 and CS3. I'd like to take an existing web site I created in GoLive CS2 and transition it to DreamWeaver. I know about the GL2ID plug-in from Adobe. The problem is I've r