StyledText Values to be visible like table format

Hi,
I have a requirement.
I have a custom Page. Initially the Page should contain only the dropdown item. In that drop down, when I choose a Value " Annual Leave", Contents should appear as
" *a. Entitilement of availed leave days of the Month (Current Month) is 2 days*
*b. Entitlement of available leave days of the Month(Current Month) is 2 days*
*c. Entitlement of Balance leave days of the Month(Current Month) is 0 days* "
I used Package to calculate the number of days taken leave and it is working fine.
Now what the client ask is, he needs the above content in table format as
Sno                         Description                                                        Days
a       Entitilement of availed leave days of the Month (Current Month)      2
b       Entitlement of available leave days of the Month(Current Month)     2
c       Entitlement of Balance leave days of the Month(Current Month)      0 This in table format.
Am not taking any VOs for the styled text fields, in order to change in table format VOattribute is needed.
How can I fix this?
Suggest me.
Regards,
Mini

Hi,
---U mean to say ,after selecting value in message choice calling one api its returning 3 out params right..
---Create one 1 Dummy Vo.
---Create Transient attributes and map to Tabe region.
---In the code create a row and set value.
Regards
Meher Irk

Similar Messages

  • Alignment normal data like table structure

    Hi,
    Actually requirement is need to align table format. I used iterator for pagination,in that not able to adding the columns .please find the below sample code and required structure like table format. please help me regarding on this. Thanks in advance.
    <af:iterator id="i1" var="row" value="#{bindings.CatPartiesS1.collectionModel}"
    binding="#{backingBeanScope.ListBean.emplsTableIterator}"
    rows="3">
    <af:spacer width="5" height="10" id="s3416"/>
    <af:panelGroupLayout id="pgl439" layout="horizontal">
    <af:spacer width="5" height="10" id="s39"/>
    <af:panelGroupLayout id="pgl120" inlineStyle="width:120px;" layout="horizontal">
    <af:selectBooleanCheckbox text="" id="sbc2431"
    inlineStyle="font-weight:bold;"/>
    <af:panelGroupLayout id="pgl52" layout="horizontal" inlineStyle="width:120px;">
    <af:outputText value="#{row.PurchasingCategory}" id="ot8"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:panelGroupLayout id="pglert120" inlineStyle="width:120px;" layout="horizontal">
    <af:spacer width="5" height="10" id="s32912"/>
    <af:panelGroupLayout id="pgl66wq49" layout="horizontal" inlineStyle="width:120px;">
    <af:outputText value="#{row.MatlQty}" id="ot10"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="5" height="10" id="s51"/>
    <af:panelGroupLayout id="pgl634" layout="horizontal" inlineStyle="width:120px;">
    <af:outputText value="#{row.MatlCost5}" id="ot331"/>
    </af:panelGroupLayout>
    <af:spacer width="5" height="10" id="s544t1"/>
    <af:panelGroupLayout id="pgl1d3s20"
    inlineStyle="width:120px;"
    layout="horizontal">
    <af:outputText value="Current Selection:"
    partialTriggers="::i1" id="ot2"/>
    <af:outputText value="#{bindings.DataCode3.inputValue}"
    id="ot17" partialTriggers="::i1"/>
    </af:panelGroupLayout>
    <af:spacer width="5" height="10" id="s5123"/>
    <af:panelGroupLayout id="pgl12de0" inlineStyle="width:120px;" layout="horizontal">
    <af:outputText value="#{row.CatMatlCost}" id="ot41"/>
    </af:panelGroupLayout>
    <af:spacer width="5" height="10" id="s51213"/>
    <af:panelGroupLayout id="pgl2326" layout="horizontal" inlineStyle="width:120px;">
    <af:outputText value="#{row.CatMatlPur}" id="ot7"/>
    </af:panelGroupLayout>
    <af:spacer width="5" height="10" id="s5343"/>
    <af:panelGroupLayout id="pgldw2120" inlineStyle="width:120px;" layout="horizontal">
    <af:outputText value="Current Selection:" partialTriggers="::i1" id="ot9"/>
    <af:outputText value="#{bindings.DataCode2.inputValue}" id="ot171" partialTriggers="::i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s53343"/>
    <af:panelGroupLayout id="pgee3l120" inlineStyle="width:120px;" layout="horizontal">
    <af:outputText value="#{row.CatMatlPur}" id="ot57"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:iterator>
    Thanks
    VJ

    Hi Frank,
    Here i need some clarification.
    Actaully i have read some blogs saying that trinidad components are not suggestable to mix with ADF components as their life cycle is different..
    can we use same in ADF page?
    after adding trinidad, i got some issues like button action is not working on first click like that (anyway we solved those)..So how to resolve these type issues and Is that error is because of trinidad or not?
    can you pls clarify me?
    and below is my code for ur refererce if required.(This code is having one selectOneChoice with +,- buttons.If user clicks on '+' another selectoneChise and +,- buttons should be added to the PanelGroupLayout .and Used iterator for doing this. )
    <af:iterator id="i1" var="dynamicRow"
    value="#{viewScope.valuesBean.ccAL}"
    varStatus="dynamicIndex">
    <af:panelGroupLayout layout="horizontal"
    id="colpg_${dynamicIndex.index}"
    clientComponent="true">
    <af:selectOneChoice value="#{dynamicRow.cntValue}"
    immediate="true"
    id="soc11_${dynamicIndex.index}"
    autoSubmit="true"
    contentStyle="width:265px;"
    valuePassThru="true"
    clientComponent="true"
    valueChangeListener="#{backingBeanScope.testSearchBean.valueChangeListenerGeneric}"
    disabled="#{viewScope.readOnly.editable['fieldEditable'] eq 'N'}">
    <af:forEach var="lov1"
    items="#{bindings.purposeLOVIterator.allRowsInRange}">
    <f:selectItem id="sei1"
    itemLabel="#{lov1.codeShortName}"
    itemValue="#{lov1.codeShortName}"/>
    </af:forEach>
    </af:selectOneChoice>
    <af:inputText contentStyle="width:20px;"
    id="itcol_${dynamicIndex.index}"
    value="#{dynamicRow.qtyValue}"
    clientComponent="true" autoSubmit="true"
    valueChangeListener="#{backingBeanScope.testSearchBean.valueChangeListenerGeneric}"
    immediate="true"
    disabled="#{viewScope.readOnly.editable['fieldEditable'] eq 'N'}"/>
    <af:spacer width="5" height="10" id="s6" visible="#{viewScope.valuesBean.ccCount eq
    dynamicIndex.index+1}" ></af:spacer>
    <af:commandButton text="+"
    id="cb1_${dynamicIndex.index}" visible="#{viewScope.valuesBean.ccCount eq
    dynamicIndex.index+1}" binding="#{backingBeanScope.editBean.addCCBinding}"
    clientComponent="true"
    styleClass="dynComBtn"
    disabled="#{viewScope.readOnly.editable['fieldEditable'] eq 'N'}">
    <af:clientAttribute name="tubeName"
    value="CollectionTube"/>
    <f:attribute name="TestProcessId"
    value="#{dynamicRow.cntId}"/>
    <af:clientListener method="onAddAction" type="click"/>
    <af:serverListener type="MyCustomServerEvent"
    method="#{backingBeanScope.editBean.addAL}"/>
    </af:commandButton>
    <af:spacer width="5" height="10" id="s4" visible="#{dynamicIndex.index >0}"/>
    <af:commandButton text="-"
    id="cb2_${dynamicIndex.index}"
    visible="#{dynamicIndex.index >0}"
    clientComponent="true"
    styleClass="dynComBtn"
    disabled="#{viewScope.readOnly.editable['fieldEditable'] eq 'N'}">
    <f:attribute name="removeId" value="#{dynamicRow}"/>
    <af:clientAttribute name="tubeName"
    value="CollectionTube"/>
    <f:attribute name="delIndex"
    value="#{dynamicIndex.index}"/>
    <af:clientAttribute name="dIndex"
    value="#{dynamicIndex.index}"/>
    <af:clientListener method="onDelAction" type="click"/>
    <af:serverListener type="MyCustomDelEvent"
    method="#{backingBeanScope.editBean.delAL}"/>
    </af:commandButton>
    </af:panelGroupLayout>
    <af:spacer width="10" height="5" id="s16"/>
    </af:iterator>
    Thanks

  • Table values are not visible

    Hi,
    I have designed the GUI, which contains JTable.
    Every time the table is loaded with some values dynamically, after doing some operation.
    The table values are first stored in the vector and set to DefaultTableModel.
    The DefaultTableModel contains two vectors, in which first vector will have row values and
    second vector has column name (or heading, always it is four).
    The problem is only 40 row's values are visible in GUI.
    Not able to move the scroller down to see the table values after the 40th row.
    Please suggest me in what way i can correct this problem.
    Thanks & Regards

    calvino_ind wrote:
    kathyayini wrote:
    Its not stupid.
    I know that there are more than 40 rows.
    Because i have displayed the values which are loaded into table and also i am writing the table as excel file.
    Don't act to smart.he wasn't acting smart, but actually acting dumbYeah as if your first comment asking whether he added a JScrollPane was much smarter, especially because the OP mentioned that he has a scroller in the GUI...
    Be it as it is, you could post the relevant code snippet here.

  • Table Format order and visibility in Form Settings keeps changing

    Dear Experts,
    We are facing a concurrent problem where there is constant change in the table format of the form settings in marketing documents.
    The columns order keeps changing and also the visibility box which will be ticked, becomes again unticked the next day for particular columns which are used.
    Event though it is set one time in manager login and locked the doc settings for other end users. The format keeps changing.
    It has to be set dially manually. Is  there a permanent solution for it .
    Please let me know . Please find the attached pic for it.Its SAP B1 8.82 PL6

    Hi,
    Please check this thread:
    http://scn.sap.com/message/7377186#7377186
    Check SAP note for changing form settings:
    1062635 - Can I block a user from having access to Form
    Settings?
    Thanks & Regards,
    Nagarajan

  • Need to display in a table format

    Hi,
    From my database i need to get the values for , UserName and Password and display in a table format .
    I could get the values from the database using
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from Login");
    while(rs.next()){
    out.println(" <br> ");
    out.println(rs.getString("username");
    out.println(rs.getString("password");
    }it works fine and displays like below......
    user1  pwd1
    user2 pwd2
    .....    ...May i know how to get it in a tabular format as an output
    pls provide sample code for it.
    I would be thankful to u guys,
    Thanks & Regards,
    Raghu.

    From my database i need to get the values for ,
    UserName and Password and display in a table format
    .Really, really bad idea.
    There is never any need, in any implementation to display or even keep actual passwords.
    >
    May i know how to get it in a tabular format as an
    outputAs in a GUI? Then that is a GUI question not a JDBC one.
    Something else? Then you need to explain exactly what the destination is and what defines it as 'tabular'.

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • SAP Script - How to write data in a table format.

    Hi All,
    In my requirement, I need to show item data in a table format ( In a box, with horizental & veritcal lines.
    can somebody pl give me a small code to do this.
    Regards,
    Hardik

    Hi
    SCRIPT BOXES
    POSITION WINDOW
    SIZE WIDTH '160' MM HEIGHT '140' MM
    BOX FRAME 10 TW
    Box
    BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
    linessssssss
    BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    Boxes, Lines, Shading: BOX, POSITION, SIZE
    Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
    The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
    Syntax:
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    BOX Command
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
    XPOS, YPOS
    Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    WIDTH
    Width of the box. Default: WIDTH value of the SIZE command.
    HEIGHT
    Height of the box. Default: HEIGHT value of the SIZE command.
    FRAME
    Thickness of frame.
    Default: 0 (no frame).
    INTENSITY
    Grayscale of box contents as %.
    Default: 100 (full black)
    Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    TW (twip)
    PT (point)
    IN (inch)
    MM (millimeter)
    CM (centimeter)
    LN (line)
    CH (character).
    The following conversion factors apply:
    1 TW = 1/20 PT
    1 PT = 1/72 IN
    1 IN = 2.54 CM
    1 CM = 10 MM
    1 CH = height of a character relative to the CPI specification in the form header
    1 LN = height of a line relative to the LPI specification in the form header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shading having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION Command
    Syntax
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    XORIGIN, YORIGIN
    Origin of the coordinate system.
    WINDOW
    Sets the values for the left and upper edges to match those of the current window (default setting).
    PAGE
    Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    SIZE Command
    Syntax
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    WIDTH, HEIGHT
    Dimensions of the rectangle or line.
    WINDOW
    Sets the values for the width and height to the values of the current window (default setting).
    PAGE
    Sets the values for the width and height to the values of the current output page.
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    <REMOVED BY MODERATOR>
    Regards
    Anji
    Edited by: Alvaro Tejada Galindo on Jul 8, 2008 10:59 AM

  • Displaying Line Items of a BAPI in Table Format

    have a custom Bapi ZPM_GET_ORDERS.
    It has a Model structure like
    Orders_Hdr
    Operations [Multiple Line Items]
    I want to display the operations line items in the table format in a View when we click on the Orders_Hdr.
    For that I am wondering what should the code on the onLeadSelect of Orders_Hdr table at the ViewController?
    In other words how can I display those line items on a click of a Header record. I am looking for some pseudo code that goes in the onActionLeadSelect()of View.
    Thank You . Any help is appreciated

    Hi Vivek,
             On LeadSelect .....just get the current selected node element and also store a attribute value from the currnet selected to a variable (like orderid)which is common in both the node ....then loop through the operations node and put the condition equal to orderid using the variable ...if mathces the put node elemnt in to some node created(value node of same type )...
    for copying the node u can use the WSCopyService class...
    Regards,
    Yash

  • Get-rid of the format we get using Get-ADuser in a CSV. Send CSV data in an email in table format

    Hi,
    I am using get-ADuser in order to extract a few AD attributes of some users. I export the users and their respective attributes to a CSV. However, the output in CSV i get has the following format in each cell for its AD attribute. 
    @{description=<Value>} or @ { info=<Value>}
    I have tried to use Expandproperty switch in order to get rid of it but it does not accept null values and hence if a user has no value for a said attribute, the previous value is copied for that user too. However, without expand property it gives me the
    above format in the output.
    $Desc = Get-ADUser $Username -Properties description | select description
    I would like the cells to contain only values and not this format along.
    Also, once I have the CSV with values I would also like to copy the values from CSV in an email in the form of a TABLE. I have been able to copy the content in an email using the following however, this in not in a table format. 
    $mail = Import-Csv $newlogonfile | Out-String
    Please HELP!

    Yes I am already using Export-Csv but still getting the same kind of format in output :-
    $Username = $Event.Properties[5].Value
                $Title_var = get-aduser $Username -properties Title | select Title
           $Ofc_phone = get-aduser $Username -Properties OfficePhone | select OfficePhone
           $Info_var = get-aduser $Username -properties info | select info
           $Display_Name = get-aduser $Username -properties DisplayName | select DisplayName
                $Mail = Get-ADUser $Username -Properties Mail | select Mail
           $Desc = Get-ADUser $Username -Properties description | select description
            $Props = @{ 
                    User = $Event.Properties[5].Value;
                    TimeCreated = $Event.TimeCreated;
                    LogonType = $Event.Properties[8].Value;
                    DCName = $Event.MachineName;
    Workstation_address = $Event.Properties[18].Value;
    Title = $Title_var;
    OfficePhone = $Ofc_phone;
    Info = $Info_var;
    DisplayName = $Display_Name;
            Description = $Desc;
           EMail = $Mail
                $LogonRecord = New-Object -TypeName psobject -Property $Props
                $Result += $LogonRecord
    $Result | Export-Csv -Path $logFile -append -UseCulture -NoTypeInformation # Log it to CSV
    OUTPUT has values in this format in the CSV :-
    @{info=} @{description=abc} @{DisplayName=} @{Officephone=}
    @{Mail=[email protected]}

  • Mail sending in table format

    Hi Experts,
    I have a requirement to send mail to Managers with the Employee details who will report to the manager.
    Selection screen will have Sender mail address, Manager E-mail Subject line and Manager E-mail text line.
    The e-mail subject line should contain the value of Manager E-mail Subject line and the text of the e-mail should contain the value of the Manager E-mail text line. The E-mail should be addressed from the Sender Mail address. In addition, the value of the Manager E-mail text line, the following information should  be appended to the email.
    Employee No     Employee Name        Notice level
    00000001           Brown, Michael          1st Notice
    00000002           Doe, jane L                4th Notice
    The above details should have horizontal lines seperating the rows and vertical lines seperating the columns (like a table in word).
    I am using 'SO_DOCUMENT_SEND_API1' to send the mail.  I am able to send the mail but how to format the above details in table format. My mail will look like this with e-mail text and table
    This is first line of the e-mail
    Employee No
    Employee Name
    Notice level
    00000001
    Brown, Michael
    1st Notice
    00000002
    Doe, jane L
    4th Notice
    When displaying the details i am using SY-ULING and SY-VLINE to get the Horizantal and Vertical line respectively. But it is giving spaces in between that should not happen. The details should be placed in exact tabular format.
    It is very urgent requirement. Points will be awarded for the useful answers. Requesting to give the code example...
    Regards,
    Yellappa.

    hi,
    you can embed HTML into the body of your email to get it acc to ur requirement.
    Here is a very basic example of embedding HTML into the body of your email.
    [nobr]report zrich_0002.
    data: maildata   like sodocchgi1.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
    start-of-selection.
      clear:    maildata, mailtxt,  mailrec.
      refresh:  mailtxt, mailrec.
      perform build_text_message.
      perform build_receivers.
      perform send_mail_nodialog..
         Form  BUILD_TEXT_MESSAGE
    form build_text_message.
      maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test Subject'.
      mailtxt  = '<html>'.
      append mailtxt.
      mailtxt  = '<head>'.
      append mailtxt.
      mailtxt  = '<title>Untitled Document</title>'.
      append mailtxt.
      mailtxt  = '<meta http-equiv="Content-Type"
      Content="text/html;'.
      append mailtxt.
      mailtxt  = 'charset=iso-8859-1">'.
      append mailtxt.
      mailtxt  = '</head>'.
      append mailtxt.
      mailtxt  = '<body>'.
      append mailtxt.
      mailtxt  = '<div align="center"><em><font' .
      append mailtxt.
      mailtxt  = 'color="#0000FF" size="+7" face="Arial,'.
      append mailtxt.
      mailtxt  = 'Helvetica, sans-serif">THIS'.
      append mailtxt.
      mailtxt  = '  IS A TEST </font></em><font' .
      append mailtxt.
      mailtxt  = 'color="#0000FF" size="+7" face="Arial,'.
      append mailtxt.
      mailtxt  = 'Helvetica, sans-serif"></font>'.
      append mailtxt.
      mailtxt  = '</div>'.
      append mailtxt.
      mailtxt  = '</body>'.
      append mailtxt.
      mailtxt  = '</html>'.
      append mailtxt.
    endform.
         Form  BUILD_RECEIVERS
    form build_receivers.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type  = 'U'.
      append mailrec.
    endform.
         Form  SEND_MAIL_NODIALOG
    *********************************************************form send_mail_nodialog.
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'HTM'
                put_in_outbox              = 'X'
           tables
                object_header              = mailtxt
                object_content             = mailtxt
                receivers                  = mailrec
           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.
    endform.[/nobr]
    Regards,
    Gaurav
    <b>Reward points if helpful</b>

  • Table format inserting incorrectly

    I am using JHeadstart version 10.1.3.0.91 to create a wizard application. On one of the pages I have a table list of rows. These rows will be populated by a select statement ie by using a method in the Appplication Module Class which set the row status to STATUS_INITIALIZED by calling method setNewRowState.
    eg
    rs = pstmt.executeQuery();
    XxRegExemptionsVOImpl exemptionVO = getXxRegExemptionsVO();
    Row row;
    while (rs.next()) {
    String id = rs.getString("id");
    String details = rs.getString("exemption");
    row = exemptionVO.createRow();
    row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
    row.setAttribute("Paper", id);
    row.setAttribute("Details", details);
    row.setAttribute("ExemptionCheckbox", Boolean.FALSE);
    row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
    exemptionVO.insertRow(row);
    //row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
    This is then called by an executable in the page def. The field ExemptionCheckbox is an updatable transient created in the VO of type boolean. On my screen i have a list of records in table format with checkbox for each row. If i check a checkbox then the record should be inserted into the target table when i click on the save button.
    The problem is the first record is always inserted into the database table no matter whether it is checked or not. This works ok for all the other records based on their checked status.

    Hi Steven
    I do not really understand your response. My problem is i need to insert multiple rows into a table. The form is based on the target VO. The one i want to insert values into. To this end I prepopulate the target VO with the records to be listed on the page. See code included above. The status of the row is set to ViewRowImpl.STATUS_INITIALIZED. When a checkbox is selected
    for a record the status will be updated causing the record to be inserted into the database. (I am using the wizard and this page is in the middle of the process.ie page 5 of 10).
    The problem is the first row is always inserted no matter whether it is selected or not. I have no code after the initial insert specified above in this thread. Your response talks about code that iterates through the VO. This is not something i do.
    It seems like a bug. However if you have an alternative method to achieve the same result i would be most oblidged.

  • Columns from different tables displayed in an ADF table format

    I have a many to one relationship between 2 tables (checklist -> subcontract). I would like to display columns from each table on a web page in an ADF Read Only Table format. I created a method that returns the data I need from the tables. When I drag that method over to my page JDev I'm only allowed to select columns from either the checklist table OR the subcontract table. I need one column from the subcontract table and several columns from the checklist table. I'm using JDev 10.1.3.2 and an Oracle 11g database. Thank you in advance.
    -Wade

    Thank you for your response. I ended up creating a new getter in the Checklist table which refers to the column in the Subcontract table. Then I was able to create a table column for that returned value.
    Thanks again!
    -W

  • How can I convert my css code into table format?

    Wasn't sure how to word the title, but what I am trying to do is post my html code generated with Dreamweaver CS4 into craigslist for an advertisement I designed. Craigslist seems to only accept "TABLE FORMAT".  I just learned enough to design this AD using css, now do I have to go back and learn table cell coding? Is there something I am not aware of like a conversion or something that will work?
    Thank you very much for any help, I am very anxious to get my ad placed.

    Example of the accepted code:
    <table border="0" cellpadding="5" cellspacing="0" width="100%" id="table4" align="center">
    <tr><td width="125"><b><font size="2" face="Verdana">Contact Name:</font></b></td><td><font face="Verdana" size="2">Patrick</font></td></tr>
    You must have an old HTML editor because that isn't INLINE CSS CODE.  It's deprecated HTML code.  It might work OK on Craig's List... but <font> tags won't pass W3C validation in XHTML doc types.
    To express what you have above using inline CSS styles without tables would like this:
    <p style="font:16px Verdana, Arial, Helvetica, Sans-serif; text-align:center"><strong>Contact Name:</strong> Patrick</p>
    http://www.w3schools.com/CSS/css_howto.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Update table a columns using columns from table b (values of 2 columns of table b need to taken from table c)

    Guys,
    I need to update table A columns col3, col4, col5 and col6 by table b columns col3, col4, col5 and col6 however table b col5 and col6 values need to come from table c col1.
    Means table b col5 and col6 have values in it however i need to replace them with value from table c col1 and need to update table a col5 and col6 accordingly.
    table a and table b has col1 and col2 in common.
    i am trying something like this.
    Update a
    a.col3 = b.col3,
    a.col4 = b.col4,
    a.col5 = (select col1 from table_c c where c.col2=b.col5),
    a.col6 = (select col1 from table_c c where c.col2=b.col6)
    from table_A a inner join table_b
    on  a.col1=b.col1 and a.col2=b.col2
    can someone help me reframe above update query?
    thanks in advance for your help.

    Try the below:(If you have multiple values, then you may need to use TOP 1 as commented code in the below script)
    create Table tableA(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableA values(1,2,3,4,5,6)
    create Table tableB(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableB values(1,2,30,40,50,60)
    create Table tableC(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableC values(100,50,30,40,2,2)
    --Insert into tableC values(200,50,30,40,2,2)
    Insert into tableC values(100,60,30,40,2,2)
    Select * From tablea
    Update a Set
    a.col3 = b.col3,
    a.col4 = b.col4,
    a.col5 = (select col1 from tablec c where c.col2=b.col5 ),
    a.col6 = (select col1 from tablec c where c.col2=b.col6 )
    from tableA a inner join tableb b
    on a.col1=b.col1 and a.col2=b.col2
    --Update a Set
    --a.col3 = b.col3,
    --a.col4 = b.col4,
    --a.col5 = (select Top 1 col1 from tablec c where c.col2=b.col5 Order by c.Col1 asc),
    --a.col6 = (select Top 1 col1 from tablec c where c.col2=b.col6 Order by c.Col1 asc)
    --from tableA a inner join tableb b
    --on a.col1=b.col1 and a.col2=b.col2
    Select * From tablea
    Drop table tablea,Tableb,TableC

  • Query on report display in table format on 7970G

    Hi,
    I know how to use the xml objects to display data on Cisco IP Phone using Ip Phone services. Now I want to generate report in table format on the phone.But in the xml objects available there is no option display data in table format .
    Should I have to use BTXML for that ?
    or do I have to diaplay it as an image ?
    I want to keep the first row as heading and the rest of rows I should scroll and view.
    Please let me know how to do that .Please also provide any sample documents or links.
    Thanks,
    Peter

    I've never really seen btxml in the wild.. it may be used in environments where people use Cisco phones but connected to SIP proxies, and not callmanagers. I don't think this is the place to discuss btxml.. I've never seen a single mention.. you might find people in Asterisk or similar forums though.
    Now, your screenshot shows a CiscoIPPhoneImage.. behind it is a simple PNG image, at a resolution of 298x168 and at 24bits (the shot looks like from an IP Communicator). Depending on the phone type, the resolution varies (IP Communicator and 797x phones have the same resolution but different bit depths, the 7965/54 have a lower res and 16bit, the 7921 supports a resolution of 176x140 at 16 bit).
    It's probably easier for you if you stick to the CiscoIPPhoneImageFile instead of the CiscoIPPhoneImage because PNG is a standard, whereas with CIP you either write your own library, or you create a GIF in your code then use Cisco's code to convert that to a CIP file.
    For your reference, here's the latest IP Phone services developer guide: http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/all_models/xsi/6_0/english/programming/guide/XSIbook.html. It contains detailed information about every CiscoIPPhone element, including samples.
    Creating a PNG file pro grammatically is a bit out of scope of this forum.. you need to figure that one out on your own but there are tons of other boards on the web that deal with that kind stuff. Once you have the PNG, creating the appropriate CiscoIPPhoneImageFile object will be a piece of cake. Once you have your PNG generation in order and still have trouble getting the object to the phone, it would be appropriate to continue here.

Maybe you are looking for

  • Load to psa is in yellow status only in quality n production system

    Hi All, We have created a generic FM which wil take date parameter as input and fetch records for that specific month. This FM works perfectly fine in dev server, but when i run the same in quality and production the load status is still in yellow st

  • Pricing not determined based on Customer hierarchy

    Hi All, I searched the forum for the specific issue, but could not find a proper solution. I have a specific scenario where we are migrating from 4.6C to 6.0.  The hierarchy is already maintained in 6.0 version in a way which we need to adopt it.  Th

  • How can I recover my Recovery hd

    How can I recover my recovery HD on my mac pro

  • Reg: Multiple authorization level for HR Report

    Dear Experts, I have a customized report for the payroll area, I need to have authorization for this report. The requirement is  as below For Ex: i have 5 payroll areas, 1000 personnel numbers, the multiple users and one customized report. The user h

  • A guide for Licensing of ES3 Modules?

    We have difficulties in preparing/configuring LC ES3 modules based on prospects' requirements. Is there a "Licensing Guide" for LC ES3 that will help us in configuring the modules? Regards, Haluk Cavusoglu Innovatech