Assignment of FSV with 52 periods in OB37 not possible
Hello SAP Guru,
I am having this concern of assigning the Fiscal Year Variant WK with 52 periods thru OB37 to company code 1000 but error
"More than 16 periods can only be used in the Extended General Ledger" appears.
The management would like to change the current fiscal year from V3 which is from April to March which holds the 16 posting periods including the 4 special periods into a 52 WorkWeek periods. The purpose of having the 52 WorkWeek is that the Management wanted to see the Financial Statement in a weekly basis. And this changes should have take effect on April 1, 2014. I have successfully created the Fiscal Year Variant WK but when I am about to assign it to CoCode 1000, such error message appears. The message says that the periods more than 16 period should be used in an Extended General Ledger. Can someone please guide me on how to do this or is there a simple way on assigning the new Fiscal Year Variant to a CoCode.
Appreciate your immediate feedback as I have to report to management on March 14 that the new Fiscal Year with 52 periods is available in the system.
Thanks,
Julie
Hi Sowmya,
Thanks for the info. But how can I use the FSV WK with 52 periods as the management want to start using workweek in generating reports effective April 1, 2014? Can you help me on this as there are only 2 weeks to report to management that the WK is available in the system.
I read about the Non Leading Ledger and already assigned the Cocode 1000 and the WK as well to this ledger, how will this work?
The objective is for reporting purposes only, to generate the Financial Statement on a weekly basis as well as the GL posted transaction.
Please guide me.
Thanks,
Julie
Similar Messages
-
Posting with transaction type 160 is not possible at MR8M
MODERATOR: Do not post (or request) email address or links to copyrighted or confidential information on these forums. If you do, the thread will be LOCKED and all points UNASSIGNED. If you have some information, please consider posting it to the [Wiki|https://wiki.sdn.sap.com/wiki/display/ERPFI/Home] rather than sharing via email. Thank you for your assistance.
Hi All,
We raised a PO w.r.t CWIP asset and posted GRN (MIGO - Transaction typr:100) and Invoice (MIRO).
Here, Invoice posted wrongly, So we are trying to reverse the invoice with MR8M (which is posted thru MIRO).
But system populating one message as per the following:
Posting with transaction type 160 is not possible here, see long text
Message no. AAPO 177
Diagnosis:
Transaction type 160 has a depreciation limitation, although posting is not mandatory in all of the depreciation areas entered However, it is not possible to select depreciation areas in the current transactions.
Procedure:
Check the specification of transaction type 160 or use transaction MR8M to enter the transaction
Please help
Sairavi
kumarfi9gmailcomWelcome to the forum.
As a newbie you should understand the forum rules where you are not suppose to post any basic or repeated question. To avoid this, you should make a search here
[Forum Search|http://forums.sdn.sap.com/search!default.jspa?objID=f327]
Type the same error text in Search Terms so that you will find the solution.
thanks
G. Lakshmipathi -
F-02 with asset retirement: Trans. type not possible - No affil. company
Hello Gurus,
I am struggling with the following, I hope you can help me:
We want to sell an investment using a trading partner. When entering the asset retirement transaction type 230, I get error message AA 389 Trans. type not possible (No affiliated company specified). I however enter the trading partner through 'More data' but when coming back to the asset retirement, T. type 210 is written and changing it to 230 gives me the error.
I am using document type DR for which the flags 'enter trading partner' and 'Inter co. postings' are set. I tried without the flag 'Inter co. postings', no success.
I have tried with Trans. type 210 and changing the line item after simulation, no success as well.
The target document is:
Pos. Posting Key Account Amount Trading Part.
1 01 1195914 4,320.00
2 50 610720 4,320.00- CI09
After simulate:
Pos. Posting Key Account Amount Trading Part.
1 01 1195914 4,320.00
2 50 610720 4,000.00- CI09
3 50 204010 320.00- CI09
4 75 18678 0 0.01-
5 40 9740150 4,0000.00
6 50 9740100 3,9999.99-
Many Thanks in advance.
Alex-Hello Alex,
Try F-92, on the screen for creating the revenue line item, i.e. the credit side, you must activate the indicator "asset retirement." > Next, press 'Enter' key, after which the screen 'Create Asset Retirement' appears and in this dialog box screen enter the appropriate 'Transacion Type' instead.
Hope the above helps.
Kind regards,
John Chin -
Dual Boot with Snow Leopard and Mavericks not possible?
I have a Early 2011 Macbook Pro with 2,3 GHz i7 Quad and two 512 GB SSDs (the secondary disk in an optical drive bay enclosure). This Macbook Pro can run Snow Leopard and Mavericks on the primary disk without problems. When I try to set up a dual boot system however, problems appear and it looks like it is not possible. When I start from Snow Leopard, I cannot select Mavericks as a start volume and vice versa. The error message says something like "Bless tool" cannot use this disk, i.e. unmount and boot from it. The problem remains when I exchange the disks (putting the primary disk in the drive enclosure and vice versa). When I put the secondary drive in an external case however, it is possible to boot from it - but strange things happen when the system starts: My computer clock is reset to 1/1/2001, WiFI passwords are not remembered for more than one session, disk permissions are reported as "repaired" but do apear as not repaired when I check them again - and other issues). I have verified both disks already and repaired permissions but that does not change the situation. So my experience is different from what is said in https://discussions.apple.com/thread/566781. It looks like the latest Mavericks cannot coexist with Snow Leopard on neiter a secondary internal drive nor on an external drive. This is strange since both disks and systems work flawless when run alone. Any suggestions to solve this problem?
When I check the Mavericks disk in the optical drive with disk utility after booting / running Snow Leopard on the primary disk I get som errors, see below ("disk utility Info"). So after all, I decided to erase the disk and install Mavericks new. But even erasing the disk is not possible when it is in the optical drive enclosure. I get this error message:
"Volume Erase failed with the error:
Could not unmount disk"
When I put this disk into an external case connected via USB however, it starts and runds MAvericks without any Problem. Same happens when I put thie Mavericks disk into the internal primary hard disk place.
"disk utility Info" when verinfying the secondary drive in the oprical bay:
Verifying volume “Samsung SSD Daten”
Performing live verification.
Checking Journaled HFS Plus volume.
Checking extents overflow file.
Unused node is not erased (node = 40)
Checking catalog file.
Unused node is not erased (node = 30)
Checking multi-linked files.
Checking catalog hierarchy.
Checking extended attributes file.
Unused node is not erased (node = 8)
Checking volume bitmap.
Volume bitmap needs minor repair for orphaned blocks
Checking volume information.
The volume Samsung SSD Daten was found corrupt and needs to be repaired.
Error: This disk needs to be repaired. Click Repair Disk.
Verify and Repair volume “Samsung SSD Daten”
Error: Could not unmount disk -
With iTunes 11, it is not possible to sync my iPhone, and my iPod with my computer
Whith the new iTunes 11, it is not possible to sync my iPhone and my iPod with my computer.
1. the iPhone AND iPod are not detected by iTunes, they don't appear any more on iTunes. (for eg with iTunes 10, we see clearly that an iPod/iPhone is connected)
2. There is no possibility (page, button, etc) to sync and to see what is on the iPhone/iPod
Why?
How can i sync my iPhone and my iPod with iTunes 11?
How can i manage what is to sync between iTunes 11 and the iPhone/iPod?Im using a PC, and yes i tried everything, turning my phone off, my pc off, plugging the phone on another computer, but nothing works
-
My ipad is telling me it is synced with another computer which is not possible.
I was trying to sync my bookmarks between safari on my computer and my ipad. I plugged my ipad into my computer to check the settings in itunes. I then noticed that i had not set my books to be synced between itunes and my ipad. When i tried to sync them, i got the error that my ipad is synced with itunes on another computer and can only be synced to one computer.
I dont understand why it would tell me this when i used this computer for my ipad. I setup my new ipad 3, i then plugged in my ipad 1 into my computer to make a backup. Then while going through the setup on my ipad 3 it gave me the option to recover from a backup on my computer. I chose that option and havent messed with my settings since. I might have plugged it into my other computer to charge, but i originally set it up with this computer, i never have touched anything on the other computer when ive plugged in my phone or ipads, and my phone does not encounter this issue, nor does my original ipad.
Why is it telling me i need to have it synced to only one computer, when this is the only computer its ever been synced to? What can i do about this, i dont want to wipe my ipad and then recover from a back up again when this error shouldnt even be popping up in the first place.
I have not done any drastic changes to my computer like reinstall the OS or recover from a backup. Im not even using a different user, i have no need to.
Anyone have any idea what i should do? Is wiping my ipad and syncing it with the computer it was synced to before my only option?What exactly will this do? This wont reset my stuff will it? I have some stuff saved on my ipad that i believe wont get transfered over if i wipe my ipad. Please lemme know because im affraid to try this until i know its not gonna reset my ipad.
@Demo, i plugged it in and itunes auto launched form the other computer, i think it was barely charging it or just holding it at the charge level the battery was at. I did this after i had gone through the setup steps where it asked if i wanted to recover from a backup. This is when i plugged it into a computer for the first time and i restored from a backup of my ipad one on this computer. The other computer was the one i plugged the new ipad into for a short period of time. Idk how auto sync works other than on my main itunes, my phone for example will auto sync videos i have. But i didnt really set anything up on my ipad. Also the original ipad was syncing to this computer as well.
Thanks -
Cold migration of old LDoms with slice-based system disks - not possible?
We have a couple of older T5120s that we would like to upgrade both the firmware and LDoms software on.
Currently they both run LDoms 1.2; we'd like to go to 2.0 or hopefully 2.1.
cas2:1:1006 [root] # ldm -V
Logical Domain Manager (v 1.2_patch)
Hypervisor control protocol v 1.4
Using Hypervisor MD v 1.1
System PROM:
Hypervisor v. 1.7.4. @(#)Hypervisor 1.7.4.a 2009/09/21 08:25\015
OpenBoot v. 4.30.4 @(#)OBP 4.30.4 2009/08/19 07:23
We thought we would clear out our other "sandbox" T5120 (with LDoms 2.0) and migrate the client LDoms in the machines to be updated over to the sandbox, so if anything went wrong we could clear out the old 1.2 machine and then re-migrate the LDoms back over to it.
Well, it turns out the client LDoms on the 1.2 system were made with paired slices as the system disks instead of files :-(
vdisk0@casdev c1t0d0s3
vdisk1@casdev c1t1d0s3
vdisk0@casray c1t0d0s1
vdisk1@casray c1t1d0s1
In one of the client LDoms it has (as you would expect, given this setup)
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
casdev active -n---- 5000 12 4G 0.1% 414d 18h
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
vdisk0 c1t0d0s3@primary-vds0 0 disk@0 primary
vdisk1 c1t1d0s3@primary-vds0 1 disk@1 primary
The control LDom for these client LDoms has 2 disks and slice 0 of each disk (~ 20 GB) is used for the control LDom, and there are these other slices (slice 1, 3, ... also each ~ 20 GB) for the client LDoms.
The target "sandbox" system we wanted to migrate to also has 2 disks, but slice 0 of each is a single, disk-spanning partition - since we're using files as virtual disks for the client LDoms that were previously on that system (since wiped out), there was no need for multiple slices.
I'm guessing that with this setup there is no way to even do a cold migration of the old LDoms 1.2 client LDoms to the newer LDoms 2.0 sandbox system, short of a complete reinstall of the sandbox to create a similar slice-based setup. :-(
(Unless it involved somehow re-slicing the control LDom's disks and making identically-sized partitions to match the old system's and then - somehow - "dd"'ing the source system's client LDom disk slices over into the target system's)
Am I right?
Edited by: Riot Nrrrd™ on Oct 28, 2011 3:30 PMI'm guessing that with this setup there is no way to even do a cold migration of the old LDoms 1.2 client LDoms to the newer LDoms 2.0 sandbox system, short of a complete reinstall of the sandbox to create a similar slice-based setup. :-(
(Unless it involved somehow re-slicing the control LDom's disks and making identically-sized partitions to match the old system's and then - somehow - "dd"'ing the source system's client LDom disk slices over into the target system's)If you are not using SAN-disks, then it is a bit difficult to do the migration. If you are using ZFS on LDoms 2.0 sandbox, you could try to create ZFS volumes for guest domains and send data on those volumes from LDoms 1.2 system, after creating guest domains from exported XML configurationg files.
Does this sound tryable solution? -
Exceptions with JEditorPane setPage() method (Catching not possible)
hi all
if anyone can help me...please help
I got serious exceptions with the JEditorPane()'s setPage() method
I have written the try & catch still i could not catch the exception..(those exceptions are not displaying any of my program lines)..setPage() mehod was executed properly and the page was displyed on the editorpane..and then exceptions r coming..
--------my code--------
java.net.URL fileurl =LongTask.class.getResource(modifiedfilename);
editorpane.setPage(fileurl);
---------------------exceptions
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at javax.swing.text.SimpleAttributeSet.addAttribute(SimpleAttributeSet.java:176)
at javax.swing.text.html.CSS.translateHTMLToCSS(CSS.java:687)
at javax.swing.text.html.StyleSheet.translateHTMLToCSS(StyleSheet.java:491)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2476)
at javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:312)
at javax.swing.text.html.BlockView.getAttributes(BlockView.java:275)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.getResolveParent(StyleSheet.java:2609)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.doGetAttribute(StyleSheet.java:2589)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(StyleSheet.java:2569)
at javax.swing.text.ParagraphView.setPropertiesFromAttributes(ParagraphView.java:105)
at javax.swing.text.html.ParagraphView.setPropertiesFromAttributes(ParagraphView.java:87)
at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:60)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView$RowView.replace(TableView.java:1414)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView.replace(TableView.java:864)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.TableView.setParent(TableView.java:768)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.View.updateChildren(View.java:1126)
at javax.swing.text.View.insertUpdate(View.java:710)
at javax.swing.text.View.forwardUpdateToView(View.java:1217)
at javax.swing.text.View.forwardUpdate(View.java:1192)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:222)
at javax.swing.text.View.insertUpdate(View.java:716)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1487)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1726)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184)
at javax.swing.text.DefaultStyledDocument.insert(DefaultStyledDocument.java:201)
at javax.swing.text.html.HTMLDocument.insert(HTMLDocument.java:232)
at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3254)
at javax.swing.text.html.HTMLDocument$HTMLReader.addContent(HTMLDocument.java:3196)
at javax.swing.text.html.HTMLDocument$HTMLReader.blockClose(HTMLDocument.java:3128)
at javax.swing.text.html.HTMLDocument$HTMLReader$BlockAction.end(HTMLDocument.java:2334)
at javax.swing.text.html.HTMLDocument$HTMLReader.handleEndTag(HTMLDocument.java:2233)
at javax.swing.text.html.parser.DocumentParser.handleEndTag(DocumentParser.java:217)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2072)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:106)
at javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:78)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:230)
at javax.swing.JEditorPane.read(JEditorPane.java:504)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:551)
please share ideas to solve this problemBut how can I cause GUI thread to run in my thread
group? As I suppose GUI thread is started by JVM and
is something separate from my code - I can get a
reference to GUI thread but don't know how to
manipulate or replace it...One alternative is to completely separate the GUI code from your code.
Your code, which is wrapped in appropriate try/catch blocks, runs on its own thread and does its own processing. When it's done with that processing, it queues the results on the event thread for display. If an exception occurs during your processing, then you queue something that notifies the GUI.
The simplest way to implement this is to spawn a new thread for each operation. The Runnable that you give to that thread looks like the following:
public MyOperationClass implements Runnable
public void run()
try
// do your exception-generating code here
SwingUtilities.invokeLater( new MyGUIUpdateClass(param1, param2));
catch (Exception e)
SwingUtilities.invokeLater(new MyExceptionReporter(e));
}This is only a bare-bones solution (and hasn't been compiled). Since it separates the GUI from actual processing, you'll probably want to display a wait cursor while the processing thread is doing its thing. You'll probably end up implementing a class that implements this pattern. You may also want to create a producer-consumer thread, so that the user won't invoke, say, a dozen different operations at once.
However, this sort of code is absolutely essential to Swing programming. Most apps do extensive non-GUI processing, such as database queries. If you run such queries in the GUI thread, your GUI will freeze.
Sun has named this pattern "SwingWorker", although I don't think they've fleshed it out very fully: http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html -
Hi everyone!
We are suddenly having Problems to access our SQL Express Server from our Clients (SBS 2008 with W7 clients).
Till yesterday evening everything was working fine. At night we installed the latest MS patches für our Server 2008 (SBS2008).
Since then we are not able to connect to the SQL Express Server over the Network. Locally (on the Server) it runs fine.
Switching the Windows Firewall off on the Server also lets the clients connect ...
The Windows Firewall still has all the ports open needed for SQL Server, we havn't changed anything.
All the incoming rules that worked for years are still there (untouched).
We just deinstalled all the latest patches, but problem still is here ... not sure if this was just a coincidence ...
Any ideas what could be the Problem?
Thanks in advance for your help
Best regards
ThomasCheck firewall rules
enable traffic on TCP 1433 and UDP 1434 (if isn't a named instance) or check sql using ports.
Check Sql Server Browser in Configuration Manager and also net protocols.
let's know about it
Best regards,
P.Ceglie
Questo post è fornito "così com'è". Non conferisce garanzie o diritti di alcun tipo. Ricorda di usare la funzione "segna come risposta" per i post che ti hanno aiutato a risolvere il problema e "deseleziona come risposta" quando
le risposte segnate non sono effettivamente utili. Questo è particolarmente utile per altri utenti che leggono il thread, alla ricerca di soluzioni a problemi similari. ENG: This posting is provided "AS IS" with no warranties, and confers no rights.
Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Hi all,
last day i buy some products from the APPLE Store with the PC Wife. My iPHONE was connect with the PC. After when i connect the iPHONE with my PC the itunes didn't sync the product and delete in my iPHONE the old application. Now i want in my iPHONE the old product and the new. Can you hel me? Have you a suggest.. During the start of the sync iTunes identify the all application in but not sync with iPHONE.
Help Me
MaxI had this problem too and my roommate solved it!
Go to 'Settings'
'Music'
Scroll to the bottom and enter your password to log onto your home sharing
Then connect to iTunes and sync! -
Working with canon 6d CR2 files not possible without converting to DNG?
I have a brand-new down on 60 camera which generates CO2 files. Unfortunately I have not been able to edit any of my photos using Adobe camera raw or bridge or Photoshop without converting to DND files. Do you and you files are larger than the CR to file sizes and therefore I don't like them. Is there anyway for me to work directly on my Cr2 files like I did on my NEF files when I had the nikon? Yes my Photoshop is up-to-date.
What version of Photoshop are you using, and what version of Camera Raw plug-in (ACR) are you using?
If your camera is a 6D then you need Photoshop CS6 and ACR 7.3 or newer to open the CR2 files.
If your camera is a 60D then you need Photoshop CS5 and ACR 6.2 or newer to open the CR2 files. -
Calendar assignment in OAVH for '03' period control for calendar year dependent fiscal year.
Hi
We have a year dependent Fiscal Year in our client's system. It is a 5-4-4 Fiscal Year variant starting from March till Feb.
While trying to create a new asset we faced an error "You cannot save this asset(Correct depreciation error)." I checked and found that the error is due to a missing calendar assignment in OAVH for the period control key '03' (Pro rata at mid-period) for our fiscal year variant. Till the last fiscal year it had been maintained, but for current fiscal year the assignment is not maintained.
Can someone help me to understand how the calendar assignment is done in OAVH for a 03 period control key for a year dependent fiscal year like ours?
I tried using the transaction OA84 (Generate Period Control), but it provides the calendar assignment for all other period control methods except for '03'. Is there some specific reason as to why OA84 does not generate for '03' period control?
I checked the last fiscal year's assignments in OAVH for our fiscal year variant for '03' period control, but could not understand how it was configured, because it did not relate to the fiscal year variant assignment that we have done in OB29. Also, I even checked whether we need to enter the mid date of the periods, but that also was not done for the last fiscal year. I am unable to understand how the dates have been assgined.
Given below is our last Fiscal Year's OAVH settings for '03' period control:
FYV
Period Cont
Description
Year
Month
Day
Period
AG
3
Pro rata at mid-period
2014
3
17
0
AG
3
Pro rata at mid-period
2014
4
18
1
AG
3
Pro rata at mid-period
2014
5
16
2
AG
3
Pro rata at mid-period
2014
6
16
3
AG
3
Pro rata at mid-period
2014
7
18
4
AG
3
Pro rata at mid-period
2014
8
15
5
AG
3
Pro rata at mid-period
2014
9
15
6
AG
3
Pro rata at mid-period
2014
10
17
7
AG
3
Pro rata at mid-period
2014
11
14
8
AG
3
Pro rata at mid-period
2014
12
15
9
AG
3
Pro rata at mid-period
2014
12
31
10
AG
3
Pro rata at mid-period
2015
2
13
11
AG
3
Pro rata at mid-period
2015
2
28
12
Please advice.
Thanks in Advance.
Regards
AmbarishDear Ambarish,
As it is a year dependent fiscal year variant, we should create the year for the variant via OB29, then generate the period via OA84.
Best regards.
Beam -
Acct determination for Account-assigned purchase order with keys not define
Hi,
I'm trying to post an IDOC of type BBPIV through XI to an R/3 system.
The posted idoc in R/3 is in status 51 (Application document not posted) with the error message "Acct determination for Account-assigned purchase order with keys not defined in chart of acts WP2P"
As per my understanding this is something related to FI.
Long text of the error is "The system cannot generate an automatic posting because there is no account determination defined for Account-assigned purchase order with keys in chart of accounts WP2P.
Correct the account determination for Account-assigned purchase order"
Please help me how to solve this.
Regards,
RashmiHiya,
This looks like its a MM posting / transaction.
You need to go to OBYC and maintain the account assignment. If you provide the business scenario (GR into Stock, Subcontracting, etc.) for the process, I may be able to help.
VKOA is for SD account assignment and I don't believe you can use that here.
Cheers. -
Guided Procedure: Dynamical User Assignment at Runtime with WD API
Hallo out there,
I'm trying to assign a user to a process role.
I set up my process in that way:
Process as root,
sequential block,
First action with callable Object,
Second action with callable Object,
It looks quite easy.
The callable Objects are embedded WD4J UI's and the data transfer GP Context, etc works fine
I'm still starting the process with the GP Designtime center, not via Webdynpro method (startProcess).
The following codesd snippets are placed in the execute method of the first callable object.
I guess a have to use the runtime methods.. not the designtime methods to assign the users
For example:
In Step 1 - execute Method:
discovering the user for processing step2!
assigning the to the processrole depending for step2!
My Coding in step 1 looks like this:
First step: Getting the user infos:
// Retrieve an IUser instance by a logon ID specified dynamically at runtime.
IUser userStep1;
IUser userStep2;
userStep1 = UMFactory.getUserFactory().getUserByLogonID("user1");
userStep2 = UMFactory.getUserFactory().getUserByLogonID("user2");
IGPUserContext userContext;
IGPUserContext userContext2;
userContext = GPContextFactory.getContextManager().createUserContext(userStep1);
userContext = GPContextFactory.getContextManager().createUserContext(userStep2);
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
Now, i want to assign user2 to step2 :
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate(
// by specifying its ID
processId,
// and the user accessing it
userContext);
// create an empty role assignment list
IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
// get the process role number
int rolenum = process.getRoleInfoCount();
// iterate over the required roles
for (int i = 0; i < rolenum; i++) {
msgmr.reportSuccess("Anzahl der gefunden Prozessrollen: " + rolenum);
// create a new role instance by specifying the role's unique name
IGPProcessRoleInstance roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
// add a user to the role instance
roleInstance.addUser(userStep2);
// add the new role to the assignment list
roles.addProcessRoleInstance(roleInstance);
I guess the problem is, that i call the wrong method to assign the user. I need to assign the user with following code snippet...
// dynamically assign a user to a role
rtm.addRuntimeDefinedUserToRole(
// process instance
prInstance,
// role name
"Processor",
// user that is assigned (IUser)
user,
// user context (IGPUserContext)
userContext);
// dynamically change the user assigned to a role for a particular task
String prInstanceID = prInstance.getID();
rtm.changeTaskProcessor(
// process instance ID
prInstanceID,
// activity instance ID
activityInstanceID,
// current user (IGPUserContext)
currentProcessorContext,
// new user (IGPUserContext)
newProcessorContext);
Thank you for any hint.Hi,
Refer this
Re: Adding users to a process role at runtime method :- addRuntimeDefinedUser -
Can i use iCloud keychain with my own passwords and not with what is assigned and stored?
Can i use iCloud keychain with my own passwords and not with what is assigned and stored?
tammersalem wrote:) <-HDMI-> (HDTV)
My main concerns are:
-If I use iTunes on my main computer, will it then be available to Apple TV?
-If I use Apple TV to download will it be available to my Main computer?
-Can the Apple TV use a media server for storage over LAN (using NTFS Samab or otherwise)?
Basically iTunes feeds AppleTv with media either syncing (copying to it) or streaming live.
Media must be compatible with AppleTV.
AppleTV requires a proper iTunes instance running - it cannot access a NAS directly.
If you store media in a folder on a NAS and it's part of the computer iTunes library (just stored on the NAS vs internal/external drive), then when running iTunes makes this content available to AppleTV.
Data will travel:
NAS > network > iTunes > network to AppleTV
As the path is potentially slower than internal/external attached drive > iTunes > network > AppleTV, it may or may not work robustly for streaming.
If AppleTv is set to sync (it can also stream in this mode), when you purchase direct on AppleTV, the media should sync back to where the itunes library is stored (via iTunes) to keep things in sync and to allow you to backup the media.
You cannot drag/drop media to/from AppleTv across the network, nor can it directly access storage itself - iTunes is an essential cog in the wheel.
The majority of commercial 'in-built iTunes media servers' will not work directly with AppleTV as it has to be 'paired' with iTunes by entering a numerical code in iTunes and does not simply see 'shared libraries'.
Maybe you are looking for
-
Hi plz help me to find out the table name and field names as i am unable to find .....In the spec am given requirements in the following pattern. Description SAP-Term Explaination 1.Salesman Equip
-
How to setup email account on mail app?
I currently have an ".edu" account that I usually log-in through a browser. I usually place my email username in mail.office365.com then redirects me to adfs."school here".edu Then I usually do the actual login username and password for the organizat
-
I can't install I-Tunes 10.6.1.7 on my Windows Vista laptop. Tried it several times. First message: Policy 8.0 Microsoft VC80.CRT..type='win32-policy, etc. Please help
-
How to creat the Varient for 1099MISC With Holding Tax
How to create the Variant for 1099MISC With Holding Tax ?
-
Configurator error unable to check iOS
Using Apple Configurator 1.6 on an iMac running OS 10.9.5. Have 6 iPads connected via USB hub. I am running in unsupervised mode and am simply trying to update iOS to latest version. iPads are recognized but on all but one I get an error stating "Una