Error on startup with B1 Usability Add-on
We are currently running B1UP Version 3.0.1.1 on SAP B1 2007A PL41. We are getting errors on start up and the B1 Usability package is not running properly. I've tried contacting Boyum IT support but they are gone for the day (they're in Denmark) and it's crucial to get this up and running asap so I'm hoping someone can help.
When all but one of our users log in this morning, we are getting one or both of the following errors. When starting up, the B1 Usability Package goes through the Test of Components but when it gets to step 3/4 an error appears that says "Sorry. An error occurred while making a connection to the client from the add-on: B1 Usability Package. Contact the supplier if this happens again. Do you want to see a detailed error message?" I click Yes and get an error message that says:
System.IO.IOException: Cannot create a file when that file already exists.
at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO._Error.WinIOError()
at System.IO.File.Move(String sourceFileName, String destFileName)
at SBO.Logging.Log.ArchiveFile()
at SBO.Logging.Log.WriteEntry(String messsage, LogEntryType type, Int32 eventId, Int32 category)
at SBO.AddonLogic.Addon.LicenseSystemCheck()
at SBO.AddonLogic.Addon.Start(AddonData addonData,AddonModules addonModules)
Source: mscorlib | Method failed: Void WinIOError(Int32, System. String)
Another error that a couple of users reported on start up this morning was a System Message that said "Addon BOY_USABILITY failed to pass license check: Invalid character in a Base-64 string."
In both cases, while the B1 Usability looks like it's running (the Add On Manager says it's connected and you can see the B1 Usability options in the Add-Ons folder in the main menu), none of the modules are actually working (item placements, B1 Validation, menu items etc). For example, if you click a custom menu item, nothing happens. I also cannot open any of the B1 Usability menu items from the Add-ons menu.
This morning, I added a new UDF to the Recurring Invoices Header table (which is one of the User Tables created by B1 Usability). I had previously done this on my test database and there were no problems. Also, the first time I logged back in after adding the UDF I didn't get any error. Just to be sure though, I went back and deleted the new UDF and tried logging in again but I am still getting the error.
Does anyone have any suggestions?
Thank you for your suggestions. Fortunately someone from Boyum IT just called me back (I guess they were working late).
The problem was that their website was down and the add-on wasn't able to do the license check because of that. The website is back up right now so the add-on is working again. If I upgrade to a later version of B1UP then this error will not happen when the website is down.
Similar Messages
-
Webserver errors on startup with AM sdk and UWC
Installed JES3 (2005Q1) messaging mmp and mesg express proxy, cal server, web server, AM sdk and Comms express (uwc) onto a machine.
for some reason everytime we start the webserver we get "Message:Service does not exist" com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:413)
We have been through the docs and configured all the components several times - and we can't spot what we have screwed up (we did SDK+config web container). Any one got any ideas? Support have been looking at it for a couple of days as well and haven't got anywhere :-(
It seems to be uwc causing the crash but it looks to be access manager related hence why I'm asking here.
Thanks,
Darren
full log from startup of webserver
[23/Jun/2005:17:11:43] info (25481): CORE1116: Sun ONE Web Server 6.1SP4 B12/16/2004 11:42
[23/Jun/2005:17:11:43] info (25483): CORE3016: daemon is running as super-user
[23/Jun/2005:17:11:43] info (25483): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_01] from [Sun Microsystems Inc.]
[23/Jun/2005:17:11:46] info (25483): WEB0100: Loading web module in virtual server [https-msgproxyexb.kent.ac.uk] at [uwc]
[23/Jun/2005:17:11:46] info (25483): WEB0110: Ignoring invalid property [allowLinking] = [true]
[23/Jun/2005:17:11:46] info (25483): WEB0100: Loading web module in virtual server [https-msgproxyexb.kent.ac.uk] at [search]
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: Message:Service does not exist
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:413)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceManager.checkServiceNameAndVersion(ServiceManager.java:443)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:97)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:458)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManagerImpl.<init>(ServiceConfigManagerImpl.java:102)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManagerImpl.getInstance(ServiceConfigManagerImpl.java:405)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManager.<init>(ServiceConfigManager.java:121)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.ConfigManagerUMS.<init>(ConfigManagerUMS.java:992)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.ConfigManagerUMS.getConfigManager(ConfigManagerUMS.java:121)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.TemplateManager.<init>(TemplateManager.java:133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.TemplateManager.getTemplateManager(TemplateManager.java:151)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.ldap.DirectoryManager.getSearchFilterFromTemplate(DirectoryManager.java:3458)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.AMSearchFilterManager.getSearchFilter(AMSearchFilterManager.java:125)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.AMStoreConnection.getOrganizationDN(AMStoreConnection.java:593)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCDomainManager.loadDomainFromIS(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCDomainManager.loadDomain(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.loadDefaultDomainProperties(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.init(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.UWCServletBase.init(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: Message:Service does not exist
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:413)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceManager.checkServiceNameAndVersion(ServiceManager.java:443)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:97)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:458)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManagerImpl.<init>(ServiceConfigManagerImpl.java:102)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManagerImpl.getInstance(ServiceConfigManagerImpl.java:405)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.identity.sm.ServiceConfigManager.<init>(ServiceConfigManager.java:121)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.ConfigManagerUMS.<init>(ConfigManagerUMS.java:992)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.ConfigManagerUMS.getConfigManager(ConfigManagerUMS.java:121)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.TemplateManager.<init>(TemplateManager.java:133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ums.TemplateManager.getTemplateManager(TemplateManager.java:151)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.ldap.DirectoryManager.getSearchFilterFromTemplate(DirectoryManager.java:3458)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.AMSearchFilterManager.getSearchFilter(AMSearchFilterManager.java:125)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.am.sdk.AMStoreConnection.getOrganizationDN(AMStoreConnection.java:593)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCDomainManager.loadDomainFromIS(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCDomainManager.getAttributeValue(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.loadUWCDomainConfig(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.loadDomainConfig(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.loadDefaultDomainProperties(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.common.util.UWCConfigManager.init(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.sun.uwc.UWCServletBase.init(Unknown Source)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
[23/Jun/2005:17:11:53] warning (25483): CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[23/Jun/2005:17:11:55] info (25483): HTTP3072: [LS ls1] http://msgproxyexb.kent.ac.uk:80 ready to accept requests
[23/Jun/2005:17:11:55] info (25483): CORE3274: successful server startupThe problem is that you have two forms. Put a single form.
-
I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error... Help!!
If you have installed a new hard drive , you will need to have formatted it in Disk Utility correctly. This may explain your problem.
Boot into your 10.6 Install disk again at the top menubar > Utilities > select Disk utility and in there select your new hard drive, and select the tab Erase and choose to make the format as Mac OS Extended Journaled. When that is finished look in the main window to make sure that the partition map scheme says GUID Partition Table.
Now go to the Restore tab and reinstall from your backup. -
HP dv4-1225dx "Hard Disk Error" 3F1 on startup with eSATA HDD attached
The whole internet is void of information on this specific error code, so here it is, lo and behold, the ONLY English-language Google result for this error message:
Hard Disk Error
Please run the Hard Disk Test in System Diagnostics.
Error code:
Hard Disk 1 (3F1)
F2 System Diagnostics
For more information, please visit: (illegible due to colored text)
Specifically, the "Hard Disk 1 (3F1)" part, that's nowhere to be found online. Tons of pages about 3F0, apparently the primary hard disk. No, this is an error regarding the secondary hard disk, attached via eSATA.
Problem is, there's NOTHING wrong with the attached drive, other than this error on startup. No SMART failures. Comes up and works fine in Windows. Scanned 100% OK. It'd be nice if there were a way to bypass this error automatically, but I always have to hit F2, then Esc to abort its forced diagnostic routine.
It's a WD My Book Studio, 750gb, attached via eSATA. Doesn't happen if I leave it unplugged during startup... but SATA is a connection that likes to be present on startup. The system, as in the title, is a dv4-1225dx laptop, running Windows Home Server (Server 2003), but previously running Windows 7 Home Premium. Vista is evil.
It's also my home server, as of about yesterday (when I set it up and started getting this message). The system seems to crash pretty routinely over the past few days and every time it reboots, it hangs at that stupid "Hard Disk Error" message. Not a pretty sight when I'm away from home and want to access something, like my email. Is there a way around this message hanging the system?
edit: Not to mention the world's most buggy fan-control algorithm, worst heatpipe design on the planet, no AHCI mode control, and terrible system management (battery went dead on you at 40%? tough... remove battery to continue using your computer). LOOOOTS of bugs in this terrible BIOS.Thanks for the link, it helps clarify that there's a difference between "3F1" and "301" - hard disk error and SMART error. In other words, it's reporting a generic "Error", not even that the drive may be/is failing.
In this case, the drive isn't failing, at all. It's a BIOS bug.
I put the drive on an ExpressCard eSATA controller, and it works fine. Unfortunately, since I'm the only one using this sort of configuration and getting this error, I imagine there won't be any work done to fix the bug -
I am giving away my windows XP laptop to my 80 year old Mom and deleted itunes and ipod software.
Now getting APAgent.exe error dnssd.dll with the suggestion to reinstall. How do I remove the error? I don't want to reinstall on this laptop.Did you uninstall Bonjour from the PC? Airport software uses Bonjour, and it looks like your Airport base station agent is complaining about the missing Bonjour (dnssd.dll is a Bonjour file).
Is your Mom going to be using the Airport capabilities of the laptop? If not, it might be easiest just to uninstall the Airport utility and/or other related Airport software. -
Error on startup "dynamiclink manager has stopped working" CS6
So I bought the CS6 master collection, but keep on getting an error on startup of my programs. When I open After effects, Photoshop, Premier Pro, Audition, etc... I get the error "Dynamiclinkmanager has stopped working". The message appears on start up of the program, and the only way to get in is to keep on pressing "close the program" for few min until it loads. It is very annoying and takes forever to open a program. I've already tried uninstalling and re-installing, and that hasn't worked. Here are a few screenshots of the error:
And here is what it says when you select "view problem details" :
"Problem signature:
Problem Event Name: APPCRASH
Application Name: dynamiclinkmanager.exe
Application Version: 6.0.0.0
Application Timestamp: 4f44797c
Fault Module Name: cwalsp.dll
Fault Module Version: 2.8.13.1
Fault Module Timestamp: 5216c630
Exception Code: c0000005
Exception Offset: 00017914
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789"
Tech specs of my laptop:
Windows 7 Professional
Intel core 2 duo processor
8 gig RAM
64-bit Operating System
I have no idea how to fix this and it's driving me CRAZY.
Thanks,
SpencerHad the same problem with conflict between CS6 (Photoshop, Premier, After Effects, etc.] and Net Nanny. Solution was as follows:
1. Log onto Net Nanny Admin Tools
2. Click on Application Exceptions
3. Click Add
4. Browse to folder containing "dynamiclinkmanager.exe". On my computer (Windows 7 Pro) it was located in
C:\Program Files (x86)\Common Files\Adobe\dynamiclink\CS6
[I do have dynamiclinkmanager.exe elsewhere, but Net Nanny only allows you to identify a given file name once]
5. Select dynamiclinkmanger.exe, Open, OK
6. Repeat steps 3 to 5 but this time for "dynamiclinkmediaserver.exe" which I found in
C:\Program Files (x86)\Common Files\Adobe\dynamiclinkmediaserver\1.0
7. Click OK to accept application exceptions
8. Exit Net Nanny Admin Tools
7. On my computer Photoshop would now load without incident, but if necessary reboot.
NOTE: Once I solved the dynamiclinkmanager stopped problem I then encountered an Adobe Media Core stopped problem when I started After Effects and Premier. To resolve this second problem with Net Nanny I repeated the above steps adding the following application exception:
"Adobe QT32 Server.exe"
which I found in
C:\Program Files (x86)\Common Files\Adobe\dynamiclinkmediaserver\1.0
[Again there are multiple copies of "Adobe QT32 Server.exe" but Net Nanny accepts only one, and I selected the one in "Program Files (x86)" and not the ones in "Program Files" because of this is where I also found dynamiclinkmanager.exe. All works fine now.]
Hope this works for you. -
BLACK SCREEN startup with 3 beeps, FREEZES when power unplugged, IF IT BOOTS splash screen freezes, OVERHEATING REQUIRED TO BOOT - 0x7B, Event 41 kernel-powe
Issue: One day I unplug the power, the screen freezes and I get frozen music sound. I shut down, start up, I get 3 beeps (1 short 2 long), which indicates a Video failure according to the Thinkpad Laptop beep code list.
How I solve the issue day-to-day: I turn the heat up - I disconnect the battery and hard drive and plug in the power then turn it on. I will wait until the underneath is searing hot with a blanket blocking the fan's flow of air, I mean way hot because any cooler and it won't start. Plug stuff back in, Hard drive first, Battery second, turn off with power button hold, unplug power, replug power.
I turn it on, no beeps, it goes past the first Lenovo screen, then gives me a prompt because it "didn't shut down properly" and continue regular startup. What happens next is the Windows logo appears, and just as the animated windows logo starts to move (you see 2 small colored dots on the screen), it freezes. I see this every time, I know naturally that it means that the laptop is still too hot to go past that point, so I shut it down and try again. After about 5 - 10 tries it will go past the splash screen and into the login area, then it's all fine.
Sometimes when I unplug the power from the back by accident it will freeze. By accident I mean that the connector wiggles it's self out easily. This unplug freezing thing started happening about 1 week before the 3 beep black screen problem started rolling, so I'm putting 2 together.
Errors:
I got a Blue Screen of Death the first time I started it up with the overheating ritual, but I never got it since. It was 0X7B. I ended up changing a setting in BIOS from AHCI to Compatibility Mode, and I passed everything without the BSOD again. I have always had it on AHCI.
I got another Blue Screen of Death about a week ago, but came as it was on already and I had been using it, and said something about disabling Cache or Shadowing in BIOS. I never got it since.
BIOS:
Also, the time was set to 1988 or something in the BIOS.
Event Viewer events found:
1. Kernel-Power, Summary page.
There are critical events for a few things like Kernel-Power, Event ID 41, Task Category (63). There are 19 of them, each day 1 or 2 of them but mostly 1, so this maybe corresponds to my daily ritual.
"The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
2. Kernel-Processor-Power - Event ID 37, task category (7)
"The speed of processor 1 in group 0 is being limited by system firmware. The processor has been in this reduced performance state for 71 seconds since the last report."
3. LMS - HCMI - Event ID 2, Task Category: none
"LMS Service cannot connect to HECI driver".
I came across a very sluggish performing control panel for Nvidia before and after this problem, and I tried installing a newer version, which I had to jump through a few hoops to do, like uninstalling first, not just updating. At first it said that the driver wasnt made for the system, or that it wasnt compatible or something, which was wrong. I made it work somehow, but it was still sluggish after install. I rolled it back to an earlier driver, and now it works fine oddly. No sluggish performance / slight freeze window thing going on. No problem at all.
MSCONFIG.exe, Boot Advanced Options: I have tried twice to change this 1 setting, check box "Number of processors" and change to 2 processors, because I do have 2 processors. I have been able to change this in the past, but it does not save the setting now, and I believe this option was selected before I started having problems, and settings did not disappear then.
What could this be. The small round BIOS battery? The video card like everyone presumes? (I.E. the entire motherboard replacement), Software? The wiggly power input area? (Not enough power getting in?), Firmware of some sort? The BIOS software being wrong?
SYSTEM INFO:
Thinkpad T61p 6457-A24, Intel core 2 duo (T7700) 2.4GHz, Intel 120GB SSD 6Gb/s, NVIDIA Quadro FX 570M (256 MB),
Windows 7 64 bit Home Premium (6.1, Build 7601), BIOS Ver 1.00PARTTBLx
Display: 1680 x 1050 (32 bit 60 Hz), Integrated RAMDAC, Main driver: nvd3dumx.dll,nvwgf2umx,nvwgf2,
Version 8.17.12.9688, Date 5/31/2012, DDI version 10, Driver model WDDM 1.1T61-Elwood wrote:
Laptops of all Brands using Nvidia GPUsmade from 2007-2008 are faulty.
You wont get good Nvidia ones on Ebay/forumes anywhere.
I'd beg to differ on both accounts.
*61 series nVidia-based ThinkPads from late January through July of 2008 are a 50/50 shot, since the old chips were mixed with the new ones. Any machine built in August and later can be deemed "safe".
As for the forums (I don't do feebay) there are people who sell genuine, properly-tested planars. However, these do not come at bargain basement prices, and with a good reason if I may add.
Good luck.
Cheers,
George
In daily use: R60F, R500F, T61, T410
Collecting dust: T60
Enjoying retirement: A31p, T42p,
Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you. -
Brightness control at startup with systemd
I finally upgraded to systemd (I know... a bit later than I should have), and the transistion has been smooth, except for enabling brightness controll at boot.
I currently have a bit of a hack working to enable brightness control on my Dell XPS 13 ultrabook. I have two backlight interfaces (/sys/class/backlight/intel_backlight and /sys/class/backlight/acpi_video0), and I have found that the only way to alter my screen brightness is to set the intel_backlight brightness value to 0 and then alter the brightness file under the acpi_video0 interface. I must always write the 0 to the intel_backlight/brightness file, even if it already contains 0, to enable brightness control through acpi_video0.
I had had this code in my rc.local previously, and it worked exactly as I needed to enable brightness control:
#!/bin/bash
# set intel interface to 0, allowing acpi interface to take precedence
echo 0 > /sys/class/backlight/intel_backlight/brightness
# set the permissions of the acpi brightness file for video group (me) regular user modification
chgrp video /sys/class/backlight/acpi_video0/brightness
chmod 664 /sys/class/backlight/acpi_video0/brightness
# initialize brightness to a low level
echo 3 > /sys/class/backlight/acpi_video0/brightness
exit 0
Currently when I run this script normally it grants me the brightness control I desire through the modification of /sys/class/backlight/acpi_video0/brightness. I have made this script into a systemd service initiated at startup, with the service file below:
[Unit]
Description=Brightness Control Initialization
[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/bright_init
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
My issue is that although the service is initiated at startup without error, my brightness control does not function like it does when I run the script manually myself. I have verified that systemd considers the service to have run successfully after startup, and I have also enabled both the multi-user.target and above service.
My questions are twofold:
1. Is there a better way to allow brightness control other than the somewhat hacky method of zeroing the /sys/class/backlight/intel_backlight/brightness file with the above script?
2. And does anyone have an idea as to why my service doesn't work, even though I can run the script after startup and it functions as I desire?
Last edited by tyler.heck (2012-11-16 01:45:46)It is interesting to see that this is working for you. I had to add OWNER="root" to the rule. Otherwise when testing the rule with `udevadm test` I always recieved a permission denied error. But even with OWNER="root" Udev did not actually write the ATTR{brightness}="2" into the file.
Manually doing that by echo 2 > ... works well. I searched a bit on this topic and found a thread on the Gentoo forum where they say that it is not wise to use Udev for writing anything to /sys. Instead you should use Udev to run a script that does that:
[orschiro@thinkpad ~]$ cat /etc/udev/rules.d/50-powersave.rules
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="/home/orschiro/Scripts/powersaving battery"
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="/home/orschiro/Scripts/powersaving AC"
[orschiro@thinkpad ~]$ cat /usr/local/bin/powersaving
#!/bin/sh
case $1 in
battery)
echo "Running powersaving on AC in 3 seconds"
sleep 3
# screen power saving"
echo 200000 > /sys/class/backlight/intel_backlight/brightness
AC)
echo "Running powersaving on battery in 3 seconds"
sleep 3
# screen power saving
echo 4270725 > /sys/class/backlight/intel_backlight/brightness
esac
Last edited by orschiro (2013-03-01 15:29:02) -
After Effects Error message @ Startup, NEW Macbook NEED HELP
So I'm working with a Macbook Pro Retina Mid 2012, I just bought it,
Processor 2.6 GHz Intel Core i7
Memory 16 GB 1600 MHz DDR3
Graphics NVIDIA GeForce GT 650M 1024 MB
Software OS X 10.8.2
Installed the most up to date CUDA Mac Driver: CUDA 5.0.37 driver for MAC
After Effects was running fine -no errors at startup - when I didn't have the GPU CUDA enabled.
I found out that the NVIDIA GeForce GT 650M 1024 MB, is CUDA Enabled
So, I installed the CUDA 5.0.37 driver for MAC
I opened Terminal and ran a GPUSniffer to get the name of the Graphics card
I opened another window in terminal and ran a "sudo nano" command that listed the default supported Cards, I pasted my card name.
NOW I can choose GPU instead of CPU for Ray-tracing, WHICH IS GOOD, Its what I was trying to do. BUT something is still wrong because I keep getting an error message at startup: "After Effects error: Ray-traced 3D: Initial shader compile failed. (5070 :: 0)"
I DIDNT GET THIS ERROR BEFORE I INSTALLED & ENABLED "CUDA GPU"..............What is wrong?Don't manually manipulate that text file. That is unsupported, and you are on your own if you do so.
What you should have done is to install the 11.0.2 update to add the GPU acceleration of the ray-traced 3D renderer for your 650M:
http://blogs.adobe.com/aftereffects/2012/10/after-effects-cs6-11-0-2-update-bug-fixes-and- added-gpus-for-ray-traced-3d-renderer.html -
Unable to Copy and Paste XML View with BI Office Add In
Hi there,
I'm having issues with the BI Add-In for MS Office. I am able to connect and insert views from within Excel or Powerpoint. However when I log into Answers using my browser and copy a compound answer, I am unable to paste it back into excel or Powerpoint.
When I try to paste the view, I recieve the error "No Oracle BI view in clipboard".
So I assume the error is with capturing that information in the clipboard. I've tried with both Internet Explorer and Firefox.
Any help would be greatly appreciated...
I'm using:
Add-in v. 10.0.3
OBIEE 10.1.3.3.3
Thanks in advance,
Tom
Edited by: user11086798 on 3/06/2010 22:41Hi saichand, thanks for the link.
I've looked through that thread and the work around the poster comes up with is not actually Office integration. He is able to simply import an image into his powerpoint. It doesn't appear to be able to refresh the data that way. I am looking to be able to paste in a report definition so that the data can be updated.
Do you have any other suggestions?
Thanks in advance,
Tom -
I am using the latest Firefox (28.0) on Windows XP in a shared computer environment. Although I do not have Administrator access, I installed Firefox myself and can change whatever Firefox config settings I want (including about:config and mucking with the files in the installation directory).
I want to disable the tab that appears on Firefox startup, "Another program on your computer would like to modify Firefox with the following add-on". This tab usually appears once per day (the first time I startup Firefox each day). I want the tab not to appear at all, from now on.
The "another program" in question is some program that is used in the facility where I'm using the computer, so I can't just uninstall that program. Although this is a shared computer environment, they don't "wipe" the machine every day, just reboot. So the Firefox I installed is still there with all my config settings intact. As far as I know, I'm the only person who uses Firefox on this computer.
Solutions that don't work:
"Just click Continue" -- but then I still see the "Another program" tab every day, and don't want to see it.
"Click Remove in the Add-ons list" -- I removed the Add-on in question but the tab still appears every day.
I would like a solution that either eliminates the Add-on request for that particular application, or eliminates all such requests ("Another program...") regardless of what application requested it. The ideal solution would be if the request itself had a checkbox for "never ask this again" but, alas, no such luck.Gosh... I spent about an hour preparing a response, then accidentally did control-something or alt-something which took me back a page and I lost everything I typed (even after I clicked Forward to try to get back to where I was). If anyone knows of a config setting like "don't ever trash an entire page of user input unless the user explicitly confirms it", or, "keep form input data even if the user goes Back or Forward", I think that would be a great feature.
OK, back to the original question...
I appreciate the responses thus far, but I think there have been some misunderstandings. Maybe a multiple-choice version would help:
Question: Is there a way to suppress the appearance of the notification tab that says, "Another program on your computer would like to modify Firefox with the following add-on" (meaning, any request from another program to install an add-on is to be silently ignored and discarded)?
Answer:
(A) Yes, you can suppress that notification (please state how).
(B) No, but you can request that feature (please state where).
(C) No, you can't do that or request that feature.
That's basically my question in a nutshell. If the answer is (B), I might envision a boolean about:config setting like "extensions.allowProgrammaticAddonRequests" that defaults to "true" and can be set to "false" manually. I think that would be the most direct solution (if it were possible).
I will respond to some comments from above:
"I don't understand why you are using a mozilla.cfg file to lock those preferences when you can modify the preferences for your current Firefox profile via about:config" -- This is because the "other program" in question (iCafe Manager) was setting certain config options (browser.startup.homepage, and browser.newtab.url) on every reboot (which happens every morning at that facility). I got tired of manually changing the settings back every day. Using the above-mentioned files, I successfully defeated iCafe Manager's daily interference with those config settings. The other things (like stuff related to Socks tunnelling) I probably could have just set once in about:config but doing a lockPref seemed to do no harm. The settings for "enabledScopes" and "xpinstall" were to see if they'd help with the problem I originally asked about, but they did not.
"I would look in about:config to make sure those preference modifications are in effect" -- yes, I confirmed that the settings are in effect and locked. That much works as expected.
"A) removing the iCafe Toolbar extension from the Firefox Addons -> Extensions panel results in the "Another program" tab at startup" -- true, but I think it would be more accurate to say: while the toolbar extension is not installed (due to either having been removed, or, never having been installed at all), the "Another program" tab appears on at least the first startup of Firefox after every reboot.
"B) when you allow the installation it shows up as "(disabled)" in the Extensions list but the unwanted toolbar still shows up (correct?)" -- yes, correct.
"You could explain the problem to the system administrator of your facility" -- unfortunately, there's no administrator on site, only a person who makes sure the lights are on. They'll call a tech if there's a catastrophic problem (like the net connection goes dead). Since I installed Firefox myself, and since iCafe Manager is a program they installed, I don't think they'll go out of their way to help me with Firefox (especially if I'm trying to defeat iCafe Manager's attempts to interfere with Firefox). From their point of view, their systems are working just fine.
"allow the installation and then see if you can go to the Firefox Customize menu and HIDE the toolbar as a workaround" -- since I'm not in that facility now (and probably won't be again until this summer or so), I can't experiment with those systems now. But I do recall clicking just about everything I could, including "View - Toolbars" (which seems to be the same menu as when I right-click on a toolbar line). That menu allows hiding toolbars, but from my recollection, the offending toolbar was not displayed in the list, so I could not hide it that way. Also, the Customize menu ("View - Toolbars - Customize") seems to allow only modifications to a toolbar, and not a way to hide an entire toolbar.
"it might help if you could post a new troubleshooting information list after you allow the iCafe Toolbar installation" -- ok, that troubleshooting report is included below.
Thanks again for your help.
Application Basics
Name: Firefox
Version: 28.0
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0
Crash Reports for the Last 3 Days
All Crash Reports
Extensions
Name: iCafe Manager Toolbar
Version: 5.2.0.6
Enabled: false
ID: {C058FE28-1E07-4FD1-8092-046F8A964D12}
Important Modified Preferences
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.disk.smart_size_cached_value: 358400
browser.newtab.url: about:blank
browser.places.smartBookmarksVersion: 6
browser.sessionstore.upgradeBackup.latestBuildID: 20140314220517
browser.startup.homepage: http://www.google.com/ncr
browser.startup.homepage_override.buildID: 20140314220517
browser.startup.homepage_override.mstone: 28.0
dom.mozApps.used: true
extensions.lastAppVersion: 28.0
gfx.blacklist.direct2d: 3
gfx.blacklist.layers.direct3d10: 3
gfx.blacklist.layers.direct3d10-1: 3
gfx.blacklist.layers.direct3d9: 3
gfx.blacklist.layers.opengl: 3
gfx.blacklist.stagefright: 3
gfx.blacklist.suggested-driver-version: 6.1400.1000.5218
gfx.blacklist.webgl.angle: 3
gfx.blacklist.webgl.msaa: 3
gfx.blacklist.webgl.opengl: 3
network.cookie.prefsMigrated: true
network.websocket.enabled: false
places.database.lastMaintenance: 1398414928
places.history.enabled: false
places.history.expiration.transient_current_max_pages: 53428
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.npgoogleupdate: 1
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.sanitizeOnShutdown: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1396778909
Graphics
Adapter Description: Intel(R) G33/G31 Express Chipset Family
Adapter Drivers: igxprd32
Adapter RAM: Unknown
Device ID: 0x29c2
Direct2D Enabled: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
DirectWrite Enabled: false (0.0.0.0)
Driver Date: 11-3-2008
Driver Version: 6.14.10.5009
GPU #2 Active: false
GPU Accelerated Windows: 0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
WebGL Renderer: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
Vendor ID: 0x8086
windowLayerManagerRemote: false
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.3
Version in use: 4.10.3
NSS
Expected minimum version: 3.15.5 Basic ECC
Version in use: 3.15.5 Basic ECC
NSSSMIME
Expected minimum version: 3.15.5 Basic ECC
Version in use: 3.15.5 Basic ECC
NSSSSL
Expected minimum version: 3.15.5 Basic ECC
Version in use: 3.15.5 Basic ECC
NSSUTIL
Expected minimum version: 3.15.5
Version in use: 3.15.5 -
Error in Communicating with DCA Server
Hi,
I have Cisco LMS 2.6 and next modules:
1. CiscoWorks Common Services 3.0.6
2. Campus Manager 4.0.13
3. CiscoView 6.1.5
4. Device Fault Manager 2.0.13
5. Internetwork Performance Monitor 2.6.0
6. Integration Utility 1.6.0
7. Resource Manager Essentials 4.0.6
Windows Server 2003 SE SP2
I have some problems:
1)
When I try enter to Device and Credentials I get message "Error in communicating with DCA Server.
DCA Server may be down. Please start the DCA Server and then refresh the page."
I try to restart CiscoWorks Daemon Manager over Services.
I cannot get information a lot of time from command "pdshow". Only black screen on the window CMD.
Or I get error
C:\Documents and Settings\zykov>pdshow
ERROR: GetReply failed:
ERROR: Daemon Manager startup in progress. Please wait.
dcr.log
[ Чт фев 18 16:51:28 YEKT 2010 ] [Ajp13Processor[9009][4]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRDatabaseAccess - Severe error in DCRDatabaseAccess initialization - JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s). 0 JZ00L
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRSystem - Unable to Instantiate DCRDataManagement ObjectJZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
DCRServer.log
[ Thu Feb 18 21:10:41 YEKT 2010 ] Starting DCR Server...
[ Thu Feb 18 21:10:43 YEKT 2010 ] No restore has happened
dcrclient.log
[ Чт фев 18 20:50:49 YEKT 2010 ] [Ajp13Processor[9009][5]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
2) When I run Alerts and Activites I get error "An exception occurred. Please check the AAD.log file for further details."
AAD.log
18-фев-2010|21:30:10.291|ERROR|AAD|Ajp13Processor[9009][3]|AFDLaunchAction|perform|.|Error in calling getPartitionNamePMServercom.cisco.nm.xms.ctm.common.CTMException: Read timed out/Error in received response Connection reset
3) On the window Home of Common Services I have message "JRM server is down or inaccessible for this user"
I try reinstall last modules Campus Manager 4.0.13,
Device Fault Manager 2.0.13,
CiscoWorks Common Services 3.0.6.
But it cannot help me.
I think that this problems related. Yesterday all works correctly.
Thank you for your help.You are right the problem was related with antivirus.
After removal antivirus DCA Server started successfully.
Remains the question as to be without an antivirus program?
Also remains a problem in the window Alerts and Activites.
When I click on the Device Name field (for some devices) does not open Detailed Device View.
The window closes immediately after opening. -
Error in communicating with DCR server (Operations Manager 8.5)
Hi,
I just installed Operations Manager 8.5 on a new server. And, although I'm able to login to the OM, I'm unable to add any devices to the DCR. When attempting to add the device the following error is returned:
"Error in communicating with DCR Server
DCR Server may be down. Please start DCR server and then refresh the page. "
The same error is returned when an attempt is made toaccess the screen to change the mode (standalone/master/slave.) However, according to pdshow output DCRServer is up and running:
Process= DCRServer
State = Running normally
Pid = 9220
RC = 0
Signo = 0
Start = 7/29/2011 2:46:33 PM
Stop = Not applicable
Core = Not applicable
Info = DCRServer is up and running
I've browsed the site and tried all suggestions for LMS since I didn't see any for OM. No success.
Any/all suggestions are much appreciated.
Kind regards,
BartIt appears the answer is rather simple. According to a trusted source who works for a Cisco training partner, one must wait before even attempting a login into OM.
Apparently, it takes about 25 to 30 minutes for all the services to start. Any attempt to login to the OM may corrupt the database. This is based on CiscoWorks. When command "net stop crmdmgtd" is issued it takes about 5 minutes to stop the service and a confirmaiton that the service was stopped is displayed. However, when starting the service with "net start crmdmgtd" there is no confirmation that it started successfully. One may look into ":\ program Files\CSCOpx\objects\dmgt\ready" directory for a _lock file." As long as the lock file is present one shouldn't use the browser to login. However, I was advised the best approach is to restart the service and give it 30 minutes.
It worked for me
Kind regards,
Bart. -
Error in transmission with BBPSC01
I have typical problem where in
When ordered, SC created via BBPSC02 goes through without errors. But the cart that is created via BBPSC01 will have ' Error in Transmission, With an error 'SE142 please enter qunatity in line 3000111'. This error is coming from the backend in the RFC mode while debugging BBP_REQREQ_TRANSFER.
This happens only when number items in the cart are more than four, if the items were less than or equal to 4, follow on document is created even in case of BBPSC01.
We are implementing BADI for Follow-on-Document for service-category.
May I know 1.what could be the difference between these two templates.2.And where they exactly these dump the values 3. How could I go from here 4.what fields I need to look while debugging.
Input will be:
BBPSC02: User selects description item and the service button, enters the price, quantiy as 1 service unit and selects the a specific-service-Category
BBPSC01: Selects the Same category as in BBPSC02 enters the same data .
Thank you,
ManyamThank you.
This is a long code please bear with me. And provide your suggestion.
METHOD if_ex_bbp_create_req_back~fill_req_interface.
Method Parameters:
*LOGICAL_SYSTEM TYPE BBP_BACKEND_DEST-LOG_SYS OPTIONAL
*REQ_ITEMS TYPE BBP_REQ_ITEM_SPOOL
*REQ_ITEM_ACCOUNT TYPE BBP_REQ_ACCT_SPOOL
*REQ_ITEM_TEXT TYPE BBP_REQ_TEXT_SPOOL
*REQ_LIMITS TYPE BBP_REQ_LIMITS_SPOOL
*REQ_CONTRACT_LIMITS TYPE BBP_REQ_LIMITS_CONTR_SPOOL
*REQ_SERVICES TYPE BBP_REQ_SERV_SPOOL
*REQ_SERV_ACCOUNT TYPE BBP_REQ_SERV_ACC_SPOOL
*REQ_SERV_TEXT TYPE BBP_REQ_SERV_TEXT_SPOOL
*REQ_ADDRDELIVERY TYPE BBP_REQ_ADDRDELIVERY_SPOOL
This is the logic to create a Service Requisition based on a service
material group selected in the Shopping Cart. This logic is based on
SAP's standard function SPOOL_RQ_READ_BAPI_EXPORTS from which this
BADI is called.
INSERT FUNCTION SPOOL_RQ_READ_BAPI_EXPORTS TO REPROCESS DATA FOR
SERVICE SPECIAL REQUESTS. -- IOK 07/13/01
*function spool_rq_read_bapi_exports.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(REQNO) LIKE REQHEAD-REQNO
*" VALUE(REQUIS_NUMBER) LIKE BAPIEBANC-PREQ_NO
*" EXPORTING
*" VALUE(SKIP_ITEMS_WITH_ERROR) LIKE BAPIMMPARA-SELECTION
*" VALUE(LOGICAL_SYSTEM) LIKE BBP_BACKEND_DEST-LOG_SYS
*" TABLES
*" REQUISITION_ITEMS STRUCTURE BAPIEBANC
*" REQUISITION_ACCOUNT_ASSIGNMENT STRUCTURE BAPIEBKN
*" REQUISITION_ITEM_TEXT STRUCTURE BAPIEBANTX
*" REQUISITION_LIMITS STRUCTURE BAPIESUHC
*" REQUISITION_CONTRACT_LIMITS STRUCTURE BAPIESUCC
*" REQUISITION_SERVICES STRUCTURE BAPIESLLC
*" REQUISITION_SRV_ACCASS_VALUES STRUCTURE BAPIESKLC
*" RETURN STRUCTURE BAPIRETURN
*" REQUISITION_SERVICES_TEXT STRUCTURE BAPIESLLTX
*" REQUISITION_ADDRDELIVERY STRUCTURE BBPS_RQADDRDELIVERY_46
*" CONTROL_RECORD STRUCTURE BBP_CONTROL_RECORD
*" EXCEPTIONS
*" INTERNAL_ERROR
---- Data Declaration - from LBBP_BS_RQTOP -
- Header -
DATA: reqheader TYPE reqhead.
- Header services -
DATA: reqheaders TYPE reqheads.
- References -
TYPES: reqreferences_type TYPE reqref.
DATA: reqreferences TYPE STANDARD TABLE OF reqreferences_type
INITIAL SIZE 10.
DATA: l_reqreferences TYPE reqreferences_type,
x_reqreferences TYPE reqreferences_type.
- Administrative lines requirement request -
TYPES: reqlines_type TYPE reqline.
DATA: reqlines TYPE STANDARD TABLE OF reqlines_type
INITIAL SIZE 10.
DATA: l_reqlines TYPE reqlines_type.
- MRO-Lines requirement request -
TYPES: reqlinemas_type TYPE reqlinema_eci.
DATA: reqlinemas TYPE STANDARD TABLE OF reqlinemas_type
INITIAL SIZE 10.
DATA: l_reqlinemas TYPE reqlinemas_type.
- SRV-Lines requirement request -
TYPES: reqlinesrs_type TYPE bbps_reqlinesr_eci.
DATA: reqlinesrs TYPE STANDARD TABLE OF reqlinesrs_type
INITIAL SIZE 10.
DATA: l_reqlinesrs TYPE reqlinesrs_type.
- Texts requirement request -
TYPES: reqtexts_type TYPE reqtext.
DATA: reqtexts TYPE STANDARD TABLE OF reqtexts_type
INITIAL SIZE 10.
DATA: l_reqtexts TYPE reqtexts_type.
*- Delivery address
TYPES: reqaddress_type TYPE reqaddress.
DATA: reqaddress TYPE STANDARD TABLE OF reqaddress_type
INITIAL SIZE 10.
DATA: l_reqaddress TYPE reqaddress_type.
- Account assignment requirement request -
TYPES: reqaccts_type TYPE reqacct_470.
DATA: reqaccts TYPE STANDARD TABLE OF reqaccts_type
INITIAL SIZE 10.
DATA: l_reqaccts TYPE reqaccts_type.
- tablekey with the shortlife-line -
DATA: BEGIN OF shortkey,
client TYPE ec_client, "REQLINE-CLIENT,
reqno TYPE ec_reqno, "REQLINE-REQNO,
reqsline TYPE reqsline, "REQLINE-REQSLINE,
reqlline TYPE reqlline, "REQLINE-REQLLINE,
END OF shortkey.
- tablekey with the longlife-line -
DATA: BEGIN OF longkey,
client TYPE ec_client, "REQLINE-CLIENT,
reqno TYPE ec_reqno, "REQLINE-REQNO,
reqlline TYPE reqlline, "REQLINE-REQLLINE,
END OF longkey.
DATA: BEGIN OF bankey,
preq_no TYPE banfn, "BAPIEBAN-PREQ_NO,
preq_item TYPE bnfpo, "BAPIPOGN-PREQ_ITEM,
END OF bankey.
any other working fields
DATA: h_preq_item TYPE bnfpo, "BAPIEBANC-PREQ_ITEM,
h_srv_item TYPE bnfpo, "BAPIEBANC-PREQ_ITEM,
h_logsys TYPE log_system. "reqref-logical_system.
DATA: h_serial_no TYPE dzebkn. "BAPIEBKN-SERIAL_NO.
DATA: h_packno_item TYPE packno, "BAPIESLL-PCKG_NO,
h_packno_srv TYPE packno, "BAPIESLL-PCKG_NO,
h_introw TYPE srv_line_no, "BAPIESLL-LINE_NO,
h_serial_no_srv TYPE dzekkn, "BAPIESKN-SERIAL_NO,
h_srv_outl_created,
next TYPE i,
h_index LIKE sy-tabix,
h_wempf TYPE wempf. "bapiekkn-gr_rcpt.
------ End of std data declaration -
DATA: l_req_items TYPE bapiebanc,
l_req_item_account TYPE bapiebkn,
l_req_item_text TYPE bapiebantx,
l_req_limits TYPE bapiesuhc,
l_req_contract_limits TYPE bapiesucc,
l_req_services TYPE bapiesllc,
l_req_serv_account TYPE bapiesklc,
l_req_serv_text TYPE bapieslltx,
l_req_addrdelivery TYPE bbps_rqaddrdelivery_46.
DATA:
old_req_items TYPE STANDARD TABLE OF bapiebanc,
old_req_item_account TYPE STANDARD TABLE OF bapiebkn,
old_req_item_text TYPE STANDARD TABLE OF bapiebantx,
old_req_limits TYPE STANDARD TABLE OF bapiesuhc,
old_req_contract_limits TYPE STANDARD TABLE OF bapiesucc,
old_req_services TYPE STANDARD TABLE OF bapiesllc,
old_req_serv_account TYPE STANDARD TABLE OF bapiesklc,
old_req_serv_text TYPE STANDARD TABLE OF bapieslltx,
old_req_addrdelivery TYPE STANDARD TABLE OF
bbps_rqaddrdelivery_46.
DATA: l_mat_group TYPE comm_category-category_id.
DATA: f_change_required TYPE c,
f_limit_change TYPE c,
f_mat_sr_change TYPE c,
f_first_change TYPE c VALUE 'X'.
Data declaration for Shopping Cart number and PO number
DATA: reqno TYPE ec_reqno,
requis_number TYPE banfn.
DATA: l_current_item TYPE bnfpo,
line_item(5) TYPE n.
---- Begin Processing ----
DATA: l_requis_number TYPE banfn. "jms 022802
DEBUG TOOL ****** Goto SM50
*data: i type i value 1.
*while i <> 0.
i = i + 1.
*endwhile.
END DEBUG TOOL *******
Get Req Number and Shopping Cart Number
read table req_items into l_req_items index 1.
requis_number = l_req_items-preq_no.
select single reqno
into (reqno)
from reqref
where refnumber = requis_number.
read detailed data from the requirement request
call function 'BBP_REQREQ_GETDETAIL'
EXPORTING
reqno = reqno
IMPORTING
req_header = reqheader
req_header_srv = reqheaders
TABLES
req_reference = reqreferences
req_line = reqlines
req_line_mat = reqlinemas
req_line_srv = reqlinesrs
req_text = reqtexts
req_acct = reqaccts
req_address = reqaddress
EXCEPTIONS
not_found = 1
foreign_lock = 2
no_enqueue_possible = 3
others = 4.
if sy-subrc <> 0.
raise internal_error.
exit.
endif.
Begin JMS
PO_NUM = PO_HEADER-PO_NUMBER.
CMH Data declaration
TYPES: et_header TYPE bbp_pds_sc_header_d.
DATA: t_et_header TYPE STANDARD TABLE OF et_header INITIAL SIZE 0,
x_et_header TYPE et_header.
TYPES: et_item TYPE bbp_pds_sc_item_d.
DATA: t_et_item TYPE STANDARD TABLE OF et_item INITIAL SIZE 0,
x_et_item TYPE et_item.
TYPES: sc_header TYPE bbp_pds_sc_header_d.
DATA: x_sc_header TYPE sc_header.
TYPES: sc_is_pd TYPE xfeld.
DATA: l_sc_is_pd TYPE sc_is_pd.
TYPES: sc_item TYPE bbp_pds_sc_item_d.
DATA: t_sc_item TYPE STANDARD TABLE OF sc_item INITIAL SIZE 0,
x_sc_item TYPE sc_item.
TYPES: sc_account TYPE bbp_pds_acc.
DATA: t_sc_account TYPE STANDARD TABLE OF sc_account INITIAL SIZE 0,
x_sc_account TYPE sc_account.
TYPES: sc_partner TYPE bbp_pds_partner.
DATA: t_sc_partner TYPE STANDARD TABLE OF sc_partner INITIAL SIZE 0,
x_sc_partner TYPE sc_partner.
TYPES: sc_confirm TYPE bbp_pds_con.
DATA: t_sc_confirm TYPE STANDARD TABLE OF sc_confirm INITIAL SIZE 0,
x_sc_confirm TYPE sc_confirm.
TYPES: sc_longtext TYPE bbp_pds_longtext.
DATA: t_sc_longtext TYPE
STANDARD TABLE OF sc_longtext INITIAL SIZE 0,
x_sc_longtext TYPE sc_longtext.
TYPES: sc_limit TYPE bbp_pds_limit.
DATA: t_sc_limit TYPE STANDARD TABLE OF sc_limit INITIAL SIZE 0,
x_sc_limit TYPE sc_limit.
TYPES: sc_orgdata TYPE bbp_pds_org.
DATA: t_sc_orgdata TYPE
STANDARD TABLE OF sc_orgdata INITIAL SIZE 0,
x_sc_orgdata TYPE sc_orgdata.
TYPES: sc_tax TYPE bbp_pds_tax.
DATA: t_sc_tax TYPE STANDARD TABLE OF sc_tax INITIAL SIZE 0,
x_sc_tax TYPE sc_tax.
TYPES: sc_pridoc TYPE bbp_pds_prc.
DATA: t_sc_pridoc TYPE STANDARD TABLE OF sc_pridoc INITIAL SIZE 0,
x_sc_pridoc TYPE sc_pridoc.
TYPES: sc_messages TYPE bbp_pds_messages.
DATA: t_sc_messages TYPE
STANDARD TABLE OF sc_messages INITIAL SIZE 0,
x_sc_messages TYPE sc_messages.
TYPES: sc_actval TYPE bbp_pds_actval.
DATA: t_sc_actval TYPE STANDARD TABLE OF sc_actval INITIAL SIZE 0,
x_sc_actval TYPE sc_actval.
TYPES: sc_acc_actval TYPE bbp_pds_actval.
DATA: t_sc_acc_actval TYPE STANDARD TABLE OF sc_acc_actval
INITIAL SIZE 0,
x_sc_acc_actval TYPE sc_acc_actval.
TYPES: sc_header_rel TYPE bbp_pds_hrel.
DATA: t_sc_header_rel TYPE STANDARD TABLE OF sc_header_rel
INITIAL SIZE 0,
x_sc_header_rel TYPE sc_header_rel.
TYPES: sc_itmlim_rel TYPE bbp_pds_ilrel.
DATA: t_sc_itmlim_rel TYPE STANDARD TABLE OF sc_itmlim_rel
INITIAL SIZE 0,
x_sc_itmlim_rel TYPE sc_itmlim_rel.
TYPES: it_cuf_item_type TYPE bbps_cuf_item.
DATA: t_it_cuf_item TYPE STANDARD TABLE OF it_cuf_item_type
INITIAL SIZE 0,
x_it_cuf_item TYPE it_cuf_item_type.
- Contract limits -
TYPES: reqconlimits_type TYPE reqheads.
DATA: reqconlimits TYPE STANDARD TABLE OF reqconlimits_type
INITIAL SIZE 10.
DATA: l_reqconlimits TYPE reqconlimits_type.
DATA: lv_abort TYPE xfeld,
lv_is_pd TYPE xfeld,
lv_deliv_date LIKE sy-datum,
lv_tabix LIKE sy-tabix,
lv_line TYPE introw,
lv_msarg TYPE char200,
lv_sc_guid TYPE bbp_pdview_iap-header,
lv_req_guid TYPE bbp_pdview_iap-header.
DATA: x_requis_number TYPE bapiebanc.
IF NOT req_items[] IS INITIAL.
CLEAR l_requis_number.
READ TABLE req_items INTO x_requis_number INDEX 1.
l_requis_number = x_requis_number-preq_no.
requis_number = x_requis_number-preq_no.
ENDIF.
Get PO Guid from Backend Table.
SELECT SINGLE guid
INTO lv_req_guid
FROM bbp_pdbei
WHERE be_object_id = l_requis_number
AND be_object_type = 'BUS2105'.
Get Shopping Cart Guid from PO Guid
SELECT SINGLE header
INTO lv_sc_guid
FROM bbp_pdview_iap
WHERE guid = lv_req_guid.
Get detail from shopping cart
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
i_guid = lv_sc_guid
i_with_itemdata = 'X'
IMPORTING
e_header = x_sc_header
ev_is_pd = l_sc_is_pd
TABLES
e_item = t_sc_item
e_account = t_sc_account
e_partner = t_sc_partner
e_confirm = t_sc_confirm
e_longtext = t_sc_longtext
e_limit = t_sc_limit
e_orgdata = t_sc_orgdata
e_tax = t_sc_tax
e_pridoc = t_sc_pridoc
e_messages = t_sc_messages
e_actval = t_sc_actval
e_acc_actval = t_sc_acc_actval
e_header_rel = t_sc_header_rel
e_itmlim_rel = t_sc_itmlim_rel.
lv_is_pd = l_sc_is_pd.
message handling
IF NOT t_sc_messages[] IS INITIAL.
CALL FUNCTION 'BBP_BS_ADD_MESSAGES'
IMPORTING
ev_abort = lv_abort
TABLES
it_messages = t_sc_messages.
ENDIF.
if error occured set alert/ exception.
IF NOT lv_abort IS INITIAL.
CALL FUNCTION 'BBP_ALERT_SB_LOCAL'
EXPORTING
msgid = 'BBP_PD'
msgno = 280
msgarg1 = lv_msarg
EXCEPTIONS
invalid_parameters = 1
OTHERS = 2.
RAISE internal_error.
ENDIF.
map shopping cart in new structure into old structure to be able
to continue with the old coding
REFRESH t_sc_messages.
CALL FUNCTION 'BBP_SC_MAP_PD_TO_REQ'
EXPORTING
is_new_header = x_sc_header
IMPORTING
es_reqhead = reqheader
es_req_heads = reqheaders
es_cuf_header = is_cuf_header
TABLES
et_req_reference = reqreferences
et_req_line = reqlines
et_req_line_mat = reqlinemas
et_req_line_srv = reqlinesrs
et_req_text = reqtexts
et_req_acct = reqaccts
et_req_address = reqaddress
et_req_conlimit = reqconlimits
it_new_items = t_sc_item
it_account = t_sc_account
it_partner = t_sc_partner
it_longtext = t_sc_longtext
it_limit = t_sc_limit
it_orgdata = t_sc_orgdata
it_tax = t_sc_tax
it_actval = t_sc_actval
it_itmlim_rel = t_sc_itmlim_rel
et_messages = t_sc_messages.
et_cuf_item = it_cuf_item
et_cuf_acc = it_cuf_acc.
IF NOT t_sc_messages[] IS INITIAL.
message handling
CALL FUNCTION 'BBP_BS_ADD_MESSAGES'
IMPORTING
ev_abort = lv_abort
TABLES
it_messages = t_sc_messages.
ENDIF.
if error occured set alert/ exception.
IF NOT lv_abort IS INITIAL.
CALL FUNCTION 'BBP_ALERT_SB_LOCAL'
EXPORTING
msgid = 'BBP_PU'
msgno = 326
msgarg1 = lv_msarg
EXCEPTIONS
invalid_parameters = 1
OTHERS = 2.
RAISE internal_error.
ENDIF.
End insert 03/26/2003
ReqReferences doesn't list the PO item number. We'll need that to
associate the WBS to a Service Sub Item later. Let's put it in.
SORT reqreferences BY client refnumber reqlline.
LOOP AT reqreferences INTO x_reqreferences.
IF x_reqreferences-refline IS INITIAL.
IF l_requis_number = x_reqreferences-refnumber. "jms 022802
ADD 1 TO line_item.
ELSE.
l_requis_number = x_reqreferences-refnumber. "jms 022802
line_item = 1.
ENDIF.
Accumulate the line item
x_reqreferences-refline = line_item.
MODIFY reqreferences FROM x_reqreferences INDEX sy-tabix.
ENDIF.
ENDLOOP.
SORT reqlines BY client reqno reqlline.
SORT reqreferences BY client reqno reqlline counter.
SORT reqlinemas BY client reqno reqsline reqlline.
SORT reqlinesrs BY client reqno reqsline reqlline.
SORT reqaccts BY client reqno reqlline serial_no. " note 359605
CLEAR: h_preq_item.
CLEAR: h_srv_item, h_srv_outl_created,
h_packno_item, h_packno_srv, h_introw.
First, the Shopping Cart number should be extracted from REQREF table
based on the Req number.
take all items with the specific reference number
LOOP AT reqreferences
INTO l_reqreferences "iok 091701
WHERE refnumber EQ requis_number.
if logical_system is initial.
logical_system = l_reqreferences-logical_system.
endif.
MOVE-CORRESPONDING l_reqreferences TO longkey.
read table reqlines with key longkey binary search.
READ TABLE reqlines INTO l_reqlines "iok 091701
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
CHECK sy-subrc EQ 0.
h_preq_item = l_reqlines-reqsline+5(5).
clear h_preq_item.
Change line_type based on Material Group
add code here later.
CLEAR: f_change_required,
f_mat_sr_change,
f_limit_change.
SELECT SINGLE category_id
INTO l_mat_group
FROM comm_category
WHERE category_guid = l_reqlines-category.
Check if Services Special Request
IF l_reqlines-catalogid IS INITIAL AND
l_reqlines-product IS INITIAL AND
l_mat_group(1) = 'S' AND
l_reqlines-line_type = '1'. "Service Special Request
Set flags for future processing
l_reqlines-line_type = '3'.
f_change_required = 'X'.
f_limit_change = 'X'.
Check if Material Special Request
ELSEIF l_reqlines-catalogid IS INITIAL AND
l_reqlines-product IS INITIAL AND
l_mat_group(1) <> 'S' AND
l_reqlines-line_type = '1'. "Material Special Request
Set flags for future processing
f_change_required = 'X'.
f_mat_sr_change = 'X'.
ENDIF.
CHECK f_change_required = 'X'.
For Material Special Requests only need to select and store UNSPSC
code -- iok 092401
IF f_mat_sr_change = 'X'.
Get UNSPSC code (first hit) based on Material Group and store
in text id B05. iok 092101
READ TABLE req_items INTO l_req_items
WITH KEY preq_item = h_preq_item
mat_grp = l_mat_group.
READ TABLE req_item_text INTO l_req_item_text
WITH KEY preq_no = requis_number
preq_item = l_req_items-preq_item
text_id = 'B05'.
IF sy-subrc <> 0.
CLEAR l_req_item_text.
Find a UNSPSC Code from a Material Group .. even it's arbitrary
SELECT unspsc_code UP TO 1 ROWS
FROM zxl8_category_id
INTO l_req_item_text-text_line
WHERE category_id = l_mat_group.
ENDSELECT.
If nothing found then fill in a dummy UNSPSC. The first
letter of the Material will designate whether it's a Material
or Service.
IF sy-subrc NE 0.
Move the Material Group value into a holding variable
CONCATENATE l_mat_group(1) 'XXXXXXXX'
INTO l_req_item_text-text_line.
ENDIF.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B05'.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDIF.
CONTINUE. "to next item.
ENDIF.
IF f_first_change = 'X' AND f_limit_change = 'X'.
Save old P.Req. data and clear tables
old_req_items[] = req_items[].
old_req_item_account[] = req_item_account[].
old_req_item_text[] = req_item_text[].
old_req_limits[] = req_limits[].
old_req_contract_limits[] = req_contract_limits[].
old_req_services[] = req_services[].
old_req_serv_account[] = req_serv_account[].
old_req_serv_text[] = req_serv_text[].
old_req_addrdelivery[] = req_addrdelivery[].
REFRESH: req_items,
req_item_account,
req_item_text,
req_limits,
req_contract_limits,
req_services,
req_serv_account,
req_serv_text.
req_addrdelivery.
CLEAR f_first_change.
ENDIF.
Limit
IF l_reqlines-line_type EQ '3'.
and not reqheaders-limit is initial.
DATA: l_reqreferences_temp TYPE reqreferences_type.
+JMS 2/26/2002
CLEAR l_reqreferences_temp.
READ TABLE reqreferences INTO l_reqreferences_temp
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
IF sy-subrc = 0.
h_preq_item = l_reqreferences_temp-refline.
ENDIF.
CLEAR l_req_items.
READ TABLE old_req_items INTO l_req_items
WITH KEY preq_item = h_preq_item.
MOVE-CORRESPONDING l_req_items TO reqheaders.
reqheaders-begdate = l_req_items-deliv_date.
reqheaders-limit = l_req_items-c_amt_bapi.
reqheaders-exp_value = l_req_items-c_amt_bapi.
reqheaders-gr_ind = 'X'.
reqheaders-reqno = l_req_items-preq_no. "jms 022602
CLEAR l_req_items.
INSERT FORM **** CREATE_SERVICE_ITEM
h_packno_item = h_packno_item + 1.
h_packno_srv = h_packno_srv + 10000.
h_introw = h_introw + 1.
CLEAR l_req_items. " Note 364396
MOVE-CORRESPONDING reqheaders TO l_req_items.
l_req_items-preq_no = reqheaders-reqno. "jms 022602
l_REQ_ITEMS-PREQ_NO = REQUIS_NUMBER. "jms 022602
l_REQ_ITEMS-PREQ_ITEM = H_PREQ_ITEM + 1. "iok 091801
l_req_items-preq_item = h_preq_item. "iok 091801
l_current_item = h_preq_item. "iok 092101
h_srv_item = l_req_items-preq_item.
h_preq_item = h_preq_item + 1.
IF NOT reqheaders-limit IS INITIAL OR
NOT reqheaders-exp_value IS INITIAL.
IF reqheaders-gr_ind IS INITIAL.
l_req_items-item_cat = '1'.
ELSE.
l_req_items-item_cat = '9'.
ENDIF.
l_req_items-deliv_date = reqheaders-begdate.
ELSE.
l_req_items-item_cat = '9'.
ENDIF.
IF l_req_items-del_datcat IS INITIAL.
l_req_items-del_datcat = '1'.
ENDIF.
l_req_items-quantity = 1.
l_req_items-pckg_no = h_packno_item.
IF l_req_items-preq_name EQ space.
l_req_items-preq_name = sy-uname.
ENDIF.
APPEND l_req_items TO req_items.
END OF FORM INSERTION ********
l_req_limits-pckg_no = h_packno_item.
l_req_limits-limit = reqheaders-limit.
l_req_limits-exp_value = reqheaders-exp_value.
l_req_limits-no_limit = reqheaders-no_limit.
l_req_limits-no_frlimit = 'X'.
APPEND l_req_limits TO req_limits.
*.... Account assignment
clear requisition_srv_accass_values.
CLEAR l_req_serv_account.
l_req_serv_account-pckg_no = h_packno_item.
MOVE-CORRESPONDING l_reqlines TO longkey.
read table reqaccts with key longkey binary search. "iok 091801
READ TABLE reqaccts INTO l_reqaccts "iok 091801
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
IF sy-subrc = 0.
LOOP AT reqaccts
INTO l_reqaccts
WHERE reqno = l_reqreferences-reqno
AND reqlline = l_reqreferences-reqlline.
INSERT FULL FORM *********** FILL_REQ_ACCT_SRV
DATA: acctcomp1 TYPE bapiebkn,
acctcomp2 TYPE bapiebkn,
high_serial TYPE dzekkn. "LIKE BAPIEKKN-SERIAL_NO.
CLEAR l_req_serv_account-serial_no.
CLEAR acctcomp1.
MOVE-CORRESPONDING l_reqaccts TO acctcomp1.
CLEAR: acctcomp1-preq_no,
acctcomp1-preq_item,
acctcomp1-serial_no,
acctcomp1-created_on,
acctcomp1-created_by,
acctcomp1-preq_qty,
acctcomp1-distr_perc,
acctcomp1-change_id,
acctcomp1-currency.
LOOP AT req_item_account INTO l_req_item_account.
CLEAR acctcomp2.
MOVE-CORRESPONDING l_req_item_account TO ACCTCOMP2. "is blank
CLEAR: acctcomp2-preq_no,
acctcomp2-preq_item,
acctcomp2-serial_no,
acctcomp2-created_on,
acctcomp2-created_by,
acctcomp2-preq_qty,
acctcomp2-distr_perc,
acctcomp2-change_id,
acctcomp2-currency.
IF acctcomp1 EQ acctcomp2 AND h_srv_outl_created IS INITIAL.
l_req_serv_account-serial_no = l_req_item_account-serial_no.
EXIT.
ENDIF.
high_serial = l_req_item_account-serial_no.
ENDLOOP.
h_srv_outl_created = ' '.
IF l_req_serv_account-serial_no IS INITIAL.
MOVE-CORRESPONDING l_reqaccts TO l_req_item_account.
l_REQ_item_ACCOUNT-PREQ_NO = REQUIS_NUMBER. "jms 022702
l_req_item_account-preq_no = l_req_items-preq_no."jms 022702
l_req_item_account-preq_item = h_srv_item.
REQUISITION_ACCOUNT_ASSIGNMENT-WBS_ELEM_E = REQACCT-BBP_PROJECT.
l_req_item_account-serial_no = high_serial + 1.
l_req_serv_account-serial_no = l_req_item_account-serial_no.
APPEND l_req_item_account TO req_item_account.
ENDIF.
END OF FORM INSERTION ***********
h_serial_no = h_serial_no + 1.
l_req_serv_account-serno_line = h_serial_no.
l_req_serv_account-percentage = l_reqaccts-distr_perc.
APPEND l_req_serv_account TO req_serv_account.
ENDLOOP.
INSERT FULL FORM **************** CONVERT_ACCOUNT_***_CAT
data: account_tab LIKE bbp_pds_acc OCCURS 0 WITH HEADER LINE.
DATA: account_tab TYPE STANDARD TABLE OF bbp_pds_acc.
DATA: l_account_tab TYPE bbp_pds_acc.
DATA: h_knttp TYPE knttp.
move the accounting data to that item into the interface table
LOOP AT reqaccts
INTO l_reqaccts
WHERE reqno EQ l_reqreferences-reqno
AND reqlline EQ l_reqreferences-reqlline.
MOVE-CORRESPONDING l_reqaccts TO l_account_tab.
APPEND l_account_tab TO account_tab.
ENDLOOP.
call the convert API
CALL FUNCTION 'BBP_ACCCAT_MAP_EXP'
EXPORTING
i_logical_system = logical_system
IMPORTING
e_r3_acc_cat = h_knttp
TABLES
i_pd_account = account_tab.
IF h_knttp IS INITIAL.
h_knttp = 'X'.
ENDIF.
+JMS 2/14/2002 Issue #1590
CLEAR account_tab.
REFRESH account_tab.
account assignment category - set in the correct item
LOOP AT req_items
INTO l_req_items
WHERE preq_item EQ l_req_item_account-preq_item.
l_req_items-acctasscat = h_knttp.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
END OF FORM INSERTION ************
ELSE.
INSERT FULL FORM ************* Form CONVERT_ACCOUNT_***_CAT_U
LOOP AT req_items
INTO l_req_items
WHERE preq_item EQ l_current_item.
l_req_items-acctasscat = 'U'.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
END OF FORM INSERTION ************
ENDIF.
Get UNSPSC code (first hit) based on Material Group and store
in text id B05. iok 092101
READ TABLE req_items INTO l_req_items
WITH KEY preq_item = l_current_item
mat_grp = l_mat_group.
READ TABLE req_item_text INTO l_req_item_text
WITH KEY preq_no = requis_number
preq_item = l_req_items-preq_item
text_id = 'B05'.
IF sy-subrc <> 0.
CLEAR l_req_item_text.
Get UNSPSC Code from Material Group .. even if arbitrary
SELECT unspsc_code UP TO 1 ROWS
FROM zxl8_category_id
INTO l_req_item_text-text_line
WHERE category_id = l_mat_group.
ENDSELECT.
If nothing found then fill in a dummy UNSPSC. The first
letter of the Material will designate whether it's a Material
or Service.
IF sy-subrc NE 0.
Move the Material Group value into a holding variable
CONCATENATE l_mat_group(1) 'XXXXXXX'
INTO l_req_item_text-text_line.
ENDIF.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B05'.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDIF.
Don't send Internal Note to Backend
delete req_item_text where text_id = 'B02'.
Service -- NOT NEEDED -- IOK 07/13/01
elseif not reqlines-reqsline is initial
and reqlines-line_type eq '2'.
move-corresponding reqlines to shortkey.
read table reqlinesrs with key shortkey binary search.
if sy-subrc = 0.
h_serv = reqlinesrs.
append h_serv.
endif.
material item -- NOT NEEDED -- IOK 07/13/01
ENDIF.
ENDLOOP.
Services -- NOT NEED -- IOK 07/13/01
IF f_limit_change = 'X'.
Check multiple account assignment
LOOP AT req_items INTO l_req_items.
h_index = sy-tabix.
CLEAR next.
LOOP AT req_item_account
INTO l_req_item_account
WHERE preq_item EQ l_req_items-preq_item.
next = next + 1.
ENDLOOP.
IF next > 1.
l_req_items-distrib = '2'. "prozentuale Verteilung
l_req_items-part_inv = '1'.
l_req_items-gr_non_val = 'X'.
MODIFY req_items FROM l_req_items INDEX h_index. "217191
modify requisition_items. "217191
ENDIF.
ENDLOOP.
ENDIF.
Remap delivery address for backend processing
LOOP AT req_addrdelivery INTO l_req_addrdelivery.
MOVE: l_req_addrdelivery-name_2 TO l_req_addrdelivery-name,
l_req_addrdelivery-c_o_name TO l_req_addrdelivery-name_2.
CLEAR: l_req_addrdelivery-c_o_name.
MODIFY req_addrdelivery FROM l_req_addrdelivery INDEX sy-tabix.
ENDLOOP.
CHM 07/16/2003 Changed created by to always be actual creator even
for on behalf of situations
LOOP AT req_items
INTO l_req_items.
l_req_items-created_by = x_sc_header-created_by.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
CMH - end change
MA 12/10/04 - Pass MP2 number from Manu Prod# to Req Item Text
LOOP AT req_items INTO l_req_items.
READ TABLE t_sc_item into x_sc_item
WITH KEY number_int = l_req_items-preq_item.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B06'.
l_req_item_text-text_line = x_sc_item-manu_prod.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDLOOP.
ENDMETHOD. -
Error in Communicating with DCR Server LMS 4.0
I´m receiving this error when I try do add a device in isolated form or by discovery:
Error in communicating with DCR Server.
DCR Server may be down. Please start the DCR Server and then refresh the page.
I am using windows 2008 standard server RC1 SP1, and CiscoWorks LMS 4.0.
I had applied all of patches includes.
The DCRserver is running. ( I did restart it)You're using Windows 2008 RC1 (a release candidate version)? LMS is only supported on the final shipping version of Windows 2008, and not yet on R2.
If you're running on the final version of 2008 server, post the output of the pdshow command as well as the dcr.log, DCRServer.log, NMSROOT/MDC/tomcat/logs/stdout.log and stderr.log.
Maybe you are looking for
-
I am running very slowly after upgrading to ver 10.9.1 on my macbook pro. Can anyone help me to solve this problem. I am including the results from running Etresoft. Hardware Information: MacBook Pro (15-inch, Mid 2010) MacBook
-
Twitchy mouse on dialog boxes in photoshop cs6
Hey there, So I have a really weird problem with photoshop cs6. For some reason my mouse cursor starts twitching when I move over dialog boxes. I have recorded a video to show you what I mean: https://www.youtube.com/watch?v=8rouox93xMo I am currentl
-
Where are the CS Download Files?
Does anyone know where Adobe CS downloads to when you download it? I'm trying to remove everything from when it was downloaded on my computer but I can't seem to find where all the download files are.
-
Hi, We have just gone live with the first phase of our webtools implementation. We are using B1 2005 sp1 pl36 with Webtools 2007 pl08. The site can be viewed at http://www.promed.ie Our customer base is very much professional in nature and therefore
-
HT204655 Can you use the new photos library for iPhoto to save space
I want to use the same library for photos and iPhoto because that way it will use a fraction of the space. Is that possible.