... Forms error for LOV....

Hi.
i have atext field which contains Site IDs..
when user selectes from LOV, the rest ofthe fields shows the data
.. i dont know but an error.. FRM 40106... NO nvigable item in destination block is shown. i do not know why the error is comin basically its a meesagge, and after this message it does returns the record in appropriate field. The stragne thing is for a few field it does not show the message and show the record.
Kindly explain wat can be causes of such error. Its beyond my experience.
thanx alot .

Hello,
Cause:  Runtime error. A GO_BLOCK statement references a block with no enterable items.
Action:  Remove the statement or make at least one item in the block enterable. Level:  >25
Type:  Error
Francois

Similar Messages

  • Contact form error for .graphics domain

    I've created a contact from but when I try to add my email address I get the error message "A valid email address is requited. Multiple email addresses may be separated with a semicolon".
    If I put in my hotmail or gmail account it works fine so I assume it's because I have a .graphics domain. Although I don't think the host I'm using (godaddy) lets me send emails to an external address because when I try I get the error "encounter an error" next to the submit button.
    If it helps my website is nova.graphics
    Thanks

    i haven't bother to finish it off as after the  #formWrap nothing else was changing at all;/
    im new to all this so will be greatfull for some piece of advice:)
    Can you give a bit more detailed explanation of what you want to change and what is not changing? Also, can you share a URL to your webpage so we can see it in action?

  • Forms Personalization for an LOV -- Issue

    Dear All,
    I want to restrict the Expenditure Types LOV in the Expenditure Entry screen in Projects Module. I am using forms personalization for this.
    The restriction is done as per Operating Unit.
    The LOV query used by the current system is:
    /* Formatted on 2010/02/04 13:01 (Formatter Plus v4.5.2) */
    SELECT et.expenditure_type, et.unit_of_measure uom, et.cost_rate_flag,
    et.description, et.system_linkage_function system_linkage_function,
    et.system_linkage_m
    FROM pa_expenditure_types_expend_v et, pa_expenditure_types_desc_v dt
    WHERE et.expenditure_type = dt.expenditure_type
    AND :exp_items.expenditure_item_date
    BETWEEN et.expnd_typ_start_date_active
    AND NVL (
    et.expnd_typ_end_date_active,
    :exp_items.expenditure_item_date
    AND :exp_items.expenditure_item_date
    BETWEEN et.sys_link_start_date_active
    AND NVL (
    et.sys_link_end_date_active,
    :exp_items.expenditure_item_date
    AND ( et.system_linkage_function = :GROUPS.system_linkage_function
    OR ( :GROUPS.system_linkage_function = 'ST'
    AND et.system_linkage_function = 'OT'
    AND ( NVL (
    :expenditures.denom_currency_code,
    :expenditures.acct_currency_code
    ) = :expenditures.acct_currency_code
    OR ( :expenditures.denom_currency_code !=
    :expenditures.acct_currency_code
    AND et.cost_rate_flag = 'N'
    ORDER BY et.expenditure_type
    I am adding a DECODE condition to the above query, to make the following modified query:
    /* Formatted on 2010/02/04 13:01 (Formatter Plus v4.5.2) */
    SELECT et.expenditure_type, et.unit_of_measure uom, et.cost_rate_flag,
    et.description, et.system_linkage_function system_linkage_function,
    et.system_linkage_m
    FROM pa_expenditure_types_expend_v et, pa_expenditure_types_desc_v dt
    WHERE et.expenditure_type = dt.expenditure_type
    AND :exp_items.expenditure_item_date
    BETWEEN et.expnd_typ_start_date_active
    AND NVL (
    et.expnd_typ_end_date_active,
    :exp_items.expenditure_item_date
    AND :exp_items.expenditure_item_date
    BETWEEN et.sys_link_start_date_active
    AND NVL (
    et.sys_link_end_date_active,
    :exp_items.expenditure_item_date
    AND ( et.system_linkage_function = :GROUPS.system_linkage_function
    OR ( :GROUPS.system_linkage_function = 'ST'
    AND et.system_linkage_function = 'OT'
    AND ( NVL (
    :expenditures.denom_currency_code,
    :expenditures.acct_currency_code
    ) = :expenditures.acct_currency_code
    OR ( :expenditures.denom_currency_code !=
    :expenditures.acct_currency_code
    AND et.cost_rate_flag = 'N'
    AND DECODE (
    (SELECT DISTINCT fdfcuv.application_column_name
    FROM hr_operating_units hou,
    pa_lookups pl,
    fnd_descr_flex_col_usage_vl fdfcuv
    WHERE pl.meaning = hou.NAME
    AND fdfcuv.end_user_column_name = pl.predefined_flag
    AND pl.lookup_type = 'PFC_OU_TO_DIVISION_LOOKUP'
    AND hou.NAME = :GROUPS.operating_unit
    AND fdfcuv.descriptive_flexfield_name =
    'PA_EXPENDITURE_TYPES_DESC_FLEX'),
    'ATTRIBUTE1', dt.attribute1,
    'ATTRIBUTE2', dt.attribute2,
    'ATTRIBUTE3', dt.attribute3,
    'ATTRIBUTE4', dt.attribute4
    ) = 'Y'
    ORDER BY et.expenditure_type
    The Apply now button in Forms Personalization screen throws up the following error:
    FRM-41076: Error populating Group.
    followed by...
    FRM-41072: Cannot create Group %s
    I first query above is also getting accepted with a condition like "AND ROWNUM = 1'
    but the 2nd query is throwing errors...
    Please Help.

    This worked..
    Just I don't have to press the Apply Now button.
    Just saved and executed it in form perfectly
    Thanks !!

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • Where can I find a full list of FRM Errors for forms 9i?

    Where can I find a full list of FRM Errors for Forms 9i?
    I have installed Forms 9i + the documentation CD but it has very little documentation on forms, just lots of J2EE stuff.

    Look in the Forms - Builder help. There you find a lot about Forms - Error.

  • 'SELECT_LIST_FROM_LOV' giving error if LOV fetches 47 rows

    Hi All,
    We are using 'SELECT_LIST_FROM_LOV' function to create dynamic items in a tabular form. It works fine when LOV fetches < = 47 rows but is giving 'buffer overflow error' if it fetches more!
    Any help/suggestions would be appreciated.
    APEX Version : 2.2.1
    Regards,
    Hari

    Did you try it first? I know the issue and ran into the exact same one and this is how to change it. Calling that function just returns a string to Apex and the buffer is only so big for LOV's. If you need more than 47 rows in your case, you need the _XL function.
    You are correct that it returns a CLOB, but its returning that to Apex, not to your process so to speak. It will handle it correctly in its internal API's.
    Try it and if it doesn't work we can figure it out but give it a shot!

  • Form opening for some users but not others

    I created a form with an area for the recipient to simply type their name, save the document and email it back.  This works for some but I have a user getting an error message:
    "This document does not allow changes to be saved.  Any changes you have made will not be included in the document when it's mailed.  Do you want to continue?"
    Could this be an issue with the user's Reader?  They cannot save or email the document once they type in their name.

    Reader XI is the first version of Adobe Reader that can save a filled in PDF form without any additional processing steps.
    Versions of Reader prior to version XI could not save filled-in forms. Version 7 with updates was the first version of Reader that could save forms for which special Extended Reader Rights were applied to.
    Which version of Reader are the users with problems using?
    If before version XI and version 7 or newer, then you need to apply Extended Reader Rights to the form. For users with version 6 or older, they will have to upgrade to a newer version of Reader.

  • Adobe Print Form Error - Invalid Response Code: (401) Unauthorized

    Hi, I've just configured ADS on Netweaver 2004s. I've run through the config guide and everything works ok including the form generation test report FP_TEST_00 which outputs PDF without issue. I have two problems:
    -When I run a "test connection" on the RFC destination 'ADS' using the ADSUSER for the login details, I get a 403 not authorized error. Changing this user to J2EE_ADMIN resolves the issue and I get a 302 redirect. I've tried adding other permissions to the ADSUSER without any luck.
    -Running a report on the Portal under e.g. Executive Reporting and attempting to just right-click and hit "Print Version" results in a 401 error for request "http://hostXX:portXX/AdobeDocumentServices/Config?style=document" exactly as per this thread: Re: Adobe Form Creation Error - Invalid Response Code: (401) Unauthorized. However, I've double-checked all user details in Visual Administrator (ADS_AGENT) and on the ABAP stack side in su01 and sm59. I also tried changing the users to dialog with no effect. If I go directly to that URL and log in with ADSUSER I get a 403 not authorised error (using J2EE_ADMIN is again successful). I've noticed that in the http access log the HTTP protocol used is 1.1 when using the web browser and 1.0 when using the sm59 connection test. I've heard of problems with using HTTP/1.1, but when I change the options on IE8 to use HTTP/1.0, it changes for all other requests except the request for "http://hostXX:portXX/AdobeDocumentServices/Config?style=document", which is still submitted as HTTP/1.1. Conversely, in sm59 if I specify that it should use HTTP/1.1 under Special Options, I can see from the access log that it is in fact still using HTTP/1.0. Could this be related to the 401 error code that I'm seeing?
    Any help would be appreciated. Thanks,
    John

    I think I've ruled out the HTTP protocol version as being an issue here. However I may have found more useful information on the actual issue.
    In the security log under usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\log\system I see a different message for the unsuccessful report PDF generation attempt to that of a direct query to the same URL with the same web browser, as below. The unsuccessful attempt appears to forget the ADSUSER credentials and resort to the default J2EE_GUEST which has no authorisations and therefore fails. The direct query doesn't lose the ADSUSER credentials and I think this is because it prompts for the user/password when needed. Does anyone know why this happens for a direct query to this URL but not for the PDF generation attempt?
    Resulting logs from unsuccessful PDF generation attempt:
    #1.5 #005056AF1EB300750000002D0000142000048B4D2208F055#1279063306899#/System/Security/WS/SecurityProtocol#sap.com/irj#com.sap.security.core.client.ws.AuthenticationContext.setDestination#AICL0001#622##<host>_<sid>_3576650#AICL0001#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_5##0#0#Info#1#com.sap.security.core.client.ws.AuthenticationContext#Java###An destination was set with the following properties:
    {0}.#1#{PROXY_ENABLED=false, CLIENT_AUTHENTICATION_KEYSTORE_VIEW=, SAP_SID=, SLD_URL=, USERNAME=ADSUSER, SLD_WS_NAME=, URL=http://<host>:50000/AdobeDocumentServices/Config?style=document, PROXY_URL=, SSL_SERVER_AUTHENTICATION=IGNORE, SLD_WS_SYSTEM_NAME=, PASSWORD=XXX, SLD_WS_PORT=, SAP_CLIENT=, DEFAULT_URL=http://localhost:50000/AdobeDocumentServices/Config?style=document, Authentication=BASIC, CLIENT_AUTHENTICATION_KEYSTORE_CERTIFICATE=, URL_CHOICE=Custom, SAP_LANGUAGE=}#
    #1.5 #005056AF1EB30072000000250000142000048B4D220A12ED#1279063306977#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#J2EE_GUEST#0##<host>_<sid>_3576650#Guest#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_24##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.FAILED
    User: N/A
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          exception             true       Authentication did not succeed.#
    Successful direct access of URL http://<host>:50000/AdobeDocumentServices/Config?style=document (click on rpData test and manually log in as ADSUSER):
    #1.5 #005056AF1EB30070000000250000142000048B4D3E260016#1279063778670#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#ADSUSER#675##<host>_<sid>_3576650#Guest#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.OK
    User: ADSUSER
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          true       true                 
    Central Checks                                                                                true                  #
    #1.5 #005056AF1EB30070000000260000142000048B4D3E2666A6#1279063778702#/System/Security/Audit/J2EE##com.sap.engine.services.security.roles.audit#ADSUSER#675##<host>_<sid>_3576650#ADSUSER#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.roles.audit#Java###{0}: Authorization check for caller assignment to J2EE security role [{1} : {2}].#3#ACCESS.OK#SAP-J2EE-Engine#all#

  • Error trying to open an Excel worksheet...getting Visual Basic MS Forms error

    Hi
    We have just upgraded a user from Office 2007 to 2013. However he is now unable to open an Excel spreadsheet and keeps getting Visual Basic errors
    MS Forms error. “Could not load an object because it is not available on this machine.”
    Acknowledge the error then..
    MS VBA error “Compile error Can’t find project or library”.
    On acknowledging and closing VB window the spreadsheet is available although VB is not running.
    VBA Project (Microsoft Forms 2.0 Object Library). However we still received the same errors.
    So we reinstalled Office 2013 to see if this would update the dll files. Alas the same error. Another user who works with VB said the FM20.dll files should be deleted and replaced with new ones. We acquired another FM20.dll file deleted the older one and
    replaced it in the folder. Rebooted but still the same error.
    He is using a 64bit Windows machine with Office 2013 click2run installed.
    We have spent 6 hours today trying to fix it with no luck.....Please can you help??
    Br
    Dan

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Excel, this issue is more related to the Office develop, please post your question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • There are some form errors after upgrading ebs from 12.1.1 to 12.1.3

    Hello , EBS experts,
    I have some upgrading issues need your great help. thanks in advance!
    We have installed EBS 12.1.1 on Oracle Linux 5.7, everything is okay.
    Now, we need to upgrading EBS from 12.1.1 to 12.1.3, after all the upgrading process were done. We have encountered the form error while opening the AR transaction forms as below
    ORA-01403: no data found
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-04062.
    Lots of Receivable forms have the same issue, I have upgrading the ebs from 12.1.1 to 12.1.3 with 2 times, but every time, I have encountered the same issue.
    Can anyone have me? it's very urgent for me to finish this task, thanks!
    Here is my upgrading process for your reference
    1. Installed the EBS 12.1.1 and everything is okay(Create a AR, AP transaction and invoice and post to gl).
    2. I have referenced this document to upgrading the EBS
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1]
    To apply Oracle E-Business Suite Release 12.1.3, follow these steps:
    1) 9239089
    2) 9239090(US), then applied the 9239090_zhs as I have the zhs language on the EBS 12.1.1
    3) 9239095
    Post-Update Steps
    1. Apply post-install Oracle E-Business Suite Applications Technology patches. (Required)
    4)9817770
    5)9966055
    2. Update database tier nodes with the Oracle E-Business Suite Release 12.1.3 code level.
    Application tier:
    Database tier:
    3. I have applied the following patches before upgrading to 12.1.3(before step 2 as above)
    Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1]
    Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade
    Patch E
    B) For users on 11.1.0.7:
    7111245 - 7684818 also includes 7111245 but this is a later version of the patch. Disregard errors related to 7111245 being installed when applying 7684818.
    7211965
    7330434
    7486407
    7627743
    7639602
    7684818
    8199107
    8639653
    8940108
    9026927
    9066130
    9554727
    9743057
    (I have compared the above patches with my db(ebs 12.1.1 ) and some patches have already been applied based on EBS 12.1.1), and the following patches were not included on the db, so I applied the following patches one by one
    7684818
    8199107
    8639653
    8940108
    9026927
    9066130
    9554727
    9743057
    Modify Initialization Parameters
    disablefast_validate=TRUE
    pgamax_size=104857600
    Can anyone help me on this issue? thanks!
    Open AR forms such as transaction, receipt, etc, and always encountered the same issues as below
    ORA-01403: no data found
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-04062.
    The AR forms opened failed. thanks!
    Thanks!
    Chuan Ling

    Hi, Helios,
    Thanks for your great help on this issues.
    Here is my verification result for your reference as below
    1.Known errors generated on the People form (PERWSHRG) [ID 206584.1]
    10 -      Error: FRM-40735:PRE-FORM trigger raised unhandled exception ORA-04062.
    ORA-01403:no data found
    APP-FND-01242:cannot read value from field: GLOBAL.G_NAV_NODE_USAGE_ID
    Cause: The field: Global.G_NAV_NODE_USAGE_ID couldn't be located or read.
         Resolution: This is an issue associated with multiple APPL_TOPS. Ensure
    that references to the APPL_TOP are pointing to correct one.
    I don't know how to fix this? do you know?
    2.After Upgrade From R12.0.4 To 12.1.1 Property Manager Forms Give Error FRM-40735 [ID 1092394.1]
    [r12app@infsgvm14 forms]$ strings -a $PN_TOP/patch/115/sql/PNPFUNCB.pls | grep '$Header:'
    -- $Header: PNPFUNCB.pls 120.19.12010000.12 2010/03/26 10:43:10 rthumma ship $
    my file's version is 120.19.12010000.12, so ignore this step
    3.Property Manager Forms Error FRM-40735 After Upgrade From 12.0.6 to 12.1.2 [ID 1091124.1]
    did you know how to set this 1) Please set Property Manager status to "Installed" via License Manager.
    I don't find this on license manager.
    4.Frm-40735 Ora-04062 When Trying To Open Transactions Form [ID 1363671.1]
    just checked the custom.pll and custom.plx and they are existed in AU_TOP/resource, I want to re-generated this custom.plx using this
    frmcmp module=CUSTOM.pll userid=apps/apps@hostname module_type=LIBRARY
    but have some issues.
    [r12app@infsgvm14 resource]$ frmcmp module=CUSTOM.pll userid=apps/[email protected] module_type=LIBRARY
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    so, it's strange.
    Thanks!
    Chuan Ling

  • We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    Already gone through following three notes but didn't found resolution.
    APXPAWKB: FRM-41830 When Clicking on Payment Document LOV (Doc ID 1081305.1)
    R12: APXPAWKB: Payment Document Lov Is Empty When Entering A Payment (Doc ID 857587.1)
    R12: Payment Workbench Error: FRM-41830 List Of Values Contains No Entries (APXPAWKB.FMB) (Doc ID 1323875.1)

  • Error while sending the mail( Database error for ADDR_PERS_COMP_COMM_GE)

    Hello guys,
    I am facing the error    " Database error for <ADDR_PERS_COMP_COMM_GET> <0> " as a pop-up message.
    below is my program.
    types: BEGIN OF t_p0002,
            pernr type PERSNO,       "Personnel number
            nachn TYPE PAD_NACHN,    "Last Name
            VORNA TYPE PAD_VORNA,    "First Name
            gbdat TYPE gbdat,        "Date of Birth
          END OF t_p0002.
    *******************Data of an object which can be changed**************************************
    data   S_maildata type SODOCCHGI1.
    *******************Text field length 255: texts***********************************************
    data : IT_MAILTXT1 type table of SOLISTI1 ,  "Internal table will contain texts of mail header
           WA_MAILTXT1 TYPE SOLISTI1,
           IT_MAILTXT2 type table of SOLISTI1 ,  "Internal table will contain texts of contents in the mail
           WA_MAILTXT2 TYPE SOLISTI1.
    *******************Structure of the API Recipient List*****************************************
    data : IT_MAILREC type table of SOMLRECI1,
           WA_MAILREC TYPE SOMLRECI1.
    DATA : it_pa0002 TYPE TABLE OF t_p0002,
           wa_pa0002 type t_p0002.
    data  Header_text type c LENGTH 15.
    CONSTANTS  content_text type c LENGTH 35 VALUE 'Tomorrow is the birthday of'.
    *******************Event start of selection***************************************************
    start-of-selection.
      PERFORM get_birthdate.   " will give birthday details
      PERFORM document_details. " will give text and mail details
    *&      Form  get_birthdate
          text : subroutine to get employee birthdate details
    form get_birthdate.
      data : l_date like sy-datum.
      refresh it_pa0002.
      l_date = sy-datum + 1.
      SELECT pernr nachn vorna gbdat
        from pa0002
        INTO TABLE it_pa0002
        where gbdat = '19650302'.
    ENDFORM.                    "get_birthdate
    *&      Form  document_details
          text : subroutine to get texts and mail details.
    FORM document_details.
      CLEAR: Header_text,
              wa_MAILREC.
      REFRESH  IT_MAILREC.
      S_maildata-obj_name = 'Birthday Reminder'.
      s_maildata-obj_descr = 'Birthday Reminder'.
      s_maildata-obj_langu = sy-langu.
      READ TABLE IT_MAILTXT1 INTO WA_MAILTXT1
      WITH KEY WA_MAILTXT1-line .
      WA_MAILTXT1-line = 'Birthday Reminder'.
      append WA_MAILTXT1 TO IT_MAILTXT1.
      CLEAR WA_MAILTXT1.
      LOOP at it_pa0002 INTO wa_pa0002.
        READ TABLE IT_MAILTXT2 INTO WA_MAILTXT2
         WITH KEY WA_MAILTXT2-line .
        CONCATENATE content_text ' ( ' wa_pa0002-pernr ' ) ' wa_pa0002-nachn wa_pa0002-vorna
        INTO  WA_MAILTXT2 SEPARATED BY ' '.
        append WA_MAILTXT2 TO IT_MAILTXT2.
        CLEAR WA_MAILTXT2.
        CLEAR wa_pa0002.
      ENDLOOP.
       LOOP AT IT_MAILREC INTO WA_MAILREC.
      WA_MAILREC-RECEIVER = 'Any mail id'.
      WA_MAILREC-rec_type = 'U'.
      append WA_MAILREC TO IT_MAILREC.
       ENDLOOP.
    ********************Function Mofule:To Send new Document*****************************************
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
      document_data = S_maildata
      DOCUMENT_TYPE = 'RAW'
      PUT_IN_OUTBOX = ' '
      COMMIT_WORK = 'X'
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
      tables
      OBJECT_HEADER = IT_MAILTXT1
      OBJECT_CONTENT = IT_MAILTXT2
    CONTENTS_HEX =
    OBJECT_PARA =
    OBJECT_PARB =
      receivers = IT_MAILREC
       EXCEPTIONS
       TOO_MANY_RECEIVERS = 1
       DOCUMENT_NOT_SENT = 2
       DOCUMENT_TYPE_NOT_EXIST = 3
       OPERATION_NO_AUTHORIZATION = 4
       PARAMETER_ERROR = 5
       X_ERROR = 6
       ENQUEUE_ERROR = 7
       OTHERS = 8
      IF sy-subrc = 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "document_details
    After I pressed the exit button the program is getting terminated but still this mail is comming to sost transaction code.
    If I will comment the message code which is after sy-subrc the popup will not come and program will work without any interruption.
    Can anybody please solve this problem?

    Resolved

  • Locating Oracle Forms Error Messages File to Load into Table

    I would like to create a procedure to suppress and replace Form errors and messages via ON-ERROR and ON-MESSAGE triggers.
    Is there a file that I can load the ERROR Messages from using SQLLDR?
    I have loaded the Oracle error file, $ORACLE_HOME/rdbms/mesg/oraus.msg as identified by Tom Kyte in the following link,
    http://asktom.oracle.com/pls/ask/f?p=4950:8:13189517973890228983::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:558822941373
    but it did not contain Forms Errors Messages such as:
    FRM-40106: No navigable items in destination block.
    FRM-40202: Field must be entered
    FRM-40401: No changes to save
    FRM-40405: No changes to apply
    etc.
    Any help in getting these error messages in a table, other than typing or copy/paste from Forms online help would be greatly appreciated.

    kolipaka wrote:
    Need to write control file to read .csv file for sql*load utility into oracle table.
    Thanks
    KLRWe're sorry that google is broken for you at this time.
    Please try our alternative search site...
    http://lmgtfy.com/?q=oracle+sql*loader+control+file+example
    or
    http://lmgtfy.com/?q=oracle+external+table+example

  • Smart form error

    Hi Abapers,
    i'm getting an error while printing a form.
    error descr.: -
    Output could not be issued
    Message no. VL086
    Diagnosis
    An error occurred in the message processing program.
    Procedure
    Contact your system administrator
    Also if I run my smartfrom independently i got message like this
    Exception       FORMATTING_ERROR
    Message ID:          SSFCOMPOSER                Message number:           601
    Message:
    Reference field GS_LIKP-ZWEIGHWT unknown in form.
    with 0 entries

    Hi Adams,
    The error is for field GS_LIKP-ZWEIGHWT. It seems to be a quantity field. If it is then you'll have to maintain a reference field for it in you Smartform. To do this -
    Goto Global Definations -> Currency/Quant.fields
    Here give the field name GS_LIKP-ZWEIGHWT and in the reference field give some quantity field contained in some internal table that you have passed in the form attributes. Give data type as QUAN.
    Activate the Form and execute. This should solve your problem.
    Hope this helps!
    Regards,
    Saurabh

  • Validation error for tag cfloop

    Hi All,
    Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php so CF isn't mind blowing to me (in its simple form).
    I've downloaded my site on to my computer to run a local copy that I can hack to pieces if needs be.  For some reason, I have a few problems with the site running locally.  The first error I'm getting is a Attribute validation error for tag cfloop.
    Basically, index.cfm has this bit of code in it:
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_GetFeaturedWineries">
    </cfinvoke>
    Ok, easy enough.  Anyway, there's a call down the page to:
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    Within displayFeaturedWineries.cfm is the code that calls the stored proc invoked above:
    <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Bam, that's where the error occurs.  "The value of the attribute query, which is currently getFeaturedWineries_qry, is invalid.
    What???  The stored proc exists and it only returns two records (which begs me to wonder why you would have startrow and endrow but anyway, it doesn't work with or without it).
    The other interesting thing is that this works on production, NO PROBLEM!!!  WTF?  How can it work on production but not locally.
    The only thing I'm starting to think is:
    a)  I've missed a setting somewhere in CF or
    b)  I'm running Apache as compared to IIS or
    c)  I'm running SQL 2008 and CF 9 which will no doubt be different to the production host server.
    Should B or C be causing THAT type of problem??
    Thanks,
    Matt

    I'm not sure what code apart from the above is going to show you what you could possibly need to solve this, but here goes.  The following is only snippets of the code, but they are the relavant snippets.  Other stored procs work.  The cfdump for getFeaturedWineries_qry shows 'usp_getFeaturedWineries'.  I know its there because I've been unable to run "EXEC usp_getFeaturedWineries" after copying it straight out of the code.  As previously stated, there are other stored procs which are running fine.
    datasets.cfc
        <cffunction name="storedProcedure">
            <cfargument name="storedProcedure" required="Yes" type="string">
            <cfstoredproc procedure = "#ARGUMENTS.storedProcedure#"
                          datasource = "#REQUEST.DSN_NAME#"
                          username   = "#REQUEST.DSN_USER#"
                          password   = "#REQUEST.DSN_PASS#"
                          returncode = "Yes">
                <cfprocresult name="storedProcedure" resultset="1">
            </cfstoredproc>
            <cfreturn storedProcedure>
        </cffunction>
    application.cfm
        <!--- DATA SOURCE VARIABLES --->
        <cfset DSN_NAME = "boutiqueWineriesTest">
        <cfset DSN_USER = "coldfusion">
        <cfset DSN_PASS = "coldfusion">
    index.cfm
    <cfobject component="#COMP_REF#.datasets" name="datasets">
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_getFeaturedWineries">
    </cfinvoke>
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    displayFeaturedWineries.cfm
             <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Attribute validation error for tag cfloop.
    The value of the attribute query, which is currently  getFeaturedWineries_qry, is invalid.                                                                                  The error occurred in C:\apps\iishome\includes\displayFeaturedWineries.cfm:  line 33
    Called from C:\apps\iishome\index.cfm: line 399
    Called from C:\apps\iishome\index.cfm: line 79
    Called from C:\apps\iishome\index.cfm: line 1
    31 :      <tr>
    32 :           <td width="626" colspan="3" class="productCenter_bg2">
    33 :          <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    34 :              <div class="productCennews">
    35 :                  <table border="0" cellspacing="0" cellpadding="0">

Maybe you are looking for