Issue in populating dynamic values in smartform

Hi Experts,
I am facing some serious alignment issue while populating dynamic values in smartform.
Through table, I am populating  dynamic values in smart form. If my internal table contains 20 records , first 10 records are populating in first page and remaining records are populating in next page properly. But here issue is whenever that first 10 records are populated in first page system automatically leaves empty row at the end of page. Ideally it should not happen. please tell me how to solve this issue.
thanks
Karthik

Hi,
I was wondering how are the bold lines output, if you only have one line type... is the Table node executed multiple times under the loop node, where the bold text is implemented as separate text node..? It should IMO actually not affect the output of the table in any negative way if it's done so - just curious
With the "protect" I meant this baby:
You could also try to download and attach only the (upper) node involved in the output of table instead of whole form, if there is something in the form that should not be seen publicly...
cheers
Janis

Similar Messages

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Regarding populating dynamic values in text elements

    I want to populate some dynamic value in my field catalog text elements how can we achive it?

    Hi
    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8747e990-0201-0010-a69f-c52888feaadf
    Regards
    Pavan

  • Issue in populating Limits Value of PO in its Line item

    Hi All,
        There is an issue while creating a PO from PR.
        When we change the Item Category of the line item to 'B'. it is asking to enter the Limit value in the LIMIT Tab of the item detail.
        In our example we enter expected value field say 20000.00 to check it is updating the value in the line item netpr value. Actually it is not updating the value in the line item (NETPR).
    But we if you change it again with the other value in the limit tab i am able the see the changed value in the NETPR of that line item(in Table-Control).
    Can any one help me on this or could you tell me where exactly the value of NETPR (line item) will get changed.
    Thanks in Advance!...
    Regards,
    Ramkumar.K

    Hi Eswar,
    Thanks for your information.
    My question is why it is not taking the expected value in the line item netpr for the first time.
    But I am able see the expected value in the item netpr if you are changing the value of Expected value again.
    Can you help me on this. Thanks!...
    Regards,
    Ramkumar.K

  • Issues in populating dynamic table with other dynamic table records

    Hi Experts,
    I have a Problem here ,i need to move the records of one table into other.
    Through the following code..am able to append the records ,
    but there are no values in it.
      FIELD-SYMBOLS:<lt_data> TYPE ANY TABLE.
      FIELD-SYMBOLS:<itab_wa2> TYPE ANY.
      LOOP AT <lt_data> ASSIGNING <itab_wa>.
        DO lv_count TIMES.
            ASSIGN COMPONENT sy-index OF STRUCTURE <itab_wa> TO <itab_wa1>.
        ENDDO.
    APPEND <itab_wa1> to <itab>.
    help is appreciated

    >
    Vadnalav wrote:
    > Yeah the structures of both the tables are same.. referred to TYPE ANY
    TYPE ANY is not a structure mate!
    Anyway let me rephrase my question: Are the "run-time" structures of the 2 dynamic tables similar?
    BR,
    Suhas

  • Issue in populating the dynamic internal table  in SMARTFORMS

    Hi Experts,
    My requirement is I have a table in the below format.
    Measuring Point
    Description of Measuring Point
    UOM
    Date
    Time
    Reading
    96
    POWER GENERATED
    kwh
    20140501
    101837
    1.00E+04
    96
    POWER GENERATED
    kwh
    20140502
    102220
    1.00E+04
    96
    POWER GENERATED
    kwh
    20140503
    104623
    1.25E+01
    96
    POWER GENERATED
    kwh
    20140504
    101111
    2.00E+03
    98
    AUX POWER CONSUME
    kwh
    20140501
    101837
    1.00E+05
    98
    AUX POWER CONSUME
    kwh
    20140502
    102220
    1.00E+05
    99
    NET POWER EXPORTED
    kwh
    20140501
    101837
    1.00E+07
    99
    NET POWER EXPORTED
    kwh
    20140502
    102220
    1.00E+07
    100
    AVG POWER GENERATED
    MW
    20140501
    101837
    1.00E+02
    100
    AVG POWER GENERATED
    MW
    20140502
    102220
    1.00E+02
    101
    AUX POWER CONSUMED(%)
    20140501
    101837
    1.00E+02
    101
    AUX POWER CONSUMED(%)
    20140502
    102220
    1.01E+01
    102
    PLANT AVAILABLE HRS
    hrs
    20140501
    101837
    1.01E+01
    102
    PLANT AVAILABLE HRS
    hrs
    20140502
    102220
    1.01E+01
    103
    PLANT RUN HOURS
    hrs
    20140501
    101837
    1.01E+01
    103
    PLANT RUN HOURS
    hrs
    20140502
    102220
    1.01E+01
    104
    PLANT AVAILABLITY FACTOR
    20140501
    101837
    1.00E+02
    104
    PLANT AVAILABLITY FACTOR
    20140502
    102220
    1.00E+02
    which i need to display like below based on the user Requirement for print out.
    DATE
    POWER GENERATED(96)
    AUX POWER CONSUME(98)
    NET POWER EXPORTED(99)
    AVG POWER GENERATED(100)
    AUX POWER CONSUMED(%)(101)
    PLANT AVAILABLE HRS(102)
    PLANT RUN HOURS(103)
    PLANT AVAILABLITY FACTOR(104)
    kwh
    kwh
    kwh
    MW
    hrs
    hrs
    01.05.2014
    1.00E+04
    1.00E+05
    1.00E+07
    1.00E+02
    1.00E+02
    1.01E+01
    1.01E+01
    1.00E+02
    02.05.2014
    1.00E+04
    1.00E+05
    1.00E+07
    1.00E+02
    1.01E+01
    1.01E+01
    1.01E+01
    1.00E+02
    03.05.2014
    1.25E+01
    04.05.2014
    2.00E+03
    Now the issue is how to assign the values of stops from the internal table to dynamically  for a specific date in SMARTFORMS?
    Please help me in resolving this issue.

    Hi,
    See if this articale is good for you:
    The case of "dynamic columns in smartform"
    Regards.

  • How to set setRowKey value when table is populated dynamically

    Hi All
    I have created a view object using only select statement and displaying all the records in it in the table at page load. Table is SelectMany. Now after selecting some records I press submit button. At the backend logic is executed which prints how many rows selected and the values of the selected rows. Everything works fine till here.
    Now when the view object is modified by putting where clause. And the parameter to this where clause is coming from url. When the page is loaded table displays only records based on filter criteria. But the problem begins when I press the submit button. It shows the error: row is null for rowKey:oracle.jbo.Key[AAAQkHAAJAAAACkAAA ]
    I have done some research and found that row key is not set for the displayed records. because at the backend when I am printing the values of keys in selectionState.KeySet it prints only null.
    This thing happens only when table is populated dynamically through url value.
    Can anyone help me how to get the selectionState.Keyset values when table is populated dynamically?

    SOLVED:
    Actually there is no problem with the rowKeys as I mentioned in the post. What happened was that I was executing the query everytime on page load. Second time when the page is loaded the param value was set to null. So row becomes null but on the other hand I am referring the rows by some selected row keys. so the error that row is null for key...
    So now i am storing the param value in managed bean and then referring it in the code.

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • Accessing DefaultValues for parameters with dynamic values

    We have a custom user interface we place in front of all Crystal Reports (to maintain look&feel) that reads the parameters from the report and dynamically generates controls for user input.  The only time this doesn't work is for parameters that have dynamically generated default values.  If there is a static list of default values then we get the list from the DefaultValues collection; but if the list is dynamic then the collection is empty.
    Is there a way to force this collection to be populated, or alternatively, a way to find out what SQL query is being used to populate the parameter list?

    I think you may be out of luck. Dynamic cascading parameters (DCPs) are a relatively late addition to the Crystal Reports product line, and the Crystal Reports SDKs haven't caught up to that yet. Currently we don't have SDK access to dynamic value collections, including the SQL queries made for them. The most we can do at the moment is determine whether the parameter field uses dynamic or static values.

  • Passing dynamic values in WebElements

    Hi
    I have created a report with webelement using WESelect. For drop down values we are creating a sting of values with allelements.Is there a way i can get the values from a database column or dynamic values.
    For example a Week WESelect is created with values as follows:
    string allelements:= ("week","wk01|wk02","wk01|wk02",{?week},"")
    instead of this values can we get values from database column like {week.weeknumber} ?
    How can this be solved.
    Thanks & Regards
    Mahesh

    hello Mahesh,
    in the tips and tricks section of the webelements user guide there is the following information...
    Can webElements be used with live data?
    Yes. Controls such as select menus that require that data be rolled up or
    amalgamated before the control is created are populated by running a
    Report Header subreport that rolls the data up. The data is then passed
    to the main report via a shared variable which is used in the control.
    Please see the DCP reports in the webElements .zip package for ideas on
    how to do this.
    Controls such as check boxes or radio buttons can be populated by
    placing the formula containing the control in the Details section or the
    Group Header / Footer section where the control is needed. Ensure that
    the controls do not span more than one page. See the Requirements
    section of the User Guide for more information.
    i hope this helps,
    jamie

  • Dynamic values in f:validateLongRange

    In the code below, I'm having issues trying to dynamically set the maximum value for the long validation. I'm using apache MyFaces 1.1.1 on tomcat 5.5.12. When i use a normal number, it works, but when i try to use the expression, i get the following error:
    java.lang.NullPointerException
         at org.apache.myfaces.convert.ConverterUtils.convertToLong(ConverterUtils.java:97)
    public interface Sellable {
         public Long getPurchaselimit();
    <h:column>
    <f:facet name="header">
    <h:outputText value="Quantity" />
    </f:facet>
    <h:inputText  value="#{q.quantity}" >
      <f:convertNumber integerOnly="true" />
      <f:validateLongRange  minimum="0" maximum="#{q.sellable.purchaselimit}" />
    </h:inputText>
    <h:outputText value="#{q.quantity}" rendered="#{q.sellable.purchaselimit == 1}" />
    </h:column>

    After some further investigation, i believe there might be a bug.
    The code below works, where cartBean.limit returns a long. The value of q.sellable.purchaselimit is also valid and does appear properly in the h:outputText.
    Any further help is appreciated.
    <h:inputText id="quantity" value="#{q.quantity}" >
         <f:convertNumber integerOnly="true" />
         <f:validateLongRange minimum="0" maximum="#{cartBean.limit}" />
    </h:inputText>
    <h:outputText value="#{q.quantity}" rendered="#{q.sellable.purchaselimit == 1}" />
    <htm:br />
    <h:outputText value="#{q.sellable.purchaselimit}" />
    <htm:br />
    <h:outputText value="#{cartBean.limit}" />

  • Listbox displaying dynamic values in table control

    Hi Experts,
    The requirement that I have is that there are two columns in an internal table out of which second one is a listbox.
    There is a need of displaying dynamic values in a row in a listbox according to value entered in first column of the same row, not affecting the listbox values in other rows.
    I am using VRM_SET_VALUES for populating listbox, but it results in populating the listbox in all other rows also.
    Please help.
    Thanks,
    Garima

    Hi Thanks for the link..
    But my problem is something else.
    I want the same listbox of a column in a table control to show me different values in different rows on the basis of value in another column .
    Regards,
    Garima

  • Dynamic value in TVARVC table for standard report

    Hello,
    I am trying to archive objects like FI_DOCUMNT. For this purpose I want to create dynamic variant for the date. ( Date not in complete format) yyyy/mm.
    So, I created an entrie in TVARVC table, and I linked it with the attribute of my variant by choosing "T" option.
    My question is, how Can I fill the dynamic value for TVARVC entry?, knowing that it a standard report that is responsible for archiving.
    Cordialy,

    Hi Merou,
    this might help:
    Create Variant for dynamic population of current date
    Check the reponses about saving dynamic variants with column "L" and follow the rest of the instructions.
    Best,
    Sander    

  • ADF Pivot table - determining aggregation type based on dynamic value items

    Hi,
    I am trying to build a pivot table in ADF. The data-value rendered (bold section below) produces multiple data items dynamically.
    <pivotTableDataMap>
            <columns>
              <item value="Name" label="Name"/>
              <data aggregateDuplicates="true" defaultAggregateType="SUM">
               <item value="Value" label="__NO_LABEL"/>
              </data>
            </columns>
    </pivotTableDataMap>
    Since, all these data item(s) are rendered dynamically and based their names, the aggregation could be SUM/AVERAGE etc...
    Looking at the Pivot documentation, it says that I can use the 'aggregateType' property of the <item> element to override the 'defaultAggregateType' defined at the parent <data> element. Something like -
    <data aggregateDuplicates="true" defaultAggregateType="SUM">
              <item value="Sales"/>
              <item value="Units" aggregateType="AVERAGE"/>
            </data>
    However in my case the <item> are getting populated dynamically, I cannot put the aggregate type using declarative approach.
    Is there any other way where I can define the aggegrate type for this use-case?
    Thanks
    Sachin

    Hi,
    I am trying to build a pivot table in ADF. The data-value rendered (bold section below) produces multiple data items dynamically.
    <pivotTableDataMap>
            <columns>
              <item value="Name" label="Name"/>
              <data aggregateDuplicates="true" defaultAggregateType="SUM">
               <item value="Value" label="__NO_LABEL"/>
              </data>
            </columns>
    </pivotTableDataMap>
    Since, all these data item(s) are rendered dynamically and based their names, the aggregation could be SUM/AVERAGE etc...
    Looking at the Pivot documentation, it says that I can use the 'aggregateType' property of the <item> element to override the 'defaultAggregateType' defined at the parent <data> element. Something like -
    <data aggregateDuplicates="true" defaultAggregateType="SUM">
              <item value="Sales"/>
              <item value="Units" aggregateType="AVERAGE"/>
            </data>
    However in my case the <item> are getting populated dynamically, I cannot put the aggregate type using declarative approach.
    Is there any other way where I can define the aggegrate type for this use-case?
    Thanks
    Sachin

  • WBS Hierarchy Logic build up with dynamic values

    Hello ABAP Crew.
    I currently using BAPI_PROJECT_MAINTAIN, and I have to pass I_WBS_HIERARCHIE_TABLE with the hierarchy table made by me.  Does anyone have a logic on how to do this from values within a table?
    Here are the values coming from a proxy:
    111520
    111520-111234
    111520-111234-19
    111520-111234-19-1
    111520-111234-19-2
    111520-111234-20-1
    111520-111234-20-4
    The purpose is to place this into the table of I_WBS_HIERARCHIE_TABLE in the UP DOWN LEFT RIGHT  format. 
    Now the problem is, the list of values received will always be different.
    Thanks.

    Hi Jotorres,
    Did you get a response for this question about WBS hierarchy logic build up with dynamic values? I have been trying to build it up myself, but its getting increasingly difficult. I wanted to know how you resolved this issue?
    Thanks a dozen !
    Regards
    Aradhana

Maybe you are looking for

  • HP Envy printer issues after loading Mountain Lion

    Hi Since loading Mountain Lion on Macbook Air Command P on a web page prints only part of that page? For example in printing a bank statement, the description but not the amounts printed and many of the headings did not print.

  • Document numbering in SAP B1

    Dear All, I am getting error 'Numeric value deviates from legal range (ODBC -1015)  [131-183]' while adding new series, Series have 10 digit numbers. If number starts with '2' its accepting but if starts with 3 or 4 giving above mentioned error. Vers

  • App Store Needs: tabs, demos, blurbs, screenshot zoom, etc.

    In my first hour of looking at the new Mac App Store I can see that it needs the following: - Tabbed Browsing - Demo Downloads - Blurbs in Browsing (all the time or via hover) - Wish List - Watch List - Gift List - Screenshot Zoom-in - Videos in scre

  • How will Reflow work with higher resolution mobile devices?

    If the media queries are based on a resolution breakpoint, how will we be able to specify a mobile css design for new mobile devices with such high pixel density displays?

  • SAP Query SQ01/2/3

    Is it at all possible to link SQ01/2/3 SAP Query to an external SQL source and table (MS SQL).