Not able to open form

Hi,
I am not able to open form. I am getting this error in popup message
FRM-40735 : WHEN-NEW-INSTANCE trigger raised unhandled exception ORA-00904
I have compiled one form . But no luck.
Its only happening with AR module. I am not able to understand why it happening and how i resolve this problem ?
Thanks in Advance....

Hi;
Please follow below and see its helpfull:
FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-00904 [ID 203453.1]
Troubleshooting FRM-40735: Trigger Raised Unhandled Exception ORA-xx [ID 756281.1]
FRM-40800 Trying to Login to Forms DocID: 374636.1
How to Trap Database or Application Errors in Oracle Forms? [ID 61383.1]
Resolving FRM-40735 Errors [ID 61579.1]
Regard
Helios

Similar Messages

  • Not able to open forms After R12 installation

    Hi,
    I recently installed R12.0.4 on windows 2003 sp1. Post Installation tests were successful, and I am able to login with no issues. But when I try to open any form, no form is opening.
    Thanks,
    Raj
    ~ moving this to R12 Forum
    Edited by: CalvinNHobbes on Mar 14, 2009 3:56 PM

    Duplicate thread ..
    Not able to open R12 forms after successful installation
    Re: Not able to open R12 forms after successful installation.

  • Not able to open forms after changing domain in R12.

    Hi all,
    how are you
    I have modified the domain name for my erp, i was able to complete it successfully except for opening the forms. i am not able to open the forms, though i am able to login to applications.
    i have followed the following document
    Note: 759225.1 - How to change the domain name for Oracle Applications R12?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=759225.1
    Thanks

    Hi
    Thanks for the update.
    My OS is RHEL 4. Oracle applications R12.1. It doesnt show any error when i click on particular item for forms. it is not launching any forms.
    The document mention above, is it applicable for R12.1? it suggests a patch for 11i.
    Should i directly run the EXEC FND_CONC_CLONE.SETUP_CLEAN and autoconfig?
    The query in the document is returning the following
    SQL> select node_name "Node Name", node_mode "Mode", support_cp "C", support_web "W", support_admin "A", support_forms "F" from FND_NODES;
    Node Name M C W A F
    AUTHENTICATION O N N N N
    ERPAPPS O Y Y Y Y
    Thanks

  • Not able to open Forms in Oracle Applications,after I login

    Hello All,
    I have Windows 7 and internet explorer 8 in my laptop.
    After I connected to VPN, now i'm able to open the Oracle Applications login page.
    After I enter, I can see the list of responsibilities.
    When clicked to any of the responsibilities, showing to download the JInitiator, and once it is downloaded and installed, still the forms are not opening.
    Also checked with FireFox 3.6 Version, same thing happening. Able to download the JInitiator, but after installing, forms are not opening.
    Please do let me know the fix for this.
    Thanks.

    Hi,
    I have Windows 7 and internet explorer 8 in my laptop.What is the application release?
    Do you meet the minimum requirements in these docs?
    Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i (Customer Recommended)
    Note: 389422.1 - Recommended Browsers for Oracle E-Business Suite Release 12 (Customer Recommended)
    After I connected to VPN, now i'm able to open the Oracle Applications login page.
    After I enter, I can see the list of responsibilities.
    When clicked to any of the responsibilities, showing to download the JInitiator, and once it is downloaded and installed, still the forms are not opening.Can you reproduce the issue when NOT connected through VPN?
    Can you find any errors in the Jinitiator Console Window? If not, you may need to enable trace as per these documents and check then.
    Note: 232651.1 - How to Enable Tracing in Jinitiator
    Note: 310961.1 - How To Enable The Java Console Jinitiator 1.1.8 and 1.3
    Regards,
    Hussein

  • Not Able To Open Forms Session After Developer 6i patch

    Hi,
    Our enviroment is
    Db version --> 9.2.0.6
    EBS version --> 11.5.10.2
    We are upgrading our db to 10gr2.As a prerequisite developer 6i patch (patch 19) has been applied.
    After this patch, some forms could not be opened .No error or anything observed in logs.
    After some investigation, when the responsibility key updated into new value the forms have been opened succesfully.
    Update -->
    update fnd_responsibility set responsibility_key='SYSTEM_ADMINISTRATOR_N'
    where responsibility_key='SYSTEM_ADMINISTRATOR';
    But this update caused concurrent managers not open.Because of this error -->
    Routine AFPCSQ cannot set profile option value for USER_ID. ORACLE
    error 1403 in get_responsibility_data
    Cause: get_responsibility_data
    failed due to ORA-01403: no data found.
    error.
    select application_id,responsibility_id,responsibility_key, end_date
    from fnd_responsibility
    where responsibility_key like 'SYSTEM_ADMINISTRATOR'
    returned no data.
    SYSTEM_ADMINISTRATOR responsibility may be special case.By applying this update
    to other responsibility solves the problem.But this behaviour is true or not ?
    We couldn't find any solution.
    Thanks for advices.

    Hi,
    I believe this approach is not correct since you should not update this table manually. For the CM error, it is expected to get this error as the select statement no longer returns "SYSTEM_ADMINISTRATOR" after the update.
    I suggest you obtain the FRD log file and see if errors are logged there when trying to reproduce the issue.
    Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=150168.1
    I would also suggest you enable debug on Jinitiator and see if it generates any errors.
    Regards,
    Hussein

  • ATG Rollup 6 - not able to open forms

    Guys,
    I have applied ATG Rollup 6, the patch went through fine. When I try to connect to the application it asks to install Jinitiator, I have installed it. Now, when i click on any form it repeats the same i.e to install Jinitiator. I am not able to move forward.
    Has anybody faced the similar issue
    Regards
    Kishore

    This issue is only on my pc, it works in other pc's. So there is no issue with the patch
    Thanks
    Kishore

  • Not able to open Forms

    Hi,
    I have a problem in Oracle E-business suite. After i login with my account and choose the responsibility, clicking on any form links won't do any thing. No new window is opening.
    I'm working on IE8 and we have Oracle R12.0.

    Yeas XSS filter is enabled.
    Java trace:
    "Java Plug-in 1.5.0_13
    Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM
    User home directory = C:\Users\h.farahat
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@19e09a4
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1201a25, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@1201a25
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    basic: Quiting applet ...
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1201a25, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@d9896e
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1201a25, refcount=2
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1201a25, refcount=1
    basic: Loaded image: http://app1.ooo.com:8007/OA_MEDIA/appslogo_new.gif
    "

  • Urgent:: Not able to open/lauch forms session

    Hi All,
    I had cloned our production instance to create a new instance.
    But now I'm not able to open the form session. We are having apps 11.5.10.2.
    The dbc file is perfect.. I even checked ICX parameters & related profile values.. seems to be ok..
    I can login through /dev60cgi/f60cgi. But can not lauch forms from personal home page.
    Can anyone plz suggect wht might be wrong?
    Regards..
    Edited by: user10200748 on Aug 30, 2008 10:25 PM

    Hi Kali,
    Thanks for the response.
    I'm not getting any sort of error.. It just dont proceed after clicking the menus.. Even I try to check the error from java console, but even no errors are listed in it..
    Moreover , I m getting successful AOLjtest run on the cloned instance.
    The inputs I can give is -
    The error_log shows -
    [Sun Aug 31 07:19:54 2008] [error] [client 160.95.202.46] client denied by server configuration: /fh02/BON/oraapps/common/java/java
    [Sun Aug 31 22:22:13 2008] [error] [client 160.95.202.46] client denied by server configuration: proxy:http://severname:8212/pls/BON/f
    nd_icx_launch.launch
    ~
    The access_log shows -
    160.95.202.46 - - [31/Aug/2008:22:22:11 -0500] "GET /OA_HTML/RF.jsp?function_id=271&resp_id=20456&resp_appl_id=160&security_group_id=0&lang_code=US&oas=NvqKw
    EsSQW1RppGR5XrWdw..&formsLink=yes HTTP/1.1" 302 376
    lb57gpb1.ced.corp.cummins.com - - [31/Aug/2008:22:22:13 -0500] "GET /pls/BON/fnd_icx_launch.launch?resp_app=ALR&resp_key=ALERT_MANAGER&secgrp_key=STANDARD&s
    tart_func=ALR_ALRALERT&other_params= HTTP/1.1" 403 240
    ~
    Regards,
    Edited by: user10200748 on Aug 31, 2008 8:36 PM

  • MAC's not able to open a form

    I created a form in LifeCycle Designer in 2009 and revised it in 2010. The form was distributed through Acrobat Pro on a PC. When the link is available on a website folks with MAC's (version 10.1.3 are not able to open it. Is this a common issue? Do I need to redo the form again in Designer and then bring it into Acrobat Pro X to distribute it? The only ones haveing problems witrh the form are on MAC's.

    The default PDF viewer on the Mac is the Preview application. It does not support XFA-based PDF forms, which is what LiveCycle Designer creates. It has lousy support for forms created in Acrobat as well, so it should be avoided for PDF forms. The PDF viewer on the Mac with the best support for PDF forms is Adobe Reader/Acrobat, and the most recent version/update the better.

  • Not able to open office documents from SharePoint site using Forms auth on a Mac with Office 2011

    I posted the same question on the Mac Office forum (http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macstart/not-able-to-open-office-documents-from-sharepoint/7fba517b-ebd1-4e90-a54a-c70c5f035146?tm=1418836613595) but figured it's probably more
    of a SharePoint question so I'm going to try here as well.
    We just discovered an issue where a user logs into a SharePoint site using Forms based authentication.  When clicking on an Office file they get
    'Sorry, this site hasn't been shared with you' message:
    The user can download the file and can also open the file within the browser (Office Web apps).  This SharePoint site is on a Web app that uses mixed authentication (forms for external partners) and Windows/Kerberos for internal employees.
     When logging into this same site as an internal user I am able to open the file just fine.
    I checked the 'Microsoft Document Connection' settings and selected and deselected 'Enable Basic Authentication' and neither helped.  
    I also tried to add the site URL under 'Microsoft Document Connection' -> Add connection -> Connect to a SharePoint site.  When I put the site URL in and click 'Connect', I get an error saying that 'Only connection to SharePoint or OneDrive
    servers are supported' message.  If I try the same thing as an internal user using Windows/Kerberos authentication I am able to connect to the site just fine.
    Any ideas??

    Hi Szamir,
    As you are using Form Based authentication to open the documents from SharePoint site, I recommend to check the things below:
    Make sure that the user has permission to view the documents in the site.
    Please select "Sign me in automatically" when you sign in the login page.
    More references:
    https://social.technet.microsoft.com/Forums/en-US/ae8cc886-c362-4709-8575-07d339144714/not-able-to-open-microsoft-office-documentsdocxxls-etc-from-document-library-in-a-fba-site-in?forum=sharepointgeneralprevious
    http://manojvnair.blogspot.com/2011/06/login-prompt-while-opening-office.html
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • We are facing issue to open a static form PDF in Chrome Browser , which is loaded using Adobe FormService.Able to open in other browsers but not able to open the static forms in chrome with LC 11.0 version

    We are facing issue to open a static form PDF in Chrome Browser
    , which is loaded using Adobe FormService.
    Able to open in other browsers but not able to open the static
    forms in chrome with LC 11.0 version
    Below error message:
    The document you are trying to load
    requires Adobe Reader 8 or higher. You may not have the Adobe Reader installed
    or your viewing environment may not be properly configured to use Adobe Reader.
    For information on how to install Adobe Reader and configure your viewing
    environment please see http://www.adobe.com/go/pdf_forms_configure.
    Please let us know do we have any option for disabling
    <NoXFA/> tag by calling formService. RenderPDF() method on adobe service
    For dynamic forms its working by adding <NOXFA/> in
    DDX xml . only for static forms its not working because we are not using
    assembler service for this forms.
    Please let us know how we can disable XFA in static forms??????????????????

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • I am not able to compile forms and my form application is close

    Hi All,
    There is strange problem arising in my system. I am not able compile the forms from my machine.MY machine is having Vista as OS and I have installed the latest 10g release of forms (the vista compaitable version). Also I am not able to open any of the existing and developed forms for one One Oracle Retail product. The existing forms were build on 10g version 2. (10.0.2). But when I am trying to open the forms, the application hangs immediately and then its says explorer is closing, the program has some problems. The same error comes in both the cases.
    Thanks & Regards,
    Debabrata

    Debabrata,
    First You must read this topic from Steve Cosner:
    Forms 10g installed and running on Windows Vista
    After You must to install Forms 10g under Window Vista following the instruction in the topic.
    At this time Form Builder work fine; but the Compiler called from Framework return errors and the program hang.
    I have tried to run frmcmp.exe outside the Form Builder and the program newly abort.
    I have sended my Form to Steve Cosner and I attend a reply.
    Bye
    Gaetano

  • Not able to generate form in the web brower

    I am not able to open a form in the web browser...
    I have started OC4J instance and connect to the database...
    Errors :---
    In the java Console :--
    Java Plug-in 1.6.0_03
    Using JRE version 1.6.0_03 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\sai
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoSuchMethodException:
    sun.java2d.SunGraphicsEnvironment.setFallbackFont(java.lang.String)
         at java.lang.Class.getMethod(Unknown Source)
         at oracle.forms.engine.Main.initDesktop(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NoSuchMethodException: sun.java2d.SunGraphicsEnvironment.preferLocaleSpecificFonts()
         at java.lang.Class.getMethod(Unknown Source)
         at oracle.forms.engine.Main.initDesktop(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.2
    java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission
    java.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:156)
         ... 16 more
    Please tell me the solution how to resolve the issue....
    Thanks in Advance.....

    hi
    u have problem in these lines.
    webUtilArchive=/forms90/java/frmwebutil.jar,/forms90/java/jacob.jar
    webUtilConfig=/forms90/server/webutil.cfg
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    install.syslib.0.7.1=jacob.dll|94208|1.1|truetry something like this.
    formsweb.cfg
    [default]
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    envFile=c:\DevSuiteHome_1\forms90\webutil\server\webutil.env
    # System parameter: default base HTML file
    #baseHTML=base.htm
    #baseHTMLjinitiator=basejini.htm
    #baseHTMLjpi=basejpi.htm
    #baseHTMLie=baseie.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTML=webutilbase.htm
    baseHTMLie=webutilbase.htmwebutil.cfg
    [webutil]
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljini.htm
    baseHTMLjpi=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljpi.htm
    archive_jini=f90all_jinit.jar
    archive=f90all.jar
    lookAndFeel=oracle
    width=100%
    height=100%
    install.syslib.location=/webutil
    ## Change 2nd value to correct file size to avoid raising an error
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    envFile=C:\DevSuiteHome_1\forms90\webutil\server\webutil.env
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=c:\temp
    transfer.appsrv.accessControl=FALSE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    [webutilie]
    IE=native
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    baseHTML=C:\DevSuiteHome_1\Webutil\server\webutilbase.htm
    baseHTMLie=C:\DevSuiteHome_1\forms90\Webutil\server\webutilbase.htm
    archive=f90all.jar
    lookAndFeel=oracle
    width=100%
    height=100%
    install.syslib.location=/webutil
    ## Change 2nd value to correct file size to avoid raising an error
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    envFile=C:\DevSuiteHome_1\forms90\webutil\server\webutil.env
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=c:\temp
    transfer.appsrv.accessControl=FALSE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    [webutiljpi]
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljpi.htm
    baseHTMLjpi=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljpi.htm
    baseHTMLie=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljpi.htm
    baseHTML=C:\DevSuiteHome_1\forms90\Webutil\server\webutiljpi.htm
    archive=f90all.jar
    lookAndFeel=oracle
    width=100%
    height=100%
    install.syslib.location=/webutil
    ## Change 2nd value to correct file size to avoid raising an error
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    envFile=C:\DevSuiteHome_1\forms90\webutil\server\webutil.env
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=c:\temp
    transfer.appsrv.accessControl=FALSE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\tempsarah
    Edited by: QGIRCO on Jan 7, 2010 9:45 AM

  • Not able to open MS Excel attachment in the email Using SO_NEW_DOCUMENT_ATT

    Hi, I am not able to open the attached MS excel in the mail its giving error as "Problems came up in the following areas during load Table". My requirement is to send a colored excel as attachment through mail when the program is executed in background. For this i have reffered the following link " http://wiki.sdn.sap.com/wiki/display/Snippets/FormattedExcelasEmailAttachment". That is i have used the XML method for this . I would be thankful if you can let me know where i am doing the mistake For refference i am pasting my code: * Send mail when executed in background mode IF sy-batch eq 'X'. PERFORM send_mail_bkgrnd. ELSE. " Foreground mode PERFORM build_layout. PERFORM build_field_cat. PERFORM display. ENDIF. FORM SEND_MAIL_BKGRND . PERFORM process_xml_data. PERFORM disatch_mail. ENDFORM. " SEND_MAIL_BKGRND &---- *& Form PROCESS_XML_DATA &---- FORM PROCESS_XML_DATA . DATA lv_xlwidth TYPE i. * Creating a ixml Factory l_ixml = cl_ixml=>create( ). * Creating the DOM Object Model l_document = l_ixml->create_document( ). * Create Root Node 'Workbook' l_element_root = l_document->create_simple_element( name = 'Workbook' parent = l_document ). l_element_root->set_attribute( name = 'xmlns' value = 'urn:schemas-microsoft-com:office:spreadsheet' ). ns_attribute = l_document->create_namespace_decl( name = 'ss' prefix = 'xmlns' uri = 'urn:schemas-microsoft-com:office:spreadsheet' ). l_element_root->set_attribute_node( ns_attribute ). ns_attribute = l_document->create_namespace_decl( name = 'x' prefix = 'xmlns' uri = 'urn:schemas-microsoft-com:office:excel' ). l_element_root->set_attribute_node( ns_attribute ). * Create node for document properties. r_element_properties = l_document->create_simple_element( name = 'TEST_REPORT' parent = l_element_root ). l_value = sy-uname. l_document->create_simple_element( name = 'Author' value = l_value parent = r_element_properties ). * Styles r_styles = l_document->create_simple_element( name = 'Styles' parent = l_element_root ). * Style for Header r_style = l_document->create_simple_element( name = 'Style' parent = r_styles ). r_style->set_attribute_ns( name = 'ID' prefix = 'ss' value = 'Header' ). r_format = l_document->create_simple_element( name = 'Font' parent = r_style ). r_format->set_attribute_ns( name = 'Bold' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Interior' parent = r_style ). r_format->set_attribute_ns( name = 'Color' prefix = 'ss' value = '#92D050' ). r_format->set_attribute_ns( name = 'Pattern' prefix = 'ss' value = 'Solid' ). r_format = l_document->create_simple_element( name = 'Alignment' parent = r_style ). r_format->set_attribute_ns( name = 'Vertical' prefix = 'ss' value = 'Center' ). r_format->set_attribute_ns( name = 'WrapText' prefix = 'ss' value = '1' ). r_border = l_document->create_simple_element( name = 'Borders' parent = r_style ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Bottom' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Left' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Top' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Right' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). * Style for Data "Color properties are set over here r_style1 = l_document->create_simple_element( name = 'Style' parent = r_styles ). r_style1->set_attribute_ns( name = 'ID' prefix = 'ss' value = 'Data' ). r_border = l_document->create_simple_element( name = 'Borders' parent = r_style1 ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Bottom' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Left' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Top' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). r_format = l_document->create_simple_element( name = 'Border' parent = r_border ). r_format->set_attribute_ns( name = 'Position' prefix = 'ss' value = 'Right' ). r_format->set_attribute_ns( name = 'LineStyle' prefix = 'ss' value = 'Continuous' ). r_format->set_attribute_ns( name = 'Weight' prefix = 'ss' value = '1' ). * Worksheet r_worksheet = l_document->create_simple_element( name = 'Worksheet' parent = l_element_root ). r_worksheet->set_attribute_ns( name = 'Name' prefix = 'ss' value = 'Sheet1' ). * Table r_table = l_document->create_simple_element( name = 'Table' parent = r_worksheet ). r_table->set_attribute_ns( name = 'FullColumns' prefix = 'x' value = '1' ). r_table->set_attribute_ns( name = 'FullRows' prefix = 'x' value = '1' ). * Column Formatting DO 32 TIMES. CASE sy-index. WHEN 1. lv_xlwidth = '300'. WHEN 2. lv_xlwidth = '300'. WHEN OTHERS. lv_xlwidth = '300'. ENDCASE. PERFORM clmn_formatting USING lv_xlwidth. ENDDO. * Blank Row r_row = l_document->create_simple_element( name = 'Row' parent = r_table ). * Column Headers Row r_row = l_document->create_simple_element( name = 'Row' parent = r_table ). r_row->set_attribute_ns( name = 'AutoFitHeight' prefix = 'ss' value = '1' ). * VC. No. r_cell = l_document->create_simple_element( name = 'Cell' parent = r_row ). r_cell->set_attribute_ns( name = 'StyleID' prefix = 'ss' value = 'Header' ). r_data = l_document->create_simple_element( name = 'Data' value = 'VC No.' parent = r_cell ). r_data->set_attribute_ns( name = 'Type' prefix = 'ss' value = 'String' ). * Source r_cell = l_document->create_simple_element( name = 'Cell' parent = r_row ). r_cell->set_attribute_ns( name = 'StyleID' prefix = 'ss' value = 'Header' ). r_data = l_document->create_simple_element( name = 'Data' value = 'Source' parent = r_cell ). r_data->set_attribute_ns( name = 'Type' prefix = 'ss' value = 'String' ). DO 30 TIMES. * * TPLGRP r_cell = l_document->create_simple_element( name = 'Cell' parent = r_row ). r_cell->set_attribute_ns( name = 'StyleID' prefix = 'ss' value = 'Header' ). r_data = l_document->create_simple_element( name = 'Data' value = '' parent = r_cell ). r_data->set_attribute_ns( name = 'Type' prefix = 'ss' value = 'String' ). ENDDO. * Blank Row after Column Headers r_row = l_document->create_simple_element( name = 'Row' parent = r_table ). DO 32 TIMES. r_cell = l_document->create_simple_element( name = 'Cell' parent = r_row ). r_cell->set_attribute_ns( name = 'StyleID' prefix = 'ss' value = 'Data' ). ENDDO. * Data Table CLEAR gs_output. LOOP AT gt_output INTO gs_output. r_row = l_document->create_simple_element( name = 'Row' parent = r_table ). DO 32 TIMES. CASE sy-index. WHEN 1. a_dvalue = gs_output-vc_number. WHEN 2. a_dvalue = gs_output-source. WHEN 3. a_dvalue = gs_output-tplgrp_01. WHEN 4. a_dvalue = gs_output-tplgrp_02. WHEN 5. a_dvalue = gs_output-tplgrp_03. WHEN 6. a_dvalue = gs_output-tplgrp_04. WHEN 7. a_dvalue = gs_output-tplgrp_05. WHEN 8. a_dvalue = gs_output-tplgrp_06. WHEN 9. a_dvalue = gs_output-tplgrp_07. WHEN 10. a_dvalue = gs_output-tplgrp_08. WHEN 11. a_dvalue = gs_output-tplgrp_09. WHEN 12. a_dvalue = gs_output-tplgrp_10. WHEN 13. a_dvalue = gs_output-tplgrp_11. WHEN 14. a_dvalue = gs_output-tplgrp_12. WHEN 15. a_dvalue = gs_output-tplgrp_13. WHEN 16. a_dvalue = gs_output-tplgrp_14. WHEN 17. a_dvalue = gs_output-tplgrp_15. WHEN 18. a_dvalue = gs_output-tplgrp_16. WHEN 19. a_dvalue = gs_output-tplgrp_17. WHEN 20. a_dvalue = gs_output-tplgrp_18. WHEN 21. a_dvalue = gs_output-tplgrp_19. WHEN 22. a_dvalue = gs_output-tplgrp_20. WHEN 23. a_dvalue = gs_output-tplgrp_21. WHEN 24. a_dvalue = gs_output-tplgrp_22. WHEN 25. a_dvalue = gs_output-tplgrp_23. WHEN 26. a_dvalue = gs_output-tplgrp_24. WHEN 27. a_dvalue = gs_output-tplgrp_25. WHEN 28. a_dvalue = gs_output-tplgrp_26. WHEN 29. a_dvalue = gs_output-tplgrp_27. WHEN 30. a_dvalue = gs_output-tplgrp_28. WHEN 31. a_dvalue = gs_output-tplgrp_29. WHEN 32. a_dvalue = gs_output-tplgrp_30. ENDCASE. PERFORM fill_data_val_excel USING a_dvalue. ENDDO. CLEAR gs_output. ENDLOOP. * Creating a Stream Factory l_streamfactory = l_ixml->create_stream_factory( ). * Connect Internal XML Table to Stream Factory l_ostream = l_streamfactory->create_ostream_itable( table = l_xml_table ). * Rendering the Document l_renderer = l_ixml->create_renderer( ostream = l_ostream document = l_document ). l_rc = l_renderer->render( ). * Saving the XML Document l_xml_size = l_ostream->get_num_written_raw( ). ENDFORM. " PROCESS_XML_DATA &---- *& Form DISATCH_MAIL &---- FORM DISATCH_MAIL . DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE. DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE. DATA: objbin LIKE solix OCCURS 10 WITH HEADER LINE. DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE. DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE. DATA: doc_chng LIKE sodocchgi1. DATA: tab_lines LIKE sy-tabix. DATA: l_num(3). DATA: subj_date(10) TYPE c. * Mail Subject data lv_date TYPE d. lv_date = sy-datum. CONCATENATE lv_date6(2) '-' lv_date4(2) '-' lv_date+0(4) INTO subj_date. CONCATENATE 'SAP Application Usage Report ' subj_date INTO doc_chng-obj_descr SEPARATED BY space. * Mail Contents objtxt = 'Dear User,'. APPEND objtxt. CLEAR objtxt. APPEND objtxt. CONCATENATE 'Please find the attached SAP Application Usage Report for ' subj_date INTO objtxt SEPARATED BY space. " Mail Contents APPEND objtxt. CLEAR objtxt. APPEND objtxt. objtxt = 'Thanks & Regards,'. APPEND objtxt. objtxt = 'Himanshu Kanekar'. APPEND objtxt. DESCRIBE TABLE objtxt LINES tab_lines. READ TABLE objtxt INDEX tab_lines. doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ). * Packing List For the E-mail Body objpack-head_start = 1. objpack-head_num = 0. objpack-body_start = 1. objpack-body_num = tab_lines. objpack-doc_type = 'RAW'. APPEND objpack. * Creation of the Document Attachment LOOP AT l_xml_table INTO wa_xml. CLEAR objbin. objbin-line = wa_xml-data. APPEND objbin. ENDLOOP. DESCRIBE TABLE objbin LINES tab_lines. objhead = 'SAP Login Details'. APPEND objhead. * Packing List For the E-mail Attachment objpack-transf_bin = ''."'X'. objpack-head_start = 1. objpack-head_num = 0. objpack-body_start = 1. objpack-body_num = tab_lines. CONCATENATE 'SAP_Login_Details' subj_date INTO objpack-obj_descr SEPARATED BY space. objpack-doc_type = 'XLS'. objpack-doc_size = tab_lines * 255. APPEND objpack. * Target Recipent CLEAR reclist. reclist-receiver = reclist-rec_type = 'U'. APPEND reclist. * Sending the document CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = doc_chng put_in_outbox = 'X' commit_work = 'X' TABLES packing_list = objpack object_header = objhead contents_txt = objtxt contents_hex = objbin receivers = reclist EXCEPTIONS too_many_receivers = 1 document_not_sent = 2 operation_no_authorization = 4 OTHERS = 99. ENDFORM. " DISATCH_MAIL

    Refer:
    http://www.sap-img.com/abap/sending-mail-with-attachment-report-in-background.htm
    http://www.saptechies.com/sending-mail-with-attachment-report-in-background/

  • Not able to open XMind files from IE in read only mode

    I have configured my SharePoint Farm to support .xmind file types
    Below are the steps I have done
    1.  
    Added an entry in DOCICON.XML
        <Mapping Key="xmind" Value="xmind_file1.png" EditText="XMind Mapping Software"  OpenControl="SharePoint.OpenDocuments"/>
    2. Added an entry in htmltransinfo.xml
        <Mapping Extension="xmind" AcceptHeader="application/vnd.xmind.workbook" HandlerUrl="" ProgId=""/>
    3. Added a MiME type 'application/vnd.xmind.workbook' in the Inetmgr.
    Now, xmind files are getting detected, but I am not able to open xmind files in read only mode from IE.
    Xmind files are working perfectly from Mozilla, but my client wants the xmind to be working perfectly from IE.
    Need a help on this issue....

    Hi Aries,
       Please find the screenshot below , while I am trying to open the xmind file in read only mode. It is redirecting the user to a blank page...
    Also please find the extract from the fiddler when trying to open it after selecting the read only mode
    GET http://myserver/sites/Team_test_8/Documents/file1.xmind HTTP/1.1
    Accept: text/html, application/xhtml+xml, */*
    Referer:
    http://myserver/sites/Team_test_8/Documents/Forms/AllItems.aspx
    Accept-Language: en-US
    User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Accept-Encoding: gzip, deflate
    Host: myserver
    If-Modified-Since: Tue, 22 Apr 2014 06:40:41 GMT
    If-None-Match: "{3243523D-B412-4437-A587-FA02D4C3C763},9"
    Connection: Keep-Alive
    Cookie: WT_FPC=id=125.22.78.82-1203562128.30325182:lv=1398735003583:ss=1398735003583; WSS_KeepSessionAuthenticated={ce7264f1-49e7-4483-9413-eed8c6929dd7}; ASP.NET_SessionId=knrzwvfb03puo1551qwl3lut
    Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==
    HTTP/1.1 401 Unauthorized
    Server: Microsoft-IIS/7.5
    SPRequestGuid: 16c42597-cfa9-4993-a19a-539ae9b5a7ec
    WWW-Authenticate: NTLM TlRMTVNTUAACAAAAEAAQADgAAAAFgomiyxgpfwFl18AAAAAAAAAAAKQApABIAAAABgGxHQAAAA9FAFIASQBDAFMAUwBPAE4AAgAQAEUAUgBJAEMAUwBTAE8ATgABABYARQBTAEUAUwBTAE0AVwAyADQAMgA1AAQAFgBlAHIAaQBjAHMAcwBvAG4ALgBzAGUAAwAuAEUAUwBFAFMAUwBNAFcAMgA0ADIANQAuAGUAcgBpAGMAcwBzAG8AbgAuAHMAZQAFABYAZQByAGkAYwBzAHMAbwBuAC4AcwBlAAcACACy5d2OcGPPAQAAAAA=
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 14.0.0.6114
    Date: Tue, 29 Apr 2014 06:02:10 GMT
    Content-Length: 0
    Proxy-Support: Session-Based-Authentication

Maybe you are looking for

  • TS3642 It is really unacceptable that I cannot transfer my garageband format songs from iPad to iTunes for windows and then add them to my new iPad.  Any ideas?

    http://support.apple.com/kb/TS3642 tells me that this is not possible because garageband format songs are saved as folders. I just want to transfer songs from one iPad to another.  Why does Apple make things so hard?

  • Music Wont Play

    About 5 days ago for no apparent reason at all, about 7000 songs which i have collected over a number of years has just decided that it wont play in ITUNES or in any other of my media players. When you click on Play over a song nothing happens. The p

  • About table maintenance generator

    hi, 1. why we have to give a function group name while creating table maintenance generator for a ztable. 2. while creating tmg we have to check one of the radio button under recording routine. wht does recording routine means?

  • Webdynpro Database Error

    Hi, I have deployed compliance calibrator 5.2 webdynpro on Web AS Java 700 SP10. The database is SAP DB on windows 2003. I have followed the installation document and after deploying the ccappcomp file and all other files.I have restarted the server

  • Photos disappeared from iPhoto Application

    Help! I have had about six months worth of photos disappear when I open iPhoto. The photos still exist in the files system in the iPhoto folder, but aren't showing up when I open the application. I have tried rebuilding the library database, recoveri