Reports and Workflow

Hi,
I4m trying to access the table wf_item_attribute_values (oracle workflow table), from a Ref Cursor Query in Oracle Reports, but the following messagem is shown:
Error 905
object OWF_MGR.WF_ITEM_ATTRIBUTE_VALUES is invalid
Could anyone help me?
Thanks

Rodrigues, You have to Install and Configure both BI and BPM for availing Reports and Workflow for the EPPM.

Similar Messages

  • Upgrade from 11i to R12 - Custom Forms,Reports and Workflows

    Dear Community Friends,
    We are planning for upgrade from oracle apps 11.5.10.2 to R12.
    We have custom Forms,Form Libraries,Reports and Workflows.
    Kindly provide me for approach on how to migrate Custom form libraries,reports and Workflows.
    I beleive, this thread will exists as one shot point for custom forms,reports,workflow upgradation from 11i to r12 with detailed steps.
    I know that many links exists here in the forum for all the above objects mentioned,but still from all those i am able to get a clear picture for oracle forms but not for custom form libraries ,reports and workflows.
    Also,this post will provide a low level,practical picture of the steps for those who are in line with this.
    Links i have read for all these in our forum are:
    For Custom Forms,
    Re: Planning to upgrade from 11i to R12
    Re: Custom forms: After upgrading 11i to R12
    ofcourse,'n' number of links exists providing metalink notes also.
    Hussain,Helios and some others also has given many updates regd this.
    For custom workflow upgradation,
    Upgrade Workflow 11i to R12
    Workflow Upgrade
    Workflow Upgrade
    For reports,links mentioned the below metalink notes:
    Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.
    Thanks,
    Ganesh
    [email protected]

    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)You are right, and the steps mentioned above should be sufficient.
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.You can still use RDF files in R12, and just follow the approach you mentioned above, and you do not have to migrate them to XML publisher (though it is recommended, but this can be done after the upgrade as an enhancement task).
    For custom workflow, you need also to do the same thing, open them using workflow builder and make sure they work in R12 (correct the code if required and save them again in R12 once they work properly).
    Thanks,
    Hussein

  • Need practice material for Oracle Apps forms, reports and workflow

    Hi,
    I want to design new form using Forms Developer 6i/Template.fmb, report using reports developer 9i and new Workflow using WF builder by changing the subscription of the currently defined event in Oracle or totally creating new event and its subscriptions. I want to do all the above from scratch and upto Oracle Apps standards. I have vision instance here.
    Can I get practicing/training material any where in web to download like tutorial or practice lessons. I heard Oracle training centres material is very good for learning. Can I get it or any other material for the above practice.
    Please let me know.
    Thank you

    I heard Oracle training centres material is very good for learning. Can I get it You can get this material by attending a class in OU. Sharing this material in prohibited for obvious reasons.
    or any other material for the above practice.In addition to the link posted by Sami, you may refer to:
    Oracle Apps 11i
    http://www.exforsys.com/tutorials/oracle-apps/

  • Report and workflow

    dear all,
    I've a custom program which returns a report that I need to send into the user workplace.
    Is there a function that I can insert in my program to do that automatically?
    After that I need to send a notification to the user that there is a new item on the inbox folder.
    Thank you
    Enrico

    Hi Enrico,
    Look at calling the method SEND from object SOFM or call function SO_NEW_DOCUMENT_SEND_API1.
    If you want to notify user that they have new work item please use Extended Notifications.
    [http://help.sap.com/SAPHELP_NW04S/helpdata/EN/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm]
    Regards,
    Eddie

  • Migrating from 11i to R12 - setup reports and diagnostics

    Hi,
    we are looking at migrating(not upgrading) from 11i to R12 and looking for setup scripts and diagnostics which can tell what org structure has been followed in 11i. Is anybody aware of such scripts and/or diagnostic programs provided by Oracle. We also want to find out the the volume of data etc in various primary tables. Do we have some kind of report for this too ? Any help would be highly appreciated.

    983173 wrote:
    Hi,
    we are looking at migrating(not upgrading) from 11i to R12 and looking for setup scripts and diagnostics which can tell what org structure has been followed in 11i. Is anybody aware of such scripts and/or diagnostic programs provided by Oracle. We also want to find out the the volume of data etc in various primary tables. Do we have some kind of report for this too ? Any help would be highly appreciated.Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    Upgrade from 11i to R12 - Custom Forms,Reports and Workflows
    Upgrade from 11i to R12 - Custom Forms,Reports and Workflows
    Identifying Data Model Changes Between EBS 12.1.3 and Prior EBS Releases
    https://blogs.oracle.com/stevenChan/entry/ebs_data_model_1213
    EBS Seed Data Comparison Reports Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_seed_data_comparison_reports
    eTRM
    http://etrm.oracle.com
    Thanks,
    Hussein

  • Siebel & "BIP Report Generation" Workflow and Bookmark Syntax

    IHAC that wants to schedule the generation of a BIP report to run every weeknight and include a list of activities for the next day. We've utilized an OOTB IO and can successfully render the report using Sample XML in MS Word. Additionally, since they are only on 8.1.1, they do not currently have access to the latest scheduling capabilities. Therefore, we're trying to implement a repeating component to call a workflow to generate the report using the 'BIP Report Generation' workflow and the associated objects (from support posting 823360.1).
    Now to the questions:
    One of the parameters for the workflow is a 'Bookmark'. This parameter does not appear to handle various 'Siebel' querying functions like 'Today()' as part of the criteria. Can someone confirm this statement?
    Currently, I can imagine one high-level possible workarounds. This would entail a revised WF and that includes a prior step to generate the 'Bookmark' by retrieving a string representation of tomorrow's date and concatenating it with the rest of the criteria.
    Next question:
    Does anyone have any other possible alternatives? Maybe a calculated field in the BC/IC for 'Today() + 1' - but this could have performance implications.
    Thanks in advance for any help.

    Suggestions/comments?
    Bump.

  • Crystal reports and adobe workflows server

    Hi,
    Is there a way to integrate crystal reports and adobe workflow server
    Regards
    Raja

    I believe AWS 6.2 supports Crystal Rpt 8.5, but don't hold be to it.
    The AWS appl. does come with prebuilt reports incl. You should check the documentation concerning installation, but I believe AWS requires the Crystal Engine to be installed on the same server as the AWS Web Access component.

  • Questions regarding risk register, resource pool, reports and KPI

    I am going on a requirement gathering activity today about a new MS Project Server project. I have knowledge of SharePoint but my knowledge of Project Server is very limited. Following will be my topic of discussion with client. Can you please tell me what
    kind of questions can I ask about them? I want to gather as much requirement as possible from client.
    Some of the question I can think of are:
    1. What fields will be there in each register?
    2. What kind of permission do you want on each register? For e.g. will each register will be publicly viewable to all users or not?
    3. How many KPIs and Dashboards do you need?
    Topics
    • Project Register
    • Issue Register
    • Risk Register
    • Decision Register
    • Invoice Register
    • Change Request Register
    • Deliverable Register
    • Resource Pool
    • Reports and KPIs

    As You know Project Server sits on SharePoint. If you know which version of Project server your client want.
    Then you can ask some question(I am giving you list of few question) like:
    1. Approx No of users 
    group and security related questions like which kind of permission they want for Project manager, team member, resource manager etc.
    2 Approx no of Project per year
    3. Avg no of task per project
    4. Project level Custom field
    5. Task level Custom Field
    6. Resource Level Custom field
    7. Project, resource or task level of custom view 
    8. Any demand Management workflow
    9. back up and restore strategy.
    10. any Issue or risk associated with project and mitigation plans
    11. drivers or strategy for Portfolio management 
    12. If any change need to be done in EPM environment how you guys can handle it. 
    13. for Delivery you can split your project in phases in which first phase will contain installation and basic configuration  then report development, then Custom development, then Training  and support
    14. which kind of report they want (SSRS, Excel baed, Performance point, dashboard, Power pivot)
    15. for reports what would  be the KPI 
    16. Tracking method, Timsheet usage, status Reports
    17. whether they will use default Project site or customized project site 
    18. Enterprise Project template for Business unit.
    19. Department specific reports.
    20 .for infra you can ask (Redundancy, server performance high availability )
    etc.
    Please group all these as per our need.
    kirtesh

  • Install and config issues with Oracle Portal, Forms, Reports and Discoverer

    For a while now I've been struggling with migrating a testing database to a newer version.
    And right now I'm pretty much stuck at trying to configure Oracle Portal, Forms Reports and Discoverer
    What I've got:
    Windows server 2008 R2 64bit
    Oracle 11g database
    Java 6u27 64bit
    JDK 1.6 64bit (using this after 1.7 ended up throwing out bugs while trying to start a weblogic server)
    JDK 1.7 64bit
    Weblogic 10.3.5 (or so i think - I've installed from the wls1035_generic.jar from the oracle website)
    PFRD 11.1.1.2 with 11.1.1.3 installed over it, installed without config
    and a hanging up configuration
    Basically I've been trying to install PFRD (only forms, reports and enterprise manager from it actually) but it kept failing once it got to the configuration stage, so I installed without config, applied 11.1.1.3 and now trying to run the config manually with the good old \bin\config.bat
    Result - the config froze for approx.18 hours then failed
    There isn't much useful info I could deduct from the logs, mostly just says one or more configuration parts failed. At one place it mentions trying to set up a domain and starting up an adminserver for it - and apparently that's where it hangs up and finally times out and fails.
    I'm a little clueless what to do about it as the logs don't say anything else of use I could understand. Any ideas there?

    Trying the step by step, the only difference between that and what i do seems to be the file copying (which I can't do - there is no windows\extra\ directory anywhere, the files mentionned seem to already be on their places and either only there, or exactly the same) and clistering
    So far the news ain't good - the config process hangs on creating domain ->Step Creating Domain started
    It isn't frozen per se - the process doesn't use up any processor time, memory consumption within bounds, it reacts to button clicks and all..it just doesn't do anything concerning the said domain
    the last thing the .out file shows:
    Creating a new AdminServer Object ...
    AdminServer port is 7002
    Starting the domain ...
    LOADING DLL : E:\OracleDb\Middleware\develtools\install\config\\StartUtil64.dlland in the log:
    [2011-09-08T11:57:03.456+02:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 14] [ecid: 0000J98U0KsFS8XLxuDCiW1EQ92r000005,0] Setting >valueOf(DOMAIN_PORT) to:7002. Value obtained from:USERit's the same it did last time, when after 18hours it woke up with .out saying:
    oracle.as.provisioning.util.ConfigException:
    Error while starting the domain.
    Cause:
    An error occurred while starting the domain.
    Action:
    See logs for more details.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.weblogic.ASDomain.startDomain(ASDomain.java:3173)
         at oracle.as.provisioning.weblogic.ASDomain.startDomain(ASDomain.java:3033)
         at oracle.as.provisioning.engine.WorkFlowExecutor._startAdminServer(WorkFlowExecutor.java:1644)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:634)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:390)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error while starting the domain.
    Cause:
    Starting the Admin_Server timed out.
    Action:
    See logs for more details.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.weblogic.ASDomain.startDomain(ASDomain.java:3143)
         ... 18 more
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:685)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:390)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 more
    progress in calculate progress4
    progress in calculate progress4
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
         at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:685)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:390)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 13 more
    Going to execute executeAfterConfig
    java.lang.IllegalStateException: Action:Application Configuration failed with error:Configure Classic Failed.
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.fail(ConfigAction.java:227)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:129)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    In Config Module Finish Event...and the log continuing with some variable setting notifications and this:
    [2011-09-08T08:27:45.272+02:00] [as] [ERROR] [] [oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager] [tid: 14] [ecid: >0000J93lRQOFS8XLxuDCiW1EPpn_000005,0] One or More configurations failed. Exitingthen again more traces and notifications until the end marking config as failed
    I'm kinda paranoid about the double backslash in the dll path, but other than that no clue as to why the domain doesn't set up
    the other link you mentionned seems to have no relevance yet
    does that clear up anything for you though?
    ..can the lack of SOA suite have anything to do with the problem?

  • SAP_WAPI_ATTACHMENT_ADD and WORKFLOW

    I have a project about WD4A and workflow. I use a WD to trigger a workflow by raising a event of self-defined class. Meanwhile, I want to generate a pdf file as an attachment for the next receiver in the workflow. Method SAP_WAPI_ATTACHMENT_ADD need work item ID as a import parameter. Here is the problem, how can I get the work item ID after triggering the workflow?

    Hi,
    You have to create a Method, in that method convert the Raw text to PDF. And send it as an attachment. Using the Function Module SO_NEW_DOCUMENT_ATT_SEND_API1.
    Refer the below Program and create your Program.
    Regards,
    P Surjith Kumar
    *& Report ZTESTMAIL
    REPORT ZTESTMAIL.
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    w_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    w_doc_chng typE sodocchgi1,
    w_data TYPE sodocchgi1,
    w_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZTESTFORM'
    importing
    fm_name = v_form_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    *CALL FUNCTION v_form_name
    *EXPORTING
    *control_parameters = w_ctrlop
    *output_options = w_compop
    *user_settings = 'X'
    *IMPORTING
    *job_output_info = w_return
    *EXCEPTIONS
    *formatting_error = 1
    *internal_error = 2
    *send_error = 3
    *user_canceled = 4
    *OTHERS = 5.
    *IF sy-subrc 0.
    *MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *ENDIF.
    *i_otf] = w_return-otfdata[.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Convert PDF from 132 to 255.
    *LOOP AT i_tline.
    Replacing space by ~
    *TRANSLATE i_tline USING ' ~'.
    *CONCATENATE w_buffer i_tline INTO w_buffer.
    *ENDLOOP.
    Replacing ~ by space
    *TRANSLATE w_buffer USING '~ '.
    *DO.
    *i_record = w_buffer.
    Appending 255 characters as a record
    *APPEND i_record.
    *SHIFT w_buffer LEFT BY 255 PLACES.
    *IF w_buffer IS INITIAL.
    *EXIT.
    *ENDIF.
    *ENDDO.
    *Refresh: i_reclist,
    *i_objtxt,
    *i_objbin,
    *i_objpack.
    *clear w_objhead.
    Object with PDF.
    *i_objbin] = i_record[.
    *DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
    *i_objtxt = 'Find attached the output of the smart form.'.
    *APPEND i_objtxt.
    *i_objtxt = 'Regards,'.
    *APPEND i_objtxt.
    *i_objtxt = 'Surjith'.
    *APPEND i_objtxt.
    *DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
    *w_doc_chng-obj_name = 'Smartform'.
    *w_doc_chng-expiry_dat = sy-datum + 10.
    *w_doc_chng-obj_descr = 'Smart form output'.
    *w_doc_chng-sensitivty = 'F'. "Functional object
    *w_doc_chng-doc_size = v_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
    *CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
    *i_objpack-head_start = 1.
    Number of lines of an object header in object packet
    *i_objpack-head_num = 0.
    Start line of object contents in an object packet
    *i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
    *i_objpack-body_num = v_lines_txt.
    Code for document class
    *i_objpack-doc_type = 'RAW'.
    *APPEND i_objpack.
    Packing as PDF.
    *i_objpack-transf_bin = 'X'.
    *i_objpack-head_start = 1.
    *i_objpack-head_num = 1.
    *i_objpack-body_start = 1.
    *i_objpack-body_num = v_lines_bin.
    *i_objpack-doc_type = 'PDF'.
    *i_objpack-obj_name = 'Smartform'.
    *CONCATENATE 'Smartform_output' '.pdf'
    *INTO i_objpack-obj_descr.
    *i_objpack-doc_size = v_lines_bin * 255.
    *APPEND i_objpack.
    Document information.
    *CLEAR i_reclist.
    e-mail receivers.
    *i_reclist-receiver = "give the email address.
    *i_reclist-express = 'X'.
    *i_reclist-rec_type = 'U'. "Internet address
    *APPEND i_reclist.
    Sending mail.
    *CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    *EXPORTING
    *document_data = w_doc_chng
    *put_in_outbox = 'X'
    *TABLES
    *packing_list = i_objpack
    *object_header = w_objhead
    *contents_hex = i_objbin
    *contents_txt = i_objtxt
    *receivers = i_reclist
    *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.

  • Report for workflow log....

    Hi Experts,
    I have to create a ABAP report for workflow log. which will take workflow number and object key and date range as inputs and gives all the dialog steps , Actual agent , execution date etc.....
    Please help me in doing it......
    Regards,
    Devananda A J

    Hi Dev,
    Check these tables -> SWWWIHEAD, SWW_WI2OBJ & SWWLOGHIST.
    You will get all the relevant data from these tables.
    Thanks,
    Debi

  • Letting non-technical clients design forms and workflows

    Some individuals in my organization are under the impression that our clients, who are very non-technical, will be able to design forms / workflows, etc.
    The impression is that the developers are to create a set of standard schemas, fragment libraries, and workflows, and then the (non-technical) client can build their own forms, select a predefined Task Manager endpoint, and hit the ground running with their new form, in production. Yes you heard me correctly. In production. That means no DEV, no QA, no passing Go.
    In other words, they are putting LiveCycle on the same playing field as Vignette (Content management in production).
    I disagree with their approach and am seeking feedback. Thanks! ;-)

    If the form is bound to a schema, at least when they move form elements around, most of the time it will still work. If normal binding, moving stuff around will screw up the data merge.
    The biggest problem I see with the changes being made directly in production is that I save my forms to the repository in order to test. The preview tab quite often does not represent true functionality. So if they had Workbench pointing right at prod, the form cannot be tested without releasing it.
    I don't know what you mean between content repository and Workbench repository. The way my implementation works, if I save in Workbench, I can immediately reload the page to get the changes. They are the same repository. I am using the API call (off the top of my head) renderFormWithUSageRights. I specify a repository URL for the template location. All my forms render through the same servlet parsing the form name out of the request URL. There is an XDP in the repository with the same name as each pdf URL. There is also a corresponding JSP which renders the XML that is merged in at render.
    I saw a reference somewhere that the repository URL could contain a version at the end. I have not tried this. If true, it would not be difficult for me to update my code to get the version number out of my properties database table. Then also allow an override version number in the URL for the final form. So http://mycompany.com/myform.pdf renders the 'released' version and http://mycompany.com/myform.pdf?version=2.7 returns that specific version. http://mycompany.com/myform.pdf?version=latest would work like it does now where no version number is specific in the repository URL. This would mean they could save the form, access in production to test, but not affect normal users. Once tested, the database could be updated to reflect the new released version. It would be really slick to have a workflow approval process around it. The workflow would have a link to the new version for each approver to review. After the last person signs, the workflow would update the database to the new version. The next time it is rendered will be the latest version.
    Thinking about this, I like that idea even if a developer makes the changes. There are times when customers won't sign off on their own requested changes because they won't make the effort to test it before it goes into production. They would rather let the changes go in then report anything they don't like as a bug. They feel if they don't sign, then they cannot be held accountable. Sometimes the same people or others will get angry if an item is not put into production based on not getting sign off. Now, the deployment would be tied directly to the sign off procedure rather than manually by someone in IT. All approvers would be able to look at the audit trail to see who has not signed off and therefore the direct cause of an item not being released.

  • Open Work Order report and shortage report

    Hello,
    First of all, I am very new to SAP and sap forum. I do need to learn SAP very fast. I work as Buyer and Planner. I would like to know how do you run open work order report and also how do run shortage report.
    I appreciate different feedback.
    Thanks
    Raj

    Hi,
    Use tcodes CO24. First you need to activate that report PPCOXPR1 in SE38 enter report name and execute
    In COOIS select list components you can be requirement qty and withdrawn qty , here you can find out open work orders also
    Thanks
    Diwakar

  • Crystal report(Can i link sub report and main report Compulsorily) - invalid path

    hi.
    i need small clarification.
    i am developing one Crystal report
    main report i took it from rdr1 one table...
    report is working fine..
    Sub report i took it from inv1 one table.
    i have not linked any fields from these tables.
    May be it is having links in b1..
    but in my other report both the tables.... from main report  and sub report does not have any relation.
    My Questions is..
    Can i Compulsorily link fields to main report...
    if both does not have any relation what should i do...
    i took two tables.
    main report rdr1
    sub report inv1...
    if i  run the report it is asking two parameters one is for sub report and other one for main report working find in crystal report.
    but...i want to run the report in b1.
    while importing i am getting the error (Plz have a look on below image)
    if i choose any other report it is importing  fine...
    Clearly i am mentioning i dont want to link both tables there is no links between two reports...
    in this scenario can develop  a report..
    I need your Valuable suggestions.
    here below u can find my developed sample report...
    http://www.megafileupload.com/en/file/544758/NewReport-rpt.html

    hi.
    If i try only i am getting the error..
    out side if i run i am able to run the crystal report but
    in b1 i am not able to import the report.
    you can also try my report
    from below link u can get my simple report.
    if u find any mistake what i have done plz inform me..
    http://megafileupload.com/en/file/544806/NewReport85-rpt.html

  • Crystal Report and Log4net error 1.2.10

    Hi at all,
    I have problem on Crystal Report and log4net.
    It happens when I deploy the Web applications on the server.
    I'm using Visual studio 2013 update 2, and I'm using log4net 2.0.3 (1.2.13) and I'm using CRforVS2013_13_0_10, the last.
    When I deploy my application on the target machine, where I have also installed the runtime 64 bit for Crystal Report, I found this error:
    ERROR 2014-07-31 16:26:42,721 1528053ms 8Euro                  - IP:192.168.0.38    - HOST:192.168.0.38 DumpWebRequest                           -  ERROR: Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Exception StackTrace:   at System.Web.UI.Page.HandleError(Exception e)
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest()
      at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
      at System.Web.UI.Page.ProcessRequest(HttpContext context)
      at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    ERROR: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    ERROR: Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Exception StackTrace:   at CrystalDecisions.Shared.SharedUtils..cctor()
    ERROR: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Not able to extract code, error:Value cannot be null.
    Parameter name: source
    Exception StackTrace:
    On my local Visual studio it works, works fine.
    But when I'm deploying on Server, 2008 win 64 bit, I found this error.
    I've tried everything, I've installed also the runtime 64 bit on the target/server machine.
    The problem is that the log4net is not registered in the windows\assembly directory on the target server ? Do I have to use the Gac util to register the log4net dll assembly ?
    Please help me, It one day that I'm facing this error, but I'm not able to solve.
    Regards
    Vittorio

    Hi Vittorio
    Please enter the search string 'log4net crystal net' into the search box in the top right corner. When the results come up, click on the Support Notes link. That will filter for the KBAs that you want to have a look at.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Error during Creating Z table

    Dear All, I am trying to create Z-Table in se11 with 56 fields.Out of 56 fields, 50 fields are type of String. while activating the table system is giving error saying..... "Table contains more than 3 long string fields" and if i am giving data type

  • Creation of address data in table ADR2(Vendor)

    Hi all, Please tell me a function nmodule to create adress data in table ADR2 . Thanik

  • HT5655 The new Flash installer from Adobe still isn't working, right?

    The new Flash installer from Adobe still isn't working, right? We get the "installation failed" messages, and we're awaiting Adobe's follow-up on it?

  • Attribute Price to populate Product Price field

    Hi BC Community, I have a client that wants to have YS - YXL product attributes in with S - XL product attributes. The YS - YXL attributes have a attribute price associated with them of $17.50.  The S - XL attributes have a price associated at $20.00

  • Strange star schema created by tutorial

    Hi, I have a fresh and clean installation of BI SE1. I followed the steps for the tutorial (those related to OWB and created the data mart). I really don't understand what kind of star schema is the resulting one and I think there might be a bug in O