Updating of partner functinos and Org data within transaction
Hi Forum
Are there any FM's or programs to update responsible org unit ( service )?
Ive managed to create report that could assist with mass update of responsible group, just not responsible org unit
Any pointers will be appreciated
Sam
Hello Sam,
Can you please try FM crm_orgman_change_ow?
Best regards,
Maggie
Similar Messages
-
Multiple business roles and org data determination
Hello together,
we are having an issue with the organizational data determination. Some users have multiple business roles in different sales organizsations. This means, they are assigned to several units in our org modell.
This users can select the business role after the login screen. But this selection doesn't affect the org data determination (rule: ORGMAN_12).
For example. My user is assigned to 4 different org units. After the login i select a role. In debugging i can see this role, but the system selects only the first role and not the role i've selected after the login.
Is there any other rule which follows the select business role? Or can i assign one user only to one unit?
Best regards
SaschaThanks for your reply!
The problem is, that i need exactly the org unit according to the selected business role at the beginning. Because we have in one company different distribution channel (e.g. 10, 20, 30). And depending on this the user can create an business partner in 10, 20 or 30. So, in our case we have some users assigned to 10 AND 20 AND 30. For each channel we have one role.
Our org modell looks like this:
company XYZ
--channel 10 ( role 'salespro10')
mustermann-m
--channel 20 ( role 'salespro20')
mustermann-m
--channel 30 ( role 'salespro30')
mustermann-m
If the user mustermann-m select salespro10 he should be able to create a business partner in channel 10. And if the user select the salespro20 he should be able to create the bp in channel20.
But if you use the RH_STRUC_GET i get ALL assigment.
Best regards,
Sascha -
Update Statement With Decode and Business Dates
Hello everyone,
I need to write a UPDATE statement using business date rule. In general, the due date is 30 days from the checkout date. If the due date falls on a Saturday or Sunday then the loan period is 32 days.
I know that to test for a weekday, I'd need to use the to_char function in Oracle with the format of ‘D’. I did some research and found that to test which weekday November 12, 2007 falls on, I'd need to use the expression to_char(’12-NOV-2007’,’D’). This function returns a number between 1 and 7. 1 represents Sunday, 2 Monday, …,7 Saturday.
What I really would need to do is write one UPDATE statement using an expression with the Decode function and the to_Char function:
UPDATE book_trans SET due_dte = expression
These are the transactions that will need to be updated:
ISBN 0-07-225790-3 checked out on 15-NOV-2007 by employee 101(book_trans_id=1)
ISBN 0-07-225790-3 checked out on 12-NOV-2007 by employee 151(book_trans_id=2)
ISBN 0-201-69471-9 checked out on 14-NOV-2007 by employee 175(book_trans_id=3)
ISBN 0-12-369379-9 checked out on 16-NOV-2007 by employee 201(book_trans_id=4)
I manually calculated the due-dte and wrote update statement for each book_trans_id:
UPDATE book_trans SET due_dte = '17-dec-07' WHERE book_trans_id = 1;
UPDATE book_trans SET due_dte = '12-dec-07' WHERE book_trans_id = 2;
UPDATE book_trans SET due_dte = '14-dec-07' WHERE book_trans_id = 3;
UPDATE book_trans SET due_dte = '18-dec-07' WHERE book_trans_id = 4;
As you can see, it's very cumbersome and I'd just like to know how to incorporate everything in one Update statement:
UPDATE book_trans SET due_dte = expression
so that if due date falls on Saturday or Sunday, the loan period is 32 days; weekday, loan period is 30 days.
Any tips or help will be greatly appreciated. Thanks!Hi,
882300 wrote:
Hello everyone,
I need to write a UPDATE statement using business date rule. In general, the due date is 30 days from the checkout date. If the due date falls on a Saturday or Sunday then the loan period is 32 days. That's equivalent to saying that the due date is normally 30 days after the checkout date, but if the checkout date falls on a Thursday or Friday, then the due date is 32 days after the checkout date. I used this equivalent in the statement below.
I know that to test for a weekday, I'd need to use the to_char function in Oracle with the format of ‘D’. I did some research and found that to test which weekday November 12, 2007 falls on, I'd need to use the expression to_char(’12-NOV-2007’,’D’). This function returns a number between 1 and 7. 1 represents Sunday, 2 Monday, …,7 Saturday.That's just one way to find out the weekday, and it's error-prone because it depends on your NLS_TERRITORY setting. A more reliable way is to use 'DY' or 'DAY' as the 2nd argument to TO_CHAR. That depends on NLS_DATE_LANGUAGE, but you can explicitly set the language in the optional 3rd argument to TO_CHAR, which means your code will work the same no matter what the NLS settings happen to be. It's also easier to debug: you may have to think whether '1' means Sunday or Monday, but it's easy to remember that 'SUN' means Sunday.
What I really would need to do is write one UPDATE statement using an expression with the Decode function and the to_Char function:
UPDATE book_trans SET due_dte = expressionHere's one way:
UPDATE book_trans
SET due_dte = checkout_dte + CASE
WHEN TO_CHAR ( checkout_dte
, 'fmDAY'
, 'NLS_DATE_LANGUAGE=ENGLISH'
) IN ('THURSDAY', 'FRIDAY')
THEN 32
ELSE 30
END
WHERE book_trans_id IN (1, 2, 3, 4)
;This assumes that checkout date is a column in the same table. -
Vl31N- Updation of Partner Function and Partner Number on screen
Hello Everyone,
I have a requirement of updating the Partner Fucntion(PARVW) and Partner number(PARTNER) while creation of INBOUND DELIVERY on the basis of PO. For which i have located a BADI : LE_SHP_DELIVERY_PROC ,under which method FILL_DELIVERY_HEADER can be used to populate these two fields but the problem is i am not able to find the structure where i can update these two fields.
Please help me locate the structure , Maybe it is being populated in some standard program.
Thanks in Advance..The field to be updated in CT_XVBPA were :
1) PARVW
2) LIFNR
3)UPDKZ = 'I'
4) MANDT = client.
this helped me populating the two fields .
Thanks
Edited by: PuneetS on Mar 16, 2011 6:40 AM -
Manual update of Forecast/Demand and Stock data in SNC5.1
Can we update the Stock in Hand at customer's place when we receive these values every monday by email?
So after getting these figures on every monday we want to update it in SNC5.1 manually.
Is it possible? If yes then how? What is the impact?
ThxHi,
To generate Forecast go to transaction:/N/SCA/TSDMTEST
enter as:
Time series type: VMIP1
Planning version:000
Keyfigure:CORFCST
Location:<Customer_location>
Product:<product>
Partner for third key:<Business partner Org of DC(ship from location)>
From Date,to date and quantity
and click on set.
Regards,
Nikhil -
Popup reuse and instantiate data within the popup
Hi,
I'm trying to implement a popup I can use to edit values via a form. I only pass an ID to the popup. The popup will contact a datasource to load the data from a database, based on the ID, and pre-fill the form. If no ID is passed (or empty), the popup displays an empty form which can be used to add the record to the database.
Based on the samples I found this was quite easy to implement... However, I'm facing a problem in instantiating values, when the popup gets called the first or the second time.
I first added the initialisation code (clearing fields and getting new data from database) in the creationComplete of the popup; but the event does not get fired anymore when opening the popup the second time (popup gets called by PopupManager.addPopup).
I tried triggering the init on the event 'added' or 'addedToStage' as well, but then some of the components in the popup are not yet created the first time I open the popup, giving an exception thrown...
What's the best approach or event to trigger on, to instantiate my data when the popup displays?
Tnx
StefanThanks, I found where I went wrong... the removePopUp was porperly called from my code; I tried a createPopUp, but stored it in a local value, and reused it... Now I realy use a new instance and it works on the creationComplete...
However, if I would like to use the same instance, and add it with 'addPopUp', should I still remove it?, and on which event I can best trigger the instantiation : I would like to instantiate the values when the popup is displayed, I don't want to add a button 'update the data'...? -
Is there a plugin available to manage IPTC and EXIF-data within PSE7
And why does PSE7 not supp
ort this anyway?When you import a photo into your catalog, the Organizer will also import tags, dates/times, captions, notes, star ratings, and GPS locations from the photo's EXIF metadata (including the IPTC and XMP sections of the EXIF). You can then edit that information in the Organizer and write it back to photos using File > Write Keyword Tag. You can view almost all of the EXIF fields of a Photo in the Properties window of the Organizer.
In the Editor, you can view the EXIF metadata with the File > File Info command, and you can edit a few of the fields (but not most of them). PSE 7 supports "custom info panels", scripts that you can add that will let you edit EXIF metadata. This is an undocumented feature inherited from full Photoshop, but you can get hints about it here:
http://forums.adobe.com/message/2007450#2007450 -
Updated to itunes 11 and all data lost from ipod and library
I updated to itunes 11 yesterday and then downloaded some cd's I'd bought on HMV Digital. lugged ipod in and all music appeared in library as normal. i transferred new music onto ipod and created some playlists. When i turned my ipod on this morning to go to work, there are no songs on it at all, not even the ones i downloaded and transferred last night!!!!
Having logged into itunes again tonight, the only music in my library is that which i downloaded last night... I am livid, there were thousands of songs on there and I don't have access to that music anymore... Is there any way I can retreive the info? All music isn't backed up on this laptop as ipod was previously synced with different PCJust FYI - the situation is resolved. I downloaded the new snow leopard 10.6.8 update for safari and now itunes works. I have no idea what that has to do with anything - but I saw it on another forum and it actually worked.
-
IPAD 2, I updated to IOS 6 and lost data from EA app
I uploaded data from The Sims Freeplay prior to upgrading to IOS 6 and when I went to downoad the data, icloud states that it is not there, lost of lot of money, and fun,
How can I get it back?
How ever all photos and music are now lost also, very strange.
I also has issues when upgrading, it had to be done twice and then i lost every app that i had, thank god for itunes and app world!
PS Itunes says it is my loss, really?If the iPad has not been backed up - how can you expect to retain the photos if you restore to factory destroys go via Recovery Mode.
To answer your question, if you have to restore the iPad using recovery mode and you have nothing backed up anywhere, you are out of luck regarding the photos. You will lose them when you restore the iPad.
BTW ... You don't have to restore the iPad, but you will not be able to use it any more. You will have a rather expensive door stop on your hands. -
Transaction Business Partner (BP) and Business Data Toolset (BDT)
Hello!
I wonder, if somebody could help me implementing following
intention:
I'd like to preallocate some bp dynpro fields by BDT. I've been trying during "pbo time" by function events (Tcode BUS7 / event ISSTA), but I've not been succeeded.
The major problem is that my customer function is out of the original SAP function group and now direct field manipulation is possible. a SAP modification is not intendend.
For hints and helps thank you very much in advance!
Rizal SaimunHello Vinod,
Thank u very much 4 ur link and hint.
I'd like to give u rewarding points for your contribution, but it was my big mistake that I didn't posted my message of this topic as rewardable...I'm very new in this SAP forum and it's my first post...
...Sorry Vinod!
But many thanks again!!!
Best wishes,
Rizal -
Not standard partner functions in general data screen transaction
Hello,
I have the following problem. I would like to use new partner functions in a transaction in the general data tab. I do not want to use 'parties involved'. It looks like it is only possible to use the standard partner functions. It's the same problem as in the PCUI.
Thanks in advance.
A.Annelies,
It is possible to do this actually for a business transaction, but you need to enhance the context.
1. In GENIL_MODEL_BROWSER For component set BT, look at dependent objects BTPartnerSet and see if there is a relationship for your partner function. If not you will need to add a relationship for your partner function.
2. For the context of the screen you will create a new context node called BTPARTNER<ZFUNC> where <ZFUNC> is the name of the partner function. It will be of type BTPartner and be related to the BTPARTNERSET node with a relationship corresponding to the relationship name found in the GENIL_MODEL_BROWSER
3. Add the PARTNER_DYN field under the new context node to be displayed on the screen in your configuration.
For more details on these steps please do a quick search, as I think I have posted at least on step 2 & step 3 in this forum before.
One of my answers is here:
Re: how to add New partner function to the gui (BOL Model)
Thank you,
Stephen
Edited by: Stephen Johannes on Sep 9, 2008 11:40 AM -
Org data in Derived role differ from Parent role
Hi there
I need some help please, I am in the process of creating various parent / derived roles and have found that when I update the parent role (org data) and I do a generate do a derived role update the values in the org data is not correctly pulled through to the derived roles.
e.g.
In the parent role for Org data "Purchase Org" the previous value was "/" so that it could be specified in the derived roles should they require the split on this field, however the business has decided that they do not require a restriction on this field so I went back to the parent role and changed the value to "*", so I generated the parent role, updated the derived roles, but when I go to any of my derived roles that field value is still blank, it did not pull through the value * .
We are currently on
SAP_ABA 701 0005 SAPKA70105
SAP_BASIS 701 0005 SAPKB70105
I have created the derived roles with the parent role as the derived from role, it does pull through the values but just does not update it once I do make changes.
Your help / suggestions would really be appreciated as I need to create MANY roles.
Regards
SonjaHi Sonja,
obviously there is a misunderstanding of how the derivation works....
> Thanks guys for the feedback, but surely I do not only need to maintain the ORG data in the derived roles individually, if I have got an Org field that should be the same for all the derived roles I must be able to update the Parent role with this value which then upon generate, and generate / activate the derived roles must update the derived roles.
-->no.
Only the first time of derivation, if the field content in the derived roles are initial...
help.sap.com:
quote
The organization level data is only copied the first time the authorization data is adjusted for the derived role. If data is maintained for the organizational levels in the derived role, and if you have maintained the organizational levels using the dialog box, the data is not overwritten by another conciliation (See SAP Note 314513).
unquote
The whole stuff: http://help.sap.com/saphelp_nw70ehp2/helpdata/en/1c/c38028816c11d396bc0000e82de14a/frameset.htm
otherwise the maintained org.fieldvalues would get overwritten by the value of the master role every time. And that is exactly, what has to be avoided!
b.rgds, Bernhard -
Can I create Business Partner in CRM without Org Data. Reason being that, based on the condition, BP created in CRM will be replicated to both the ECC system. for replicaton to both the ECC system... I have to maintain both Org data in CRM.
How to maintain both the ECC org structures in CRM.
In this case, How does org data determination rule works?
Please Help !
ThanksHi Amish,
You can assign both the sales area data for the BP . And the Bp will flow to both the ECC system and org data can be
selected manually . you can choose one among the two based on your requirment.
You would get an option to select from the popup which sales area data you wanna determine.
Regards,
Deepa -
Org determination in transaction based on custom Partner Function
Hi All,
I am trying to figure out how can I modify the partner determination procedure and org data profile to determine the sales area (org,dc,div,so,sg) in a transaction automatically without having to choose the sales org.
Here is the set up:
Sales Org ->Soff->Sales group are permitted for Org determination in ppoma_crm.
Custom Partner Functions - Y1 and Y2 assigned to Sales Partner Function Category
Access Sequence YXXX has the following set up:
Source PF Function Category Usage
10 COM_PARTNER_A
20 CRM_PARTNER_C Sold to Party
30 CRM_PARTNER_C Activity Partner CRM
40 CRM_PARTNER_C Sales Prospect
50 CRM_PARTNER_C Activity Partner
Partner Procedure YPP001 has the following setup:
Function Access Sequence
14 User Recurring
15 YXXX Recurring
21 0001 Recurring
23 YXXX Recurring
Y001 Recurring
Y002 Recurring
Y1 YXXX Recurring
Y2 YXXX Recurring
Org Data Profile YORGPROF01 is maintained for Scenario SALES with Org Model Deter Rule 10000177. Sorg and Dc mandatory set.
The transaction type YOPP is configured as shown:
Org Profile YORGPROF01
Partn Func Org Activity Partner
Partner Determination Proc YPP001
Now here is the issue:
We want that when we create transaction YOPP it should fill the Org data including Sales Office and Sales group from the partner associated with the PF Y1 which gets assigned automatically when the account is selected on the transaction.
With the above setting, it populates all the sales offices and sales groups that have been marked for determination in ppoma_crm (which we don't want it to do). We need it marked for determination so the BP's master data associated with Y1 shows up the sales group and sales office.
When the account is selected on the transaction and Y1 is determined via partner determination, we would want the sales Org also to get determined automatically from the Y1 partner's master data.
Anything that can be changed in the above settings to make this happen?
Thanks
PCHi
Although i have no practical experience with this but an educated guess would be to use Partner function determination . If you have 'employee responsible ' PF , Then u can further use him for org determination.
May be this helps...
Regards
Ruchi -
Post Author: tadj188#
CA Forum: Formula
Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
Background:
1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using subreports. A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report with their respective detail lines). I had multiple subreports and each subreport became one union.
Created and tested, already:
1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
Issue:
1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
Other Ideas Appreciated:
1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
Thank you.
Tadjexport all image of each page try like this
var myDoc = app.activeDocument;
var myFolder = myDoc.filePath;
var myImage = myDoc.allGraphics;
for (var i=0; myImage.length>i; i++){
app.select(myImage[i]);
var MyImageNmae = myImage[i].itemLink.name;
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
app.jpegExportPreferences.exportResolution = 300;
app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
alert(myImage[i].itemLink.name)
Maybe you are looking for
-
BI upgrade: abap menu role, url format conversion ?
hi all, I'm upgrading from BW3.5 to BI7.0. In BW3.5 abap role I am using menus wich include BW3.5 queries. URL format for query is like <bsp_protcl>://<bsp_server>/sap/bw/BEx?... The system gets upgraded in BI 7.0. Abap menu role still have the URL f
-
I cannot play a song I purchased
When I select the song to play, iTunes automatically goes to the next song. It will not play in a play list either.
-
Who is good with SMTP/MX??
I have a question. Since my ISP (canada's bell sympatico) blocks port 25 for in and outbound and I want to host my own email server, I was wondering if this would work. I have read that one strategy to get around outgoing smtp traffic is to send thro
-
Why can't I in Firefox 19, nothing happens when I try to bookmark a page?
Last week I realised that my old firefox did not work as all the extensions where gone and they could not be added again. I saved my old profile and made new one and then reinstalled firefox and got the 19 version. When I tried to import my old bookm
-
Hi, How can i execute Bapi in R3 to create service notification and then check it (display) whether it is there or not? I am using BAPI_SERVNOT_CREAT, BAPI_SERVNOT_SAVE and BAPI_SERVNOT_COMMIT in Web Dynpro using Java. I want to just check in R3 whet