Call to FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' fails when output is triggered

Hi,
In my Smartforms driver/print program for deliveries, I am using a function module 'RSPO_FRONTEND_PRINTERS_FOR_DEV' to fetch the list of front-end printers.
When i try to print the delivery output from vl03n by using 'Issue Delivery Output' option, I can print the output to the designated printer whose value is fetched from this FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV'.
But when i try to print the output by triggerring the output type (using 'Repeat output' from delivery), the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' is failing to fetch the list of printers, and is sending
an error message to SAP inbox saying 'cannot read the list of printers'.
When i further debugged the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' when triggerring the output by using "Repeat output' option, i could see that inside this FM, it is calling another RFC/FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGUI' and one more with destination 'LOCAL_PRINT', where both this calls are failing in this scenario. But the same function calls to this FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGIU'/'LOCAL_PRINT' are working correctly when i try to print the docuemnt using 'Issue Delviery Output' option.
If you look into the code of FM 'RSPO_LIST_FRONTEND_PRINTERS', there is no code inside this FM. It is just a remote function call.
Can you please let me know how can i retrieve the front-end printers in this scenario (scenario: when output/print is triggered by using 'Repeat output')...???
Thanks!

Hi,
In my Smartforms driver/print program for deliveries, I am using a function module 'RSPO_FRONTEND_PRINTERS_FOR_DEV' to fetch the list of front-end printers.
When i try to print the delivery output from vl03n by using 'Issue Delivery Output' option, I can print the output to the designated printer whose value is fetched from this FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV'.
But when i try to print the output by triggerring the output type (using 'Repeat output' from delivery), the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' is failing to fetch the list of printers, and is sending
an error message to SAP inbox saying 'cannot read the list of printers'.
When i further debugged the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' when triggerring the output by using "Repeat output' option, i could see that inside this FM, it is calling another RFC/FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGUI' and one more with destination 'LOCAL_PRINT', where both this calls are failing in this scenario. But the same function calls to this FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGIU'/'LOCAL_PRINT' are working correctly when i try to print the docuemnt using 'Issue Delviery Output' option.
If you look into the code of FM 'RSPO_LIST_FRONTEND_PRINTERS', there is no code inside this FM. It is just a remote function call.
Can you please let me know how can i retrieve the front-end printers in this scenario (scenario: when output/print is triggered by using 'Repeat output')...???
Thanks!

Similar Messages

  • MP4 encodes fail when output size is greater than 4GB, AME CC 2014.2 (8.2.054)

    I have a jpeg image sequence about 45 min long at 30fps.
    Using AME CC (7.2.2.29) I can successfully encode to MP4, CBR at 18 Mbps. File size is about 5.53 GB.
    Using AME CC 2014.2 (8.2.054), with the identical preset (migrated directly from previous AME), the resulting file is unplayable.
    AME CC 2014 gives following warning at the end of the encode:
    - Source File: /Volumes/LS-GRAID-8TB-1/DDL_video/Output/1_Frames/2_Current/102-204-C01-CallanderVeryGold _16bit/102-204-C01-CallanderVeryGold_16bit_[00000-82441].jpg
    - Output File: /Volumes/LS-GRAID-8TB-1/DDL_video/Output/2_Encode/1_Review/102-204-C01-CallanderVeryGold_ 16bit.mp4
    - Preset Used: DDL-MP4-CBR18
    - Video: 1920x1080 (1.0), 30 fps, Progressive, 00:45:48:02
    - Audio:
    - Bitrate: CBR, Target 18.00 Mbps
    - Encoding Time: 00:55:28
    01/19/2015 03:33:17 PM : File Encoded with warning
    Adobe Media Encoder
    Could not write XMP data in output file.
    When I either reduce the bit rate OR reduce the work area, so that the final output file is under 4GB  (or more specifically, under approximately 4,096,000,000 bytes), I do not get the XMP warning, and the final file is playable.
    Again, please note that the previous version of AME CC does not have this problem when using an identical preset on identical source, so it does not seem to be a problem with the source frames or the output format chosen, it seems to be an issue with the current build of AME.
    Is there a solution to this issue?
    thanks

    I have had the exact same problem, I am now trying to encode with audio. ( I also did not need audio ).
    My file size and bit rate is a little higher . and using VBR not CBR but it is a mp4 encode and exact same problem, unplayable.
    I am now trying an encode with audio on at lowest possible rate, to see if it assembles the video correctly.
    I can confirm the work around, With AUDIO on, the export works.
    BTW: also tried the sequence directly in Premiere 2014.2 and same error.
    -----:LOG:-----
    03/06/2015 08:19:46 AM : Queue Started
    - Source File:Adobe Premier Edit_1.prproj
    - Output File: FullRez1080_59.94fps_VBR10-50_noAudio.mp4
    - Preset Used: Custom
    - Video: 1920x1080 (1.0), 59.94 fps, Progressive, 02;53;33;46
    - Audio:
    - Bitrate: VBR, 1 pass, Target 10.00 Mbps, Max 50.00 Mbps
    - Encoding Time: 03:40:33
    03/06/2015 12:00:19 PM : File Encoded with warning
    Adobe Media Encoder
    Could not write XMP data in output file.
    03/06/2015 10:12:51 PM : Queue Started
    - Source File: Adobe Premier Edit_6.prproj
    - Output File:FullRez1080_59.94fps_VBR_20-50.mp4
    - Preset Used: Custom
    - Video: 1920x1080 (1.0), 59.94 fps, Progressive, 02;53;33;14
    - Audio: AAC, 16 kbps, 8 kHz, Mono
    - Bitrate: VBR, 1 pass, Target 20.00 Mbps, Max 50.00 Mbps
    - Encoding Time: 05:11:45
    03/07/2015 03:24:36 AM : File Successfully Encoded
    Machine:
    Mac Pro 6,1
    12-Core Intel Xeon E5
    64GB RAM

  • SmartForm not printing some values when output type triggered automatically

    Output type 'ZD00' for billing is created and configured in NACE with 'send immediately (when saving the application)'. I'm creating a billing document in VF01, then this output type is triggering perfectly. But when I check the form output in spool price and discount values are not displaying. And for the same billing document, when I go to VF03 and selects issue output to and execute the same output type its giving all the perfectly.
    What could be the problem ?

    there we go, you might want to have a look at RVADIN01 which is the standard driver program for invoice printing.
    Your main interest should be to see how they select their prices, and then learn from it and adopt your program accordingliy.
    Yeah RVADIN01 is a SAP-SCRIPT driver program, but the selection of data is the same as in SMARTFORMS, so dont be afraid to use their logic.
    regards.

  • Flash Access DRM FMP Fails When Authentication Dialog Triggered for Display

    Hi all,
    Flash Media Playback is failing in the case when playing a video that has Flash Access DRM that requires display of an authentication dialog.  A sample failing configuration is here:
    http://provenwebvideo.com/codesamples/10/fmp_drm/ 
    Note, the link above includes the same video asset running successfully in Strobe Media Playback 1.0 (alongside to the right).
    Also, the link above includes FMP working successfully with a second video that has Flash Access DRM but which does NOT trigger display of an authentication dialog (second video in player in a row below the failing player).
    Source on the Flash Access DRM video test assets are from the Flash Access team via the following link:
    http://forums.adobe.com/message/3144143#3144143
    fyi, This is not a showstopper for me.  I am just reporting it as I was surprised that it works with SMP, but fails with current FMP.
    hth,
    g

    Wow, Greg, the test page is awesome! I can only wish that all the issues get reported this way!
    The issue with DRM content played with http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf is caused by the fact that the FlashMediaPlayback.swf is compiled for the Flash Player 10.0.
    I tested your sample with the Flash Media Playback compiled for 10.1 (http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf) and it works fine: http://smpfmp.appspot.com/fmp_drm.html
    Note that you need to ask your viewers to upgrade to the latest flash player, since Flash Media Playback doesn't handle this automatically, yet. (we have this feature in the backlog, but it might not fit into our future 1.5 release). Check this for technical details related to this: http://www.adobe.com/devnet/flashplayer/articles/swfobject.html
    Does this information help? Is there something that you would expect us to implement or document better?
    -Andrian

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • I have the problem of calls getting failed.. Black Iphone 4S 16gb IOS 6.1.3. O2 Network.  Airtel India.     I have full bars of signal but cannot  make calls. Goes to "No service" then to "searching".     I constantly get "Call Failed" when making calls.

    I have the problem of calls getting failed.. Black Iphone 4S 16gb IOS 6.1.3. O2 Network - Airtel India.
    I have full bars of signal but cannot  make calls. Goes to "No service" then to "searching".
    I constantly get "Call Failed" when making calls.
    What could be done to solve the problem?

    Try settings/general/reset/reset network settings.  If that does not do it then contact your carrier

  • I tried to open illustrator it said: subsystem fail catastrophically and I must reinstall or call customer support. So when I reinstalled it says: I can only install one Adobe product at a time. I am not installing anything else. It does not make sence.

    I tried to open illustrator it said: subsystem fail catastrophically and I must reinstall or call customer support. So when I reinstalled it says: I can only install one Adobe product at a time. I am not installing anything else. It does not make sense.

    Hi Gasbarro,
    When trying to reinstall using the Cleaner Tool Jacob suggested, can you take a note of the location?
    Error: "The licensing subsystem has failed catastrophically." when you start a Creative Suite 3.x application
    Please try refer to the help doc and let us know if it helps.
    Thanks,
    Amy

  • Activation fails when not anwsering an incoming call Air for Android

    Hi,
    I'm developing a game with Adobe AIR for Android; we are handling events for Deactivate (Pausing) / Activate (just tracing for now) of the game.
    It works OK when:  I press home button and then go back. When I get an incoming call and answer it. When I get an incoming call and reject it. They all activate the game when finished
    It doesn’t work when: I get an incoming call and I missed it (no answering, no rejection either) instead of activating the game again a black screen is showed (trace on Activate event is not fired either).
    Did anyone experience the same issue?
    Regards

    I tried the above case on Samsung S4(v4.2.2)(Currently I have with me) with latest AIR SDK available at http://www.adobe.com/devnet/air/air-sdk-download.html and I am getting the activate and deactivate event if I get an incoming call and I missed it. Below is the code snippet I used. Please update if you are using something different.
    stage.addEventListener(Event.ACTIVATE,onActivate);
    stage.addEventListener(Event.DEACTIVATE, onDeactivate);
    protected function onDeactivate(event:Event):void
    // TODO Auto-generated method stub
    trace("In the deactivate method..........");
    protected function onActivate(event:Event):void
    // TODO Auto-generated method stub
    trace("In the activate method...........");
    Could you please share the 3.7 version using adt -version command on either terminal or command promt. You can find adt at AIRSDK/bin folder.
    Regards,
    Nimit

  • URGENT:upgrade to 3.0.8 issue Call to WPG_SESSION API Failed.Error-Code:6550

    I ran upgrade scripts to 3.0.8 from 3.0.6 and completed with no errors.
    csh diag.csh reports no errors.
    sqlplus to connect string works fine
    DAD connect string is correct.
    err text:
    Call to WPG_SESSION API Failed.
    Error-Code:6550
    Error TimeStamp:Tue, 5 Jun 2001 03:36:50 GMT
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid and the database listener is running.
    DIAG.CSH output
    oracle(dba)@ws12:/export/home/upgrade:$csh diag.csh -s portal30 -p portal30 ->
    Begining Portal Diagnostics
    ...portal_schema: portal30
    ...portal_password: *************
    ...connect_string: iforce
    Loading java class for Portal Diagnostics ...SQL*Plus: Release 8.1.6.0.0 - Production on Mon Jun 4 20:48:59 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    SQL> SQL> Creating Table 'wwsec_diagnostic$'
    Creating Sequence 'wwsec_diagnostic_seq'
    Diagnostics Report v 1.0: Oracle Portal v 3.0.8.9.8
    As of 04-Jun-2001 20:49:02 Schema Name: PORTAL30 SSO Schema Name: portal30_sso
    PORTAL30.wwsec_enabler_config_info$
    Login Server URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    portal30_sso.wwsec_enabler_config_info$
    Login Server URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    Partner Application Information
    **** Oracle Portal (portal30) ****
    Home URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30/portal30.home
    Success URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30/portal30.wwsec_app_priv.process_signon
    DAD : portal30
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30
    Connect string : iforce
    Authentication mode : Single Sign-On
    **** The Login Server (portal30_sso) ****
    Home URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.home
    Success URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_home.process_signon
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    Diagnostics completed successfully!
    Disconnected from Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    null

    Venu
    Have you also upgraded your 9iAS instance to 1.0.2.2? The WPG_SESSION API error commonly appears when you are not using the lastest version of mod_plsql contained in 1.0.2.2.
    See: Migration Guide for Oracle9iAS Solaris or NT/2000.

  • Media applications fail to output sound. [SOLVED]

    The issue here seems to be that for some reason or another applications such as VLC, Nightingale, clementine and amarok fail to output sound while system sounds, flash media, and notification sounds from applications such as Skype and Thunderbird continue to work. With each of the music players respectfully there seems to be an error output that amounts to not being able to connect to the sound device. As nightingale is what I currently have installed, the error output is such when I attempt to play any sort of media.
    Configured audiosink audiosink-bin is not working.
    I am using E17 after formerly having used KDE however I had similar problems with the initial install that were fixed after setting the default device in alsamixer.
    The output of aplay -l is as follows
    **** List of PLAYBACK Hardware Devices ****
    card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 0: ALC269VB Analog [ALC269VB Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    lsmod | grep '^snd' | column -t
    snd_seq_dummy          1463    0
    snd_seq_oss            28970   0
    snd_seq_midi_event     5660    1   snd_seq_oss
    snd_seq                49946   5   snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
    snd_seq_device         5180    3   snd_seq,snd_seq_oss,snd_seq_dummy
    snd_hda_codec_realtek  30893   1
    snd_hda_codec_hdmi     29298   1
    snd_hda_intel          35816   0
    snd_hda_codec          145920  3   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep              6364    1   snd_hda_codec
    snd_pcm                76860   3   snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc         7330    2   snd_pcm,snd_hda_intel
    snd_timer              18687   2   snd_pcm,snd_seq
    snd                    58893   10  snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device
    Every thing seems to be loaded correctly and speakertest -c 2 seems to be working. The problem I had last time was with flash blocking sound output from other programs, but this problem subsided after having correctly set my default with alsamixer. I began to have the problem of flash blocking other applications from outputting sound when a browser was open a couple of days ago, but this has somehow progressed to any media application failing to output sound at anytime regardless if a browser has been opened or not. I uninstalled flashplugin and now rely on the plugin packaged within chrome but the problem persists. Any suggestions? I have read the wiki on alsa and on the flash plugin and have searched around but have found nothing that addresses my problem or that I have not already implemented or tried.
    EDIT: It seems that I have gotten vlc to start working again. The issue here seems to be that /etc/alsa.conf had been marked by pacman as /etc/alsa.conf.pacorig and renaming it and setting vlc to output directly to the default device instead of having set to default has gotten sound working for it again. It seems the only problem that remains and I have gotten this error is other applications and it is probably the problem behind XBMC not playing audio but the audiosink-bin is not working error is most likely the source of the additional problems. I will look into it and see if I get any reply in the meantime.
    EDIT: Due to something beyond my intelligence it seems that nightingale now plays sound and can even do so with chrome and a youtube video open. I am guessing the problem lied in the gstreamer plugins and when I removed all of my orphaned dependencies that may have been what had done it, something may have been in conflict or maybe just from the couple of reboots I have had since then. I did reinstall the plugins but there was a package that was removed called smpeg and another called sdlmixer those may have had something to do with it. So the moral of this story is to remove orphans on a regular basis, which I have been doing but just got around to today. If anyone has any input, which I doubt at this point. I will mark this as solved
    Last edited by agahnim (2013-07-04 00:45:35)

    I fixed it (for now, at least!)
    I ran the below command:
    $ cat /proc/asound/cards
    0 [U0x46d0x804 ]: USB-Audio - USB Device 0x46d:0x804
    USB Device 0x46d:0x804 at usb-0000:00:1a.0-1.2, high speed
    1 [MID ]: HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xf9ff8000 irq 47
    2 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xfbd7c000 irq 17
    Basically, my USB webcam, which also acts as a microphone, was being treated as my default sound card. I changed this by creating a file in /etc/modprobe.d with the following:
    options snd-hda-intel index=0
    Which set my real sound card as default:
    $ cat /proc/asound/cards
    0 [MID ]: HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xf9ff8000 irq 47
    1 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xfbd7c000 irq 17
    2 [U0x46d0x804 ]: USB-Audio - USB Device 0x46d:0x804
    USB Device 0x46d:0x804 at usb-0000:00:1a.0-1.2, high speed
    The problem isn't ENTIRELY fixed. Skype's still being a bit buggy, but at least Chromium is now playing sound, including in Flash media. Strangely enough, after playing a Flash video (e.g. on YouTube), Skype's sound seems to fix itself if it's defunct.
    Last edited by Archimaredes (2013-03-14 20:23:49)

  • Trigger fails when variable used in WHERE statement

    I have a trigger that works when the following statment is in it:
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = 152345;
    But the trigger fails when I attempt to use a variable in the where statement as follows.
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = :new.servno ;
    Even though I have verified that the value of :new.servno is set to 152345 by outputting the value . That is the only difference between the working version and the non-working version. By not working I mean that the email which is to be sent by the trigger is not received.
    Can anyone give me any ideas of how I could troubleshoot this or what might me happening? I'm pretty new to this and
    feel that I'm missing something very simple. My apologies in advance if this has been posted elsewhere. I did spend a lot of time searching the forum before posting.
    This is Oracle 9i.
    Thanks!
    Full code probably not necessary but posted below just in case:
    create or replace
    TRIGGER EMAILNOTIFY_NEW_SR
    AFTER INSERT ON CUSTPROB
    FOR EACH ROW
    DECLARE
    --SMTP Variables
    vreply utl_smtp.reply;
    vreplies utl_smtp.replies;
    mailCONN utl_smtp.connection;
    mailHOST VARCHAR2(64) ;
    --MESSAGE Variables
    mailText VARCHAR2(64);
    mailFROM VARCHAR2(64);
    mailTO VARCHAR2(64);
    mailDATE VARCHAR2(20);
    v_servno number ;
    v_callrkey number ;
    --PROGRAM Variables
    i number;
    BEGIN
    --get some values from the database  
    --set values for variables...
    mailHOST:= '10.35.173.15'; --this will always stay the same 
    mailFROM := 'Facilities_Customer_Service_Center'; --this will always stay the same
    mailTO := '[email protected]';
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = :new.servno  ;
    SELECT TO_CHAR(SYSDATE,'MM/DD/YYYY HH24:MI:SS') INTO mailDATE FROM dual;
    dbms_output.put_line('open_connection');
    dbms_output.put_line('---------------');
    vreply := utl_smtp.open_connection(mailHOST, 25, mailCONN);
    dbms_output.put_line('helo');
    dbms_output.put_line('----');
    vreply := utl_smtp.helo(mailCONN, mailHOST);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('mail');
    dbms_output.put_line('----');
    vreply := utl_smtp.mail(mailCONN, mailFROM);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('rcpt to');
    dbms_output.put_line('----');
    vreply := utl_smtp.rcpt(mailCONN, mailTO);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('open_data');
    dbms_output.put_line('---------');
    vreply := utl_smtp.open_data(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    --SMTP ENVELOPE STUFF (In case it is needed later).  
    --utl_smtp.write_data(mailCONN, 'From:'  ||mailFROM     || chr(13));
    -- utl_smtp.write_data(mailCONN, 'To: '||mailTo || chr(13));
    --utl_smtp.write_data(mailCONN, 'CC:      '||mailFROM     || chr(13));
    --utl_smtp.write_data(mailCONN, 'Date:    '||mailDATE     || chr(13));
    --utl_smtp.write_data(mailCONN, 'BCC:     '||mailFROM     || chr(13));
    --THE MESSAGE
    utl_smtp.write_data(mailCONN, 'Subject: '||'Your Facilities Service Request ' ||'(SR '||v_servno||')'|| chr(13));
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, 'Dear Customer ' || chr(13));
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, 'This is to inform you of something.' || ' ' ||mailTO|| chr(13) );
    utl_smtp.write_data(mailCONN, 'Please call us with any questions or concerns. ' || '' || chr(13));
    --DEBUG
    utl_smtp.write_data(mailCONN, 'DEBUG: ' || ''|| chr(13));
    utl_smtp.write_data(mailCONN, 'v_Servno ' || v_servno || chr(13));
    utl_smtp.write_data(mailCONN, 'v_callrkey ' || v_callrkey || chr(13));
    --END THE MESSAGE
    dbms_output.put_line('close_data');
    dbms_output.put_line('----------');
    vreply := utl_smtp.close_data(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('quit');
    dbms_output.put_line('----');
    vreply := utl_smtp.quit(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    END;

    Justin,
    Thanks for the reply. I'm away for a couple of days but when I get back to this I'm going to follow up on your suggestion about servno. I'm starting to think that the issue isn't with servno but rather that the select query doesn't return anything because the value I'm trying to get is in another table and is not being inserted in time for me to get them. This will be easiy enough to test. To be honest, I don't know very much about how things are being inserted.
    I appreciate your and Tubby's (and Tom's) concerns. Maybe I'll go back to the drawing board next week. But note that I'm not inserting anything with this trigger--only sending an email based on the insert that is happening through an application. So unless I'm really missing it, my email is dependent on the insert but not vice versa. Since my email is absolutely critical but rather jus a courtesy thing, I was taking a pretty laid back attitude about it but it would be good for me to learn a better way.
    Thanks again to all! I'll report back what I find/decide.

  • MBAM Upgrade 1.0 to 2.1 - Failing when 1.0 DBs need upgrade

    Hello,
    Installation of MBAM 2.0 SP 1 (2.1) fails when trying to upgrade existing MBAM 1.0 databases with the following:
    MSI (s) (74:10) [16:33:53:635]: Doing action: InstallReportingDb
    Action 16:33:53: InstallReportingDb.
    Action start 16:33:53: InstallReportingDb.
    MSI (s) (74:D0) [16:33:53:639]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI504B.tmp, Entrypoint: InstallReportingDatabase
    SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI504B.tmp-\
    SFXCA: Binding to CLR version v2.0.50727
    Calling custom action MBAMServerCAs!Microsoft.Windows.Mdop.BitlockerManagement.SetupCAs.RunDbInstallScript.InstallReportingDatabase
    RunDbInstallScript Reporting Db CA: BinDir - F:\Program Files\Microsoft SQL Server\100\Tools\Binn\SqlCmd.exe
    RunDbInstallScript Reporting Db CA: dbInstance - MSSQLSERVERNAMEHERE
    RunDbInstallScript Reporting Db CA: sqlScript- C:\Program Files\Microsoft\Microsoft BitLocker Administration and Monitoring\Setup\ReportingDB.sql
    RunDbInstallScript Reporting Db CA: dbName- MBAM Compliance Status
    RunDbInstallScript Reporting Db CA: defaultFileName- MBAM Compliance Status1
    RunDbInstallScript Reporting Db CA: defaultDataPath- F:\Mounts\ApplDb\
    RunDbInstallScript Reporting Db CA: defaultLogPath- F:\Mounts\ApplLog\
    RunDbInstallScript Reporting Db CA: scriptLogPath - C:\Users\INSTALLINGUSERNAMEHERE\AppData\Local\Temp\InstallComplianceDatabase.log
    RunDbInstallScript Reporting Db CA Exception: Install Recovery database Custom Action command line output Exception: Cannot ALTER 'ComplianceCore.GetComplianceStatusForVolume' because it is being referenced by object 'MachinesVolumesView'.
    CustomAction InstallReportingDb returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 16:33:56: InstallReportingDb. Return value 3.
    TDE has been disbaled on all databases.
    I can install MBAM 2.1 on this server when not trying to use MBAM 1.0 existing databases.
    I can install MBAM 2.1 on this server when using existing MBAM 1.0 databases from a default install (no data).
    I need to be able to take my 1.0 data with me to 2.1.
    Thank you

    Hi,
    Please confirm you use the correct upgrade sequence.
    Manual in-place server replacement – You must manually uninstall the existing MBAM server infrastructure, and then install the MBAM 2.0 infrastructure. If you are using MBAM
    with Configuration Manager, you must also remove the Configuration Manager objects. You do not need to remove the databases to do the upgrade. Instead, you select the existing databases, which were created by the previous version of the MBAM Client, and the
    MBAM 2.0 upgrade installation then migrates the existing databases to MBAM 2.0.
    The related information:
    Tip of the Day: MBAM 2.0 - Server Upgrade
    http://blogs.technet.com/b/tip_of_the_day/archive/2014/05/20/tip-of-the-day-mbam-2-0-server-upgrade.aspx
    Upgrading from Previous Versions of MBAM
    http://technet.microsoft.com/en-us/library/dn145058.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExceptio

    Hello XI guru,
    I am configuring RFC to File scneario where i am using BAPI as Source. When i run this BAPI in se37 it gives me short dump stating "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:
    Please help.
    Also I want to know is it necessary to write wrapper for BAPI before configuring. This bapi list all orders created in SCM system.
    awaiting ur advises and help
    Thanx
    Anu

    Hello guys,
    I am sorry but kind of confuse, please be with me.
    I have RFC with following structure:
    'Z_BAPI_MOSRVAPS_GETLIST2'
    importing parameters
          LOGICAL_SYSTEM = T_LOGICAL_SYSTEM
          START_TIME = T_START_TIME
    TABLES
          PRODUCT_SELECTION = T_PRODUCT_SELECTION
          LOCATION_SELECTION = T_LOCATION_SELECTION
          LOCTYPE_SELECTION = T_LOCTYPE_SELECTION
          ORDER_HEADS  =  T_ORDER_HEADS
          OUTPUT_NODES  = T_OUTPUT_NODES.
    I put values in logical system/start_time/
    product_selection/location_selection/loctype_selection
    based on these values order_heads and output_nodes is populated. I want value of these to tables to be sent as file.
    Data structure for file is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">
    - <ORDER_HEADS>
    - <ITEM>
      <ORDER_NUMBER />
      <ORDER_TYPE />
      </ITEM>
      </ORDER_HEADS>
    - <OUTPUT_NODES>
    - <ITEM>
      <MASTER_PRODUCT />
      <MASTER_PLANT />
      </ITEM>
      </OUTPUT_NODES>
      </ns0:ORDER_MT>
    But the payload has value
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:ORDER_MT xmlns:ns0="uri:scm:sql:transaction">
    remaining is not seen in sxmb_moni and payload cannot be read error is given.
    file structure is dummy structure, please tell me know if it is right or i need to change.
    Thanx
    Anu

  • Call to WPG_SESSION API Failed. Error-Code:6550

    Can someone please help me figure out what I may be doing wrong? Using recent downloaded versions of 8i and 9iAS I cannot access Portal30 using IE5 browser. Please see error below. During portal configuration I specified connect string of oracle:1521:dba1. The connectstring entry of the DAD is dba1. I ran ssodatan. The database is open, listener is listening and SQL*Plus, DBA Studio, Net8 Assistant all connect to dba1 fine. Discussions mention cookies, upgrades, etc., but nothing definitive. Troubleshooting Guide does not reference error 6550. I am at a loss. Any suggestions would be appreciated.
    I downloaded and installed 8.1.7 on NT host oracle then downloaded and installed 9iAS on another NT host. Portal Diagnostics are successful, however I get database login failed when attempting to use IE5 browser to access portal at http://oracle/pls/portal30/PORTAL30.home
    Here's the diags:
    D:\ora9ias\portal30\admin\plsql>set ORACLE_HOME=d:\ora9ias
    D:\ora9ias\portal30\admin\plsql>diag -s portal30 -c dba1
    Begining Portal Diagnostics
    ...portal_schema: portal30
    ...portal_password: *************
    ...portal_connect_string: dba1
    Loading java class for Portal Diagnostics ...
    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Jul 25 08:41:58 2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Creating Table 'wwsec_diagnostic$'
    Creating Sequence 'wwsec_diagnostic_seq'
    Diagnostics Report v 1.01: Oracle Portal v 3.0.9.8.0
    As of 25-Jul-2001 08:42:17 Schema Name: PORTAL30 SSO Schema Name: portal30
    _sso
    Proxy Server Settings:
    HTTP Server:
    HTTP Server Port:
    No Proxy Servers for Domains beginning with:
    URL Connection Time-Out (seconds):
    PORTAL30.wwsec_enabler_config_info$
    Login Server URL : http://oracle/pls/portal30_sso/portal30_sso.wwsso_app_admi
    n.ls_login
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : dba1
    Authentication mode : Single Sign-On
    Partner Application Information
    **** The Login Server (portal30_sso) ****
    Home URL : http://oracle/pls/portal30_sso/portal30_sso.home
    Success URL : http://oracle/pls/portal30_sso/portal30_sso.wwsso_home.pro
    cess_signon
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : dba1
    Authentication mode : Single Sign-On
    **** Oracle Portal (portal30) ****
    Home URL : http://oracle/pls/portal30/portal30.home
    Success URL : http://oracle/pls/portal30/portal30.wwsec_app_priv.process
    _signon
    DAD : portal30
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30
    Connect string : dba1
    Authentication mode : Single Sign-On
    **** The Login Server (portal30_sso) ****
    Home URL : http://oracle/pls/portal30_sso/portal30_sso.home
    Success URL : http://oracle/pls/portal30_sso/portal30_sso.wwsso_home.pro
    cess_signon
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : dba1
    Authentication mode : Single Sign-On
    Diagnostics completed successfully!
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    D:\ora9ias\portal30\ admin\plsql>
    Call to WPG_SESSION API Failed.
    Error-Code:6550
    Error TimeStamp:Wed, 25 Jul 2001 12:33:52 GMT
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid and the database listener is running.
    null

    I met that error several times. Check TNS connection from web server box to database server, if applicable. - use tnsping.
    That's the only cause that produces the error. If the web server box has more than one Oracle Home, find the correct one. Check $iAS_home/Apache/bin/apachectl script which will tell you its oracle home directory. It may not use $TNS_ADMIN/tnsnames.ora, but $ORACLE_HOME/network/admin/tnsnames.ora.

  • Report Job failed when Bursting is used in BI Publisher 11.1.1.5

    The Report Job failed when Bursting is used.
    error message:
    [INSTANCE_ID=aimedap1s.1347261753557] [OUTPUT_ID=1421][ReportProcessor]Error rendering documentoracle.xdo.servlet.scheduler.ProcessingException: [ReportProcessor]Error rendering document
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.renderReport(BurstingReportProcessor.java:455)
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.onMessage(BurstingReportProcessor.java:127)
    at oracle.xdo.enterpriseScheduler.util.CheckpointEnabl
    the reproduce steps :
    1. Create a Bursting query in the Data Model
    2. Create Report Job with the option
    "Use Bursting Definition to Determine Output & Delivery Destination" enabled
    3.Schedule the report Job
    4. run the report and found the status of it is problem, the error message above can be found.
    *Note:not all the report job failed when bursting is used, in step1 when set OUTPUT_FORMAT as PDF,HTML,RTF,PowerPoint 2007,
    the report will be run successfully,but when set other OUTPUT_FORMAT that list in the following document, the report can not run successfully.
    http://docs.oracle.com/cd/E21764_01/bi.1111/e18862/T527073T555155.htm
    Adding Bursting Definitions>>Defining the Query for the Delivery XML
    >>OUTPUT_FORMAT
    Can anyone give some advice on how to troubleshooting it?
    Looking forward for your reply
    Regards

    Hello vma.
    I happened to find the solution on 11.1.1.3. With xdo-server.jar, you can use DataProcessor class.
    For details and sample source code:
    http://blog-koichiro.blogspot.com/2011/11/bi-publisher-java-apigenerate-pdf-with.html
    * Not sure if it works on 11.1.1.5 though, I hope this gonna help you.

Maybe you are looking for

  • Error while opening RWB in SAP XI 3.0

    Hi Guys, I am working on SAP XI 3.0. Whenever i am opening RWB,it is giveing me error : htmlbMessageBar is undefined Because of this error i am not able to see component of monitoring. Please let me know if above error is because of any internet expl

  • Unable to open pdf files on IE if I use Acrobat 6.0 - urgent

    Hi, on clicking a hyper link, I need to read a PDF file from a server, and then I need to show that PDF file on the IE window to the user, for that I'm using the following code - javax.servlet.ServletOutputStream Pout = response.getOutputStream();   

  • Creation of an additional Literal in the cartdetaillistblock.ascx

    Hi all, My question would be: How can i create, in the ./cartdetaillistblock.ascx control,  a Local Literal, similar to the Literal with the ID="sysPrice" so that I can manipluate the Price value without breaking the Data flow while updating the Quan

  • When is String literal pool created compile time or runtime?

    When is String literal pool created compile time or runtime?

  • Copying a table with rollover images & links

    Need help... Using Dreamweaver CS4. I have a table with rollover images and links from those rollovers" I now want to copy and paste the table into other pages, but when I do, my links are broken and the rollovers don't work. I have my Site Def prefe