Updating Discount Groups
Hi All,
Using the option Discount Groups for Manufacturers, when
adding a new manufacturer, we would like to add a new discount group for it as well, for all the Business Partners. Is there any way to update the new manufactuer's discount for all the BP's but to keep the original discounts for other manufacturers?
If we use the option 'Copy to Selection Criteria' the system will update all the manufacturer discounts and there is no way to update only the new one.
Let's say: we would like to add a new Manufacturer to the Discount Groups of all Business Partners without having to do it manually, one by one. The "Copy to Selection Criteria" functionality cannot be used in this case, because all the Manufacturers will be copied from one Business Partner to
the others, while we just want to copy the new Manufacturer.
Example:
Initial situation:
- Discount group for Business Partner C000: Manufacturer A => 10%, manufacturer B => 5 %
- Discount group for Business Partner C001: Manufacturer A => 20%, manufacturer B => 15 %
- Discount group for Business Partner C002: Manufacturer B => 20%, manufacturer C => 15 %
We want to create a new Manufacturer D, with a Discount of 30% for all Business Partners. We want to add this Manufacturer to the Discount Group of all Business
Partners at the same time.
If we add this Manufacturer to the Discount Group of Business Partner C000 and then use "Copy to Selection Criteria", we will get:
- Discount group for Business Partner C000: Manufacturer A => 10%, Manufacturer B => 5%, Manufacturer D => 30%
- Discount group for Business Partner C001: Manufacturer A => 10%, Manufacturer B => 5%, Manufacturer D => 30%
- Discount group for Business Partner C002: Manufacturer A => 10%, Manufacturer B => 5%, Manufacturer D => 30%
"Copy to Selection Criteria" copies all the Manufacturers and overwrite the previous information.
Thanks and regards,
Nat
Hi Arun,
It is natural that DI API updating taking times. To update 1000 DG may involve millions of transactions. You better bet is to split the numbers in different batches to achieve the same result.
Thanks,
Gordon
Similar Messages
-
I have an existing Discount Group (Item Group Type). I am trying to use DTW to add a discount percentage to an Item Group.
I have entered values in CardCode, ObjKey and Discount. I have left LineNum blank. It is not clear how LineNum should be used. I cannot find any documentation or Test Case example.
The DTW run (Update mode) correctly updates the new value in the correct Item Group in the Discount List.
BUT, it sets the discount to zero for the first displayed Item Group that had a discount before the update.
As I type I think I may have the answer.
OSPG only holds records that have a discount other than 0, even though the complete set of Item Groups are diisplayed on the Discount Group screen.
So maybe what has happened is that the new record has replaced the one that is now missing.
So does that mean that the update should use LineNum and NOT ObjKey?
But what do you do if you have 3 item groups with a discount and you want to add two more?
Do the new records need Line Num 3 & 4 and also obviously the Object Key.
Sounds like a nightmare to maintain via DTW.
Customer has 1,000 plus Item Groups.Tony,
Nice to hear it. Anyway, just to inform that discount group of DTW is not available in the DTW of SAP B1 2007A SP01 PL11.
Probably move to another BO or bugs. I am still discovering it
JimM -
Hi!
I tried to import Discount Groups with DTW with the templates OCRD and OSPG without luck, i can only update existing discount groups. is there a way ti import them? I'm using SAP 8.8 PL 12
ThanxHi,
There are a few group email programs out there, but you can only send email to groups from within those apps.
Our new app, MailShot, creates special entries in your addressbook that then let you email large groups of friends or colleagues at once, just by adding a single contact in Mail or other apps.
You can try it out for free on www.itunes.com/apps/mailshot -
Hi Experts,
Can anyone help on this one please?...
Under Stock Management -> Price Lists -> Special Prices -> Discount Groups -> Items -> I have selected a specific BP and then have selected a specific Item Code. I have stated the Paid Qty as '4' and the Free Qty as '1'.
The option 'Do Not Apply Discount Groups' is not ticked on the BP or the Item Master Data.
There are no Special Prices for this Item for the BP. Nor are there any period and volume discounts.
Can anyone think of a reason why in the Sales Order I can never get the discount when putting in '3' in the Qty column on the SO please?
Many thanks,
CarolineHi Gordon,
Thanks for your email, and sorry for the confusion!
I believe that when I enter '5' into the sales order the discount should come up as the Paid Qty is '4' and the Free Qty is '1'.
Either way I can never get the discount into the Sales Order...
Can you help please? I was wondering if I had missed a setting somewhere or something...
Thanks,
Caroline -
Update purchasing group in scheduling agreements
Hi gurus,
I'm trying to update purchasing group field in scheduling agreements, which are time-independent (EKKO-STAKO = ' ').
In my environment, I'm not authorized to use CALL TRANSACTION statement.
If possible, I'd need a way that works both in 4.6c and 6.0 versions.
I have tried several options, but none works:
-BAPI_SAG_CHANGE: "Scheduling agreements with time-independent conditions are not supported" (OSS note 1046794) (Also, this is not available in 4.6c)
-BAPI_SCHEDULE_MAINTAIN: "Scheduling agreements with time-independent conditions are not supported" (OSS note 1046794) (Also, this is not available in 4.6c)
-BAPI_AGREEMENT_MAINTAIN: Does not have the possibility to change field 'purchasing group'. (Moreover, it internally performs a CALL TRANSACTION).
-ME_UPDATE_AGREEMENT_PO: I've been not able to change field 'purchasing group'.
I'd be grateful about any hint. Thanks in advance!In case it is useful for anyone else, I have solved the problem using:
CALL FUNCTION 'ME_UPDATE_DOCUMENT'
Thanks anyway! -
BAPI_ACC_INVOICE_RECEIPT_POST - Updating Customer Group
Does anyone know how i can update 'Customer Group' in the profit segment part of a document using the above BAPI.
Can it be done ?
Thankshi
I'm searching a BAPI for F-53.
then i found your thread.
but i don't know what data to be filled in it.
can u please provide me some sample data that needs to be filled in this bapi.
awaiting your reply.
Regards,
Suman. -
In material master standerd cost value not updating in group currency
hi gurus
In material master accounting 1 tab, under price and values table. standerd price is not updating in group currency.
Can you sugest me how to resolve this issue
this hapend only for one material
can you sugest me to resolve this
regards
gangadharHi,
As per My Knowledge,Wht ever currency is assigned as company code currency , tht will only be updated in Material Master as Per standard.
Currect me if Iam worng.
Thanks
Goutam -
In material master standerd price field not updating in group currency
In material master accounting 1 tab, under price and values table. standerd price is not updating in group currency.
Can you sugest me how to resolve this issueHi,
As per My Knowledge,Wht ever currency is assigned as company code currency , tht will only be updated in Material Master as Per standard.
Thanks
Goutam -
How to Create DI Discount Group for Customer Group?
Hi All,
i'm trying to create DiscountGroups for Type Customer Group in developtmnt side in sap b1. i already succed to create Discount Group for Type Specific BP as you can see in the code i wroe below:
di.BusinessPartners MyBP= GetBusinessObject (BoObjectTypes.oBusinessPartners) as di.BusinessPartners;
MyBp.DiscountGroup.DiscountPercentage=20;
but i don't succed to find the di object that give me the option to create DiscountGroup for Customer Group ( not for specific BP).
i will very appriciate to get any help with it...
Regards,
Peer Shovalhello, maybe you could try with DI Server, if your installation allows
that.
try experimenting with
-> EnhancedDiscountGroupsService Object
SAPbobsCOM.EnhancedDiscountGroupsService dg_service = null;
SAPbobsCOM.EnhancedDiscountGroup dg = null;
SAPbobsCOM.EnhancedDiscountGroupCollectionParams collDGParams = null;
dg_service = (SAPbobsCOM.EnhancedDiscountGroupsService)((SAPbobsCOM.Company)Application.SBO_Application.Company.GetDICompany())
.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.EnhancedDiscountGroupsService);
collDGParams = dg_service.GetList();
dg = (SAPbobsCOM.EnhancedDiscountGroup)dg_service.GetDataInterface(SAPbobsCOM.EnhancedDiscountGroupsServiceDataInterfaces.edgsEnhancedDiscountGroup);
dg.Type = SAPbobsCOM.DiscountGroupTypeEnum.dgt_AllBPs;
dg.ValidFrom = DateTime.Now;
dg.ValidTo = DateTime.MaxValue;
dg.ObjectCode = "dontknow";
dg.DiscountRelations = SAPbobsCOM.DiscountGroupRelationsEnum.dgrAverageDiscount;
//dg.DiscountGroupLineCollection.Add() //etc
SAPbobsCOM.EnhancedDiscountGroupParams dg_param = dg_service.Add(dg);
log.DebugFormat("Added discount group {0} - {1} - {2}", dg_param.AbsEntry, dg_param.ObjectCode , dg_param.Type); -
Update discount base in AR open Items
Hi,
I have many legacy converted open item sitting in our production system where payment terms are saying they are eligible for discount but discount base value is blank. When I am going to FB02 the discount base field is display only. Is there any way to update discount base value in these open items so that it can be cleared correctly.
Thanks,
GaganHi
You can change the status of the field through SPRO->Financial accounting global settings->document->Rules for change document->Document change rules. You will have to add this field here. You limit the change status by adding the transaction type, company code and account type.
Once done you will have to uplaod the discount base amount through LSMW.
Then revert the changes done.
Regards
Nikhil -
Hi All,
I have set item group discount using discount groups (module inventory --> price lists --> special prices --> discount groups) form but how to see the discount group result in the B1 and not using query report ? Pls give advice. TIA
Rgd,
SteveHi Steve
The result can only be seen when applied in an invoice. The price will be shown in blue instead of black indicating that a price other than the standard price list has been applied. i.e. a special price, etc. Unfortunately the system will not indicate which of the 3 (Period and volume, Discount Group or Special Price) was applied. This will have to be done through a query.
Kind regards
Peter Juby -
Discount Group and Special Prices
Hello Everyone
I have a scenario where by the discount given in both Discount Group and Special Prices needs to work in conjunction.Now at the moment if i give it in both discount group and Special Prices for BP,only Special Price discount is being picked up ie its given precedence over Discount Group.Is there any setting that i need to change to make this work.I have to show the difference in discount elsewhere,so only i need to map this in both discount group and special prices.
Thanks and regards
Raghuhi raghu ram,
Check the wiki page in this link
How is the default item unit price determined in marketing documents?
https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=29524391
Hope it will solve problem.
Jeyakanthan -
Windows 2008 r2 Server: Cant update the group belonging
Hello,
I have a Windows 7 client computer which is administered by a Windows 2008 Server.
When I try to change the local grants of the user account in that client computer, it appears to me the following message:
"Cant update the group belonging for NameDomain\user"
As result I cant change local grants for the user. I cant change his status from administrator to user of that machine.
Can anybody tell me how can I solve this issue?
Thanks in advance
RegardsHi,
Thanks for your feedback. Did you mean that the issue exists after you removed
DameWare tools?
Please make sure that you have more than one administrator account on your computer, or you can't change it to a standard account since Windows requires at least one administrator account on a computer.
If you have another administrator account, you can try to use it to change the user’s account type.
Best regards,
Susie -
How to update People Group KFF Segments in Assignment Form
Hi Gurus,
Please help me on how to update people group KFF individual segments on assignment form.
Please provide sample code/reference.
Thanks,
Raghava.Hi Vignesh,
I have tried the api using below code. But im getting the error like below:
ORA-20001: FLEX-VALUE DOES NOT EXIST: N, VALUE, Teachers, N, SEGMENT, PENSION_SCHEME_ESCH, N, VALUESET, GEN_PENS_SCHEME_LOOKUP
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16616
ORA-06512: at line 22
Code:
DECLARE
l_people_group_id number;
l_special_ceiling_step_id number;
l_ovn number;
l_soft_coding_keyflex_id number;
l_group_name varchar2(9000);
l_effective_start_date date;
l_effective_end_date date;
l_org_now_no_manager_warning boolean;
l_other_manager_warning boolean;
l_spp_delete_warning boolean;
l_entries_changed_warning varchar2(9000);
l_tax_district_changed_warning boolean;
l_concatenated_segments varchar2(9000);
l_gsp_post_process_warning varchar2(9000);
BEGIN
l_ovn:=11;
--l_people_group_id:=966;
l_soft_coding_keyflex_id:=null;
l_special_ceiling_step_id:=null;
hr_assignment_api.update_emp_asg_criteria
(p_effective_date =>TO_DATE('08-SEP-2012')
,p_datetrack_update_mode =>'CORRECTION'
,p_validate =>FALSE
,p_assignment_id =>37325
--,p_segment1 =>'Local Government Conditions (Green book)'
--,p_segment2 =>'R'
,p_segment3 =>'None'
,p_object_version_number =>l_ovn
,p_special_ceiling_step_id =>l_special_ceiling_step_id
,p_people_group_id =>l_people_group_id
,p_soft_coding_keyflex_id =>l_soft_coding_keyflex_id
,p_group_name =>l_group_name
,p_effective_start_date =>l_effective_start_date
,p_effective_end_date =>l_effective_end_date
,p_org_now_no_manager_warning =>l_org_now_no_manager_warning
,p_other_manager_warning =>l_other_manager_warning
,p_spp_delete_warning =>l_spp_delete_warning
,p_entries_changed_warning =>l_entries_changed_warning
,p_tax_district_changed_warning =>l_tax_district_changed_warning
,p_concatenated_segments =>l_concatenated_segments
,p_gsp_post_process_warning =>l_gsp_post_process_warning
END;
Commit;
Please help me on how to update the individual segment.
Thanks
Raghava -
Update AD groups via resourceObjectUpdate?
Hello idm experts,
I need to update to update an object in AD - move in into a different container, update some attributes and add AD security groups.
Is that possible to do all at once via updateResourceObject com.waveset.provision.WorkflowServices call?
Trying to do it - rename (move to different OU) is correct, modifying attributes is correct. Group membership gets completely wiped out.
Here is the user object I'm passing:
<Object>
<Attribute name='user'>
<Object>
<Attribute name='attributes'>
<Object>
<Attribute name='description' value='xxxx111'/>
<Attribute name='groups'>
<List>
<String>CN=na_approver,OU=FWD Groups,OU=Ldap Data,OU=INT,DC=msqa,DC=qa,DC=ms,DC=com</String>
<String>CN=NA_BranchAdmin1,OU=Common Groups,OU=ISG,OU=INT,DC=msqa,DC=qa,DC=ms,DC=com</String>
</List>
</Attribute>
<Attribute name='objectGUID' value='106d443e62585a469d0ddf6dfdbaacfe'/>
<Attribute name='sAMAccountName' value='xxxxxtest09'/>
<Attribute name='ws_newAccountId' value='cn=paveltest0909,ou=gwm,ou=exchange,ou=isg,ou=int,dc=msqa,dc=qa,dc=ms,dc=com'/>
</Object>
</Attribute>
<Attribute name='objectId' value='CN=xxxxxtest0909,OU=GWM,OU=Exchange,OU=ISG,OU=INT,DC=msqa,DC=qa,DC=ms,DC=com'/>
<Attribute name='objectType' value='User'/>
<Attribute name='resourceId' value='#ID#Resource:AD'/>
</Object>
</Attribute>
</Object>
And here is the call:
<Action name='Update User' application='com.waveset.provision.WorkflowServices'>
<Argument name='op' value='updateResourceObject'/>
<Argument name='objectId' value='$(iden)'/>
<Argument name='objectType' value='User'/>
<Argument name='object' value='$(ldapObject.user)'/>
<Argument name='resourceId' value='#ID#Resource:AD'/>
<Argument name='action' value='update'/>
<Return from='applicationError' to='applicationError'/>
</Action>
Update seems to be OK, the object is moved, attributes are updated, but group membership is wiped out.
WavesetResult contains this:
<WavesetResult>
<ResultItem type='result' status='UI_MSG_SEVERITY_OK'>
<WavesetResult>
<ResultItem type='ACCOUNT_RENAMED'>
<String>CN=xxxxxtest0909,OU=GWM,OU=Exchange,OU=ISG,OU=INT,DC=msqa,DC=qa,DC=ms,DC=com</String>
</ResultItem>
<ResultItem type='message' status='UI_MSG_SEVERITY_OK'>
<Message id='WF_RESOURCE_OBJECT_UPDATED'>
<String>WF_RESOURCE_OBJECT_TYPE_USER</String>
<String></String>
</Message>
</ResultItem>
</WavesetResult>
</ResultItem>
</WavesetResult>
What happened with group membership? Is there something I'm missing in object parameters or WorkflowServices parameters?You can "nest" an AD group in a SharePoint group and that will work just fine. What does not work is if you add users to an AD group, then nest that group in another AD group, and apply that second AD group to SharePoint. SharePoint is unable to crack open
the nested group to parse the users.
What do you mean by Site Collection Web Policy? Policies are applied at the Web Application level (in Central Administration).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Maybe you are looking for
-
Whenever I use Firefox . . . and, click onto an item to get more information or whatever . . . I always get the page I want but then I get a minimized page which has all the tool bars but is otherwise blank. Now, some times I get a full page which ju
-
SQL 2005 Authentication for Sol Man 4.0
Hi, I have used the SQL4SAP.VBS to install SQL 2005 Entp Ed for Sol Man 4.0. I do not know what authentication mode has been setup by this script How do I know this ? How can i change the mode to mixed mode as reuqired by Sol Man 4.0 I havent starte
-
Ordering photos in Web Gallery
I would like to impose an arbitrary order on a Web Photo Gallery. What is the recommended practice for doing this? Add a metadata attribute and sort on it? Rename the photos including an order field in the name? I tried simply dragging and dropping.
-
For transport different quatation from differnt agent in SAP
Is it possible in standard SAP,For transport different quatation from differnt agent ? If it possible,how?
-
HI I originally set up a trial adobe ID to see if the review process using captivate reviewer would fit our puroposes. I trialled it and it worked well and I was able to retrieve the comments from the dummy one I sent around. I logged in using the tr