Concatanation of values in ITS Template

Hi,
I have an requirement where I want to capture all the data of internal table in
single field.I am getting all the fields of table in ITS template but unable to concate them in single field .I am using SRM 5.0 and using following code .
<input type="hidden"   name="RANG_TD" VALUE="">
`if (text_mul-TXTTDNAM.max > 1 )`  
   `repeat with i from 1 to text_mul-TXTTDNAM.max`  
   `RANG_TD.value =  text_mul-TXTTDNAM<i>.value`
    `end`  
`end`  
Where <b>text_mul-TXTTDNAM</b> is internal table,here the last value is overwriting in varible <b>RANG_TD</b> .I need the concate all values of internal table in variable <b>RANG_TD</b> .
Thanks,
SS

Hi
I have not tried this yet. But You can try this ->
You can use local variable and try to store the data inside it.
You can specify array offset in this case.
say first 5 characters are having any value use 0(5)
then for next 3 characters use +6(3) [Add one balnk space in between].
Do let me know.
Regards
- Atul

Similar Messages

  • Passing/retrieving hidden fields from Its template(IAC)  to BSP page

    Hi i m passing hidden fields from its template to custom BSP page...but not able to retrieve the hidden field in bsp page...is there any way we can retrieve the data....is there any equivalent of request.getattribute() method which we use in jsp to fetch the hidden fields....

    <i>i m passing hidden fields from its template to custom BSP page...but not able to retrieve the hidden field in bsp page...</i>
    from ITS template how are you calling/passing parameter to BSP
    thru a form submit? or are you just openning the BSP thru a url link, in either case
    you could pass the data as a form field (post) or in the url of the BSP (GET)
    for example if the form field name in ITS template is myformfiled and you are submitting that to the BSP page then in the corresponding bsp page declare a page attribute withe same name (myformfiled) and mark the auto check box.
    now the value passed from ITS template will be available within BSP in the ABAP variable myformfiled which you can use the way you want.
    Hope this is clear
    Raja

  • How to create a PDF with substituted key-value and table-values using a template language

    I have about 50 key-values and 10 table-values that I want to substitute into a formatted report template (language can be anything standard, would create a small number of these templates) and then use an Adobe tool to substitute the values into the template and produce a PDF. Preferably the template language would permit some basic conditional logic (if <key #> has value <value> then <show key label here> and <key value here> in close spatial proximity on the form) and permit embedding of a static graphic logo, text with fonts/styles, etc. to produce a polished report but also handle pagination (e.g. enable page breaks or numbering) to be handled automatically.
    What is a recommended template language and product to accomplish this?

    Are you thinking of something like a blank form that you can enter information into, save, and send to another user? If so, what you want is possible. If you want more information, post again and include more details about how you want to use it and how the recipient will use it.

  • Issue with filtering values in Web Template

    I am facing a problem with filtering values in Web Template.
    I have two queries based on two different data providers. One query is getting data from an Info set and the other from a Remote Cube. I have a single navigational block to filter values for both these queries but the change gets reflected only on the variable of one query. The other reflects no change and shows all the values irrespective of the filter condition.
    I have tried the option of setting in the properties of the navigational block, ‘affected data providers’ as both your data providers.But no effect.
    Can a single navigational block be used to filter values on 2 queries which are built on different data providers? If yes, can someone please tell me how it is possible?
    Kindly let me know how can I make the changes appear in both the queries?I am using SAP BI 3.5.
    Thanks & Regards,
    Suchitra

    Hi Peng,
    Frank also published a fix for 11g R1: http://www.oracle.com/technology/products/jdev/tips/fnimphius/rc_expand_menu_on_mouse_over.html
    function showMenu(event){
       var adfRichMenu = event.getSource();
       adfRichMenu.getPeer().show(null,true);
    }This should work.
    Luc Bors

  • List Box in ITS template and use of 'FIELD_SET'

    Hello EveryOne,
    I am working in SRM5.0. Can some one guide me, If we can create a List box in custom ITS template. I am trying to use SELECT statement on HTML to create LIst Box. Is this right way to do that?
    Does any one know better way to create a List BOx connected to custom field, that is filled in PAI. We do not have a search help added to this field. So I can not use F4 modules.
    Also does any one know If use of macros 'FIELD_SET' is still allowed in the PBO/PAI  ?
    Really appreciate any help in this regard.

    Dear srivallika,
    first you have do build up an steploop on your dynpro for the it_ccode-bukrs
    AT PBO
    loop at it_ccode cursor g_ccode_cur into wa_cccode.
    my set loopc
    module ccode_loopc.
    endloop.
    Include PBO
    module ccode_loopc.
      g_ccode_loopc = sy-loopc.
    endmodule.
    You only see via DIAG Dialog the displayed rows on the Dynpro.
    So if you only have a steploop of 4 rows -- you only get 4 rows to the wgate.
    Better use the field-set makro.
    AT PBO
    module rfc_fieldset_ccode.
    INCLUDE PBO
    module rfc_fieldset_ccode.
    data: ls_ccode like line of it_ccode.
    data: i type i.
    I'll use deeper structure
      perform rfc_fieldset_ccode.
    but you also can define the code here
    loop at it_ccode into ls_ccode.
         add 1 to i.
         field-set 'INDX'       i i .
         field-set 'BUKRS'   i   ls_ccode-bukrs .
    endloop.
    endmodule.
    Why to do this? The field-set makro (don't forget to include AVWRTCXM at your topinclude) will send the data from internal table via AGATE to the WGATE.
    Here now you can define the dropdown list:
    srivallika, i'll hope i could help you a little. If you have any questions, you won't bother me. ASK!
    With best regards
    Thorsten

  • Passing variable value from main template to sub templates in BIP

    Hi Gurus,
    i am developing BI publisher report by calling different templates from the main template.
    for example:
    I have main template which calls three templates. my Main template code is like this
    <?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
    <?import:file:///C:/Temp/P3.rtf?>
    <?CALL: O1?>
    <?CALL: O11?>
    <?CALL: O111?>
    <?CALL: O1111?>
    <?CALL: O11111?>
    <?CALL: P1FOOTER?>
    PageBreak
    <?CALL: O2?>
    <?CALL: O22?>
    <?CALL: O222?>
    <?CALL: O2222?>
    <?CALL: O22222?>
    <?CALL: P2FOOTER?>
    PageBreak
    <?CALL: SUM1?>
    <?CALL: SUM2?>
    <?CALL: SUM3?>
    <?CALL: SUMFOOTER?>
    Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
    I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
    Please advise me.
    Thanks,
    Jag

    Yes i have declared my variable at main template but if i do the same declaration at subtemplates, then report not generating. So that i am thinking better to capture that value in variable from the main template then to sub templates.
    I dont know is it works or not? Please see below
    <?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
    <?import:file:///C:/Temp/P3.rtf?>
    <?param@begin: Test;'default_value';'string'?>
    <?$Test?>
    <?CALL: O1?>
    <?CALL: O11?>
    <?CALL: O111?>
    <?CALL: O1111?>
    <?CALL: O11111?>
    <?CALL: P1FOOTER?>
    PageBreak
    <?CALL: O2?>
    <?CALL: O22?>
    <?CALL: O222?>
    <?CALL: O2222?>
    <?CALL: O22222?>
    <?CALL: P2FOOTER?>
    PageBreak
    <?CALL: SUM1?>
    <?CALL: SUM2?>
    <?CALL: SUM3?>
    <?CALL: SUMFOOTER?>
    Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
    I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
    Please advise me.
    Thanks,
    Jag
    Edited by: user7498756 on Aug 16, 2012 9:59 AM

  • Getting the UPDATEd value and its primary key

    I have two procedures, proc1 and proc2.
    In proc1 there is an update happening like
    CREATE OR REPLACE procedure proc1
    as
    TYPE NumList IS TABLE OF employees.employee_id%TYPE;
    enums NumList;
    TYPE NameList IS TABLE OF employees.last_name%TYPE;
    names NameList;
    BEGIN
    UPDATE emp set sal=900 WHERE department_id = 30
    RETURNING employee_id, last_name BULK COLLECT INTO enums, names;
    DBMS_OUTPUT.PUT_LINE('Updated ' || SQL%ROWCOUNT || ' rows:');
    FOR i IN enums.FIRST .. enums.LAST
    LOOP
    DBMS_OUTPUT.PUT_LINE('Employee #' || enums(i) || ': ' || names(i));
    END LOOP;
    END;
    /In proc2 which is getting executed just after proc2 i want to SELECT the sal column values and its primary keys(employee_id) which got updated in proc 1.
    How can i achieve this?

    add two out parameters from proc1 so that you can pass them into proc2 (obv. you'd need to add two in parameters to proc2 if they aren't there already)

  • Rookie Question: Swap values? Declare an array and values of its indices?

    Hello,
    I hope this is the right forum: I have a simple Java Problem but i do not get it.
    Is like that: I have to swap values within an array e.g i have one array with 3 indices. Indice 0 (the first indice) has value 12. The middle indice has no value, and the second indice has value 9. How to swap 9 to 12 and 12 to 9 without direct swap, in other words, by using the middle indice that has no value or is zero? And how do i write it in an array?
    My other questions: How do i Declare an array and values of its indices?
    I hope this is the right forum or site at all, in cas enot, i hope you still can help or give me links that could help. I really need this.

    Hi Rookie,
         http://forum.sun.com is the best place to get answers for your queries.
         Answer to you first question:
         array[0]=array[0]+array[2]; // array[0] will have 21, because 9+12.
         array[2]=array[0]-array[2]; // array[2] will have 9, because 21-12.
         array[0]=array0]-array[2];  // array[0] will have 12, because 21-9.   
         Hope your first query is resolved.
         I will answer your next query in my next reply.
    Thanks & Regards,
    Charan.  

  • Call function module from ITS template

    Hi all,
    Does anybody know if it is possible to call an ABAP function module (or embed any ABAP command) in an ITS template (HTML B)? If so, can someone post some sample codes?
    Thanks!
    Jay

    hi,
    it is not possible to run ABAP code from a ITS template.
    Best regards,
    Klaus

  • Peoplecode to get dropdownlist box value and its description

    Hi,
    I have assigned a value and its description to dropdownlist box. when try to get the value and description in somewhere, i didn't get the description. i got only the value of the current row in a rowset. but i want to fetch the description which i assigned to the dropdownlist for the corresponding value. Is there any way to get the description?

    Since it is not a XLAT bound to the field, you cannot use the field class properties.
    What is the source of the dropdownlist?
    If it comes from a database record, you could fetch the description from the database using the &Field.Value as input.
    But this would cause a lot of database roundtrips.
    You could store the value and description in a two dimensional component array variable and load this array with the values and descriptions at PostBuild Event.
    This will only fires ones during the component build.
    Suppose the values are "hardcoded", something like this
    /* Create component 2-dim array */
    Component array of array of string &DropdownArray;
    &DropdownArray = CreateArrayRept("", 0);
    &DropdownArray.Push(CreateArray("value1", "descr1");
    &DropdownArray.Push(CreateArray("value2", "descr2");
    &DropdownArray.Push(CreateArray("value3", "descr3");
    After this populate the dropdownlist with values and descriptions from the array.
    For &i = 1 To &DropdownArray.Len
      &Field.AddDropDownItem(&DropdownArray[&i][1], &DropdownArray[&i][2]);
    End-For;
    Whenever you need to fetch the description of the dropdownlist value, first find the value by &Field.Value and then search within the array for the description.
    /*Get value from dropdown */
    &Value = &Field.Value;
    /*Find index for value*/
    &Ind = &DropdownArray.Find(&Value);
    /*Get description (second index in subarray)*/
    &Descr = &DropdownArray [&Ind][2];
    I am writing the code without an environment, so typos could exist
    Hope this helps.

  • Material Characterstic values and its text

    HI,
    I need material Characterstic values and its texts 
    CABN Characteristic Detail
    AUSP Characteristic Values
    CAWN Characteristic Values
    CAWNT Characteristic Value Texts
    KSML Characteristic Allocation to Class
    But my AUSP table dont have all material numbers which i need to give the condition ausp-OBJNUM = mara-matnr and my mara-atinn filed also blank to fetch the values directly.
    But the CABN,CAWN,CAWNT holds the data
    Any new inputs and conditions other than these
    Regards
    Rashed

    Hi,
    You need to search the object number in INOB(Link between Internal Number and Object) table first then you will get the record from AUSP.
    In INOB you can put the material number in objek field
    sample attached
    MANDT CUOBJ              KLART OBTAB                            OBJEK                    
    013   000000000000021515 001   MARA                             000000000000905030       
    Hopefully It should solve your probelm.
    Regards,
    Atul

  • Passing Dynamic Filter values to Web template in VC

    Hi Experts,
    Iam working with a Web Template (which is created using WAD)  in Visual Composer Model
    I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
    This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
    I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
    But i wanted the template to be executed with filter values also
    in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
    In order to make the template execution dynamic i added the following URL which is not working:
    http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
    Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
    Thanks
    P.Navakanth

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • Retain variable values across web templates during a web session

    Hi all,
    How can we let web template get variable values from another template's variable values so as to keep the same entry values as previous report run?
    For example 0vendor has a variable (for single, mandory) used in all  vendor related web templates. "vendor1" was entered for the second template.
    I tried to use "SET/GET PARAMETER" in variable user exit. It works in BI with RSRT,  but it doesn't work with Bex or Web template. Looks like web session is not sync with the ABAP stack.
    How about using cookie? How to create/reset cookie in variable user exit? Can we get variable values from web server memory or user session data?
    Please share your thought !
    Thanks for helping!
    David

    Hi Arun,
    All the web templates are randomly run by user, there are no set of templates run after one template. Any templates can run after any other web template.
    Basically we link  web templates with portal menu items. any report can be run by any sequence. The thing the new report need to take the previous selection values from common variables.

  • ITS Template for SC

    Hi
    I understand to add new fields we need to work on append strucutre and BADI but to place the screen field on desired place we may need to have the ITS template modified....i searched SDN but unlucky to find the  following details:
    1. programing guide for ITS
    2. how to determine which ITS template to change for a correpsonding SC screen
    pls help

    posted in SC

  • Setting Default or Derived value for watermark template

    Hi,
    I want to set default value for watermark template id. The condition is like if dUser(Logged in user) is "a", then default value of template should be "1". I have created template in pdfwatermark administrator with contentid of template as "1".
    How to write that idocscript?
    Thanks in advance

    Dear Kick,
    There is no such option of default scrap value in IMG. You will have to put that amount in asset master.
    If the data quantum is high then better to write LSMW or CATT
    Regards,
    Ajay

Maybe you are looking for

  • Thumbnails in Project Window

    I have a Konica Minolta 7D. When I import RAW photos from my camera initially the full-sized photos appear in the Project. The second time I open the Project, however, thumbnails are displayed in the Project Screen along with the full-size versions.

  • I cannot open my photoshop elements 10. I get an error 400.

    I cannot open my photoshop elements 10 to edit pictures. I get a message saying that it cannot connect, error 400. I was using it last week no problem than I shut down my computer & tried to open photoshop the next day & the program wouldn't open. I'

  • CURRENT_DATE in Date parameter

    Hello guys! I'm trying to put the CURRENT_DATE as default value in my date parameter. I'm working on Publisher 11g Data model. It is possible? If not, any workaround? Thanks for your time! Regards, Ariel

  • How do I create a catalog in elements organizer?

    How do I create a catalog in elements organizer.  I keep getting the error message Catalog could not be opened, an internal programming error has occurred.

  • Slide show in window?

    Is there a way to run the slide show, transitions and all, in a window? or does it have to always be full screen?