Send value from control block item to parameter in report

hi
can I dont watch at runtime report the paper parameter form to input value for it but instead of it take value or values to parameter or parameters if the report had more than one... if I can make it please tell me how ?

Follow my example in thread
For FORMS/REPORT 6i
Re: URGENT STart date and end date in to generate reports in form
For FORMS/REPORT 10gR2
Re: Run Report10g  Through form 10g
From forms if you don't want display parameter form
add parameter=NO in add_parameter

Similar Messages

  • I have Problem in fetching data from CONTROL BLOCK

    Sir,
    I am facing problem in fetching data from control block.
    Asif.

    is your control-block a filter-block for the detail-block?
    Do you want to see only the detail-data of the user-id you have displayed in the master?

  • Get parameter value from PLSQL portal Item

    Hi,
    i have some page link like :
    http://server:7777/portal/page?...&myparameter=test
    I don't know how to get myparameter. I want to access this parameter value in a PlSql portal Item in this page
    can somenone help me ?
    is there an API to get those parameters?
    thanks in advance
    Joao

    If do you want to get a parameter value from an item, you'll need to construct a procedure that receive your parameter value and configure your item to call this procedure.
    But If you want to get a parameter from a portal page, first you need to configure the parameter in page properties, construct a portlet and configure "function describe_parameters" to get the parameter and work your parameter in "procedure show".

  • Is it possible to update (=change) control block items in a query only form ?

    From Form.A we call Form.B with the parameter query_mode = query_only.
    This works fine.
    But in Form.B we have a non table block (=control block) with an poplist item.
    Allthough in query_only mode we like to change (it's not a real update cause it's control block) the poplist.
    But because of query_only mode this item is not updateable.
    Is there a workaround to make the poplist updateable in query_only mode ?

    Hi,
    It is not possible to change the BOX position using the Layout painter like changing windows position.
    You have change in the page Windows text elements only by changing their co ordinates.
    Regards,
    Anji

  • Eliminating the null values from popup list item

    Dear All,
    i create a popup list,at runtime it shows a null blank value among the values i specified while the combo box is not,
    i want to eleminate the blank null value from the popup list.
    Need Help.
    Thanks & Regards.

    Okay,
    i create a popup list, populate it in runtime with create_group_from_query builtin.
    now when i run the form and click the list item, it display a null value among the other values which are
    return from the create_group_from_query .
    the procedure is below
    procedure Department_proc is
    rg recordgroup;
    n number;
    begin
    remove_record_group('RG');------  this is another procedure which checks for Record group existance and remove it.
    rg=:=create_group_from_query('RG4','SELECT NAME,TO_CHAR(DEPT_ID) FROM TAB_DEPT_SECTION
    UNION
    SELECT '||'''All Departments'''||'as name,'||'''0'''||' as name from dual');
    n:=populate_group(rg4);
    populate_list('control_block.department',rg4);
    end;
    it display a null value among the other values for the first time is run the form,but when i click it and select a value from it
    and the onward click dont show the null value.i want to eleminate the null value even for the first time when the user run the
    from.
    Best Regards

  • Accessing Selected Value from Payment Terms (Item 47) in AR Invoice Form

    Hi,
    Have just started working in SAP Business One and SDK adn would really appreciate any help I could receive.
    I'm trying to access the selected value from Payment Terms field(Item 47) in the AR Invoice Form.
    Have successfully managed to do this against Customer Code field using the following code-:
    Private Sub eventHandlerTest(ByVal FormUID As String, pVal As SAPbouiCOM.ItemEvent, BubbleEvent As Boolean)
        Dim frm As SAPbouiCOM.Form
        Dim itmCustomer As SAPbouiCOM.Item
        Dim edtCustomer As SAPbouiCOM.EditText
        Dim itmRemark As SAPbouiCOM.Item
        Dim edtRemark As SAPbouiCOM.EditText
        Dim FieldNo As String
        Set frm = SBO_Application.Forms(FormUID)
        Set itmCustomer = frm.Items(pVal.ItemUID)
        Set edtCustomer = itmCustomer.Specific
        If UCase(edtCustomer.Value) = "CALECH1" Then
            FieldNo = "16"
            Set itmRemark = frm.Items(FieldNo)
            Set edtRemark = itmRemark.Specific
            edtRemark.String = "E"
        End If
    End Sub
    However when doing the same thing for Payment Terms I get the error "Run-time error '13': type mismatch" on the line
    Set edtOrderType = itmOrderType.Specific
    Thanks

    Hi,
    On the new invoice's form item 47 is ComboBox and I guess it's stay in the same type when you open existing invoice. So try to work with this item like with ComboBox. But if you need only get some information about existing invoice, you don't need to fork with the screen objects - you can get all you need from the DI Document object. Open Document object with Invoice type, find invoice and check PaymentGroupCode property.
    Best regards,
    Mark

  • Set item value from application level item

    Hello,
    I'm using Apex 2.2.1.00.04. I've modified the Page "No Tabs" template so that I can have my own Form (which is submitted to an outside website). On this form, I create some hidden items:
    <form name="frmEPay" method="POST" action="some_website">
    <input type="hidden" id="i1" name="userId" value=&G_ID. />
    <input type="hidden" id="i11" name="timestamp" value="" />
    <input type="hidden" id="i12" name="hash" value="" />
    On this apex page, I have a javascript function which is called in the onload (basically, the ApEx webpage displays and then is redirected). Here's a snippet of that function:
    var appProc = new htmldb_Get(null, html_GetElement('pFlowId').value,'APPLICATION_PROCESS=PrepEPay',0);
    appProc.get();
    appProc = null;
    document.getElementById('i11').value = "&G_ECOM_TIMESTAMP.";
    document.getElementById('i12').value = "&G_HASH.";
    document.frm_infiNET.submit();
    As you can see, the function calls an application level On Demand process (PrepEPay). That process sets the values of the application level items G_ECOM_TIMESTAMP and G_HASH. After those App level items have their values, I want to take those values and apply them to the hidden items on my custom form. Unfortunately, it doesn't work how I have things currently. I've verified that the On Demand process is running(by viewing the Session report on the page). So my problem seems to be this: 1. Retrieving the values from the Apex application level items
    2. Setting those values to the values of my hidden items (on my custom form)
    I think the biggest reason why I'm having difficulties is because I have to do a lot of this in the template, since that is the only way to have a separate Form. Maybe my problem is that I don't understand how to reference the Apex application level item value from a different form?
    Thanks,
    Marty

    Marty,
    You are describing this as if you expect the substitution within "&G_ECOM_TIMESTAMP." and the other one to take place in some kind of lexical order, e.g., from the top to the bottom of the HTML. The replacements happen in the engine, before anything is sent to the page. Then the browser interprets language constructs such as javascript calls which in your case includes an ajax invocation of a server-side application process.
    You need to re-think the machinery here.
    Scott

  • Sending IDocs from ForEach Block from BPM disables my XI for 10 Minutes!

    Hi guys,
    I have a scenarion, where my SOAP adapter sends XML into XI, this passes it into BPM, which splits this XML in block to multiple IDoc and these are sent into R/3 system. This really works, but unfortunately, when I send the message into the SOAP adapter, my BOX is unavailable for cca 10 minutes and the documents contains only 2 IDocs!!  After these 10 minutes is everything ok and the  IDocs are in the R/3 system ...
    What could be wrong??
    Any idea is welcome, thanx in advance!
    Peter

    Michal,
    First I tried to do this with my BPM:
    before the change, I was mapping the message to IDoc directly in the BPM block part (I had abstract interfaces for message and for IDoc) and sending the Idoc away from the BPM
    after the change, I tried to send away from the BPM just the message and try to make mapping to IDoc on the way from the BPM to rhe R/3 system
    (it didn't help, my box was unavailable for 6minutes again)
    I checked the BPM - sending of the both massage was in the same second! So the problem could be only in
    a, MAPPING (not very possible - tests take few seconds)
    b, in sending IDoc
    But what could be wrong?? What could take so many resources??
    To the header mapping: I have deleted the Ad Spec Ids and added the header mapping (sender service, receiver service)...  But the ALE error was there again!
    Honestly, I have read the header mapping docu, but didn't unterstand it, how could it be useful in this case..
    P.

  • How to Send  Values from  READ_TEXT   to   User exit

    Hi Friends.,
                       I need to Read Values from  READ_TEXT  FM  and send those values  to  User exit  ( Exit_SAPLRSAP_001  for   ZSALES_2LIS_11_VAITM )  Datasource,
    I'm Getting one Indicator value ( values are like   Y N  0 )  from  READ_TEXT  FM
    and i have to make use of this in Extraction Part
    can anyone help me out in ABAP coding to get these values from  READ_TEXT  FM  to  User exit
    Regards
    Sridhar.

    Hi,
    if you open the FM in se37,you will find the 'Function module documentation' button. click on it and try to see what this function module is about.
    i am attaching a sample code to read the text of a penalty inforamion field.
      DATA: T_LINE_T LIKE TLINE OCCURS 0 WITH HEADER LINE.
      DATA: S_THEAD LIKE THEAD.
      DATA: T_LINE_H LIKE T_LINE_T OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'READ_TEXT'
              EXPORTING
                CLIENT                        = SY-MANDT
                ID                            = 'K01'     "Valid values for the text ID are defined in table TTXID.
                LANGUAGE                      = SY-LANGU
                NAME                          = LV_SO     "here i am passing Sales order no
                OBJECT                        = 'EKPO'    "The text object is part of the text key and assigns the text module to a specific application object. Valid text objects are defined in table TTXOB.
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
             IMPORTING
               HEADER                         = S_THEAD
              TABLES
                LINES                         = T_LINE_T
             EXCEPTIONS
               ID                            = 1
               LANGUAGE                      = 2
               NAME                          = 3
               NOT_FOUND                     = 4
               OBJECT                        = 5
               REFERENCE_CHECK               = 6
               WRONG_ACCESS_TO_ARCHIVE       = 7
               OTHERS                        = 8
            IF SY-SUBRC = 0.
              READ TABLE T_LINE_T INTO T_LINE_H INDEX 1.
    Storing the value in the structure.
              E_T_DATA-PENALTY = T_Line_H-TDLINE.
            ENDIF.
    Thanks.

  • Get values from dynamic form items

    Hi All,
    I create a dynamic form with text input component
    private function buildForm():void{
                    var numberOfColumns:Number = 5
                    var formItem:FormItem = new FormItem();
                    var hBox:HBox = new HBox();
                    for(var i:Number=0; i< numberOfColumns; i++) {
                        var formInput:TextInput = new TextInput();
                        formInput.text = "test";
                        formInput.id = "txt_" +i;
                        hBox.addChild(formInput);
                    formItem.addChild(hBox);
                    loansForm.addChild(formItem);
    I can see the text input components, update the values.
    How can I get the updated values from the input components?
    I try  this["txt_" + i].text  but not working. It's not finding the component with the dynamic value.
    Any ideas?
    Thanks
    Johnny

    Hi,
    Here is the related thread, u will get some help
      http://forums.adobe.com/message/3075226
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • Prevent user from view line item details in KSB1 report

    Hi,
    how to restricting user from view line item details by double-click on it or highlight an item click on Document?
    Regards,
    Kelvin

    Hi,
    This issue got resolved.
    SAP suggested to execute the program "FAGL_CORR_0001" for company code wise.
    In ECC 5.00 from support pack 10 onwards two new fields has been added to table FAGLFLEXA.  (earlier we are on support pack 9, recently we applied the latest support pack)
    If we can execute the above program FAGL_CORR_0001, the two new fields will filled with relevant data and then we can able to use drill down option.
    This is for your information.
    Message was edited by:
            prasad naga

  • How to send emails from of pdf's generated by oracle reports

    I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
    Thanks,
    Previn

    I have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    OR
    I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
    Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
    Martin

  • How to send values from a "Report Column" instead of a "Page Item" ?

    Hi there,
    Here's my case: Two pages A and B.
    Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
    I'm a bit lost cause I don't know how to transfer/send this value to the second page.
    Do you have any clue ?
    Thanks again for your time !
    BR
    Ulrich

    Ulrich,
    Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
    Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
    Have you verified that you have the :P4_DEPARTMENT_ID in session?
    Does your SQL run in SQL Commands when provided a Department ID?
    Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
    Jeff

  • Unable to select the value from a list item in forms 6i

    Hi ,
    I'am using forms 6i. I have created a list item in my form as below.
    Item_type = list item
    list style - popup list
    elements in list - A, B, C,D
    When I open the form all the above values are displayed for the list item. But I'am unable to select the item( either A,B,C,D).
    Please let me know if I need to add any thing else programatically to acheive this. The block on whixh these values are diplayed is a datablock.
    This is very urgent. Any suggestions would be of great help.
    Thanks
    Deepthi

    If you have a list item where you have:
    Display A value 1
    Display B value 2
    Display C value 3
    Display D value 4
    If want to initial the value of the item to be A, you can set the initial value of the item to 1 in the property pane.
    Otherwise in an initialisation triger have
    :block.list_item := 1;
    HTH
    Tony

Maybe you are looking for