Creating rules for variant
Hi gurus,
How to create rules for variant in work schedules.....Explain clearly.....
iam unable to understand x and . under holiday calender....
Explain it by taking example of having only 4 working hours before a public holiday.
thnx in adv.....
Regards,
praveen.
hi u use day of varient when u want to disrupt ur dws for some day.
here u shd know what r the holiday classes 0 is workday.
1 is holiday .2 is half day holiday and 3-9 are customer specific holiday classes.
rule NO hclas hcla n.d. weekday var
ZA 01 X.X....... .X........ XXXXXXX 1
this is how we may write ur requirement .
4 hours of working before public holiday.
that day on which u want to apply the rule that shd be either workday or halfday so x.x
the next day u want as a public holiday so check 1 that is fullday holiday.
which workdays u want to apply this u can decide in 3rd collumn.
this varient u give in DWS.
and there u change ur work schedule to only 4 hrs.
clarify with other members too.since i might be wrong.
regards,
raj.
Similar Messages
-
Error while creating rules for Event generator
Hi,
I followed the PO samples in dev2dev site to create an EventGenerator(both file and JMS) from a jython script. While creating rules for the eventgenerator, am getting the following exception.
"AttributeError: 'None' object has no attribute 'newFileEventGenConfigurationMBean'"
here is the PO sample code,
egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
The server is weblogic 9.2 and domain is Integration domain. Looks like the getMBean() wasnt able to locate the Eventgenerator MBean for some reason and hence the variable 'egCfgMBean ' is always null. Anyone had this issue before.
Thanks.It looks like getMBean("FileEventGenerators/FileEventGenerators") is not
returning an MBean. "None" is returned if no MBean is found. Check the path
parameter to getMBean() and make sure it is correct. If you know the object
name of the MBean you are interested in, you may be able to use the
getPath() command to get its path.
wls:/mydomain/serverConfig>path=getPath('com.bea:Name=myserver,Type=Server')
wls:/mydomain/serverConfig> print path
<Ramesh R> wrote in message news:[email protected]..
Hi,
I followed the PO samples in dev2dev site to create an EventGenerator(both
file and JMS) from a jython script. While creating rules for the
eventgenerator, am getting the following exception.
"AttributeError: 'None' object has no attribute
'newFileEventGenConfigurationMBean'"
here is the PO sample code,
egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
The server is weblogic 9.2 and domain is Integration domain. Looks like the
getMBean() wasnt able to locate the Eventgenerator MBean for some reason and
hence the variable 'egCfgMBean ' is always null. Anyone had this issue
before.
Thanks. -
Creating rules for Mail - yet visible on iPhone
I fully understand how to create rules for email so that when receiving them, they automatically go into folders. The problem is, if I receive an email that automatically gets sorted into a folder, I can not tell on my iPhone I have actually received a new email.
However, I need to know how to have rules to automatically sort/file emails into a folder, but still know I have received a new email on my iPhone mail.
Anyone got ideas?
ThanksI can understand not wanting to put out money to gain a feature that you think should be standard.
Here is a link to some Applescripts that I had downloaded in the past. I actually forgot about these. There is a script which will allow you to apply some rules to outgoing messages, but the author of the scripts notes that it is not a perfect solution. Maybe it can help.
If all else fails, maybe you can use smart folders as a sort of go between. Instead of scanning through the sent mail folder and hand picking individual messages to drag to folders, why not set up a smart folder to aggregate all like mail. Then you could just drag the messages from a smart folder to a regular one. It might help speed things up.
I am just about out of ideas. I hope you can come up with a good solution. -
Define Rules for Variants under Daily Work Schedules.
Hi All,
Can anyone explain me what is the use of Define Rules for Variants under Daily Work Schedules.
Also can some one explain what is the meaning of below representation
Rule No Holiday Class HolClNextDay Day Varaint
01 03 X......... XXXXXXXXXX .....X. A
Thanks in Advance
DavidHi David,
Thanks for putting this question . I was also searching for its answer because when variant is applied on Friday and if any full day public holiday falls on Friday then variant would be null and void.
I got confused with the holiday class 2 which is half day public holiday, what if it falls on Friday?
Variant in itself is reduced working hours and half day is one and the same thing.
I have tried rules in many ways to trigger variant on Friday:
Rule HC current. HC next day. Days. Variant
XX. 01 XX.XXXXXXX XXXXXXXXX ....X.. B
XX. 02 ..X........... XXXXXXXXX XXXX.XX
Or
Rule HC current. HC next day. Days. Variant
XX. 01 XX.XXXXXXX XXXXXXXXX ....X.. B
In the 1st case the 2nd condition is unnecessary confusing, however things are working fine with only 1st condition.
Please clarify what is the difference in 1st and 2nd case? -
Creating rules for other mailboxes
Hi there,
I couldn't seem to find this question anywhere so I'll just post it. Is there a way to create a rule for IMAP mailboxes? Here is my situation: I have two gmail IMAP accounts in Mail in addition to my .Mac IMAP account. Now sometimes I can't always get to my computer to check for mail so I've been using the webmail on apple.com. However, to make things more convenient for me I've made gmail forward all my messages to [email protected] I want my gmail accounts on my Mail app because then I can send messages with my gmail account instead of my .mac account. I just want to be able to use the .mac account as a kind of grouping station. I also want to use the push mail function when MobileMe becomes available.
My question is, I know that on Mail I'm going to get duplicate messages in my Gmail IMAP accounts, because they are also being forwarded to [email protected], but is there any way to create a rule so that I won't see the "unread message count" on my gmail mailboxes? Or is there a way to make Mail not check for new messages in my gmail accounts? Or something to that effect?
Thank you all so much,
R.Does anyone have an answer?
thank you -
Create Rule for "Boolean" field attribute
Hi all,
I'm having a problem creating a Rule which references the value from a Checkbox in my User Form (hence, Boolean).
I know how to create Rule to reference string values. But, apparently, the syntax is not the same when referencing a *"checkbox*" value.
Here is the Rule I created :
*<Rule name='Rule for Checkbox'>*
*<switch>*
*<ref>checkboxvalue</ref>*
*<case>*
*<isTrue>*
*<ref>checkboxvalue</ref>*
*</isTrue>*
*<setvar name='MyTextField'>*
*<s>Yes</s>*
*</setvar>*
*</case>*
*<case>*
*<isFalse>*
*<ref>checkboxvalue</ref>*
*</isFalse>*
*<setvar name='MyTextField'>*
*<s>No</s>*
*</setvar>*
*</case>*
*</switch>*
*<MemberObjectGroups>*
*<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>*
*</MemberObjectGroups>*
*</Rule>*
In other words : if the Checkbox in my User Form is ticked (meaning, if the value is TRUE), then IDM should automatically allocate a value of "*YES"* to that text field in my user form *(MyTextField)*
If the checkbox is not ticked, then the value of *"NO"* should be displayed in the Text Field.
Is my syntax wrong?
ThanksIt depends on how you're generating the email. If you use a workflow it is relatively easy.
Change the rule to (note that I added the rule argument, it's not really necessary, it just cleans the code up):
<Rule name='Get To Address'>
<RuleArgument name="boxvalue"/>
<cond>
<isTrue>
<ref>boxvalue</ref>
</isTrue>
<s>[email protected]</s>
<s>[email protected], [email protected]</s>
</cond>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</Rule>Using the workflow service directly.
<Activity>
<Variable name="to">
<!-- this assumes the checkboxvalue variable is already set -->
<rule name="Get To Address">
<argument name="boxvalue">
<ref>checkboxvalue</ref>
</argument>
</rule>
</Variable>
<Action id='0' application='com.waveset.provision.WorkflowServices'>
<Argument name='op' value='notify'/>
<Argument name='template' value='yourtemplate'/>
<Argument name='to' value='$(to)'/>
<Argument name="from" value="[email protected]"/>
<Argument name="some_template_argument">
<s>some value</s>
</Argument>
<Argument name='catch' value='notificationException'/>
</Action>
</Activity>Using the notify workflow subprocess is nearly identical. (I recommend this because retries are taken care of for you but it's up to you.)
Finally your template is simple again. IDM should fill in the to value on based on the "to" variable you provided in the "to" argument. The "to" variable in turn was set by the rule.
<EmailTemplate
id="#ID#EmailTemplate:yourtemplate"
name='yourtemplate'
smtpHost='$(smtpHost)'
htmlEnabled='false'
authEnabled='$(authEnabled)'
userId='$(userId)'
password='$(password)'
ssl='$(ssl)'
ignoreCert='$(ignoreCert)'>
<!-- IDM provides the above values -->
<subject>Your Subject</subject>
<body>
Hello. The argument was $(some_template_argument).
</body>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
</MemberObjectGroups>
</EmailTemplate> -
Define Rules for Variants (Daily Work Schedules)
Hi All,
I wanted to set up the following rule for varients :
If Holiday Falls on SUnday then Monday should be change Off.
I have created Varient for DWS. as NORM , NORM - "C".
01 03 .X........ X......... ......X C
01 04 X......... XXXXXXXXXX X...... C
But above setting turing all Mondays to Varient C.
How can I make only Monday as Varient as C when its previous day is SUnday and Holiday Class 1.
Regards,
Kamal RawalHi Kamal,
In SCAL- At the time of creating public holiday you can define in Guaranteed section as Public Holiday on Sundy (Select Sunday) , then move to next day or move to previous day
Pls check & revert..
Regards,
Mahesh -
Create rules for selection of Reconciliation posting (TCODE: KALK)
Hello SAP Experts,
I haven't worked on New GL concept but I am trying to learn it myself. Till now I have linked the Controlling area with New GL. But I don't know how to "define rules for selection of reconciliation posting"
SPRO--->. FInancial Accounting (NEW) --->Financial Accounting Global Settings (NEW) ->Ledgers-> Real time integration of controlling and FA--->Define rules for selecting CO line items
If any of you who have worked on it can explain me about it then it would be great.
Thanks in advance.
Mohit
Edited by: mohitg7 on May 2, 2010 3:44 AMDo as below my dear
Go to FS00 and input the GL 400019. Check the Tab "Create/bank/interest.
Take the Field Status group and go to OBC4. Examle- G052
Click on the same Field Status group and double click on Asset accounting.
Asset retirement ...........................Required
Asset number / subnumber...........Optional
Now go to T Code OB41
Double click on Posting key 15
Click on "Maintain field status" from application tol bar. Double click on Asset accounting.
Asset retirement ...........................Optional
Asset number / subnumber...........Optional
Now post the transaction and see
Thanks -
How to create rule for repoting soa server down state in OEM12c
Hi All,
I am very new to OEM 12c. I want to monitor my weblogic server from OEM 12c. I want to configure rule such that if any of the servers viz. Admin Server, soa server, bam server or osb server goes down it send a notification mail to the administrator. I am very new to OEM 12c. I have already configured the mail server in OEM12c. I need to j=know how to create a rule with the above mentioned condition. Please guide me !!!
Thanks in advance!!
Edited by: Roshni Shankar on Aug 9, 2012 12:06 AMHi Roshni,
For most MW targets including the WebLogic Server target, you can set the thresholds by going to the target drop-down (right above the main pane, you will see a "WebLogic Server" menu) and you can the navigate to "Monitoring" from the base menu items. From there, you will see "Metric and Collection Settings" which will take you to where you can set thresholds for the target.
You then can set notifications via your chosen mechanism. For more details, we have in-product documentation. The easiest way to find out more about thresholds, incidents, notifications, and other key features related to basic monitoring and alerting like metric templates, you can navigate to "Incident Management" off the "Enterprise" top-level menu item. There you will see incidents (i.e. metric alerts, policy violations) as well as a Getting Started guide at the bottom where you can learn more about these topics. You can also use the "Help" menu of course and look through the broader set of documentation that we offer both in the product and on OTN.
Cheers,
Glen -
Help on creating rules for weblogic portal 8.1
Hi,
I have a requirement where I have to get some content from the cms based on
the following rule.
The content attribute has a field expiry date.
RULE:
get the content where the expiry date is greater than sysdate - The rule
engine should take the system date dynamically and not the one that is hard
coded in the rule.
Can some solve me this problem and suggest the way to achieve this in
weblogic portal 8.1
Regards
Manoj SharmaI have contradictory informations ... It seems that the password is MD5 hashed and stored in BASE64 ...
Is this PL/SQL code is right to store the "crypted" Password ? :
UTL_I18N.RAW_TO_CHAR
UTL_ENCODE.BASE64_ENCODE
dbms_crypto.hash
src => UTL_I18N.STRING_TO_RAW('1234567890ABCDEF', 'AL32UTF8'),
typ => dbms_crypto.HASH_MD5
'AL32UTF8'
); -
Creating a transaction code for variant type in se93
hai all,
i created transaction's for dialogue type and report type,now i am trying to create transaction for variant type. in that what we have to provide in transaction text box where the f4 functionality is provided for that text box.
could any one plz help me out.
Thanks in Advance.Hi,
U need to create transaction variant in SHD0 transaction before creation transaction by variant.
Go thru the following link carefully.
Certainly it will be helpful to you.
http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm
Regards
Vadi -
Hello,
I am currently using Entourage 2008 for mail and I have the ability there to create rules for BOTH incoming and outgoing mail items.
I have a friend that is only using MAIL in Leopard and he wishes to copy items from his sent items folder up to his mail server sent items folder. His mail account is set up as a POP3 account.
I am wondering if MAIL supports setting up outbound email rules.
I believe that my other solution is to set up a new IMAP account so that sent items are in sync with his mail server and he can refer back to them from his iPhone's IMAP account.
Can someone experienced creating mail rules enlighten me on this?
Thanks in advance!
Kind RegardsI have been using MailActOn for the past week and I have to say that it has solved ALL my problems and has made me way more efficient!
I have finally removed my last Mickey$oft vestige from my MAC. ( Entourage )
I was having some serious issues with the entourage database size and corruption.
I am an IT consultant and I get a ton of email every day.
My Entourage database size was in excess of 1.8 GB.
For some reason Entourage kept claiming I had a corrupt database daily and I needed to restore from backups constantly.
Now that I have switched to Mail.app it is not only faster, but I have been able to create more customized rules.
I HIGHLY recommend this add on!
Kind Regards -
I followed up the PO example, but my env is a cluster and I get some exections.I was trying to deploy File EG on one of a managed server. could anyone help me out. Thanks very much.
py script:
# Jython script to create, deploy & configure event generator
from java.lang import Boolean
from java.lang import Integer
import weblogic.Deployer
import com.bea.wli.mbconnector.file as eggen
import com.bea.wli.management.configuration as wlicfg
import jarray
import sys
sys.path.append("lib/wlst.jar/Jython-Lib")
import getopt
# The wlst file needs to be generated by starting wlst in interactive mode and doing writeIniFile("wlst.py")
import wlst
from org.xml.sax import *
from java.io import IOException
from org.w3c.dom import *
from java.io import FileInputStream
from javax.xml.transform.stream import StreamSource
from javax.xml.transform.stream import StreamResult
from javax.xml.parsers import DocumentBuilderFactory
propertyFile="EG.xml"
# globals
domaindir = None
username = None
password = None
url = None
domaindir = None
target="wlidev1-0"
# Create the EG
def createEG( egName, egType):
print "Creating EG ", egName
eggen.FileConnGenerator.main([
"-inName", egName,
"-outfile", domaindir + "/" + "WLI" + egType + "EG_" + egName + ".jar"])
# deploy the EG
# egType has to be "File", "Jms", "Email" or "Timer"
# (that's the convention the console uses)
def deployEG( egName, egType ):
print "Deploying ", egName
try:
wlst.deploy( "WLI" + egType + "EG_" + egName, domaindir + "/" + "WLI" + egType + "EG_" + egName + ".jar", target )
except Exception,e:
wlst.dumpStack()
def undeployEG( egName ):
print "Undeploying ", egName
try:
wlst.undeploy( domaindir + "/" + egName + ".jar",target )
except Exception, e:
print "No such app name " + egName + " on " +str(target)
# Deploy the rules
def deployRules( egName, d ):
print "Creating rules for ", egName
egCfgMBean = wlst.getTarget("FileEventGenerators/FileEventGenerators")
egMBean = egCfgMBean.newFileEventGenConfigurationMBean( egName )
cData = jarray.zeros( 1, wlicfg.FileEventGenChannelConfiguration )
cData[0] = wlicfg.FileEventGenChannelConfiguration()
if d.has_key('Channel'):
cData[0].setChannel( d['Channel'] )
if d.has_key('ChannelType'):
cData[0].setChannelType(d['ChannelType'])
if d.has_key('encoding'):
cData[0].setEncoding(d['encoding'])
if d.has_key('FtpHostName'):
cData[0].setFtpHostName(d['FtpHostName'])
if d.has_key('FtpUserName'):
cData[0].setFtpUserName(d['FtpUserName'])
if d.has_key('FtpPassword'):
cData[0].setFtpPassword(d['FtpPassword'])
if d.has_key('FtpPasswordAlias'):
cData[0].setFtpPasswordAlias(d['FtpPasswordAlias'])
if d.has_key('FtpLocalDirectory'):
cData[0].setFtpLocalDirectory(d['FtpLocalDirectory'])
if d.has_key('FileDirectory'):
cData[0].setFileDirectory(d['FileDirectory'])
if d.has_key('ScanSubdirs'):
cData[0].setScanSubdirs(Boolean(d['ScanSubdirs']))
if d.has_key('FilePattern'):
cData[0].setFilePattern(d['FilePattern'])
if d.has_key('SortByArrival'):
cData[0].setSortByArrival(Boolean(d['SortByArrival']))
if d.has_key('ReadLimit'):
cData[0].setReadLimit(Integer.parseInt((d['ReadLimit'])))
if d.has_key('PostRead'):
cData[0].setPostRead(d['PostRead'])
if d.has_key('ArchiveDirectory'):
cData[0].setArchiveDirectory(d['ArchiveDirectory'])
if d.has_key('ErrorDirectory'):
cData[0].setErrorDirectory(d['ErrorDirectory'])
if d.has_key('Comment'):
cData[0].setComment(d['Comment'])
if d.has_key('PassByFileName'):
cData[0].setPassByFileName(Boolean(d['PassByFileName']))
if d.has_key('PollingInterval'):
cData[0].setPollingInterval(Integer.parseInt(d['PollingInterval']))
if d.has_key('PublishAsUser'):
cData[0].setPublishAsUser(d['PublishAsUser'])
print cData
try:
egMBean.setChannels(cData)
except Exception ,e:
wlst.dumpStack()
wlst.saveDomain()
# main
def main():
global domaindir, username, password, url
try:
opts, args = getopt.getopt( sys.argv[1:], "n:p:u:d:", "" )
except getopt.GetoptError:
print "invalid option"
sys.exit(2)
for o, a in opts:
if o == "-n":
username = a
if o == "-p":
password = a
if o == "-u":
url = a
if o == "-d":
domaindir = a
print domaindir
if ((username == None) or (password == None) or (url == None) or (domaindir == None)):
print "Bad or Missing parameters"
sys.exit(2)
print 'Connecting .... '
wlst.connect( username, password, url )
# wlst.debug()
factory = DocumentBuilderFactory.newInstance();
try :
factory = DocumentBuilderFactory.newInstance()
builder = factory.newDocumentBuilder()
inputx = FileInputStream(propertyFile)
document = builder.parse(inputx)
except Exception, e:
e.printStackTrace()
eglist = document.getElementsByTagName("FileEG")
for eg in range(eglist.getLength()):
egElement = eglist.item(eg)
nnp = egElement.getAttributes()
egName=nnp.item(0).getNodeValue()
print egName
undeployEG(egName)
createEG(egName,"File")
#deploy EGs for each FileEG node
try:
deployEG( egName, "File" )
except Exception ,e:
wlst.dumpStack()
#get ChannelRule Node attributes
nl=egElement.getElementsByTagName("ChannelRule")
for p in range(nl.getLength()):
nnm=nl.item(p).getAttributes()
d={}
for q in range(nnm.getLength()):
node=nnm.item(q)
d[node.getNodeName()]=node.getNodeValue()
#there might be server ChannelRules for one fileEG
deployRules( egName, d )
# invoke main
if __name__ == "__main__":
main()
logs:
(wlsuser) wlidev1> ./create_eg.wli WLI-DEV
Buildfile: build.xml
clean:
[delete] Deleting directory /export/home/wli-auto/temp
init:
[mkdir] Created dir: /export/home/wli-auto/temp
deploy_egs:
[java] Welcome to Weblogic Server Administration Scripting Shell
[java] Type help() for help on available commands
[java] /data/WLI/user_projects/domains/WLI-DEV
[java] Connecting ....
[java] Connecting to weblogic server instance running at t3://wlidevadmin:7001 as username system ...
[java] Successfully connected to Admin Server 'wlidevadmin' that belongs to domain 'WLI-DEV'.
[java] StatusUpdateInterface_bs_ifp
[java] Undeploying StatusUpdateInterface_bs_ifp
[java] No such app name StatusUpdateInterface_bs_ifp on wlidev1-0
[java] Creating EG StatusUpdateInterface_bs_ifp
[java] Deploying StatusUpdateInterface_bs_ifp
[java] Deploying WLIFileEG_StatusUpdateInterface_bs_ifp from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_bs_ifp.jar ...
[java] ...Deployment Failed: weblogic.management.DeploymentException:
[java] Exception:weblogic.management.ApplicationException: start() failed.
[java] Module: WLIFileEG_StatusUpdateInterface_bs_ifp Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_bs_ifp,status=ACTIVATED)
[java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_bs_ifp.jar from WLIFileEG_StatusUpdateInterface_bs_ifp.jar:
[java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
[java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
[java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
[java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
[java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
[java] ... 24 more
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
[java] Creating rules for StatusUpdateInterface_bs_ifp
com.bea.wli.management.configuration.FileEventGenChannelConfiguration)
[java] StatusUpdateInterface_bs_st
[java] Undeploying StatusUpdateInterface_bs_st
[java] No such app name StatusUpdateInterface_bs_st on wlidev1-0
[java] Creating EG StatusUpdateInterface_bs_st
[java] Deploying StatusUpdateInterface_bs_st
[java] Deploying WLIFileEG_StatusUpdateInterface_bs_st from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_bs_st.jar ...
[java] .Deployment Failed: weblogic.management.DeploymentException:
[java] Exception:weblogic.management.ApplicationException: start() failed.
[java] Module: WLIFileEG_StatusUpdateInterface_bs_st Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_bs_st,status=ACTIVATED)
[java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_bs_st.jar from WLIFileEG_StatusUpdateInterface_bs_st.jar:
[java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
[java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
[java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
[java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
[java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
[java] ... 24 more
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
com.bea.wli.management.configuration.FileEventGenChannelConfiguration)
[java] StatusUpdateInterface_hnca_ifp
[java] Undeploying StatusUpdateInterface_hnca_ifp
[java] No such app name StatusUpdateInterface_hnca_ifp on wlidev1-0
[java] Creating EG StatusUpdateInterface_hnca_ifp
[java] Deploying StatusUpdateInterface_hnca_ifp
[java] Deploying WLIFileEG_StatusUpdateInterface_hnca_ifp from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_hnca_ifp.jar ...
[java] .Deployment Failed: weblogic.management.DeploymentException:
[java] Exception:weblogic.management.ApplicationException: start() failed.
[java] Module: WLIFileEG_StatusUpdateInterface_hnca_ifp Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_hnca_ifp,status=ACTIVATED)
[java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_hnca_ifp.jar from WLIFileEG_StatusUpdateInterface_hnca_ifp.jar:
[java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
[java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
[java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
[java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
[java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
[java] ... 24 more
[java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
[java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
[java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
[java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
[java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
[java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
[java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
[java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
[java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
[java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
[java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
[java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
[java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
BUILD SUCCESSFUL
Total time: 29 secondsHi,
In MRP2 view the "Procurrement type" should be "F" for creation of PO for any material and Purchasing view also should be extended for that.
First you extend the MRP views in MM50 if views are not available and maintain the procurement type indicator as F
If MRP views are available definitely it will show you the "procurement type" field.
If the above solution is not useful to you please let me know what is the exact error message you are getting in creation of PO.
regards,
KN -
Sales order for variant material using BAPI "BAPI_SALESORDER_CREATEFROMDAT2
Hi,
I am using BAPI "BAPI_SALESORDER_CREATEFROMDAT2" for creating salesorder for variant configuration material. I am able to create a salesorder when have only one variant material, However when i have more than one variant material getting errors. Can some one tell me how to fill the material data in the config tables provided in the BAPI.
Thanks.Hai Vinit
Check the following Code & also Check the following Standard Programs
L2032U12
LCRMAU01
LCRMAU11
LZOC1U01
MWWMJF32
RBUS2032
Structures for order header
DATA: l_order_header_in LIKE bapisdhd1,
l_order_header_inx LIKE bapisdhd1x,
Tables for order items
li_order_items_in TYPE STANDARD TABLE OF bapisditm,
li_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
Order partners
li_order_partners TYPE STANDARD TABLE OF bapiparnr,
*Schedule lines
li_ORDER_SCHEDULES_IN TYPE STANDARD TABLE OF BAPISCHDL,
li_ORDER_SCHEDULES_INX TYPE STANDARD TABLE OF BAPISCHDLX,
*-condition type
li_ORDER_CONDITIONS_IN TYPE STANDARD TABLE OF BAPICOND,
li_ORDER_CONDITIONS_INX TYPE STANDARD TABLE OF BAPICONDX,
Return table from bapi call
li_return TYPE STANDARD TABLE OF bapiret2,
Sales document number
l_vbeln LIKE bapivbeln-vbeln,
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = l_order_header_in
order_header_inx = l_order_header_inx
testrun = 'X'
IMPORTING
salesdocument = l_vbeln
TABLES
return = li_return
order_items_in = li_order_items_in
order_items_inx = li_order_items_inx
order_partners = li_order_partners
ORDER_SCHEDULES_IN = li_ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX = li_ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN = li_ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX = li_ORDER_CONDITIONS_INX.
Thanks & Regards
Sreenivasulu P -
Settlement Rule for service order created based on sales order
Hello,
I am creating a sales order and entering WBS as an cost object.
After creation of sales order the Service order is created.
For service order type in the settlement profile WBS is maintained.
But the system is not copying the WBS in Service order which is maintained in sales order.
Can any body have an idea on this?
Regards
AbhijitHi,
As far as my understanding when service order is created through sales order then settlement rule is SDI and its item number
Not what you maintained in account assignment tab of sales order
When you settle service order then cost will settle on sales document and its item and then latter you settle sales order then settlement receiver is WBS element which you maintained in account assignment tab
Kapil
Maybe you are looking for
-
Need to add xml tag in the request message
Hello Experts, Need ur help. Right now i am working on the scenario Http -> to -> Proxy. Whatever request i am getting is not having XML tag in it, and because of that my mapping is failing. Can you tell me that how can i add XML tag in my request so
-
I need some advice on connections....
I have been reading everywhere and can't seem to find exactly what I am looking for.. I have a Bell Aliant Fibe Router, a Time Capsule and an Airport Extreme.. Currently I have my Bell router in bridge mode and the TC hard wired to it. Using the TC a
-
Can you send audio files by mms?
thank you in advance.
-
Does Surface Pen Work on any windows 8 touch screen enabled devices?
i have a acer aspire with a touch screen monitor and I was just wondering if the surface pen will work on it. (It runs windows 8)
-
Update? wrt54g v.2
Do I need to update or download anything for this. I have had it for a year or 2 and have not preformed any updated. I am not haveing any trouble with this model wrt54g v 2. Thanks