CFL For Item groups
hi,
I need to set a item groups in cfl for user defined form
thanks & Regards
B.Lakshmi Narayanan
HI ,
First u create UDT for Itemgroup and put value in UDT.
And UDT table assign in Form when open Item group.
Regards
kalpen
Similar Messages
-
I want to uplift my selling price by some percentage based on the purchase price list for a group of items. When I try to do this under price list, I get the following error
Unable to update basic price list or rounding method for selection criteria item [Message 3506-11]
Can this be achieved using special pricing? If yes, then How?
Any suggestions are appreciated
Regards,
MohanHi Gordon,
Thanks!
Are you referring to Special prices for Business partner --Add items using the items groups or properties and copy discount to all customers?
If yes, I also setup discount based on the customer property and item property and this will not work if the Special prices for Business partner applies?
Any suggestions?
Regards,
Mohan -
Expense Account for Item Group
Dear All,
I have a question for the G/L account of Item Group.
If we purchase something from our vendor, the first account 'Expense Account' should be increase. Is that correct?
But our customer would like to have a Asset Account increase because that item group is for Fixed Asset (something like the computer they purchase for their employee, etc).
What account should I choose for this Item Group to let the Asset Account increase when I purchase something?
Thanks a lot.
Regards,
yukaHi
I read all the post
I may be wrong but
I think just change the Inventory account for that item group if the G/L Accounts are set by item group
If it is by warehouse change Inventory account there ,or if by item level change there
I donu2019t know where expense account comes
I will explain in full
For GRPO the JE is
Inventory account Dr. 100
To Allocation Account Cr. 100
For A/P IN it is
Allocation Account Dr. 100
To Vendor Account 100
So it simple if you change inventory account (instead of raw material ) to any Asset Account
The asset account will be updated with every purchase of that item
Please let me know if I am right or wrong so that I can also upgrade my knowledge
Thanks
Avtar Singh -
Notification Query for Item Group
Dear Experts,
Please Guide me for a Notification Query for this Scenario :
I want to put a Notification Query for a Group i.e. when any user do transactions in any form or any Particular form using items
of this Group than if the Item Quantity is in Decimal then he can not do that Transaction and Get Error Message.
Thanks in Advance.
Atul ChakrabortyHi Atul,
to achieve this you have to write SPTN at the back end
under databases node select your live database.
Select programability
select stored procedure
select db.sbo.SP_Transactionnotification
and paste your code into
ADD YOUR CODE AREA
If (@object_type = '17') and (@transaction_type in ('A', 'U'))
BEGIN
Declare @ItmGrpCode as int
Declare @Qty as int
set @ItmGrpcode = (select oitm.itmsgrpcod from oitm inner join rdr1 on oitm.itemcode = rdr1.itemcode inner join ordr on
rdr1.docentry = ordr.docentry where ordr.docentry=@list_of_cols_val_tab_del)
set @Qty = (select quantity from rdr1 inner join ordr on ordr.docentry = rdr1.docentry where ordr.docentry =
@list_of_cols_val_tab_del)
BEGIN
if @ItmGrpcode = 10 and @qty = 0
Begin
set @error = -1
set @error_message = 'Invalid Input'
End
End
END
Like wise by capturing object type and dml mode you have to write code for every document that you want to check.
For example I've given code for Sales Order.
hope this will help you
Thanking you
Malhaar' -
Hello everyone,
I'm trying to find/create an unambiguous link between the items that appear in a supply to production task and the line item of a Bill of Material (BoM) it's based on. The reason for this is that a customer would like the `line item details text' field that appears below each item in a BoM to appear on the supply to production task form in the same row as the corresponding item. Unfortunately this doesn't seem very simple --- practically all links back to the PBoM business object eventually lead to collections, which don't provide unambiguous links. I can't use material ID as a BoM variant can potentially have multiple versions of the same product but with different base quantities etc., so that's out the window. I found that going through production lot > released execution production model > production segment leads me to be able to grab the BoM/Variant/Item Group IDs fine, but the association that supposedly links to item group item is not set --- my guess is that this association is the one I need. Below is a screenshot of the code I'm using to try and access this --- as you can see, the ProductionBillOfMaterialItemGroupItem association is not set in either case, yet the corresponding association for item group is, and returns the correct item group ID. Anyone able to help/have experience with this? Thanks.
LewisSpoke to SAP about this. Whilst there's a 0..1 association from AcitivtyAssignment to ItemGroupItem, it's never set. Which makes me wonder why it's even there in the first place, but never mind.
They suggested going via ItemGroup first. When I did this there was no 0..1 association from ItemGroup to ItemGroupItem, merely a collection of all items in the item group. When I pointed this out, they acknowledged that there is no link. So basically, this isn't possible per se; what I've done to emulate it is a bunch of calculations based on quantity etc., as well as use the ability to manually set the item group ID of a row in a BoM, to ensure I can reliably find the row of a BoM a production task row refers to. I suppose it's case closed on this; if anyone's interested in the code, they can send me a message. -
hi friends
i had created a form with a matrix and an editbox. i can apply the cfl for the editbox but i cant use the same for the first column of the matrix...can anyone provide any sample coding for this process
thanks and regards
manoj nagarajHi
Look this. I think this code is complete.
Best regards
Sierdna S.
Public Sub SBO_CreateForm(...)
'... add controls to form, matrix, matrix columns,...
Call AddChooseFromList(oForm)
oForm.Visible = True
End Sub
Private Sub AddChooseFromList(ByRef oForm As SAPbouiCOM.Form)
Try
Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
Dim oCons As SAPbouiCOM.Conditions
Dim oCon As SAPbouiCOM.Condition
oCFLs = oForm.ChooseFromLists
Dim oCFL As SAPbouiCOM.ChooseFromList
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
' CFL for Items ------------------------------
oCFLCreationParams.MultiSelection = False
oCFLCreationParams.ObjectType = 4
' Item Code
oCFLCreationParams.UniqueID = "cflIC"
oCFL = oCFLs.Add(oCFLCreationParams)
oCons = oCFL.GetConditions()
oCon = oCons.Add()
' Item Name
oCFLCreationParams.UniqueID = "cflIN"
oCFL = oCFLs.Add(oCFLCreationParams)
oCons = oCFL.GetConditions()
oCon = oCons.Add()
' CFL button
oCFLCreationParams.UniqueID = "cflIB"
oCFL = oCFLs.Add(oCFLCreationParams)
oCons = oCFL.GetConditions()
oCon = oCons.Add()
Catch ex As Exception
' log exception
Finally
System.GC.Collect() 'Release the handle to the table
End Try
End Function
Public Sub ManageItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean)
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
Select Case pVal.EventType
Case BoEventTypes.et_CHOOSE_FROM_LIST
If Not pVal.BeforeAction Then
Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
oCFLEvento = pVal
Dim sCFL_ID As String
sCFL_ID = oCFLEvento.ChooseFromListUID
Dim oCFL As SAPbouiCOM.ChooseFromList
oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
Dim oDataTable As SAPbouiCOM.DataTable
oDataTable = oCFLEvento.SelectedObjects
Dim sCode As String = ""
Dim sName As String = ""
Try
sCode = oDataTable.GetValue(0, 0) ' Code
sName = oDataTable.GetValue(1, 0) ' Name
Catch ex As Exception
sCode = ""
sName = ""
' log exception
End Try
' Rows
If (pVal.ColUID = "colICode") Or (pVal.ColUID = "colIName") Then
oForm.DataSources.DBDataSources.Item("@USER_TABLE").SetValue("U_ItemCode", pVal.Row, sCode)
oForm.DataSources.DBDataSources.Item("@USER_TABLE").SetValue("U_ItemName", pVal.Row, sName)
Call UpdateCells(oForm, pVal.Row, sCode, sName)
End If
End If
End Select
oForm = Nothing
End Sub
Private Function UpdateCells(ByRef oForm As SAPbouiCOM.Form, ByVal iRow As Integer, _
ByVal sCode As String, ByVal sName As String) As Boolean
Dim b As Boolean = True
Try
Dim oMatrix As SAPbouiCOM.Matrix
Dim oColumn As SAPbouiCOM.Column
Dim oCell As SAPbouiCOM.Cell
Dim oEdit As SAPbouiCOM.EditText
' MatrixID
oMatrix = oForm.Items.Item(MatrixID).Specific
oColumn = oMatrix.Columns.Item("colICode")
oCell = oColumn.Cells.Item(iRow)
oEdit = oCell.Specific
oEdit.String = sCode
oColumn = Nothing
oCell = Nothing
oEdit = Nothing
oColumn = oMatrix.Columns.Item("colIName")
oCell = oColumn.Cells.Item(iRow)
oEdit = oCell.Specific
oEdit.String = sName
oColumn = Nothing
oCell = Nothing
oEdit = Nothing
oMatrix = Nothing
Catch ex As Exception
b = False
' log exception
Finally
System.GC.Collect() 'Release the handle to the table
End Try
Return b
End Function -
Account Segmentation & GL By Item Group
Hi,
My Client has so many branches with them, so it is mandatory to configure and go with Segmentmentation. In all the branches they are doing same business and selling same items so item group is common for all.
Their GL is Setted by Item Group Wise.
But the item group is common for all.
But my client want to see expense, revenue, assets based on group wise for each segment.
But in our standard B1, account mapping in item group can be done with any one segment only. But they have to see CoA balance like that.
Is there anyway to achieve this task????Hi,
I can see them wanting this setup; I've seen it before. (I am assuming you are working on setting up the CoA and not modifying an existing CoA.)
You will need a segment for item group and another for the branches. Keep in mind, the P&L and B/S reports can be run on segments, but not the Cash Flow and T/B (in 2007, not sure about 8.8).
HTH,
Heather -
Discount applied by Item Group Or Properties
Is it possible to apply different discount percentage prices relating to item group or item properties, to a BP group or BP properties. Eg: BP Group 1 has 10% for Item Group 3 and 15% for Item Group 4. BP Group 3 has 12% for item group 3 and 17% for item group 3.
Dear Tim,
As experts are saying...you may check this once...
Go to Inventory->Price Lists->Special Prices for Business Partners
1. Select a BP code and item code (Give discount after selecting price list) there
2. go to ->Copy Discounts (right hand side bottom) . Here you can select the BP groups (and properties also) as per your
need.
3. Then go to -> Add Items (middle bottom). Here you can select the group and properties for items as per your need.
Thus, your given discount in step1 will be copied.
Regards,
RS -
Restrict material groups at PR/PO creation for items w/o material master
Dear SAP experts
I have one question related to restricting material groups which are possible for selection during purchase requisition or purchase order creation.
The material group is created and several material master records are linked to it. Now the requirement is that when users are creating either purchase requisitions or purchase orders it shouldn't be possible to select that specific material group>
But this should be valid only if PR or PO are being created for items without material master record. If PR/PO is created for item with material master record then the restriction should not take place.
What would be the nicest solution to achieve that?
Thank you all in advance for your help.
Regards,
MihaHello Prakash
Thank you very much for your answer. i think it is a very good starting point.
However I am not too familiar with authorization group configuration of material groups.
Right now in our system (transaction OMSF) field authorization group is empty for all existing material groups.
Does this mean that for the material group that I want to have restricted I need to have two entries: one with Authorization group ZOK and another with ZNOTOK (or whatever the naming would be)?
Furthermore I would like to ask you where is then the link between authorization group and user exit?
And thirdly: do you perhaps have some more details which user exit(s) are relevant for our topic?
So far thank you very much and I hope that you can provide me also with additional info.
Rgds
Miha -
Table for Commitment Item Groups
Does smbd. know a table for Commitment Item Groups and probably a function module which reads a commitment item group from a commitment item ?
Kind Regards
AlexeyYou can use FM K_HIERARCHY_TABLES_READ with e_class = '0311'.
Rob -
Default Item group for new Items
Hi all
When i create an item, SAP default Itemgroup is Fixed Aset (in field Item group), now i want to change this default. Can i do this? Hep me, please.
Thank youHi Le,
You can't have a default group of your own, however you can do that by using formatted search. For example you want a group, Finished Goods as your default. Use following query
Select '104'
Note that 104 is the numeric code of that particular group "Finished Goods" that might be different in your system.
Link this query to items group field through formatted search and set its refresher based on item code, now your default group would be Finished Goods or whatever you want to have.
Regards,
/Siddiq -
Query to generate a report for incoming pending payments as per Item Group!
Dear All,
I need a Query to generate a report for incoming pending payments through Item Group.
Please provide me the same.
Thanks in advance..........................
Edited by: Param Deshwal on Nov 22, 2011 7:11 AMHi
try this
SELECT T0.[DocNum] as 'Invoice Number', T0.[DocDate] as 'Invoice Date', T0.[CardName], T0.[DocTotal] as 'Invoice Amount', T0.[PaidToDate] as 'Paid Amount',(T0.[DocTotal]-T0.[PaidToDate]) as 'Pending Amount',T3.[ItmsGrpnam] FROM OINV T0 Inner join inv1 t1 on t0.docentry=t1.docentry inner join oitm t2 on t2.itemcode=t1.itemcode inner join oitb t3 on t3.[ItmsGrpcod]=t2.[ItmsGrpcod] where T3.[ItmsGrpnam]=[%0]
Regards,
sudhir B.
Edited by: B.sudhir on Nov 22, 2011 7:28 AM -
Item Group clasification for GL Accounts
Hi All,
In Inventory from the GL Account determination we assign the GL Accounts for provided fields.
My client requirement is having 5 item groups and each group needs to be linked to separate GL account.
If I assign a GL account to each group will SAP accept and provide me the correct information or is it suggested to have a single GL account for all the groups.
The reason is previously I had raised a question in the forum that the user needs to have an option to select the GL account when entering in the Purchases (PO, GRN, A/P Invoice) for which I got a reply that SAP will not allow to select the GL Account, and is pre-defined in GL Account determination.
Now my question is can I assign different a GL account to a particular group which will update when transactions are happening and do need to take some extra steps which will help me and the client to resolve the problem
Please help me out this issue
Regards
ShankerHi Sridharan,
Thanks for the suggestion.
i am unable to get the screen from Form settings G/L Account.
Also what i wanted for two Item Groups say Grp1, Grp2.
the GL account will be
Grp1 --> GL Account10
Grp2 --> GL Account12
this is what i required and if i am not wrong the same u r suggesting?
Please help
Regards
Shanker -
Want to block purchase accounting for particular ITEM GROUP? is it possible
want to block purchase accounting for particular ITEM GROUP? is it possible
Hi Sahil......
That is not possible. You can not block purchase account for any case.
It is standard and set at Company Level........
Regards,
Rahul -
Searching for a group of items, and moving them
Hi.
Is it possible in 10.4.6 to search for a group of items all at once, and have them moved to a specified folder?
For instance, say I have eleven different images that are scattered across 6 servers. I want to search in one interface for them all and put them where I want, in a new location.
Is that possible?
Thanks,
ScottYour question is a bit general and vague. There is more than just a small amount of material to explain. What have you tried? What is your level of experience with Java? What is your specific question?
Try posting the code that you've attempted (preferably between [code] [/code] tags), as well as any errors you might be receiving. You may also want to try a tutorial.
How To Ask Questions The Smart Way
Maybe you are looking for
-
Dear All; l have setup the Content server in Windows 2003 Standard Edition using the filesystem storage (not the MaxDB database), and the size of the document could be approximately 80GB (for the next few years), l didn't setup the Cache server. All
-
XSLT Mapping and Namespace Issues
I have been reading through similar threads on this topic, but have not found the right combination for my problem. I am doing an XSLT map and it works fine in Stylus Studio. When I take it to PI, I get a "Prefix 'ns0' is not mapped to a namespace"
-
How to create an itunes account without using a credit card but there is no option for "none"
itouch 4g
-
How do you change the value of the primary key in the CMP?
Hi, The cmp that I built has the phone as the Prikey field. The bean has the get/set methods. The servlet invokes the cmp to change the phone number. How could I do that? The setXXX for the priKey can not be called outside of the ejbCreate() so how w
-
Why are different order statuses showing up??
So yesterday I checked the order status of my iphone (on the US website) and it said Prepared For Shipping, but this morning I checked on the UK website and it said Not Yet Shippeed, so I went to check the staus on the US webite again and it still sa