Adding field - very urgent very help full
Gurus
I am creating condition table and I couldn't see customer heirachy field -CustomerHierarchy 03 not find in field catalog.
how to get that field in to the field catalog.
Thanks
Kris
Hi,
Basics of modification in pricing
o The following communication structures are relevant in pricing:
- KOMK (pricing communication header)
- KOMP (pricing communication item)
- KOMG (allowed fields for condition structures)
For technical reasons, communication structure KOMG is used. It
combines the fields from KOMK and KOMP that are relevant for
pricing in the standard system and are offered in the field catalog
of condition tables. If you want to use a new field in the field
catalog, you must add the field to KOMP or KOMK in the following
INCLUDES:
- header data in INCLUDE KOMKAZ in KOMK
- item data in INCLUDE KOMPAZ in KOMP
When you use INCLUDES, the field is automatically added to KOMG and the
field catalog.
o The routines for assigning values to the new fields in order
processing are found in member MV45AFZZ. Use the following user exits:
- USEREXIT_PRICING_PREPARE_TKOMK (header fields)
- USEREXIT_PRICING_PREPARE_TKOMP (item fields)
o The routines for assigning values to the new fields in billing are
found in member RV60AFZZ. Use the following user exits:
- USEREXIT_PRICING_PREPARE_TKOMK (header fields)
- USEREXIT_PRICING_PREPARE_TKOMP (item fields)
Reward points if useful
Similar Messages
-
Set Page "HEIGHT" ---Very Urgent, Please Help me on this issue. Please.
Hi all ,
Very Urgent, Please Help me on this issue.
when_now_form trigger i set set maximize the window and MDI. And my window and canvas is same height (1500). The formsweb.cfg also changed to 1500. But still I can not view full page on web. Where to I change the properties. Please help.
SelvamIs your form running inside the browser window (with SeparateFrame=False)? If the browser is maximized, and your form is maximized, yet you cannot see the entire screen, you can run with SeparateFrame=True. You can do that on the browser line.
-
Kernel panics, message saying "You need to restart your computer.Hold down the Power..." I am in the middle of HSC very URGENT please help!! Mac keeps needing to restart!!
I looked in console and its saying that it may be because of Sophos Anti-Virus, i deleted and uninstalled all traces of Sophos but looked in console and this is some of the lines coming up:
26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.intercheck[6460]) posix_spawn("/Library/Sophos Anti-Virus/InterCheck.app/Contents/MacOS/InterCheck", ...): No such file or directory
26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.autoupdate[6461]) posix_spawn("/Library/Sophos Anti-Virus/SophosAutoUpdate.app/Contents/MacOS/SophosAutoUpdate", ...): No such file or directory
26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.notification[6462]) posix_spawn("/Library/Sophos Anti-Virus/SophosAntiVirus.app/Contents/MacOS/SophosAntiVirus", ...): No such file or directory
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck[6460]) Exited with code: 1
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck) Throttling respawn: Will start in 10 seconds
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate[6461]) Exited with code: 1
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate) Throttling respawn: Will start in 10 seconds
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification[6462]) Exited with code: 1
26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification) Throttling respawn: Will start in 10 seconds
26/09/13 10:11:18.291 PM Safari: self <TabContentView: 0x7f8d5dd1aa50>
26/09/13 10:11:22.617 PM Safari: self <TabContentView: 0x7f8d5db7bb00>
26/09/13 10:11:27.866 PM Safari: self <TabContentView: 0x7f8d5c331a70>
26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) posix_spawn("/Library/Sophos Anti-Virus/SophosUIServer.app/Contents/MacOS/SophosUIServer", ...): No such file or directory
26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) Exited with code: 1
26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver) Throttling respawn: Will start in 10 seconds"
Looked all over computer and cant find anything of Sophos please help very urgent!That was all that there was in the most recent one, how long do you think it could take to fix?
Here is the second most recent:
Wed Sep 25 15:39:39 2013
panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f81757965, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff81acc397fe, CR3: 0x000000001e2b5025, CR4: 0x00000000000606e0
RAX: 0x000000001d31a000, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000000000000
RSP: 0xffffff80b0dbb710, RBP: 0xffffff80b0dbb820, RSI: 0x0000000000000000, RDI: 0x0000000000000001
R8: 0x000000000000000a, R9: 0x0000000000000378, R10: 0x0000000000000128, R11: 0x0000000000000378
R12: 0xffffff800c626400, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0xffffff81acc39802
RFL: 0x0000000000010246, RIP: 0xffffff7f81757965, CS: 0x0000000000000008, SS: 0x0000000000000010
CR2: 0xffffff81acc397fe, Error code: 0x0000000000000000, Faulting CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff80b0dbb3c0 : 0xffffff8000220792
0xffffff80b0dbb440 : 0xffffff80002c4794
0xffffff80b0dbb5f0 : 0xffffff80002da55d
0xffffff80b0dbb610 : 0xffffff7f81757965
0xffffff80b0dbb820 : 0xffffff7f817667a0
0xffffff80b0dbb840 : 0xffffff7f8173a58e
0xffffff80b0dbb870 : 0xffffff7f8177fb6f
0xffffff80b0dbb8a0 : 0xffffff7f81779632
0xffffff80b0dbb8d0 : 0xffffff7f8177d7d5
0xffffff80b0dbb900 : 0xffffff7f8177c6db
0xffffff80b0dbb9e0 : 0xffffff7f817412b8
0xffffff80b0dbba10 : 0xffffff7f81778684
0xffffff80b0dbba30 : 0xffffff7f817449ce
0xffffff80b0dbbb60 : 0xffffff7f81741a4c
0xffffff80b0dbbbc0 : 0xffffff8000655f3e
0xffffff80b0dbbbe0 : 0xffffff800065681a
0xffffff80b0dbbc40 : 0xffffff8000656fbb
0xffffff80b0dbbd80 : 0xffffff80002a3f08
0xffffff80b0dbbe80 : 0xffffff8000223096
0xffffff80b0dbbeb0 : 0xffffff80002148a9
0xffffff80b0dbbf10 : 0xffffff800021bbd8
0xffffff80b0dbbf70 : 0xffffff80002aef10
0xffffff80b0dbbfb0 : 0xffffff80002daec3
Kernel Extensions in backtrace:
com.apple.driver.AppleIntelHD3000Graphics(7.3.2)[A2328231-E577-32FF-B20F-D08BDC FE9C51]@0xffffff7f81738000->0xffffff7f8179bfff
dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f80889000
dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f80d2e000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80cf5000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
11G63b
Kernel version:
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
System uptime in nanoseconds: 1866666823698
last loaded kext at 480357661446: com.apple.filesystems.smbfs 1.7.2 (addr 0xffffff7f80795000, size 241664)
last unloaded kext at 303348424187: com.apple.driver.AppleUSBUHCI 5.1.0 (addr 0xffffff7f80af7000, size 65536)
loaded kexts:
com.sophos.kext.sav 8.0.14
org.virtualbox.kext.VBoxNetAdp 4.2.16
org.virtualbox.kext.VBoxNetFlt 4.2.16
org.virtualbox.kext.VBoxUSB 4.2.16
org.virtualbox.kext.VBoxDrv 4.2.16
com.logmein.driver.LogMeInSoundDriver 1.0.2
com.Greatdy.driver.SystemAudioCapture 1.0.0
com.apple.filesystems.smbfs 1.7.2
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOBluetoothSerialManager 4.0.8f17
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleHDA 2.2.5a5
com.apple.driver.AppleMikeyDriver 2.2.5a5
com.apple.driver.AGPM 100.12.75
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleSMCPDRC 5.0.0d8
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.3
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.ApplePolicyControl 3.1.33
com.apple.driver.ACPI_SMC_PlatformPlugin 5.0.0d8
com.apple.driver.AppleIntelHD3000Graphics 7.3.2
com.apple.driver.AppleBacklight 170.2.2
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUSBTCButtons 227.6
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.8f17
com.apple.driver.AppleUSBTCKeyboard 227.6
com.apple.driver.AppleIRController 312
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.2.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCISerialATAPI 2.0.3
com.apple.iokit.IOAHCIBlockStorage 2.1.0
com.apple.driver.AppleUSBHub 5.1.0
com.apple.driver.AppleFWOHCI 4.9.0
com.apple.driver.AirPort.Brcm4331 561.7.22
com.apple.driver.AppleSDXC 1.2.2
com.apple.iokit.AppleBCM5701Ethernet 3.2.4b8
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleAHCIPort 2.3.1
com.apple.driver.AppleUSBEHCI 5.1.0
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.4
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.driver.DspFuncLib 2.2.5a5
com.apple.iokit.IOSurface 80.0.2
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleHDAController 2.2.5a5
com.apple.iokit.IOHDAFamily 2.2.5a5
com.apple.iokit.IOAudioFamily 1.8.6fc18
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleGraphicsControl 3.1.33
com.apple.driver.AppleSMC 3.1.3d10
com.apple.driver.IOPlatformPluginLegacy 5.0.0d8
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.IOPlatformPluginFamily 5.1.1d6
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.AppleIntelSNBGraphicsFB 7.3.2
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.kext.triggers 1.0
com.apple.driver.AppleUSBBluetoothHCIController 4.0.8f17
com.apple.iokit.IOBluetoothFamily 4.0.8f17
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.driver.AppleUSBMultitouch 230.5
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.1.0
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOFireWireFamily 4.4.8
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IOEthernetAVBController 1.0.1b1
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOUSBFamily 5.1.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.11
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 331.7
com.apple.iokit.IOStorageFamily 1.7.2
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4 -
Encrypting and Decrypting Data(Its Very Urgent, Please Help.)
Hi,
Can anyone tell me some idea in the below mentioned details.
Iam creating a Function for Encrypting and Decrypting Data Values using
DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
Key Value as normal.
But the problem, is it possible to have the key value more than 8.
Its showing me error when i give the key value less than 8 or more than 8.
Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
Its Very Urgent, Please Help.
Thanks,
Murali.VIs this what you're looking for?
Usage Notes
If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
C. -
Very urgent --pls help Report Painter Problem,
Hi to all,
I have created 5 operating expenses report by cost centres through report painter. some for full period , some for actual and sone for budget.
Under one set of that cost centre reports I have many subsets under which there are cost centre groups and then the cost centres.
I want to add one more set to existing set. I have added the set and set contains one cost centre group and their are also cost centres under it.
The table which i am using for cost centre grous is GLT1 and field is RCNTR and for cost centres it is CCSS and KOSTL respectively.
In the above procedure I have two queries.
1)even after adding the set and when i try to execute the report from T- code SERP it doesnot show my created set in variation.
2)Also even if it was showing the set earlier but report was showing zero values. When i clicked on zero amount a pop up arises for plan and actual values and when i clicked on plan values it had value of Rs 255000(for cost centres). then outside why this amount doesnot appears.
PLS THIS IS VERY VERY URGENT
Regards
TANUJAI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
SAPscript Output Problem - Very Urgent - Please help
Hi,
I am having the following problem with SAPscript.
In the Main Window, I have instructions to the printer in the ZPL2 language (For Zebra Printer).
There are also several variables, which are highlighted in Gray and enclosed in the&.
There are also several elements all of them empty except for the one where this code is.
Now, I received this program to modify in terms of code and the output.
IF you have never done any work with Zebra Printing, the way it is done is that you create a label using the Zebra BarOne or Zebra Designer program, then output it to an itf file, upload it into a standard text as .itf and copy the uploaded contents to the main window. When printing to a Zebra printer, the Zebra printer will read the instructions and will print the output.
Here is the problem: The config for the output type is correct.
When doing a printing test from SAPscript, I get the right output and the Zebra printer is able to print it.
However, the real process for this task will go through MB02. There, if I create a spool request using the proper method (select output type and etc.), it will go the spool. However, if I print preview or output (doesnt work with the Zebra printer, so I have to output to the Laser printer), it will output the following (none of the following includes any of the ZPL2 code/instructions. Instead, it seams to print the variables contents with the field name next to it This isnt whats its the Main window!!!)
http://img244.imageshack.us/img244/6915/66052475zk2.jpg
Please help. I have debugged but dont know what to do and cant find anything wrong.
This is very urgent. Any help will be useful.
Thanks,
JohnOk, maybe I have confused others in regards to the issue as well.
We expect this label to be output from a Zebra Printer.
When output through Sapscripts printing test, the preview from the spool shows the ZPL2 code in small font (non readible if a created a screenshot) and if sent to the Zebra Printer, it prints the label correctly.
When output through MB02, the preview from the spool shows the code that I have attached to the 1st post in this thread. If I try to output to the Zebra Printer, nothing happens because the ZPL2 instructions are not even in the preview and therefore, the Zebra printer recieves no instructions. I should not have mentioned the laser printer, because it has nothing to do with this issue.
I hope that this makes the issue a little more clear and understandable. Please help.
Here is the ZPL2 coding before uploading to standard text (only difference is that once uploaded, the '/' characters are removed.) However, I believe that the problem may lie in the print program and how it compiles but I debugged and haven't really seen where it comes from:
/:NEW-PAGE
/ ^XA
/ DFNEW-RE-1FS
/ ^PRC
/ LH0,0FS
/ ^LL1830
/ ^MD0
/ ^MNY
/ LH0,0FS
/ FO244,854A0N,55,46CI13FRFB154,1,0,LFN999^FS
/ FO819,698A0N,55,46CI13FRFN998FS
/ FO245,477A0N,55,46CI13FRFB755,1,0,RFN997^FS
/ FO389,926A0N,55,46CI13FRFB654,1,0,RFN996^FS
/ BY3,3.0FO42,1072B3N,N,152,N,YFRFN995FS
/ FO276,1258A0N,55,46CI13FRFN995FS
/ FO484,774A0N,55,46CI13FRFN994FS
/ FO817,774A0N,55,46CI13FRFN993FS
/ FO611,556A0N,55,46CI13FRFN992FS
/ FO245,556A0N,55,46CI13FRFN991FS
/ FO397,117A0N,55,46CI13FRFN990FS
/ FO245,405A0N,55,46CI13FRFB880,1,0,RFN989^FS
/ FO244,698A0N,55,46CI13FRFN988FS
/ FO629,998A0N,55,46CI13FRFN987FS
/ FO244,623A0N,52,42CI13FRFN986FS
/ FO397,261A0N,55,46CI13FRFB404,1,0,RFN985^FS
/ FO819,854A0N,55,46CI13FRFN984FS
/ FO725,554A0N,55,46CI13FRFN983FS
/ FO397,189A0N,55,42CI13FRFB695,1,0,RFN982^FS
/ FO397,333A0N,55,42CI13FRFN981FS
/ FO638,333A0N,55,42CI13FRFN980FS
/ FO391,21A0N,63,63CI13FRFB433,1,0,CFN979^FS
/ FO36,698A0N,55,46CI13FR
/ FDWBS:FS
/ FO37,405A0N,55,46CI13FR
/ FDMATL:FS
/ FO37,478A0N,62,44CI13FR
/ FDDESC:FS
/ FO554,698A0N,55,46CI13FR
/ FDSUPPLIER:FS
/ FO32,625A0N,55,46CI13FR
/ FDTEXT:FS
/ FO35,1258A0N,55,46CI13FR
/ FDBATCH NO:FS
/ FO770,775A0N,63,51CI13FR
/ FD/FS
/ FO32,854A0N,55,46CI13FR
/ FDESHM:FS
/ FO37,556A0N,55,46CI13FR
/ FDQTY:FS
/ FO32,998A0N,55,46CI13FR
/ FDSAP MATERIAL DOC NO:FS
/ FO525,333A0N,55,46CI13FR
/ FDofFS
/ FO556,854A0N,55,46CI13FR
/ FDINSPECT:FS
/ FO32,926A0N,55,46CI13FR
/ FDUNLOADING:FS
/ FO37,117A0N,55,46CI13FR
/ FDSTOCK TYPE:FS
/ FO32,774A0N,55,46CI13FR
/ FDPURCHASE ORDER:FS
/ FO37,188A0N,55,46CI13FR
/ FDDELIVER TO:FS
/ FO37,260A0N,55,46CI13FR
/ FDSTORAGE LOC:FS
/ FO37,332A0N,55,46CI13FR
/ FDCONTAINERS:FS
/ FO1,1359GB1217,0,6^FS
/ FO594,1359GB0,474,6^FS
/ ^XZ
/:NEW-PAGE
/ ^XA
/ ^XFNEW-RE-1.ZPL
/ FN999FD&ATWRT_HAZAMAT(6)&^FS
/ FN998FD&EKKO-LIFNR&^FS
/ FN997FD&MABDR-MAKTX&^FS
/ FN996FD&MSEG-ABLAD&^FS
/ FN995FD&MSEG-CHARG&^FS
/ FN994FD&MSEG-EBELN&^FS
/ FN993FD&MSEG-EBELP&^FS
/ FN992FD&MSEG-ERFME&^FS
/ FN991FD&MSEG-ERFMG&^FS
/ FN990FD&MSEG-INSMK(1)&^FS
/ FN989FD&MSEG-MATNR&^FS
/ FN988FD&MSEG-MAT_PSPNR&^FS
/ FN987FD&MSEG-MBLNR&^FS
/ FN986FD&MSEG-SGTXT(40)&^FS
/ FN985FD&MSEG-UMLGO&^FS
/ FN984FD&QALS-PRUEFLOS&^FS
/ FN983FD&V_BACKORDER&^FS
/ FN982FD&V_NAME3&^FS
/ FN981FD&WS_CNTR&^FS
/ FN980FD&WS_CON&^FS
/ FN979FD&WS_HEADER& &^FS
/ ^PQ1,0,1,N
/ ^XZ
/ ^FX End of job -
How to send Zip files as attachments !! Very urgent, Please help!
I am sending PDF files as attachments using java mail (it works fine). But now my requirement is to zip the PDFs and send them as attachments instead of actual PDF's. But i don't know how to achieve that. does java mail API support zip attachment facilities? I have looked in activation API also, but i couldn't find anything helpful. even i searched the forums, but no clue. Please, anybody help me about this, it's very urgent.
thanks
sriCheck the first "if". If I specify an attachment, then a myme multipart doby is created: one for text and the other for the attachemnt I use this myme ovbject only for attachemnts, because some ISPs have problems and report error in email format if the attachemnet is missing and it contains only text and no attachment.
static public void send(String to,
String from,
String host,
String smtpPort,
String subject,
String body,
String fileAttachment,
String attachmentMimeType,
String username,
String password,
String debug)
throws Exception
// create some properties and get the default Session
Properties props = new Properties();
props.put("mail.smtp.host", host);
props.put("mail.smtp.port", smtpPort);
props.put("mail.smtp.timeout","5000");
props.put("mail.debug", debug);
Session session = null;
if (username != null && password != null)
props.put("mail.smtp.auth", "true");
MyPasswordAuthenticator auth = new MyPasswordAuthenticator(username, password);
session = Session.getDefaultInstance(props,auth);
else
session = Session.getDefaultInstance(props, null);
//session.setDebug(true);
// create a message
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
InternetAddress[] address = InternetAddress.parse(to, false);
message.setRecipients(Message.RecipientType.TO, address);
message.setSubject(subject);
message.setSentDate(new Date());
// create the message part
if ( fileAttachment != null && fileAttachment != "NO" )
MimeBodyPart messageBodyPart = new MimeBodyPart();
//fill message
messageBodyPart.setText(body);
//Multipart multipart = new MimeMultipart();
Multipart multipart = new MimeMultipart("alternative");
multipart.addBodyPart(messageBodyPart);
// Part two is attachment
System.out.println("----->fileAttachment DISTINTO de NULL");
messageBodyPart = new MimeBodyPart();
FileDataSource fds = new FileDataSource(fileAttachment);
messageBodyPart.setDataHandler( new DataHandler(fds));
messageBodyPart.setFileName(fileAttachment); //<-- El archivo atachado.
multipart.addBodyPart(messageBodyPart);
//EN DESARROLLO el envio de attachment!!
// Put parts in message
message.setContent(multipart);
} else { //Envio es solamente TEXTO
message.setText(body);
// send the message
Transport.send(message);
Regards,
Vladimir -
Have a big problem with report. Very urgent please help
I have a report rep1. When I run the report via batch thru command rwclient to create a file it failed. I got the follwoing error message:
REP-0177: Error while running in remote server
Job 1413 is terminated due to connection timeout.
It does not even try for few seconds before gives this message. I ran some other batch reports whihc took 15 minutes and they were fine.
So, I stopped running the bad report for the day thinking the report is still not dead. I ran the same rep1 next day I still get the same error message. But this time when I ran I looked at the appserver showjobs (which lists the reports that were running and that already ran). The job number is different But still it fails in 3 seconds with the job number 1413 and connection time out. Can any one tell what might be the problem.
Any number of times I run this job I get the same job number with same error (all this is only if I run it as batch using rwclient). If I run this as online by calling it from a form it returns the results without any problems.
Please help. Very urgent.
Thanks in advance.
AshaYou might want to delete the report server .dat file and restart the server and try
his also could be one of the issues we had seen and fixed in 9.0.2.3. Please ensure you have the latest patch applied
Thanks
The Oracle Reports team -
Problem on loading applet netscape4.73 in macos9 very urgent pls help me
Hello,
Problems on loading applet in Netscape4.73(jre1.1.5) AppleMac OS-9.
when i try to load applet of size ~ 200kb in Netscape 4.73 AppleMac os9, then browser abruptly closing with the AppleMac os error message :- the Applicarion " Netscape Communicator " has unexpectedly quit because an error of type 2 occured. And then asking for system restart.
Since i am new to the AppleMac environment i cant adjust the settings please help me to overcome the problem. Its Very urgent and i am in great hurry pls.
thanks in advance.
Rao. V.N.Hi Rao,
I'm not a mac-os specialist (even I had some business with mac !!), and it is very difficult speaking in blind, but I have severals questions that may help you.
- Did you try you applet in other AppleMac plateform ?
- Does your applet work fine in other browser/plateform ?
- Does a small applet work fine on this plateform with this browser ?
- Does you applet contains instructions like System.exit, System.* or try to access (read or write) to local files ?
Otherelse it is possible you have problem with your jre config, try to configure your plugin with command like : -Xmx64m -Xms16m
(These commands tell the plugin to use at least 16 Mo memory and 64 Mo for the maximum see : http://java.sun.com/docs/hotspot/gc/)
Hope that will help you -
Does any body Know how to connect thumb device to JMF
i want the code please send it to me
very urgent
Advance ThanksHi,
You can create a new item under that table region and changed its style as MessageTextInput or MessageStyledText depending on your requirement and associate it with transient attribute or any other attribute of VO for which you want it to associate.
For old one you can simply delete that field in OAF table region and in VO,you can edit VO by movinf that field by arrow sign. -
Very Urgent Pls help : Change of payload type to user-defined types
Hello Experts
I was using sys.xml_type as payload type in my queue table creation.
consider xml message
<order>
<id>1</id>
<load rerer="mq" erere='gg" > </load>
</order>
This i inserted into queue table using enqueue process.
this is done.
BUT NOW My manager wants to change the payload type.
he created a type
create or replace type systype as object (msg varchar2(4000));
Now payload type of queue table is changed to
PayloadType==>aq.systype.
Pls help me how can i insert xml messages into this queue table.
This is very urgent. Pls help me
SI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
Html form-jsp retrieval problem..very urgent plz help
i have created the following html form.
<form method="POST" action="b.jsp" >
Insert Feed URL <input type="text" name=""></br></br>
<input type="submit" value="Search"> <input type ="reset" value ="Reset">now when i click search i should be able to get that url which i inserted in the text box through b.jsp which has the code for retrieving it. it is basically a .xml url. hence i have used
object.put("1", " ");
in the b.jsp(just a part of the code)
what value should i put in between the quotes(" ") so that i retrieve the info as per the url input in the html form.
kindly help
very urgent
cheersok i tried but i got the following error:
symbol : variable request
location: class org.apache.jsp.b_jsp.FeedServer
object.put("1",request.getParameter("feedURL"));
^
1 error
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)i also tried this
String feedURL = request.getParameter("feedURL");
object.put("1","feedURL");
but still errors
Generated servlet error:
.java:30: feedURL is already defined in org.apache.jsp.b_jsp.FeedServer
String feedURL = request.getParameter("feedURL");
^
Generated servlet error:
java:30: cannot find symbol
symbol : variable request
location: class org.apache.jsp.b_jsp.FeedServer
String feedURL = request.getParameter("feedURL");
^
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362) -
ORA-04062 - very urgent, please help
Error "ORA-04062: timestamp of package "SYS.DBMS_SNAPSHOT_UTL" has been changed" appears while refreshing materialized view with DBMS_MVIEW.REFRESH, the configuration is described below, please, any suggestions what cause the problem?
I have the master database:
db_master
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
and replica database:
db_replica
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
the master and replica databases are installed at different hosts
At db_master:
1. I create table TEST
CREATE TABLE TEST (ID NUMBER PRIMARY KEY);
2.Then create materialized view log on TEST
CREATE MATERIALIZED VIEW LOG ON TEST;
At db_replica:
1. create dblink MASTER to db_master
2. create materialized view
CREATE MATERIALIZED VIEW MV_TEST REFRESH FAST AS SELECT * FROM TEST@MASTER
At db_master:
1.Insert some test values to TEST
INSERT INTO TEST VALUES (1);
INSERT INTO TEST VALUES (2);
INSERT INTO TEST VALUES (3);
COMMIT;
At db_replica:
1. call in job (every 10 sec) DBMS_MVIEW.REFRESH(‘MV_TEST’), or manually:
begin
DBMS_MVIEW.REFRESH('MV_TEST');
end;
sometimes (not at every call the below error callstack appears)
17:07:22 ORA-04062: timestamp of package "SYS.DBMS_SNAPSHOT_UTL" has been changed
17:07:22 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
17:07:22 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
17:07:22 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2429
17:07:22 ORA-06512: at line 4
Please, help me solve this problem, what cause ORA-04062?Zjawka,
This forum doesn't consist of paid support personell.
Labeling your request as 'very urgent' must be considered rude.
If you would have looked up the error at all in the online documentation,
you would have got:
ORA-04062: %s of string has been changed
Cause: Attempt to execute a stored procedure to serve an RPC stub which specifies a timestamp or signature that is different from the current timestamp/signature of the procedure.
Action: Recompile the caller in order to pick up the new timestamp.
No why do you do take the trouble to dump all in this junk in a volunteer forum, and you can't be bothered to look up the error message?
Sybrand Bakker
Senior Oracle DBA -
Very Very Urgent Please help me Integration between OIM and Siebel CRM
1.The system is proprietary of nature and hence not out of the box provisioning agents exist to integrate the system.
Integration options for COPS(Customer Organisation Profiling System) ) is a proprietary CRM system holding contact, billing and other profile information as the authoritative source on customers;
I need complete solution.Please help me its very very urgent.As mentioned in your Subject, if it is integration between OIM and Siebel CRM, we have an OOTB connector available for it. Even if your application is similar to Siebel CRM, you can refer the OOTB Siebel connector and do some reverse engineering on it to make a similar one..
Hope it helps.. otherwise .. all the best and go ahead with writing a new connector and share your exp with the other forum members.
cheers -
I have an eclipse application to open a new email message with an attachment (in the default mail client) clicking a button.
Below are my codes:-
Runtime.getRuntime().exec(new String[]{"cmd.exe","/c","start mailto:[email protected]?subject=MailTo&cc=[email protected]&attachment="e://myfile.txt"});
The problem is that the file can't be attached.
Appreciate suggestions and solutions.
Pls reply asap as this application is very urgent
Thanks.You should have simplified your problem by producing a valid Windows command before trying to Runtime.exec it. What you are doing there is testing with your eyes shut.
If you had typed that string you thought was a Windows command, and fiddled with it a bit, you would have found out that the & character is treated as a delimiter that separates a list of commands by the Windows shell. You would have seen the error message that says
'cc' is not recognized as an internal or external command, operable program or batch file.
Sorry, I don't know what you can do about that. But it isn't a Java question. -
Read textfile in JSP (Very urgent� Pls Help)
Hi to all,
I have a very urgent problem. I need a JSP to read a textfile (c:\abc.txt).and display in it to a space <in a body tag> in a HTML page. Does anyone have any idea? Thanks in advance.
This is my HTML page.
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Display</title>
</head>
<body>
<p>Text to display:</p>
</body>
</html>Usually, I would prefer to put the jsp code scriplets at the beginning if its purpose is to generate a string....
<%@ page contentType="text/html"
import="java.io.*, java.util.*" %>
<%
String fileName = "c:\\abc.txt" ;
BufferedReader br = new BufferedReader(new FileReader(fileName));
String line = br.readLine() ;
while ( line != null )
out.write(line + "<br>");
line = br.readLine() ;
br.close();
%>
<html>
<head><title>JSP Page</title></head>
<body>
<p>
<%= line%>
</p>
</body>
</html>
Maybe you are looking for
-
Trying to play video on a web site and I get the Quick Time logo with a ?
What have I done. Please give me instructions to set Quick Time so it will work. I also got a Registration screen. I read the thread on how to get around that but I didn't understand the abbreviations that someone wrote. App? is that applications and
-
Power Mac G5 will not boot up.
I have a 2005 Power Mac G5 Duo 2.5 Gigahertz computer which will not boot up. When I turn it on, the power light does not light up, nor does it show a flashing light signal. Soon after the fans start up they become loud. I tried reseting the smu, ins
-
Hi, I have a select list based on the select list i need to generate the report if businees_unit = 'a' select emp.name from employess_dep1 if business_unit = 'b' select emp.name from employess_dep2 end if please help me to correct the above Thanks Su
-
Process Using too much Processor
Hi all ! I have a real wierd request. I have a process which runs for about a hour converting files. The process only between 10 and 15MB of memory which is fine. The problem is that the process uses basically all the processing power available on th
-
Dragon on Mac 10.6.8
Hello! I just bought the Dragon dictate of Mac and cannot intall it because I'm Leopard and not Lion. Is there a possibility to upgrade my Mac to Lion? Thanks for any answer that could help me. Marie-Claude