How to populate values to the variables in standard text

Hi friends,
I have maintained a standard text in So10 like this invoice number&vbeln&.
Inside a function module i want to read this text and populate the value to the variable &vbeln&.How to achive this.
Rgds.

Thanks Simon but i didn't understand your answer but i will tell you the problem that i want to solve with foreach or iterator
i have a view that have employeeId and employeeName and ManagerID
create table employeesView
        EmployeeId           Number,
        EmployeeName      varchar2(100),
        ManagerId             Number
    }i want to make a foreach or Iterator to make
every Employees with the same manager id to be in the same <af:panelGroupLayout>
i mean
  <af:foreach or af:Iterator >
       <af:panelGroupLayout >
               <af:commandButton id="cb1" text="All Employees With Manager Id 1" />
       </af:panelGroupLayout >
       <af:panelGroupLayout >
               <af:commandButton id="cb1" text="All Employees With Manager Id 2" />
       </af:panelGroupLayout >
       <af:panelGroupLayout >
               <af:commandButton id="cb1" text="All Employees With Manager Id 3" />
       </af:panelGroupLayout >
  </af:foreach or af:Iterator >How can i do this

Similar Messages

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to define and populate value to a variable in a text file

    hi all,
    i have a text file on unix server, when i read it through open dataset, is it possible to populate dynamic value to a variable in the text file. and is it possible to define a variable at any place in the text file?
    after this the program will send the internal table for emailing.
    thanks.

    Hi, If this file on server is a email template you can put some tags / marks and you can change it after you read it with OPEN DATASET / READ...
    Sample:
    OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    CHECK sy-subrc EQ 0.
    DO.
      READ DATASET p_file INTO lv_string.
      IF sy-subrc EQ 0.
        EXIT.
      ENDIF.
      REPLACE ALL OCCURENCES OF '((SYSTEM_ID))' WITH sy-sysid.
      APPEND input_file_tab.
    ENDDO.
    CLOSE DATASET p_file.
    on file there's a line with:
    This email was generated on server ((SYSTEM_ID))
    It will be translated to (sy-sysid = DEV):
    This email was generated on server DEV
    This is a "variable" like that you can use.

  • How to print value of the variable in mail

    Hi,
    I am new to workflow and trying out some basis small work.
    i have created workflow for material change.
    whenever a material is changed mail is sended to user.
    it is working fine .
    but now i want that material number which is changed should come in mail.
    how can i achive this
    Thanks,
    Chintan

    Hi Soni
    You have the "Materialnumber" field in the event container. Pass this into the workflow container by defining a Workflow Container element and subsequently use this container as a variable in your email using insert fields option and you will have the Materialnumber visible in your mail sent.
    NB. This message is more or less a cut and paste from an other answer in this forum. So sometimes the fastet way to get an answer, is to search instead of posting questions. Just a kind reminder |
    Kind regards
    Mikkel

  • How can we give values to the variable

    Oracle Forms6i
    Hai All
    I am generating an daily attendance regarding shift basis.In that i have written an ifelse condition it work successfull and but it fetches only 350 row out of 800.
    I have declared a variable and i need to know how to assign values to the variable Pls tell the steps to do.I have done correctly but there is an logic error in my coding.Let give me some steps to solve the problem
    My coding is
    declare
    t_in varchar2(25);
    t_out varchar2(25);
    cursor cur_test is
    select * from dail_att where intime=t_in and outtime =t_out;
    --into t_in,t_out from dail_att; 
    begin
    loop
    go_block('TEST_SRI');
    FIRST_RECORD;
    if :bartime between 0145 and 0630 then
         update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :bardate-1 and intime is null and outtime is not null;
    elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
    :bartime between 1700 and 1800 and t_in is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
         elsif :bartime > 1645 and t_in is not null and t_out is null then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE and intime is not null and outtime is null;
    end if;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
    NEXT_RECORD;
    END LOOP;
    forms_ddl('commit');
    exception
    when others then
    forms_ddl('rollback');
    message(sqlerrm||dbms_error_Text);
    message(sqlerrm||dbms_error_Text);
    end;
    Regards
    Srikkanth.M

    Hai man
    I have generated a daily attendance roll in oracle forms and it executed correctly but while fetching it fetch some of the records. So i have declared a variable in a block and in my coding.
    For those variable i need to pass values from select statement or using cursor.According to that i can use in my ifelse statement.
    If It is clear Or else see the coding
    declare
    bar_code varchar2(25);
    in_time varchar2(25);-------------------------- these are the variable i going to use in select statement to pass values
    out_time varchar2(25); so that i can use in if else statement.
    begin
    loop
    go_block('TEST_SRI');
    FIRST_RECORD;
    select BARCODE,INTIME,OUTTIME into bar_code,in_time,out_time from dail_att where BARCODE= :Barcode
    and ATTEND_DATE = :bardate;
    if :bartime between 0100 and 0630 then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :bardate-1 and in_time is null and out_time is not null;
    elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
    :bartime between 1700 and 1800 and in_time is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
         elsif :bartime > 1645 then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE and in_time is not null and out_time is null;
    end if;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
    NEXT_RECORD;
    message(:barcode);
    END LOOP;

  • How to populate values in List Box in Adobe form

    Hi,
    How to populate values in List box in adobe forms?
    Thanks
    RB

    if you want to display a fixed values in the dropdown you can use list box ui and can specify values there
    or if u want to display values from the context node of the webdynpro
    1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
    2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
    with regards
    shanto aloor

  • How to populate values for a new field in target infoprovider

    Hi Experts,
    am new to BI. i would like to know on how to populate values for a new field in the target cube with start rotuine.In my case,  i have a source infoprovider, which has 3 fields and a target infoprovider, which has 5 fields. i need to populate the new 2 fields in start routine. i dont want to populate using Field routine and am using 3.5 version. please assist with code on how to solve this issue.
    Thank you,
    Chitra.
    Edited by: Chitra_BI on Jun 13, 2011 10:23 AM

    Debug the standard code and see where the other fields are getting update. you can use the similar approach and area to code for the new field.
    Regards,
    Lalit Mohan Gupta.

  • How to populate value node with values?

    Hi Experts,
    I have created a new view with a vlaue node of table type.
    How can I populate values into the value node?
    Which method will be useful?
    Is there any material for Web UI Programing?
    Please help me in this.
    Thanks,
    Adi.

    Hi Adi
    If ZVal is your value node then,
      DATA: lref_entity    TYPE REF TO cl_bsp_wd_value_node,
            lref_bo_coll   TYPE REF TO if_bol_bo_col,
            lref_data TYPE REF TO <<your ZStructure>>,
             ls_data type <<your ZStructure>>.
    ls_data-<<field1>> = 'XYZ'
    ls_data-<<field2>> = 'XYZ'
         CREATE OBJECT lref_bo_coll TYPE cl_crm_bol_bo_col.
          CREATE DATA lref_data.
          CREATE OBJECT lref_entity
            EXPORTING
              iv_data_ref = lref_data.
          lref_entity->set_properties( ls_data ).
          lref_bo_coll->add( lref_entity ).
          typed_context->ZVal->set_collection( lref_bo_coll ).
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

  • Value of the variable FISCYEAR to compare it with a fix date

    Hi,
    I'm using a hierarchy in my query. But in some case I have to multipliy the value in one column depending wich year is shown. So I tried to use a formular variable. But it doesn't work. Has somebody an idea what to do?
    How can I extract the value of the variable FISCYEAR to compare it with a fix date?
    Problem:
    ........................|  Year 1 (2005)       |  Year 2 (2006)        |   Year 3 (2007)
    hierarchy row 1  | query result 11      | query result 12       | query result 13
    hierarchy row 2  | query result 21      | query result 22       | query result 23
    hierarchy row 3  | query result 31      | query result 32       | query result 33 => row is hidden
    formular row 4   | IF Year == 2005    | IF Year == 2005     | IF Year == 2005 
                             THEN                   | THEN                    | THEN                   
                            query result 31 *10 | query result 32 *10 | query result 33 *10
                            ELSE                     |ELSE                    | ELSE                   
                            query result 31       | query result 32       | query result 33

    The If Statement is no problem.
    I need the value of the variable FISCYEAR. So the value of the variable is the If-Statement. I tried to use a formula variable but don't get correct values. With BW 2004 I used the text and compared it with the string "2005". BW 2004s gives me the error message the if using the text, the value of the variable depends on the language which is not supported

  • Possible values for the variable string in "keysym. sym : string "

    The resource keysym for customizing the urxvt terminal has the syntax:
    keysym.<sym>:<string>
    As explained in the urxvt man page, <string> can contain "escape values".  Even though there are different examples of values for the variable <string> on the web, I was wondering if there is a place where I can find a comprehensive list of possible values for this variable. 
    (I tried to look for this information at the X man page -- as indicated in the urxvt man page -- but I couldn't figure it out. I wonder if my difficulty is due to the fact that I'm not sure what the expression "escape values" refers to...).
    Thanks!!

    pointone wrote:Maybe this will be helpful?
    Thanks a lot pointone for the link! I found many interesting things at this link. But I'm still not sure if I understand what the possible values of the variable <string> are. 
    From what I understand, the website you sent shows how to map a keycode to a keysym using the xmodmap utility.  However, it seems to me that the use of the rule
    URxvt.keysym.<sym>: <string>
    in the .Xdefaults maps a keysym to an action, given by the value of the variable <string>.
    Does this make any sense or am I missing something here?

  • How to Get Value from a Variable to restrict a Key Figure ?

    I am trying to make a query in Query designer, we are running BI7.
    I have a user entry veriable on the Fiscal year period, the user will need to enter a period they want the report for, i.e. 07.2008 for July 2008 report and 04.2008 for April 2008 report.
    Based on what the user entered as the starting period (in the variable entry), I have to then use that initial value and show the Year to date value (of sales etc) in the next column.
    To Clarify, if user entered 07.2008 then all the data from 01.2008 to 07.2008 needs to be in the next column.   if user entered 04.2008 then all the data from 01.2008 to 04.2008 should be in the next column.
    So to summarise according to my understanding, I want to get the value from a variable and pass it onto another variable to restrict a key firgure (sales amount)...
    Can someone please clarify what i need to do here?  
    Many thanks in advance, points will be awarded accordingly.

    hi,
    please follow the below steps:
    1. Create a new varialbe , this variable should be processed by customer exit.
    2.  In the column section, create a new column and drag the sales key figure, also drag fiscal year period and restrict with the new variable.
    3. In the cmod tcode write a customer exit code to extract the value of the user entry and assign it your variable, you can refer to the below code.
      WHEN '< New VAR name>'.
        IF I_STEP = '2'.                                 "AFTER THE POPUP
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = '<Fiscal Year Period VAR Name>'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(3) = '001'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.       "LOW E.G. 2001006
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    For ex- if the user enters 008/2008, this code will create as range assign 001/2008 - 008/2008 value to the variable.
    hope it helps,
    rgs,
    Parth.

  • How to exclude values in the query designer

    Hi everybody,
    i need your help!
    I need to exclude certain information from a report, but as could enter new values in the future, I see it now.
    Ex.
    CreatedBy contains the following values:
    MSanz
    PRojas
    Soporte
    Soporte1
    Soporte2
    I need to exclude anything value that is Soporte* for first report
    and the second report include anything value Soporte*
    first report
    MSanz
    PRojas
    Second Report
    Soporte
    Soporte1
    Soporte2
    thanks for your help
    Manuel
    Edited by: Manuel Sandoval on May 30, 2008 6:35 PM

    Hi Manuel,
    There are two ways to exclude the fields of Createby.
    1. Excude Soporte,Soporte1,Soporte2 in the first report.  Select createby -->, right click >Restrict> select  Soporte,Soporte1,Soporte2  and pull from left to right > right click(3 fields)> exclude.
    Similary for second report exclude MSanz, PRojas.
    Or
    After restricting include only the necessary fvalues  from right to left for creteby field.
    Best method is include one, for performance point of you.
    Second approach is create two user exit variables. one to include Soporte,Soporte1,Soporte2 (3 values) in the variable and second variable to include MSanz, PRojas. You can maintain these two variables values in the tvarvc table and use these variable  in the reports directly. This approach is very very useful if you want to use this variable in many reports ex, 10 or more. Directly you can drag createby and its corresponding variable.
    Choose the best approach for your requirement.
    Hope it helps.
    (assign me points)
    Thanks
    Lasya.

  • How to populate values into a Listbox on selection screen

    Hi All,
    Please any one let me know how to populate values (for ex.01,02 and 03) in a list box of selection screen..
    Thanks,
    Vijay

    Try this code ...
    REPORT  ZLISTBOX.
    TYPE-POOLS: VRM.
    TABLES SPFLI.
    TABLES SSCRFIELDS.
    DATA flag.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    PARAMETERS PS_PARM LIKE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 5
    USER-COMMAND fcodex.
    data: i_spfli type spfli occurs 0 with header line.
    PARAMETERS PQ_PARAM LIKE SPFLI-connid AS LISTBOX VISIBLE LENGTH 15
    USER-COMMAND
    fcodey.
    *DS AS CHECKBOX USER-COMMAND FLAG.
    INITIALIZATION.
    NAME = 'PS_PARM'.
    DATA T TYPE I VALUE 0.
    SELECT DISTINCT carrid into corresponding fields of table i_spfli FROM
    SPFLI.
    loop at i_spfli.
    VALUE-KEY = i_spfli-CARRID.
    VALUE-TEXT = i_spfli-CARRID.
    APPEND VALUE TO LIST.
    endloop.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    AT SELECTION-SCREEN.
    if sy-ucomm eq 'FCODEX'.
    REFRESH LIST.
    CLEAR LIST.
    PQ_PARAM = ' '.
    NAME = 'PQ_PARAM'.
    SELECT * FROM SPFLI WHERE CARRID = PS_PARM.
    VALUE-KEY = SPFLI-connid.
    VALUE-TEXT = SPFLI-connid.
    APPEND VALUE TO LIST.
    ENDSELECT.
    endif.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SY-UCOMM NE 'FCODEX' OR SY-UCOMM NE 'FCODEY'.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    START-OF-SELECTION.
    clear i_spfli.
    refresh i_spfli.
    select * into table i_spfli from spfli where carrid = ps_parm and connid
    = pq_param.
    loop at i_spfli.
    WRITE: / 'CITY FROM:', I_SPFLI-CITYFROM, 'CITY TO :',I_SPFLI-CITYTO,
    'DEPARTURE TIME :', I_SPFLI-DEPTIME.
    ENDLOOP.

  • How to set values to the structure containing a node with cardinality 0..n

    Hello.
    I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
    <xsd:complexType name="Field">
       <xsd:sequence>
          <xsd:element name="fieldCode" type="xsd:string"></xsd:element>
          <xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Fields">
       <xsd:sequence>
          <xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    I  need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
    Best regards,
    Timur Semenchuk

    Hi Marcus,
    If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
    Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
    IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
    wdContext.nodeYourNode().addElement(yourNodeElem);
    Hope this explains a bit!
    Best,
    Robin van het Hof

  • How to unify or merge the variables from several TestStand platforms to one TestStand platform?

    Hi,
       We work with TestStand 3.5 and LabVIEW 8.0 versions.
       We work in a parallel mode with several developers and each from developers:
         1. Wrote his sequences at his TestStand station
         2. Defined his local variables/sequence File Global variables/station Global Variables at his TestStand
    I need to create the one file sequence at dedicated for it TestStand platform (target station) that will include all of sequences from these developers.
    So, the questions are:
    How i do that? What the existing tools/methods/solutions?
    How i can distribute all the variables that relate to different sequences and from different TestStand platforms?
    In other words, how i collect all related collections of variables(whatever?) from every developer of my team and unify/merge/distribute all of that
    to dedicated TestStand station that will include of all developed sequences without forgetting/losing something???
    I attached the visual presentation of my question (unify.JPG), please see the schema.
    If you have the question regards something, please let me know.
    Message Edited by Yuri_IL on 06-11-2006 10:01 AM
    Thank you & Best Regards
    *I use LabVIEW 8.X & TestStand 3.5/4.0.1 versions only
    Attachments:
    unify.JPG ‏26 KB

     Perhaps, i did not expressed well my question...
    1. I do need that top level sequence / sequence file needs to know or even care what variables are used by other sequence / sequence files
    2. I know how to deploy SINGLE TestStand sequence file/project to a target station.
    3. I want to know how to deploy MULTIPLE TestStand sequences from MULTIPLE TestStand stations and unify it to the SINGLE set of these multiple sequences that i deployed at my target station...
    For example:
     TestStand station #1 with sequence: init_of_xxx.seq
     TestStand station #2 with sequence: init_of_yyy.seq
     TestStand station #3 with sequence: init_of_zzz.seq
    After deploying at my target: TestStand station #4 i want to get a WORKING set of sequences:
                      init_of_xxx.seq
                      init_of_yyy.seq
                      init_of_zzz.seq
    The problem is that i know how to deploy every sequence sepately, but do not know how to deploy together
    Message Edited by Yuri_IL on 06-12-2006 02:56 AM
    Thank you & Best Regards
    *I use LabVIEW 8.X & TestStand 3.5/4.0.1 versions only

Maybe you are looking for