Error while closing the seeded form

Hello All,
When I try to close the forms like Batches, Batches Summary,Transactions,Transactions Summary,Credit Transactions,Copy Transactions in the Transactions submenu of AR,I am getting "no data found" error for all these forms. Please suggest me why it is happening? We recently applied patches for account payable, Is there any possibility that it will be impacted to AR?
Thanks In advance

I believe setup is okay because only the above mentioned form is showing error.I enable the trace and the most part of trace file is showing below.
Misses in library cache during parse: 102
Misses in library cache during execute: 81
Thanks In Advance
Edited by: user13310428 on Jan 17, 2012 8:00 PM

Similar Messages

  • Getting error while activating the smart form

    hi guys,
    i am getting the following run time error while activating the smart-form.
    'SQL error in the database when accessing a table'.
    can anyone tell why this error is coming

    Refer to the below link, it may help you to close the thread.
    [SQL error in the database when accessing a table|SQL error in the database when accessing a table.;
    Regards,
    saiRam

  • Error while initializing the travel form

    Hi Guys,
    In the ESS, when I try to display the travel, the system displays the following message "Error while initializing the travel form".
    I've consulted the BASIS, and he said that Adobe is already installed in the machine.
    Someone knows how can I fix this problem?
    Thanks

    Check the Variant "TRVFR".
    Check whether the Name of the Travel request Form is maintained or not?
    Vijay
    Edited by: Vijay Mohan on Sep 29, 2008 3:18 PM

  • Error while opening the custom forms-''function not available to this respo

    Error: Function not available to this responsibility , change responsibility or contact ur system administrator
    Hiiiii,
    While accessing the custom forms in release 12i we are facing the popup error and the form is not getting opened up: "Function Not available to this responsibility. Change Responsibilities or Contact your System Administrator"...
    I check the custom top path in $APPL_TOP/admin/adovars.env... its fine there..
    but the $Apache_top is not there...
    can u plz tell me the solution....
    Thanks
    Meenakshi Verma

    user609981 ,
    If ur referring to forms, u need to search in appropriate forum, as this forum is only for OAF queries, and if its realted to OAF page, check the the function of oa page is attached to the specific responsibilty .
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • Error While Closing the order???

    Hi Experts,
    I am facing error while closing maintenance order.
    can anyone provide me the solution.
    please find the attachment and do the needful.
    Thanks & Regards,
    Sunil Boya

    Hi Sunil,
    As I do not have much exposure to this area, I would suggest you to:
    1. See this thread  Can not Close Orders for which Period is closed? | SCN
    and go through the answer of Paul Meehan
    2. Search Google with String 'SAP message CO688' . you will find several useful SCN links on the subject.
    3. Wait for Experts answers to this thread.
    Jogeswara Rao K

  • Error while closing the open purchase order for MRP run

    HI expets,
                     We are facing issue while closing the old purchase order(18.12.2007) for MRP run, if we are clicking delivery completed for the particular line item ,system is showing the error NET PRICE MUST BE GREATER THAN ZEROthough we have made GR and IR aganist the line item an value is also showing in the purchase order history tab, but in the condition tab there is no value showing for the particular line item .Kindly suggest the way forward.
    regards
    Karthick sundaram

    one thing for sure, you cannot proceed without maintaining proper conditions in the PO.
    Why they are not there or not anymore there is probably caused by customizing or vendor master data changes.

  • Getting Error While Opening the Oracle Form 6i in 10g

    Hi All ,
    FRM-10102: Cannot attach PL/SQL library XXX. This library attachment will be lost if the module is saved.
    I am getting above error message while opening Oracle 6i Form in 10g.
    I get the following Alert message when I try to attach the library to my form -
    Attached library name
    S:\.........xxx.pll contains non-portable directory specification. Remove path? Yes/No?
    If I select 'No', the Form compiles and runs without any error.
    But if I select 'Yes', I get the following error message:
    FRM-40039: Cannot attach library xxx while opening form.
    All files (fmb, fmx, pll, plx) are on the same path. I detached and then re-attached the library but this didn't work for me?
    Help Appreciated.
    Thanks & Regards,
    Ram.

    use the shiped batch program frmplsqlconv.bat to convert all your forms/librarys from Forms 6i to 10g.
    you can call it in wizard mode from the start menu (e.g. OracleDeveloperSuite <OraHome> => Forms Developer => Forms Migration Assistant (GUI Mode) and follow the instructions step by step
    or you can call it by batch to convert all your forms/librarys. The batch file is found in
    <ORA10g_HOME>BIN\frmplsqlconv.bat
    =>
    frmplsqlconv.bat <formname>

  • Error while Closing the Production order.

    Hi ,
      We are doing operation Subcontracting Process. This process works on the basis of Production order, once the Production order generated automatically system generates a Purchase requisition which we are converting to Purchase order  and doing the sub contracting process.
    Now i have received all the material from the Subcontractor ( GRN and MIRO ) has been completed , for the Production order all the confimration and Delivery has also been completed , now i have done Technically completion for that order , now i am closing the Order ( Functions -Restrict processing - close ) , while closing it gives me an error saying that Purchase order still exists .
    Wat is this error ?? why is it coming so ??
    Regards
    Rajesh

    hi,
    You have to ensure that the order is not having any WIP, if you have any WIP for that order you have to complete the order and then only you could abale to clsoe the order.
    Check the WIP for the order thorugh KKAX.
    Regards,
    Rama Mohan

  • Getting error while accessing the OAF forms in ADF page.

    Hi ,
    I am trying to get/access the Oracle forms on ADF page.
    I am following http://static.commit-consulting.com/oraformsfaces developers guide for guidlines.
    while runnign my page getting the error in popup look like java script error.
    the pop up contente is :
    Failed to execute java script
    Check for JavaScript errors, if the Forms server is running and if your browser can download a javaScript from http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces
    http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces is my server EBS server where oracle forms exist.
    Please help me on this.
    Thanks,
    MadhavaReddy

    You're probably better off asking the OraFormsFaces people for help

  • Insufficient privileges error while calling the seeded page on button click

    hi all
    I am working on Customers Online module.
    I have added a normal button on a standard page through personalization .
    The destination for the button is set to call the seeded Create organization page
    destination="OA.jsp?OAFunc=XXIIMC_NG_ORG_CREATE&amp;OAHP=IMC_NG_MAIN_MENU&amp;OASF=IMC_NG_ORG_CREATE"
    System Admin --> functions --> XXIIMC_NG_ORG_CREATE is a copy of standard function IMC_NG_ORG_CREATE.
    It calls the page "OA.jsp?page=/oracle/apps/imc/ocong/party/organization/webui/ImcCreateOrg&HzPuiAddressEvent=CREATE"
    When i click on the button i get the error *"You have insufficient privileges for the current operation. Please contact your System Administrator"*
    1. The profiles *"FND Function Validation Level"* and *"FND Validation Level"* are set to NONE
    2. Bounced apache also.
    3. The responsibility Customers Online Superuser is assigned to my user.
    We are doing R12 upgrade. The similar functionality is working fine in 11i.
    Please let me know what could be the reason of this error and how to correct it.

    Hi,
    Grant is not given to the create organization page. Ask your DBA for this issue.
    Thanks,
    Kumar

  • Error while printing the dunning form

    Hi all,
    I have a smartform for printing dunning form in FI from tcode F150...but while I schedule and try to take the print the job log entry shows error as "Form Z_DUNNING language EN is not active and has no errors".
    Can anyone tell why this error is comming, because I have checked the smartform and have activated it without any errors?
    Do help as its urgent.
    Regards,
    Anu.

    Hi,
    One more idea ...
    sometimes even though the smartform is active the error occurs which may be due to transports ....
    try generating  the smartform again in the first screen of the tcode SMARTFORMS ....from the menu ...smartforms-->generate ...
    then check ...
    regards,
    Ram

  • Error while running the application/form.

    Hi,
    I created a interactive adobe form which will display the FirstName and LastName, i set these values in the implementation of the view(StartView which I have created).
    But when I try to Deploy New Archieve and Run, it is giving the following error :
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/TestInteractiveForm:
    SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:06[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:06[UTC], changelist=297524, host=PWDFM027)
    SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_09-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2003, version: 5.2, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:201)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:142)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:398)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:87)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:198)
         ... 27 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:732)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1118)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:71)
         ... 29 more
    Please let me know what exactly where the error is?
    Thanks,
    Pavan.

    Hello Pavan,
    You have not configured the web service client proxy properly. Please follow the SAP note : 682619 to have a look at the configuration guide (for 04) on how to configure the same.
    In short, to set up Basic Authentication in a Java environment:
    1. Log on to the Visual Administrator.
    2. On the Cluster tab, choose Server <x> > Services > Web Services Security.
    3. Choose Web Service Clients > sap.com > tcwdpdfobject > com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document.
    4. Check that the url mentioned there is correct (Thats the location where ADS is running as a web service). If not, please modify the URL (switch to Custom) to point it to the right location. You are required to change only the host and port in the URL. You can test the URL on your browser to be 100% sure.
    5. From the Authentication list, select BASIC.
    6. In the User and Password boxes, enter as Username ADSUser and a Password (consult your ADS administrator got the same).
    7. Choose Save.
    8. The authentication data must be activated. For doing this navigate to Services > Deploy.
    9. Choose the button Application.
    10. Choose sap.com/tcwdpdfobject in the tree.
    11. Choose Stop Application.
    12. For restarting the application choose Start Application.
    13. Test your application
    If your Adobe Document Service is running at the URL provided and you are authorised to access the service with the username and password provided then you should not get the execption any more.
    It seems you are still running on SP09. Thats pretty old. SAP has released SP16 offlate. I would suggest you to upgrade to more recent SP release.
    Best Regards,
    Krish

  • Error while opening the ADOBE FORM via mail

    Hi to all,
    I have created a program to attached ADOBE FORM to mail.
    When I execute the program, it sends ADOBE FORM to my mail ID successfully.
    But when I open my mail and try to open attached ADOBE FORM, it gives error
    ADOBE READER COULD NOT OPEN u2018PDF FORM (1). PDFu2019 because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attached and wasnu2019t correctly decoded).
    Please can any tell me, what the problem is and what the solution is for that?
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 1, 2011 2:22 PM

    Thanks for reply,
    below is the code.
    data:
      l_fm_name         TYPE rs38l_fnam,
       l_formname   TYPE fpname VALUE 'ZTESTF1' ,
      fp_docparams      TYPE sfpdocparams,
      FP_FORMOUTPUT     TYPE FPFORMOUTPUT,
      fp_outputparams   TYPE sfpoutputparams.
    data:  I_ATT_CONTENT_HEX  type SOLIX_TAB.
    START-OF-SELECTION.
    data: st  TYPE  ZTABFM11.
    data: it type table of sflight.
    data: wa like LINE OF it.
    data: wa_st like LINE OF ST.
      fp_docparams-langu   =      'E'.
      fp_docparams-country =      'US'.
      fp_docparams-fillable =      'X'.
      fp_outputparams-nodialog = 'X'.
      fp_outputparams-preview =   'X'.
      fp_outputparams-device   =  'LP01'.
      fp_outputparams-getpdf  =   'X' .
      fp_outputparams-dest   =    'LP01'.
      fp_outputparams-reqimm  =   'X'.
      fp_outputparams-reqdel  =   'X' .
      fp_outputparams-xfpoutdev = 'LP01'.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = l_formname
        IMPORTING
          e_funcname = l_fm_name.
      E_INTERFACE_TYPE           =
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    select * from sflight into TABLE it.
      loop at it into wa.
        wa_st-CARRID = wa-CARRID.
        wa_st-CONNID = wa-CONNID.
        wa_st-FLDATE = wa-FLDATE .
        wa_st-PLANETYPE   = wa-PLANETYPE.
        append wa_st to st.
        endloop.
      CALL FUNCTION l_fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
              st               = st
        IMPORTING
          /1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4
       CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        E_RESULT             = result
       EXCEPTIONS
         usage_error          = 1
         system_error         = 2
         internal_error       = 3
         OTHERS               = 4
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = FP_FORMOUTPUT-PDF
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = I_ATT_CONTENT_HEX  .
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Fill the details.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'flight details' ).
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'flight details'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
          I_ATT_CONTENT_HEX  = I_ATT_CONTENT_HEX  ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment
    Pass the document to send request
      lo_send_request->set_document( lo_document ).
    Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value 'mail id '.
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
      lo_sender = cl_sapuser_bcs=>create( sy-uname ).
    Set sender
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
      lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'Form sucessfuly send to person' type 'I'.
    plesase can any one, provide the soultion.
    i shall be thankful toy you for this.
    regards
    pavneet rana

  • Syntax error while running the Adobe Form

    Hi to all,
    I have created an interface for adobe from
    Example:  F4_HELP type ZST
    Where ZST  is structure type.
    ZST structure has following field.
    1)     MATERIAL type MATNR
    2)     BASE_QTY type BASMN (BASMN of type QUAN, length 13 with ref table RC29K, and ref field BMEIN)
    Interface and form successful activated.
    But when I run adobe from it give syntax error for ref table RC29K, and ref field BMEIN
    Field u201CRC29K- BMEIN u201Cis unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
    Please can anyone tell me the solution for that?
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Thanks For reply
    I have already maintained the ref table and field for field BASE_QTY type BASMN
    Ref table RC29K, and ref field BMEIN.
    But still error is coming.
    please can any one tell me the solution for that.
    i shall be thankful to you for this.
    Regards
    Pavneet Rana

Maybe you are looking for

  • Changing Picture at Runtime VS2005

    Hi I'm using VS2005 enterprise edition and the Crystal Reports that came with that package (the file versions say they are 10.2.3600).  All I want to do is insert an image at runtime, however this appears to be impossible judging by all the code I've

  • Msa 50sp6: outlook integration not possible

    Hello forum, while installing msa50sp6 with outlook integration, I do not get any buttons/tabs into my outlloók 2002. No errors while installing. (outlook is closed while installing). Is it possible to install the outlook sync. manual ? Or has anybod

  • Code from java examples wont compile

    Hey peeps, im trying to get the following code to compile in textpad (if this is a bad environment to use please tell me!) class BicycleDemo { public static void main(String[] args) { // Create two different Bicycle objects Bicycle bike1 = new Bicycl

  • Loading data from sqlloader

    I am trying to load data from DATA1.txt file to table LOAD_TMP. but data after spaces didn't loaded. LOAD DATA INFILE 'c:\data1.txt' TRUNCATE INTO TABLE LOAD_TMP ( ID position(1:500)) data1.txt 0155070601INDRZS I07060102000305070601020001560254000002

  • Error in new infotype creation

    hi, i m copying a infotype and create a new infotype, in this all structures are copied in my program but only one structure q0002 is not copied as q9002 . tell me how to do this