How to create the Vote Form and Get the Result

I have an assignment to create a website for voting and show the result online.  Anyone can tell me the steps to build such website???

This tutorial uses jQuery and PHP
http://code.tutsplus.com/tutorials/creating-a-dynamic-poll-with-jquery-and-php--net-57
Nancy O.

Similar Messages

  • How to get the PO no in the smart form and in the print program from ME23N

    hello all,
                     I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program  from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
    Subhabrata.

    Hello Everyone,
    I am new to the forum and also to abap.
    Excuse me if it is a basic question.
    I am taking care of the output types.
    This is 1st time SAP will be implemented .
    For purchase order , I go to NACE ---EF----NEU---Processing routines
    print output---SAPFM06P---ENTRY_NEU----MEDRUCK
    FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
    EDI------------RANASTED--EDI_PROCESSING
    DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
    Are the above settings fine ?
    What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
    I searched and found that IN ECC 6 , we have to install OSS notes .
    Gurus, please help  me . Let me know what all oss notes be implemented and how to proceed from here .
    Any help will be greatly appreciated ,
    Monalisa

  • HT3986 Using Boot Camp 4 and Windows 7.   Try to change name of the C: drive and get the dialog "You will need to provide administrative permission to change the name".  How do I change the C: drive name?

    I tried to change name of the C: drive and get the dialog "You will need to provide administrative permission to change the name".  How do I change the C: drive name?

    Forgot to specify:
    Im using an older Unibody Macbook (back when they were not all macbook pro's) 2008ish with Snow leopard 1.6.8
    The thread you linked me to, Eric, shows the guy 'Niganit' with the eXACT SAME PROBLEM as me! He seems to have found out the problem but I dont see his resolve.
    I just dont have the option to install windows 7 in any other form that a cd
    a picture;

  • When ever I use Adobe reader 11 with a USB device, I cannot safe remove the USB device and get the following message (or similar one) in system log:  The application \Device\HarddiskVolume1\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe with pr

    When ever I use Adobe reader 11 with a USB device, I cannot safe remove the USB device and get the following message (or similar one) in system log:  The application \Device\HarddiskVolume1\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe with process id 6620 stopped the removal or ejection for the device USB\VID_05DC&PID_C75C\20131215015821328FC8.
    I am running on Windows Server 2012 R2 in Desktop Experience mode.
    Any ideas?
    Roger

    In addition to that symptom, I discovered that even though I had closed all Adobe Reader sessions, the processes kept running and used up 90%+ of my CPU.

  • How to run commands like "ipconfig" and get the output in adobe AIR in windows?

    import flash.desktop.NativeProcess; 
    import flash.desktop.NativeProcessStartupInfo;   
    if (NativeProcess.isSupported) {     
         var npsi:NativeProcessStartupInfo = new NativeProcessStartupInfo();     
         var processpath:File = File.applicationDirectory.resolvePath("MyApplication.whatever");     
         var process:NativeProcess = new NativeProcess();       
         npsi.executable = processpath;     
         process.start(npsi); 
    The above can only run a sub-application, but how to run an independent  application(command) like ipconfig and get the result?

    Hi,
    here is an example of running a net Use command line from AIR, unig the new NativeProcess. Hope it will help !
    function launchProcess()
      var file = air.File.applicationDirectory;
      // set command path
      file = file.resolvePath("C:/Windows/system32/net.exe");
      var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
      nativeProcessStartupInfo.executable = file;
      // prepare command parameters
      var args = new runtime.Vector["<String>"]();
      args.push('USE');
      args.push('W:');
      args.push('/delete');
      args.push('/y');
      // set arguments
      nativeProcessStartupInfo.arguments = args;
      // add listeners to catch command outputs
      process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
      // create and run Native process
      process = new air.NativeProcess();
      process.start(nativeProcessStartupInfo);
    function onOutputData(ProgressEvent)
      var processResults = process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable);
      air.trace("Results: \n" + processResults);
    function onErrorData(ProgressEvent)
      var processResults = process.standardError.readUTFBytes(process.standardError.bytesAvailable);
      if(processResults.search('password') > -1){
        window.alert('Bad password');
      air.trace("Errors: \n" + processResults);
    function onExit(NativeProcessExitEvent)
      air.trace("Process ended with code: " + NativeProcessExitEvent.exitCode);

  • To upload the ZIP file and get the filenames available in ZIP file in ABAP

    Hi Experts,
    For my requirement, file from legacy comes as ZIP file with number of files in that.
    Please provide one code sample to upload the ZIP file from local workstation and get the filenames available in ZIP file to check few filename validation checks for the available files in report program.
    Thanks in Advance,
    Regards,
    Basani

    1. Copy the ZIP file into App server
    2. Call function
      call function 'RFC_REMOTE_PIPE'
        destination 'SERVER_EXEC'
        exporting
          command = command  " Unzip command gunzip /path & file
          read = 'X'
        tables
          pipedata = std_lines
    then you can read the files and can validate the file names

  • How can I add file attachment to my form and get the attachment by email?

    I'm using this code and it works fine, but I don't get the attachment file in the email. How can I add this to my code?
    HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    <script src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js" type="text/javascript"></script>
    <script type="text/javascript">// <![CDATA[
                  $(document).ready(function() {
                    $("#form1").validate({
                      rules: {
                        first: "required",// simple rule, converted to {required:true}
                        email: {// compound rule
                        required: true,
                        email: true
                      last: {
                        last: true
                      comment: {
                        required: true
                      messages: {
                        comment: "Please enter a comment."
    // ]]></script>
    <script type="text/javascript">// <![CDATA[
    function validate ()
              if (document.form1.first.value == "")
              alert("Please enter your First Name");
              document.form1.first.focus();
              document.form1.first.style.border="1px solid red";
              return false;
              else if (document.form1.last.value == "")
              alert("Please enter your Last Name");
              document.form1.last.focus();
              document.form1.last.style.border="1px solid red";
              return false;
              else if (document.form1.emailaddress.value == "")
              alert("Please enter your Email Address");
              document.form1.emailaddress.focus();
              document.form1.emailaddress.style.border="1px solid red";
              return false;
    function has_focus() {
        if(document.form1.first.value == "")
                                  document.form1.first.focus();
                                  document.form1.style.first.border="1px solid green";
    function set_focus(x)
              document.getElementById(x).style.border="1px solid #80CA75";
    function clear_focus(x)
              document.getElementById(x).style.border="1px solid #DBDFE6";
    // ]]></script>
    </head>
    <body>
    <p><span style="color: #666666; text-align: center; font-size: 13px;">Please complete this form if you have any technical issue.</span></p>
    <form id="form1" action="http://www.southsun.com/php/tech_issue.php" enctype="multipart/form-data" method="post">
    <table style="width: 850px; font-size: 15px; padding-left: 20px; text-align: center;" border="0">
    <tbody>
    <tr>
    <td style="text-align: left; padding-bottom: 20px;" colspan="2">
    <h2><span style="color: #666666;">Please complete this form if you have any technical issue.</span></h2>
    </td>
    </tr>
    <tr style="padding-top: 40px;">
    <td style="text-align: left;"><span style="color: #abaf6f;"><strong>First Name</strong>:*</span><input id="first1" name="first" type="text" />  <br /><br /> <span style="color: #abaf6f;"><strong>Last Name</strong>:*</span><input id="last1" name="last" type="text" /><br /><br /> <span style="color: #abaf6f; padding-right: 33px;"><strong>Email</strong>:</span><span style="color: #abaf6f;">*</span><input id="email1" name="email" type="text" /><br /><br /> <span style="color: #abaf6f;"><strong>Shipping Method:</strong><br /></span> <input name="shippingmethod" type="radio" value="prioritymail" /> Priority Mail                                                                 <input name="shippingmethod" type="radio" value="store" /> In Store Pick up <br /> <input name="shippingmethod" type="radio" value="ground" />  Ground                                                                       <input name="shippingmethod" type="radio" value="3day" /> 3 Day Select<br /><br /> <span style="color: #abaf6f;"><strong>Payment Method:</strong><br /></span> <input name="paymentmethod" type="radio" value="paypal" /> Paypal Method                                                       <input name="paymentmethod" type="radio" value="creditcard" /> Credit Card<br /> <strong><br /> <span style="color: #abaf6f;">If getting an error message, please explain the error:</span></strong><span style="color: #abaf6f;"> <br /></span> <textarea id="errormessage" cols="20" rows="2" name="errormessage"></textarea><br /><br /></td>
    <td style="border-left: 1px solid grey; padding-left: 40px; text-align: left;"><span style="color: #abaf6f;"><strong>If using Paypal, Were you redirected successfully?</strong><br /></span> <input name="paypalredirect" type="radio" value="yes" /> Yes                                                                 <input name="paypalredirect" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>If using Credit Card, Did you get an error?</strong><br /></span> <input name="carderror" type="radio" value="yes" /> Yes                                                                  <input name="carderror" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>What happened after clicking place order? </strong><br /></span> <textarea id="placeorder1" cols="20" rows="2" name="placeorder"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Comments</strong>: <br /></span> <textarea id="comments1" cols="20" rows="2" name="strcomments"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Attach PrintScreen</strong>: <br /></span> <input name="strresume" type="file" />
    <div style="height: 50px;"> </div>
    </td>
    </tr>
    <tr>
    <td style="padding-top: 20px;" colspan="2">( * ) indicates required fields</td>
    </tr>
    <tr>
    <td style="text-align: center; padding-top: 20px;" colspan="2"><input class="button" name="submit" type="submit" value="Submit" />                        <input class="button" name="reset" type="reset" value="Reset" /></td>
    </tr>
    </tbody>
    </table>
    </form>
    </body></html>
    PHP
    <?php
    echo $savestring;
    //--------------------------paramaters--------------------------
    // Subject of email sent to you.
    $subject = 'prueba con uploads';
    // Your email address. This is where the form information will be sent.
    $emailadd = '[email protected]';
    // Where to redirect after form is processed.
    $url = 'http://www.pch-graphicdesign.com';
    // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
    $req = '0';
    $target_path = "http://www.pch-graphicdesign.com/php/uploads/";
    $target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
    $text = "Results from form:\n\n";
    $space = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j = strlen($key);
    if ($j >= 20)
    {echo "Name of form element $key cannot be longer than 20 characters";die;}
    $j = 20 - $j;
    for ($i = 1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n', "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .= $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    ?>

    Sending a file as an attachment to an email involves setting the correct MIME type and headers. There's a brief tutorial here: http://webcheatsheet.com/php/send_email_text_html_attachment.php.
    Also, you need to use the same name as in your form. In the script you have shown here, the name of the file field is strresume, but your processing script uses this: $_FILES['uploadedfile']['name']. It should be this: $_FILES['strresume']['name']

  • How to create a service order and check the internal order in R/3

    Required Solution:
    1. How to copy existing service order and create new one and check the internal order in R/3, whether the certain service order is correctly created in r/3, can you polease explain the steps plz.
    2. If i am creating service order by service template finally the service order is getting created but it is not showing me in the table iaom_crm_aufk, how to check this.
    can any one help me in this issues as soon as possible.

    Hello Zita,
    Try to restart your portal after creating <b>ServiceUser</b> in both UME and KM.
    One more major difference between ServiceUser and normal portal user is that a ServiceUser does not have a UserAccount (IUserAccount)
    Object serviceContext = null;
            try {
                serviceContext = AccessController.doPrivileged(new PrivilegedExceptionAction() {
                    public Object run() throws WcmException {
                        return ResourceFactory.getInstance().getServiceContext(CONTRACT_SERVICE_USER);
            } catch (PrivilegedActionException e) {
                logger.severe(e, "ResourceContext for the technical " + serviceUser +
                     " user could not be retrieved.");
    IResourceContext resCtx = (IResourceContext) serviceContext;
    So I modify all KM resources with this resCtx.
    Hope this helps ...
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • How can I parse GPO settings and get the GPOApplyOrder?

    I have created a script that will search all GPO's in the domain and parse only those which have Drive Map settings and writes the information to a .csv file.  I have tried to figure out a way to get the GPOApplyOrder to no avail.  The closest
    I have come to any sort of reasonable output is
    "@{GPOSettingOrder=}", which is better than the nothing I had been getting.  I think it would be really helpful if I could sort on the appy order so I could see the flow of the applied settings.  Here is what I have.
    # ==============================================================================================
    # NAME: GetGPO_DriveMappings.ps1
    # AUTHOR: Mike
    # DATE: 6/17/2014
    # Updated: 7/29/2014
    # COMMENT: This script will get all the GPO's in the domain. It will parse only the GPO's that have drive map settings.
    # The results are written to GetGPO_DriveMappings.csv
    # This script is written to be run from the domain that the GPO(s) is in.
    # NOTE: The script will not perform any group provisioning.
    # ==============================================================================================
    # set Variables and load assemblies
    ImportSystemModules
    Import-Module GroupPolicy
    [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
    $ScriptPath = "R:\Procedural Instructions\Scripts\Get AD Object Info"
    # Get drive map settings from all GPOs.
    Function Get-DriveMappings
    # File listing the drive mappings via GPO.
    $ExportFile = "GetGPO_DriveMappings.csv"
    # Creates .csv file for logging.
    $Header = "GPO Name,Drive Letter,Action,Apply Order,Drive Path,Group,OU,User"
    Set-Content -Path $ScriptPath\$ExportFile -Value $Header
    $GPO = Get-GPO -All
    ForEach ($Policy in $GPO)
    $GPOID = $Policy.Id
    $GPODom = $Policy.DomainName
    $GPODisp = $Policy.DisplayName
    If (Test-Path "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml")
    [xml]$DriveXML = Get-Content "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml"
    ForEach ( $MapDrive in $DriveXML.Drives.Drive )
    $GPOName = $GPODisp
    $DriveLetter = $MapDrive.Properties.Letter + ":"
    $DrivePath = $MapDrive.Properties.Path
    $DriveAction = $MapDrive.Properties.action.Replace("U","Update").Replace("C","Create").Replace("D","Delete").Replace("R","Replace")
    $GPOApplyOrder = $MapDrive | Select GPOSettingOrder
    $Filters = $MapDrive.Filters
    $FilterOrgUnit = $null
    $FilterGroup = $null
    $FilterUser = $null
    ForEach ($FilterGroup in $Filters.FilterGroup)
    $FilterGroupName = $FilterGroup.Name
    ForEach ($FilterOrgUnit in $Filters.FilterOrgUnit)
    $FilterOrgUnitName = $FilterOrgUnit.Name
    $FilterOrgUnitName = $FilterOrgUnitName -Replace (",",";")
    ForEach ($FilterUser in $Filters.FilterUser)
    $FilterUserName = $FilterUser.Name
    $ExportText = "$GPOName,$DriveLetter,$DriveAction,$GPOApplyOrder,$DrivePath,$FilterGroupName,$FilterOrgUnitName,$FilterUserName"
    Add-Content -Path $ScriptPath\$ExportFile -value $ExportText
    # --End of Function: Get-DriveMappings--------------------------
    # Notifying that the scripted finished.
    Function Script-Finished
    [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
    [Windows.Forms.MessageBox]::Show(“Script completed successfully”,"GetGPO_DriveMappings.ps", [Windows.Forms.MessageBoxButtons]::OK, [Windows.Forms.MessageBoxIcon]::Information)
    # --End of Function: Script-Finished--------------------------
    # Main Code:
    # Execute the functions
    $ErrorActionPreference="SilentlyContinue"
    Get-DriveMappings
    Script-Finished
    $ErrorActionPreference="Stop"
    Thanks to all in advance.

    I am looking for the order in which the drive map settings are applied. Truly the GPOSettingOrder value. I guess was thinking that it was the order that the drives were mapped so that is what
    I named the variable. In the middle of it all it made sense, now with your question, from the outside looking in, it doesn't. My apologies.
    -<ExtensionData>
    -<Extension xsi:type="q3:DriveMapSettings" xmlns:q3="http://www.microsoft.com/GroupPolicy/Settings/DriveMaps">
    -<q3:DriveMapSettings clsid="{8FDDCC1A-0C3C-43cd-A6B4-71A6DF20DA8C}">
    -<q3:Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" bypassErrors="1" uid="{B7F4229B-9A38-4A52-A987-7FB0CA53BF26}" changed="2013-11-19 18:03:50" image="3" status="P:" name="P:">
    <q3:GPOSettingOrder>1</q3:GPOSettingOrder>
    <q3:Properties letter="P" useLetter="1" persistent="1" label="" path="\\---------------------\APPS" userName="" allDrives="NOCHANGE" thisDrive="NOCHANGE" action="D"/>
    -<q3:Filters>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="AND"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    </q3:Filters>
    </q3:Drive>

  • How to create a new workspace and change the name of the existing

    Hi,
    can any one help me how to create a new workspace in application express 3.1 on XE DB and how to change the name of a existing workspace.
    thanks
    Jana

    Jana,
    This is discussed at length in the User's Guide. See the section "Creating Workspaces".
    To rename a workspace using the admin application, edit the workspace attributes and type a new name in the field where the old name appears, then Apply Changes.
    Scott

  • How to create a variant dynamically and get it?

    hi friends,
    I have to create variant dynamically when the user execute a report.
    i.e After entering all the details in selection screen and click on execute button. I have to create a variant with user entered details.
    When user clicks on Refresh Button in output, then i have to get this variant which i created dynamically and i have to pass it to SUBMIT statement..
    This process and all in same program.
    With example code will be helpful.
    Any helps will be appreciate......
    Regards,
    Shankar.

    Hi,
    Try this......
    Step 1:  Go to transaction SE38 to specify the Program name and select u2018Variantu2019 radio button and u2018Displayu2019.
    Then it will lead you to next screen u2018ABAP:Variants u2013Initial Screenu2019  Specify the variant which needs to be created . 
    Step2: Specify all those values which are static on the selection screen in this step. Then click u2018Variant Attributesu2019 to define selection variable for u2018any field' on the selection screen.
    Step 3: In this step, provide suitable meaning for the variant. As we need to define selection variable for u2018fieldu2019 item on selection screen, check the box under column in the selection screen below:
    Step 4: In the previous step, select u2018Selection Variablesu2019 on the menu. It leads to the next screen  As we have decided to create selection variable for u2018fieldu2019 item only, in this screen you get to see the variable as u2018fieldu2019. Here you are provided with three options.
    Now click the black arrow and you will be prompted with search help of different formulas for the selection variable
    Step 5: Find the suitable formula as select it. This will lead you to the next screen to enter the values . Save the variant and this will conclude the creation of dynamic variant with the help of selection variable. This variant can also be used in the background jobs.

  • How to Create a default domain and deploy the application in jdeveloper  using a script or code (not manually)

    Hi ,
    I have installed Jdev   using silent installation .
    Now I have some  apps already created I want to create a default domain and then deploy apps into that through ant or any script?
    Can anyone help me on this?
    Thanks and Regards,
    Vivek Pemawat

    We still don't know what you want to archive with here.
    Cvele_new_account got you a pointer on how to install the DefaultDomain.
    Tip: if you want to know or see the exact command line jdev uses to install the DefaultDomain, open jdev and in the application server navigator right click on hte integrated server and select configure DefualtDomain. In the log window you see the command line with all parameters.
    Timo

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_matcat
          EXCEPTIONS
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

  • How to create a contact form and forward to my email

    I have attempted to createa contact form in dreamweaver, and follow many other tutorial createa contact.php file and test on the form page, but receive no email.  not sure where the problem lies.  can someone help or put me on the right direction. a step by step guide will be greatly appreciated.
    P.S. I'm hosted my website with godaddy.com, using dreamweaver cs5 on windows 7 64bit and IE8.
    thank you all in advance.

    I have attempted to createa contact form in dreamweaver, and follow many other tutorial createa contact.php file and test on the form page, but receive no email.  not sure where the problem lies.  can someone help or put me on the right direction. a step by step guide will be greatly appreciated.
    Might be easier if you paste the code here to show us what you've done so far.

  • Downgraded to 3.6 and now there is a "background" image to the sides on websites that showed up in 4 and now is still there. How do I get rid of the side image and get the site to look like it once did??

    Often sites display the site in the middle with filler to the side. Now there is an image there that doesnt show up on Opera but now it does on firefox

    Thanks C for taking the time to help!
    I did safe mode as you suggested and things were set to the default theme.
    It still didn't display like it did before I "upgraded".
    Let me ask this another way. Looking at this very site, the whole website is displayed in the center of the screen and the sides are blank. Meaning that there is a bunch of wasted space. How do I configure firefox so it fills the screen?? If I could see just the middle portion that is how it used to display things.
    Here is what I mean:
    [space space WEBSITE space space]
    I just want to see:
    [W E B S I T E]
    And only that filling the screen.
    Thanks again for the help!

Maybe you are looking for

  • Transfer of large files to and from Egnyte failing...

    One of my clients uses Egnyte for file management. For a typical job I will usually be required to download 5GB of files and upload 1.5GB. However, when at home, transfer of large files to and from Egnyte will often fail. (On download, Chrome gives t

  • Date issue when downloading ....

    My Requirement is to display date in Text format  like 02-21-2009 in March 21 , 2009 I have done it sucesfully through the FM CONVERSION_EXIT_LDATE_OUTPUT which  it is sucesfully displaying as March 21 , 2009 but issue coming while downloading !! I a

  • My iWeb site loads in Safari, but not in Firefox, Opera, Chrome. Why?

    I built my homepage with iWeb. I am hosting over Mobile Me. My Domain name is registered at Godaddy. My site was online for the longest time. Now I did some changes and uploaded the site again. With Safari, I can access my homepage. Not so with Firef

  • Upgradephase: PREPARE, problems in IS_SELECT

    Hello, we are doing an upgrade from 4.6C to ECC 6.0 Now just during Prepare in phase IS_SELECT we ran on a problem. Prepare found an addon ST 02C (I admit that's really an old one). But the "delete" option is not available. In case we do nothing, pre

  • Duplicate Cell Contents n-times based on value in neighboring cell?

    I have a sheet/table that contains ~150 rows of 2 columns: A B COUNT CONTENT I am looking for a way to duplicate each CONTENT in a new sheet/table COUNT times, and do this for each row. For example A B 2 RED 1 BLUE 3 GREEN Would give me a sheet/table