Trigger an error from EXIT_SAPLMLSR_001

I've been tasked with detecting whether or not the reference number is being repeated for a given vendor in any previous Entry Sheet during sheet creation in ML81N.   If the reference number duplication is discovered the SAVE is supposed to be stopped so the user can potentially correct their data entry error or abort the save due to duplicate invoicing.
I'm new-ish to ABAP so I've been digging and discovered that user exit EXIT_SAPLMLSR_001 seems to best fit my needs;  I get the EKKO and ESSR records for the transaction which allow me to implement my logic, and I can issue a message that the condition has been discovered.  
My problem is stopping the SAVE.   I've traced a little beyond the user exit but things get confusing so it's time to ask for help.
Is there convenient way to interrupt the action without quitting ML81N entirely?   Should I be using another method, such as a different user exit or BAdI (but I don't know anything about BAdIs yet), to do this?
Thanks in advance,
Greg
Here's the logic I injected into EXIT_SAPLMLSR_001.  I am hoping there's a simple change I can add to the middle to alert the tcode to stop saving.  I'm also aware the loop iterates a few extra times given more than one duplicate found, but baby steps!
DATA: vendor LIKE ekko-lifnr,
      purdocno LIKE ekko-ebeln.
if sy-tcode = 'ML81N' and sy-ucomm = 'YES'.
*   Check for a Ref# match in existing sheets
  SELECT ebeln INTO purdocno FROM essr WHERE xblnr = i_essr-xblnr AND loekz <> 'X' AND ebeln <> i_essr-ebeln.
*   Having the match we now look at the vendor # to see if it is the same
    SELECT lifnr INTO vendor FROM ekko WHERE ebeln = purdocno.
      IF vendor = i_ekko-lifnr.
*   abort!
        MESSAGE ID 'RP' TYPE 'W' NUMBER '016' WITH 'Reference provided has been used by this vendor before!'.
* e_edit doesn't seem to do much for me...
        e_edit = 'X'.
        exit.
      ENDIF.
    ENDSELECT.
  ENDSELECT.
ENDIF.

Just in case anyone else stumbles upon this thread, the solution was for me to learn more ABAP!
I spent some time learning about Enhancement Points and how to use them, and then solved my problem by creating three implicit EPs.   One to create a new "global" flag in the TOP include, another to intercept and detect my desired condition at a convenient place where all the required fields were available and toss the message and "set" the global flag, and the final one in the SAVE function to fail out of it if the flag was set.
I'm sure there is a more graceful way to implement this, and I'll be cringing if I ever have to look back at it, but this got it done for now.

Similar Messages

  • Hide an error from the application using a servererror trigger?

    We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
    We want to use the application unchanged with a new database server.
    Old Server Version: 7.3.4 (still in production...)
    New Server Version: 10.2 or 11.2
    The application issues an
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
    which results in ORA-01986 and the application dies.
    We would like to hide the error 01986 from the application using a trigger:
    create or replace
    trigger catch01986
      after servererror
      on schema
      begin
        if (ora_is_servererror (1986)) then
          null; -- what to do here? we want clear the ora-01986 from the error stack
        end if;
      end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
    I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
    Tnx for help in advance!

    Hi,
    hoek wrote:
    A totally weird and untested (and unable to test today) thought:
    http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
    Very interesting for real dirty solution.
    Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
    BEGIN
       SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
       'alter_session_equivalence',
       'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
       'ALTER SESSION SET OPTIMIZER_MODE = RULE',
       FALSE);
    END;
    ORA-30389: the source statement is not compatible with the destination statement
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
    ORA-06512: at line 2
    30389. 00000 -  "the source statement is not compatible with the destination statement"
    *Cause:    The SELECT clause of the source statement is not compatible with
               the SELECT clause of the destination statement
    *Action:   Verify both SELECT clauses are compatible with each other such as
               numbers of SELECT list items are the same and the datatype for
               each SELECT list item is compatible
    hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
    I dont know how to handle the error within the trigger.
    Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
    With the SERVERERROR TRIGGER i did the following tests:
    Test 1: trigger does nothing
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          NULL;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          RAISE NO_DATA_FOUND;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-04088: error during execution of trigger 'AH.CATCH01986'
    ORA-01403: no data found
    ORA-06512: at line 9
    ORA-01986: OPTIMIZER_GOAL is obsolete
    04088. 00000 -  "error during execution of trigger '%s.%s'"
    *Cause:    A runtime error occurred during execution of a trigger.
    *Action:   Check the triggers which were involved in the operation.
    -- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20999: this makes no sense
    ORA-06512: at line 10
    ORA-01986: OPTIMIZER_GOAL is obsolete
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    -- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode.

  • Error in Action when CRM Order is updated as Error from R/3 update

    Hi,
    Currently we are in CRM 6.0 SP04 and R/3 4.7 SP14
    Process:
    1) B2B user places order through ISA
    2) Order gets replicated R/3 from CRM through middleware (Scenario A setting)
    3) If there are any changes in order on either side, changes gets replicated.
    Requirement:
    We have a requirement from business to trigger workflow in CRM if order is in error. Following are the possible scenarios
    1) Error while saving order in CRM
    2) No errors in CRM. However, Order will get error in R/3 because of inconsistent configuration or master data between CRM and R/3. The BDOC will be green while replicating to R/3 and acknowledgement to CRM.
    3) BDOC status is in error
    Solution approach:
    We created an action to trigger event when order status set to "Contains error". The condition for Action trigger are Order have error free flag NE X(BUS 2000115 )  OR Status = I1030 OR status = I1056.
    Issues:
    1)     Scenario : Order is successfully create in CRM without any error. Order gets replicated to R/3 u2013 BDOC is green. However, the order gets error status in R/3 because of inconsistent configuration or master data. The acknowledgement BDOC updates the error status in CRM. However, Action does not get trigger when the order is updated as Error from R/3.
    Pls advise possible solution and also suggest any other way to achieve the required functionality to generate workflow for CRM order updated as Error from R/3.
    Regards,
    Anil Rithe

    Hi Anil,
    Try this, implement ORDER_SAVE BAdI.  This BAdI is triggered every time an order is saved, you could put in your logic to see if the order has errors, if yes trigger your workflow.
    I haven't tested but this should work for your case when the crm order is set to error status after the replication to R/3(the BDOC scenario).
    This may not be the most efficient method of doing, but this would definitely work.
    Make sure you use proper checks at the beginning  of your order_save BAdI implementation as this badi would get executed on save of every 1-order object.
    ~Kiran

  • How to Trigger a Job from se38 Report

    Hi,
    I need to trigger a job from an se38 report program.
    Currently the code I'm using is:
      SUBMIT YARTZ_SPOOL
             USER SY-UNAME
             VIA JOB 'YARTZ_JOB2'
             NUMBER 1
             TO SAP-SPOOL
             SPOOL PARAMETERS l_print_parms
             WITHOUT SPOOL DYNPRO
             AND RETURN.
    But the SY_SUBRC return I get is 8 which stands for 'Error In job Scheduling'
    Is the method used correct?
    Or am i going wrong in scheduling the job? As far as Job scheduling goes, I used the Date/Time schedule and scheduled it at a time 20 minutes later.
    Thanks.

    Hi,
    use the code
      IF p_bjob = 'X'.
        CONCATENATE sy-cprog sy-datum sy-uzeit
                    INTO jobname SEPARATED BY '_'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = jobcount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          IMPORTING
            out_archive_parameters = arc_params
            out_parameters         = print_params
            valid                  = valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF valid = chk.
          SUBMIT YARTZ_SPOOL
                          WITH <selection-screen parameters if any>
                          AND RETURN
                          USER               sy-uname
                          VIA JOB            jobname
                          NUMBER             jobcount
                          TO SAP-SPOOL
                          SPOOL PARAMETERS   print_params
                          ARCHIVE PARAMETERS arc_params
                          WITHOUT SPOOL DYNPRO.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = jobcount
              jobname              = jobname
              strtimmed            = 'X'
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              invalid_target       = 8
              OTHERS               = 9.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            MESSAGE i029 WITH jobname.
          ENDIF.
        ELSE.
          MESSAGE s000 WITH text-003.
          STOP.
        ENDIF.
      ENDIF.
    reward points if useful
    regards,
    Anji

  • Is it possible to trigger an error so that the running stored procedure is stopped?

    Hello all,
    I want to run an existing stored procedure and then I want to manually trigger an error/abort/interruption so see what happens and do some testing with that.
    Is it possible to manually trigger an error/abort/interruption on a running stored procedure so that it is stopped?
    If yes, how can I do that?
    I hope someone has an idea. For me it sounds not really difficult, but I just do not get the idea how to do it.
    Kind regards
    Peter

    Hello Visakh,
    I dont want to modify the existing procedure. I just want to run it and than stop it, but not with the button to stop it, but "kill" it somehow with an error (with not destroying the database).
    Nope you cant simulate an intermediate failure inside procedure code from outside. For that you have to modify the actual sp code itself
    Another way is by doing data manipulation in such a way which causes a error in procedure but for that you need to revisit the logic to ensure you do changes in such way as to cause an error
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Report Error from Hyperion 9.3 Dashboard

    I have created a button to process the query using hyperion 9.3 dashboard and encounter this error below.
    This error only occur when i'm using in client but in the website itself no error but result of the report is incorrect.
    Server Error [1003]: Failed to acquire access to database.
    Oracle Error - 1: ORA-1007 : invalid username/password; logon denied
    May I know what missing sript or additional script that may trigger this error? How to I ensure in future this error will not pop up again?
    Kindly advise.
    Thank you.

    Hi There,
    It appears- You've not configured the DAS from-
    Start -> All Programs -> Hyperion -> Reporting & Analysis -> Utilities and Administration -> Service Configurator
    Please note that- Restart of BI+ services is mandatory after DAS configuration to process the queries from IR web client !!!
    Let us know incase of any questions!
    - Natesh

  • My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea pig the specifics with a log. Why can't the crash reports generated by the computer itself be used?

    My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea-pig the specifics with a log. Why can't the automatic crash reports generated by the computer itself be used?  I would think they would be the most accurate and specific record of incidents, and could easily be identified with the computer serial number.  What am I missing in this scenario?

    What you're missing is that diagnostics software doesn't cover everything in any laptop made by anyone.
    Intermittent problems, and genuine hardware induced faults typically, or course, are hard to pinpoint.
    jet fighter planes contain 1000s of sensors and multimillion dollar live diagnostics and still can't "see" more than 60% of hardware potential faults.
    Lucky you, the Air however contains extremely few parts, there isnt much to diagnose on one.
    The Air contains 90% fewer parts than a typical laptop from a mere 7 years ago.  

  • Can i trigger jar app. from as3

    Can i trigger jar app. from as3.
    i'm trying like this..but i getting error.
    var jarPath:String ="http://websitename.com/folder/JavaApplets/ScreenRecorder.jar";
    record_btn.addEventListener(MouseEvent.CLICK, recordClick);
    function recordClick(event:MouseEvent):void
              var jarLoader:Loader = new Loader();
              var jarRequest:URLRequest = new URLRequest(jarPath);
              jarLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, jarError_Handler);
              jarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, jarCompleteHandler);
              jarLoader.load(jarRequest);
              addChild(jarLoader);
              function jarCompleteHandler(e:Event):void
              function jarError_Handler(error_Event:IOErrorEvent):void
                        trace(error_Event);
    Error:
    [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2124: Loaded file is an unknown type. URL: http://sitename.com/folder/JavaApplets/ScreenRecorder.jar"]
    or any other solution through flash button click.

    You cannot load Java applets into the Flash movie display list. I was going to test if Java applets run in a HTML loaded into a StageWebView (AIR only), but never got around to it Another approach is to let Flash call javascript to write the applet embed code in the HTML.
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Using HttpsURLConnection Error - from Web Dynpro

    I have this case where I need to connect to a https site using SSL api.
    I'd created a java class to connect to the https site using the normal "javax.net.ssl" package provided by J2SE api. And this work successfully.
    However, there will be a problem if i trigger an action from the view to call for this java class, there will be an error.
    One thing which i found weird is :
    1.) If i use the normal java class to connect to the https site, it uses this connection protocol :
    sun.net.www.protocol.https.DelegateHttpsURLConnection:https://server/test/test1.jsp  (Works successfully)
    But
    If I call this java class from a view, it uses this connection protocol :
    iaik.protocol.https.HttpsURLConnection:https://server:443/test/test1.jsp  (Unable to work)
    How am i to make the web dynpro to use this "javax.net.ssl" api? I tried removing two of these library file :
    iaik_jsse.jar
    iaik_ssl.jar
    but the error still occurs.
    Does anyone have any idea how to solve this problem? Thanks.

    Hi jo lum
    did you solve the problem? I am facing the same. Maybe you can give me a hint.
    Thank you in advance
    Martin

  • Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

    I just noticed today that any Graph or PDF report I try to view I get the
    following error - Error from reports from ZAM - File does not begin with
    '%PDF-'. I tried to just save the file and then open it, but get the same
    error. I can open other pdf files I have downloaded from other sites ok.
    Anyone have any idea? I haven't done anything to that server that I am
    aware of in quite a while.
    Thanks
    Bill

    I took a closer look at the files it downloaded, opened them with notepad,
    haer is what it says:
    XSL Transform or subsequent processing failedThe document has no pages.
    "Bill" <[email protected]> wrote in message
    news:2bBtk.2164$[email protected]..
    >I just noticed today that any Graph or PDF report I try to view I get the
    >following error - Error from reports from ZAM - File does not begin with
    >'%PDF-'. I tried to just save the file and then open it, but get the same
    >error. I can open other pdf files I have downloaded from other sites ok.
    >Anyone have any idea? I haven't done anything to that server that I am
    >aware of in quite a while.
    >
    > Thanks
    >
    > Bill
    >

  • As soon as I login with iChat, I get an error from MobileMe!

    Hey, I've had this issue for a while, and my work around for it was just not using iChat. However, I want to use iChat now so I need a proper resolution. Now I have mobile me with my [email protected] address, and I have my iChat account with [email protected] (created before my MM subscription).
    When I log into iChat for the first time, within minutes I get an error from MobileMe saying "You've entered an incorrect password for MobileMe, please try again"... I didn't do anything though.
    If I go to MobileMe in System Preferences, it says: "Your password has changed. Enter your new password.
    If you have not changed (or reset) your password contact MobileMe support."
    If I enter my password in and get that fixed, the next time I start up iChat it says: "Your login ID or password is incorrect"... soo I'm confused.
    The password for my @me and @mac addresses are different, is it possible they are sharing the same keychain? I do have the check box ticked to remember the password.
    Any idea's?

    Hi,
    I would not repair at this time.
    In the list of password you should find the one for iChat Or possibly several for iChat if you have different Account/Screen Names list by their Account names.
    Double click on the one that is causing you issue.
    In the new window that pops up put a tick in the Password Box. You will probably have to confirm with your Admin Password to Allow Once.
    Does this show the right password ?
    If not change the Password.
    If it does then click the Access Tab and see if iChat is Allowed (Or Allow All is being used)
    Either change to Allow All or add iChat to the List.
    7:45 PM Saturday; April 3, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • How to Trigger an IDOC from SAP R/3 to two systems at a time

    Hi experts,
    Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELVRY03 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once. We need to write a logic to route the same to two different systems
    Can any one tell me how can we do that ?
    Regards
    Ram.

    Hello Ram,
    Do you have connectivity between your production & XIQ?
    What does "connectivity" mean?
    1. RFC destination is maintained.
    2. Port defined for the RFC destination.
    If no, create these. (Search in SDN for details).
    If yes, proceed:
    1. Define the logical system for XIQ.(BD54)
    2. Define the same as your partner profile. (WE20). Add the message type SYNCH with the port for XIQ.(This is imp)
    3. Create a distribution model view with sender as "your production" & receiver as XIQ.
    3.1. Add the messages which you want to distribute.
    3.2 Generate Partner profiles.
    No coding is reqd. for this.
    BR,
    Suhas

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • Smartform Printing : Error in spool C call: Error from TemSe

    Hi! everybody,
    I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
    After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
    To create the device type I did the following :
    1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
    2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
    Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
    Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
    Spool Attributes
    Output Device    ZEB10
    Format           ZTT               Format
    Doc. Category    SMART
    Recipient
    Department
    Deleted On       19.01.2011
    Authorization
    Output Attributes
    No. of Copies   1
    Priority              5
    SAP Cover Page Do not print SAP cover page
    OS Cover Sheet  Print as set at printer
    Requested           0
    Processed           0   With Problem                             0
                            With Error (Not Printed)                 0
    Storage Mode Print
    TemSe Attributes
    Object name           SPOOL0000013836
    Data type             ????????????
    Character set         0 -
    > Character set of dev type = 1162
    Number of parts       0
    Record format
    Size in bytes         0
    Storage location
    On seeing SP01
          Spool no.              Type                 Date        Time   Status   Pages               Title
           13836      Smartforms(OTF) 11.01.2011  07:32       +          0      SMART LP01 USERID
    I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net  have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
    Regards,
    Manas

    Hi Manas,
    I am facing the same issue for one of my clients.
    Can you please share the solution with me if you have come out with it.
    Regards,
    Nirmal.K

Maybe you are looking for

  • Adding Dimensions to a Cube

    I'm building my AW incrementally as this is my first attempt in AWM2. I've created one dimension and successfully built my cube. I've now created a second dimension but I don't seem to be able to add this dimension to my cube. When I look in the GENE

  • How to make a page blind accessible

    Hey Y'all, I run a website for a die-cast toy car manufacturer ( Liberty Promotions - View it here ), The way the page is designed primarily uses images, of the cars, and of the descriptions (we do this so we can control the font, for Pirates 2, we u

  • Regardsin BDC

    what is the function module for back ground job sheduling could u plz tell me

  • Grey Screen Freeze after 10.6.7 update

    I have 2 iMacs. My wife's is 2008 3.06 Ghz 24" model with Snow Leopard. Just updated to 10.6.7, and on re-boot we entered perpetual grey screen freeze ups. Followed guidance from support article - specifically to remove peripherals (attached were 2 U

  • Google earth won't launch on macbook

    I've installed the latest version of Google Earth and when I try to launch it say's: The application Google Earth quit unexpectdley. I've uninstalled and reinstalled several times including the plug ins but still no luck. Anyone help please? Running