.asp/.aspx code erased or changed in DWCS4?

I am a non-developer - a designer.
We have a programmer who created a simple form in .aspx or .asp (not exactly sure which one) in Microsoft Visual Studio.
When that .html page was opened in Dreamweaver CS4 he said the command "POST" was changed to "GET".
Is this possible? He often builds data driven pages we then open in Dreamweaver...then the chaos begins! Is there something we should watch for?

Your server processes ASP code in your pages and outputs the desired html. That html is then served to the viewer's browser. The browser will never see the ASP scripting unless, for some reason, the server doesn't process it. If that were the case, your pages would appear broken to the viewer.
It sounds like the onsubmit line is part of an include file somewhere else in your site. Look at the code of the local copy of the page you are making the change to. You should see something like...
<!--#include file="some_name.inc"-->
...in several locations. Those are links to include files. The onsubmit line might be contained within one of those. It may also be part of the actual form processing script (that would be my vote).
Either way, to paraphrase bregent: if you are not familiar with ASPX, you really shouldn't be messing with these files, you may do more harm than good.

Similar Messages

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • Location for login.aspx code behind?

    I added a Login.aspx.cs file in the Server Project with some code in
    Page_Load() I need to implement, and edited the first line of login.aspx this way:
    <%@ Page Language="C#" CodeBehind="Login.aspx.cs" Inherits="Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase" %>
    What I added, exactly, are the Language and CodeBehind
    properties.
    But when I deploy and run the application, I get this error:
    The type 'Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase' is ambiguous: it could come from assembly 'C:\testing\Sandbox\bin\Microsoft.LightSwitch.Server.DLL' or from assembly 'C:\testing\Sandbox\bin\Application.Server.DLL'.
    Please specify the assembly explicitly in the type name.
    I understand this is because Login.aspx.cs already exists in some assembly.
    Is there any way to Access Login.aspx code behind?
    If not, how can I add my own login page to an HTML Client App without losing the already configured Forms security, roles, permissions, etc.?
    thanks.
    Nicolás.
    Nicolás Lope de Barrios
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to
    "Mark as Answer". This will help other people find answers to their problems more quickly.

    Josh:I tried your suggestion, edited Login.aspx like you said, and the code for Login.aspx.cs converted from vb is this:
    using System;
    using System.Collections.Generic;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.Security;
    using Microsoft.LightSwitch;
    using LightSwitchApplication;
    using LightSwitchApplication.Helpers;
    namespace LightSwitchApplication
    public partial class Login : Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase
    protected void Page_Load(object sender, EventArgs e)
    AuditHelper.CreateAuditTrailForLogin();
    public Login()
    Load += Page_Load;
    As you can see, all I want to do is call AuditHelper.CreateAuditTrailForLogin()
    on Page_Load()
    But I'm getting this exception, wich is obvious what it means, but I don't know how to fix. Does it mean we're overriding Server generated Page_Load() so I have to write all the code that handles authentication?:
    The method or operation is not implemented.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.             
    Exception Details: System.NotImplementedException: The method or operation is not implemented.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.                  
    Stack Trace:
    [NotImplementedException: The method or operation is not implemented.]
    LightSwitchApplication.Login.Page_Load(Object sender, EventArgs e) +36
    Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase.OnLoad(EventArgs e) +90
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    Any help appreciated.
    Nicolás Lope de Barrios
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to
    "Mark as Answer". This will help other people find answers to their problems more quickly.

  • Do I have the right to see what code my OEM changed/added?

    As far as I understand it, Mozilla gives the source Firefox OS (and its updates) to OEMs (like ZTE) and they would have to adjust it to their devices and (hopefully) offer it as an update to their users.
    As Firefox OS is Free/Libre Open Source Software, do I have the right to see the source code of the changes my OEM did to Firefox OS and its apps?

    Hi keal,
    This is a great question. The builds hosted by the OEM will depend on the OEM. For example, as you mentioned ZTE hosts the builds on their site.
    As for other OEMs, this will vary. I will ask if any of them do publish the changes.
    EDIT:
    More info: The gaia portion gaia is mostly licensed under apache2, so they're not required to release changes there. There are some requirements for branding to only be able to make certain changes. As for the gecko most of the gecko core code is under mpl2, so they're required to share changes in core code and some of that code is also under the apache2. -thank you mwu.

  • [svn:osmf:] 12677: Code cleanup and changes after code review.

    Revision: 12677
    Revision: 12677
    Author:   [email protected]
    Date:     2009-12-08 16:11:31 -0800 (Tue, 08 Dec 2009)
    Log Message:
    Code cleanup and changes after code review.
    Modified Paths:
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/CaptioningPluginInfo.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/loader/CaptioningLoader.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/model/Caption.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/model/CaptionFormat.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/model/CaptioningDocument.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/parsers/DFXPParser.as

    Hi Zpittman,
    What is you said ‘Code Review Tool’?
    I assume that you meant the Code Review feature in TFS. I tried it in Visual Studio 2013 with update 4 and TFS 2013 with Update 4, the whitespace was detected and the code review see it as a difference.
    If you don’t get the same result with me using VS and TFS, please upgrade your VS and TFS to the latest update.
    If the issue still exists, please
    reset your VS settings through Tools->Import and Export settings->Reset all
    settings->…. and repair your VS.
    If code review tool is a third-party tool or a third-party VS/TFS add-in, the official support of this tool can be a better place to resolve your issue.
    If I misunderstood anything, please feel free to come back.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Locking code to prevent changes

    Hello,
    I probably already know the answer but I give it a go.
    You can disable code (it  turns in color green) in Visual Studio Express but is  there also a way to "lock" parts of code to prevent changes?
    Greetz,
    W.

    Thanks for the tip about TFS and GIT. As a starter I'm exploring the possibliities now about these features.
    The context is that I'm an independent starting designer. A client first agreed that he doesn't want to make small changes on his own when the website is finished. Now he wants to be able to change a picture or add an event when he likes to do it. The website
    could be designed in joomla to make it easier for the client to make changes but I'm looking for a way in Visual Studio to block code so he only will be able to change the items that he wants to. Like a picture for example. So for the moment it's a small scale
    solution that I'm looking for.
    Hi woodyallen,
    As the replies above, you could control your code with TFS and GIT. As far as know, I think there is no such a small scale solution in Visual Studio which you want.
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Error when calling a javascript fonction from asp c# code

    Hi,
    I have an error when I excute my code below and I do not understand where it is coming from.
    page ASPX:
    <asp:Button ID="Bt_refresh" OnClick="Bt_refresh_Click" runat="server" Text="Resfresh" />
    page ASP:
    protected void Bt_refresh_Click(object sender, EventArgs e){            System.Web.UI.ScriptManager.RegisterStartupScript(this, this.GetType(), "Test", "<script type='text/javascript'>switchTo(event,'mapserv.xml');</script>", false);           }
    page JavaScript:
    function switchTo(event, dzi) {    console.log("Debut switchTo");    if (dzi) {        console.log(dzi);        viewer.openDzi(dzi);        console.log("open dzi");    } else {        viewer.close();        console.log("viewer closed");    }}
    and I get that error:
    Uncaught TypeError: Cannot read property 'openDzi' of nullLoad_image.js:14
    switchToLoad_image.js:14
    (anonymous function)
    However my link is working when I use this method in my ASPX page:
    <a href="#" onclick="switchTo(event,'map.xml');">map</a>

    Hi mi jo,
    ASP.NET forum is the right forum for your question, you can get more helpful ansers if you post a new thread there.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • KDE Konqueror: trouble loading active server pages asp/aspx

    Hi!
    I need to access the pages of the french embassy
    for a visa and I found that their form page would not load in konquerer.
    I noticed that it is an aspx page,
    now I wonder as this is Microsoft, if this can be accessed from Linux???
    Rainer
    That problem I had when doing this from Ubuntu jaunty - now, with Arch Linux completely setup it all works fine!
    Last edited by rainerd66 (2009-05-27 04:26:19)

    I'm having the same problem. I want to use the Application and Session objects to maintain the connection pool. Doe's anyone have any suggestions with code examples of how to do this?
    Thank you.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Milind Joshi ([email protected]):
    Hello,
    I am having trouble connecting the ASP pages to Oracle 8i database. Here's the situation:
    The webserver is a W2K dual processor server with IIS 5 on it. I have a virtual directory on this server which has the ASP pages. There is Net8 installed and configured on this server and I verified that I can connect to the oracle database on the other server in the network.
    When I try to access any ASP page, it does not connect to Oracle database. What's going wrong?
    Any replies would be appreciated. Thanks.
    Milind<HR></BLOCKQUOTE>
    null

  • Windows 8.1 erasing and changing files with chkdsk on external drives. Unnaceptable.

    I work for IT support for a small production studio.
    They use Windows 7 and Windows 8.1 for they workstations and linux on the rendering farm.
    There is an automated system with a nas to make backups of the production assets and renderings.
    They have ESATA ports on all the wokstations and use external hard drives to make backups of users files, each user has the responsability of make his /her own backup of personal files (or files from his computer that belong to production like photoshop
    patterns, brushes, licenses, rendering tests, plugins, etc).
    A week ago the main hard drive of one of the workstations failed.
    No problem. New, hard drive, fresh windows install, activation, production software, licenses from license server.
    But at the time of restoring the files, the external hard drive of the user contained only old files, and some new but not all. At first time, the user was blamed, but hw swears that he backedup his files. Two days later another user complained that is disk
    contained only the old files and his past backup was lost. I was called for help.
    After several tests i was able to reproduce the problem:
    Windows 8.1: Plug an external disk, make backups, copy new files erase old files, etc, eject the disk using safe removal.
    Windows 7: Plug THAT DISK, erase files, copy new files, make backups etc.
    Now here comes the problem: PLUG THAT DISK ON ANY COMPUTER WITH WINDOWS 8.1. A few seconds later windows reports that the disk had problems but some corrections were made and everything is ok. IT'S NOT. Any file copied from the prevous backup
    is erased (or now it has zero size) and previously erased files are there again. Some of these files are corrupted now but windows says that the disk is OK.
    -All the Workstations are up to date with a WSUS (as far as i know).
    -The external hard disks are OK (even i used a new formated disk attached to an itnernal port to reproduce the problem.
    Moving the backup disk between Windows 7 workstations is ok.
    Moving the backup disk between Windows 8.1 workstations sometimes triggers the problem.
    Moving the backup disk from a windows 7 workstation to a Windows 8.1 workstation ALWAYS triggers the problem.
    Windows 8.1 automatically triggers chkdsk and autorepair the disk a few seconds after insertion unless the user has the disk busy, in that case pops an alert for resterting the computer, and again erases new files and undelete old ones.
    First time in my life i see windows doing something like that to a healthy external hard drive.
    The event viewer is filled with chkdsk errors like the 26226 and 26228.
    We need a solution and i need an explanation of why this behaviour.
    Thanks and sorry for my bad english.

    Hi  Artag,
    I want to know what kind of hard disk is that ? A GPT format or MBR format?
    According to your description,  the GPT format hard disk might not be detected by a computer with a MBR format hard disk, vice versa, so, I suggest to check the disk format by plugining the hard disk to a bootable Windows 7 system, then:
    In the Disk Management console, on the View menu, point to Top, and then click Disk List. The upper pane displays a list of disk drives that specifies the partition style in the last column.
    The details about the get disk format steps and information about GPT format, you can find it below:
    http://msdn.microsoft.com/en-us/library/windows/hardware/dn653580(v=vs.85).aspx  
    Besides, a screenshot will be helpful for solving this.
    Regards
    Wade Liu
    TechNet Community Support

  • Tax Code removed on changing the posting Date in Purchase Order

    Dear All,
    This is with reference to the Purchase Order Document tax part, the document has been defined with the approval procedure and document series followed as annual series. The document series is linked to the period indicator as I am using the monthly series for the A/R & A/P Invoice.
    Now some Purchase Order was generated in the last month i.e. 30 NOV 07 which has gone for approval. These document are approved in the current month (Dec 07) & user are trying to add the records it displays the message as "Date deviates from permissible range [Purchase Order - Posting Date]  [Message 173-11]" as the period indicator is changed to Dec 07 in document numbering.
    The problem is when user changes the document date to Dec 07 for posting; system removes the tax codes, which is available in the document. Now as this is approved document user is not able to change or renter the tax codes.
    In this situation what can be done as the same case will again happen for the next month.
    Pls. provide the solution / work around for this problem.
    Regards,
    Yogesh Jadav

    hi yogesh,
    Cancel/Close the created purchase order.
    First you should change docduedate in posting period upto december 2007/end of fiscal year,by following the below path.
    (Administration->sytem intialization-> general settings--> posting period tab)
    Create a new purchase order.
    Send it for approval,authorizer can change date as required,
    once the posting date changes,tax code get refreshed,authorizer
    need to select tax code once again.
    <b>Tax code normally get refreshed when you change posting date it's normal
    system behaviour.</b>
    After authorizer does above changes,he can approve purchase order.
    Once purchase order is approved,orginator can add it as purchase order in draft stauts.
    <b>After approval we can not do any changes in purchase order.</b>
    Hope my solution will solve the problem.
    Thanks,
    With regards,
    A.Jeyakanthan

  • Badi ME_PROCESS_REQ_CUST Sample Code required for changing the values

    Dear Friends,
    I am new to the Badi technology. We would like to populate/change the standard field values, (Purchasing group) during Purchase Requisition creation/change.
    Method --> PROCESS_ITEM.
    I tried the following code, but system blnaks out all the field values entered during PR creation.
    Appreciate, if you could provide me some sample code which can be of help.
    Reg
    Kumar
    Sample code----
    METHOD if_ex_me_process_req_cust~process_item .
    DATA: k_mereqitem          TYPE mereq_item,
            om_data              type mereq_item,
            om_datax             type mereq_itemx,
        k_mereqitem = im_item->get_data( ).
        check im_count = 1.
        if k_mereqitem-bsart = 'ST' and
           k_mereqitem-loekz = ' '.
        om_data-pstyp = '5'. " assign default item category code
        om_data-bnfpo = k_mereqitem-bnfpo.
        om_data-WERKS = k_mereqitem-WERKS.
        om_datax-pstyp = 'X'.
        call method im_item->set_datax
             exporting im_datax = om_datax.
        call method im_item->set_data
             exporting im_data =  om_data.
        endif.
    ENDMETHOD.

    Hi Kumar,
    i have not a special solution for your case, but i use this BADI with great effort
    As my comments in example are in german lg. i explain in short words what i do:
    X) define data
    1) select data from base item
    1a) header-data
    1b) item data (easy)
    1c) accounting data
    2+3) check field values, post warning message + mostly change values + sometimes set cursor focus on field
    Have a look and give me some points if my example increased your BADI knowledge
    regards
    Jörg
    METHOD if_ex_me_process_po_cust~process_item .
    * Business-Add-Inn ME_PROCESS_PO_CUST
    * Jörg Sauterleute - 23.12.2005
    * Ablauf:
    * 1. Datenbschaffung
    * 2. Feldänderungen prüfen + Warnung ausgeben
    * 3. Feldinhalte prüfen + evtl. ändern u. Hinweis ausgeben
      DATA: ls_mepoitem TYPE mepoitem,
            ls_mepoheader TYPE mepoheader,
            ls_mepoaccounting TYPE mepoaccounting.
    * Interfacereferenz auf <if_purchase_order_mm>
      DATA: header_obj TYPE REF TO if_purchase_order_mm.
    * Interfacereferenz auf <if_purchase_order_account_mm> über Tabelle
      DATA: it_accountings TYPE purchase_order_accountings, "Tabelle
            accounting_obj TYPE purchase_order_accounting.
    * Include für Ausgabe von Meldungen
    * im BAdI ME_PROCESS_PO_CUST niemals ABAP-Statement MESSAGE verwenden!
      INCLUDE mm_messages_mac.
    * Hilfsvariablen
      DATA: h_change_mepoitem TYPE c,
            h_text TYPE string.
      IF sy-sysid = 'HLT'. break sau. ENDIF.
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 1. Datenbeschaffung
    * Kopfdaten
      header_obj = im_item->get_header( ).
      ls_mepoheader = header_obj->get_data( ).
    * Positionsdaten
      ls_mepoitem = im_item->get_data( ).
    * Kontierungsdaten (Accounting) über Tabelle it_accountings
      it_accountings = im_item->get_accountings( ).
    * ...IF eingebaut, weil sonst später Abbruch, wenn sy-subrc <> 0
      IF NOT ls_mepoitem-knttp IS INITIAL.
        LOOP AT it_accountings INTO accounting_obj.
          ls_mepoaccounting = accounting_obj-accounting->get_data( ).
        ENDLOOP.
      ENDIF.
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 2. Daten prüfen -> Warnmeldung
    * Feld Empfänger (Kontierung) prüfen -> Warnmeldung
      IF ls_mepoheader-ekorg = '1000' AND
         ls_mepoheader-bsart = 'IB'.
        IF NOT ls_mepoitem-knttp IS INITIAL.
          CASE ls_mepoheader-ekgrp.
            WHEN '500' OR '501'.
              IF NOT ls_mepoaccounting-wempf IS INITIAL.
                mmpur_metafield mmmfd_recipient.       "Warenempfänger - Cursor setzen
                mmpur_message_forced 'I' 'ME' '303' text-011 '' '' ''.
    * Warnmeldung wieder aus Protokoll entfernen.
                IF ls_mepoaccounting-wempf IS INITIAL.
                  mmpur_remove_messages_by_id ls_mepoaccounting-id.
                  mmpur_business_obj_id ls_mepoaccounting-id.
                ENDIF.
              ENDIF.
            WHEN OTHERS.
              IF ls_mepoaccounting-wempf IS INITIAL.
                mmpur_metafield mmmfd_recipient.       "Warenempfänger - Cursor setzen
                mmpur_message_forced 'W' 'ME' '303' text-010 '' '' ''.
              ENDIF.
    * Warnmeldung wieder aus Protokoll entfernen.
              IF NOT ls_mepoaccounting-wempf IS INITIAL.
                mmpur_remove_messages_by_id ls_mepoaccounting-id.
                mmpur_business_obj_id ls_mepoaccounting-id.
              ENDIF.
          ENDCASE.
        ENDIF.
      ENDIF.
    * Ende Feld Empfänger (Kontierung) prüfen -> Warnmeldung
    * Ende test
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * 3. Positionsdaten prüfen/ändern -> setzen
      CLEAR: h_change_mepoitem,
             h_text.
    * Kennzeichen Wareneingang prüfen/ändern
    * Belegart 'NB' immer mit "Wareneingang" wegen Log. Rechnungsprüfung
    * Belegart 'IB' immer ohne "Wareneingang" weil Einsatz Workflow
    * (Kennzeichen 'WEPOS' setzen/nicht setzen)
      IF NOT ls_mepoitem-knttp IS INITIAL.
        CASE ls_mepoheader-bsart.
          WHEN 'NB'.
    * Prüfung ob gesetzt
    * Wenn nicht, dann setzen und Daten übergeben
    * Cursor auf Metafeld (aus Typgruppe MMMFD) für Fehlerbehandlung
            IF ls_mepoitem-wepos IS INITIAL.
              ls_mepoitem-wepos = 'X'.
              h_change_mepoitem = 'X'.
    *           im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-001.
              mmpur_metafield mmmfd_gr_ind .       "WE-Kennzeichen - Cursor setzen
    *           message erst später ausführen!
    *           mmpur_message_forced 'I' 'ME' '303' text-001 '' '' ''.
            ENDIF.
          WHEN 'IB'.
    * Prüfung ob nicht gesetzt
    * Wenn doch, dann entfernen und Daten übergeben
    * Cursor auf Metafeld (aus Typgruppe MMMFD) für Fehlerbehandlung
            IF NOT ls_mepoitem-wepos IS INITIAL.
              ls_mepoitem-wepos = ' '.
              h_change_mepoitem = 'X'.
    *            im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-002.
              mmpur_metafield mmmfd_gr_ind .       "WE-Kennzeichen - Cursor setzen
    *           message erst später ausführen!
    *           mmpur_message_forced 'I' 'ME' '303' text-002 '' '' ''.
            ENDIF.
        ENDCASE.
      ENDIF.
    * Ende Kennzeichen Wareneingang prüfen/ändern
    * Kennzeichen aut. WE-Abrech. (Rechnung) prüfen/ändern
    * (für autom. Gutschriftsverfahren Verpackungseinkauf)
    * Kreditordaten
      DATA: it_lfm1 TYPE TABLE OF lfm1,
            wa_lfm1 TYPE lfm1.
      IF ls_mepoheader-ekorg = '1000' AND
         ls_mepoheader-bsart = 'NB'   OR
         ls_mepoheader-bsart = 'KA'.
        IF ls_mepoitem-xersy IS INITIAL AND
           ls_mepoitem-umson IS INITIAL.                    "kostenlose Lieferung
          SELECT * FROM lfm1 INTO CORRESPONDING FIELDS OF TABLE it_lfm1
                   WHERE lifnr = ls_mepoheader-lifnr AND
                         ekorg = ls_mepoheader-ekorg.
          IF sy-subrc = 0.
            READ TABLE it_lfm1 INTO wa_lfm1 INDEX 1.
            IF wa_lfm1-xersy = 'X'.
              ls_mepoitem-xersy = 'X'.
              h_change_mepoitem = 'X'.
    *          im_item->set_data( EXPORTING im_data = ls_mepoitem ).
              h_text = text-005.
              mmpur_metafield mmmfd_ers.       " Kennz. aut.WE-Abrechnung - Cursor setzen
    *            message erst später ausführen!
    *            mmpur_message_forced 'I' 'ME' '303' text-005 '' '' ''.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Kennzeichen aut. WE-Abrech. (Rechnung) prüfen/ändern
    * Kennzeichen WE-bezogene Rechnungsprüfung (Rechnung) prüfen/ändern
    * (für autom. Gutschriftsverfahren Verpackungseinkauf)
    * Kreditordaten bereits deklariert
    *  DATA: it_lfm1 TYPE TABLE OF lfm1,
    *        wa_lfm1 TYPE lfm1.
      IF ls_mepoitem-knttp IS INITIAL.
    * nicht anwenden bei kontierten Bestellungen
        IF ls_mepoitem-pstyp = 0.
    * nicht anwenden bei gefülltem Positionstyp (z.B. 'L' = Lohnbearbeitung, Preis 0,00 EUR)
          IF ls_mepoheader-ekorg = '1000' AND
             ls_mepoheader-bsart = 'NB'   OR
             ls_mepoheader-bsart = 'KA'.
            IF ls_mepoitem-webre IS INITIAL AND
               ls_mepoitem-umson IS INITIAL.                    "kostenlose Lieferung
              SELECT * FROM lfm1 INTO CORRESPONDING FIELDS OF TABLE it_lfm1
                       WHERE lifnr = ls_mepoheader-lifnr AND
                             ekorg = ls_mepoheader-ekorg.
              IF sy-subrc = 0.
                READ TABLE it_lfm1 INTO wa_lfm1 INDEX 1.
                IF wa_lfm1-webre = 'X'.
                  ls_mepoitem-webre = 'X'.
                  h_change_mepoitem = 'X'.
    *          im_item->set_data( EXPORTING im_data = ls_mepoitem ).
                  h_text = text-006.
                  mmpur_metafield mmmfd_gr_based_iv.   "WE-bezogene RP - Cursor setzen
    *            message erst später ausführen!
    *            mmpur_message_forced 'I' 'ME' '303' text-006 '' '' ''.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Kennzeichen WE-bezogene Rechnungsprüfung (Rechnung) prüfen/ändern
    ** Kennzeichen Auftragsbestätigungspflicht prüfen/ändern
    ** (bisher nur Natec)
    ** Infosatzdaten (Konditionen) deklarieren
    ** Verweis of Tabelle mit Kopfzeilen immer mit TYPE TABLE OF
    *  DATA: it_ekomd TYPE TABLE OF ekomd,
    *        wa_ekomd TYPE ekomd.
    *  IF ls_mepoheader-ekorg = '1300' AND
    *     ls_mepoheader-bsart = 'NB'   .
    *    CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS'
    *      EXPORTING
    *        i_ekorg = ls_mepoheader-ekorg
    *        i_esokz = '0'                                       " '0' = NB
    *        i_infnr = ls_mepoitem-infnr
    *        i_lifnr = ls_mepoheader-lifnr
    *        i_matkl = ls_mepoitem-matkl
    *        i_matnr = ls_mepoitem-matnr
    *        i_werks = ls_mepoitem-werks
    *      TABLES
    *        tekomd  = it_ekomd.
    *    SORT it_ekomd BY datbi DESCENDING.
    *    READ TABLE it_ekomd INTO wa_ekomd INDEX 1.
    *    CASE ls_mepoheader-ekorg.
    *      WHEN '1300'.
    **     Anforderung Natec: wenn Infosatz-Kondition
    **       a)  leer o. nicht gültig  => AB setzen, wenn fehlt
    **       b)  älter       2 Monate  => AB setzen, wenn fehlt
    **       c)  nicht älter 2 Monate  => AB entfernen, wenn gesetzt
    **     Hilfsvariablen
    *        DATA: h_vgldat   TYPE sy-datum.   " Vergleichsdatum
    *        DATA: h_ergebnis TYPE c.
    **     Alter der Infosatzkondition ermitteln.
    *        CALL FUNCTION 'CCM_GO_BACK_MONTHS'
    *          EXPORTING
    *            currdate   = sy-datum
    *            backmonths = '002'
    *          IMPORTING
    *            newdate    = h_vgldat.
    *        IF wa_ekomd-datbi < sy-datum OR    " gefunden Kondition nicht gültig oder
    *           wa_ekomd-datbi IS INITIAL.      " keine Kondition gefunden
    *          h_ergebnis = 'a'.
    *        ENDIF.
    *        IF wa_ekomd-datab < h_vgldat.
    *          h_ergebnis = 'b'.
    *        ENDIF.
    *        IF wa_ekomd-datab > h_vgldat.
    *          h_ergebnis = 'c'.
    *        ENDIF.
    **       Prüfung ob nicht gesetzt
    *        IF ls_mepoitem-kzabs = ' ' AND
    *                  h_ergebnis = 'a' OR
    *                  h_ergebnis = 'b' .
    *          ls_mepoitem-kzabs = 'X'.
    *          h_change_mepoitem = 'X'.       "Merker setzen, geändert wird am Schluss
    **               im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-003.
    **               message erst später ausführen!
    **               mmpur_message_forced 'I' 'ME' '303' text-004 '' '' ''.
    *        ENDIF.
    **       Prüfung ob gesetzt
    *        IF ls_mepoitem-kzabs = 'X' AND
    *           h_ergebnis        = 'c' .
    *          ls_mepoitem-kzabs = ' '.
    *          h_change_mepoitem = 'X'.       "Merker setzen, geändert wird am Schluss
    **               im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-004.
    **               message erst später ausführen!
    **               mmpur_message_forced 'I' 'ME' '303' text-003 '' '' ''.
    *        ENDIF.
    *    ENDCASE.
    *  ENDIF.
    ** Ende Kennzeichen Auftragsbestätigungspflicht prüfen/ändern
    * Bestell-/Bestellpreis-Mengeneinheit prüfen/setzen
      DATA: h_txz01 TYPE mepoitem-txz01.   " Materialkurztext
      IF   ( ls_mepoheader-ekorg = '1000' OR
             ls_mepoheader-ekorg = '1500' ) AND
             ls_mepoheader-bsart = 'IB' AND
         NOT ls_mepoitem-knttp IS INITIAL.
    * Vergleichen ob eingegebene Mengeneinheit in Kurztext "avisiert"
        CONCATENATE '(' ls_mepoitem-meins ')' INTO h_txz01.
        IF ls_mepoitem-txz01 CS h_txz01.
          IF NOT ls_mepoitem-meins IS INITIAL.
            mmpur_metafield mmmfd_unit .       "Steuer-Kennz. - Cursor setzen
            mmpur_message_forced 'W' 'ME' '303' 'ME' ls_mepoitem-meins
                                                     text-031 ''.
          ENDIF.
    * sonst standarmäßig 'LE' setzen wegen Problemen bei Obligo
        ELSE.
          IF NOT ls_mepoitem-meins = 'LE'.
            ls_mepoitem-meins = 'LE'.
            ls_mepoitem-bprme = 'LE'.
            h_change_mepoitem = 'X'.
    *      im_item->set_data( EXPORTING im_data = ls_mepoitem ).
            h_text = text-030.
            mmpur_metafield mmmfd_unit .             "Steuer-Kennz. - Cursor setzen
    *      message erst später ausführen!
    *      mmpur_message_forced 'I' 'ME' '303' text-030 '' '' ''.
          ENDIF.
        ENDIF.
      ENDIF.
    * Ende Bestell-Mengeneinheit prüfen/ändern
    * Steuerkennzeichen prüfen/setzen (für EK-Gruppe 500,501)
      IF ls_mepoheader-ekorg = '5000' AND
         ls_mepoitem-matnr IS INITIAL.
        CASE ls_mepoheader-ekgrp.
          WHEN '500' OR '501'.
            IF ls_mepoitem-mwskz IS INITIAL.
              ls_mepoitem-mwskz = 'V4'.
              h_change_mepoitem = 'X'.
    *    "      im_item->set_data( EXPORTING im_data = ls_mepoitem ).
    *          h_text = text-020.
    *          mmpur_metafield mmmfd_tax_code .       "Cursor Steuer-Kennz.
    *    "      message erst später ausführen!
    *    "      mmpur_message_forced 'I' 'ME' '303' text-020 '' '' ''.
            ENDIF.
        ENDCASE.
      ENDIF.
    * Ende Steuerkennzeichen prüfen/ändern
    * zu 3.
    * zum Schluss noch die geänderten mepoitem-xxxx setzen
    * + gleiche Meldungen (I ME 303) ausgeben
      IF h_change_mepoitem = 'X'.
        im_item->set_data( EXPORTING im_data = ls_mepoitem ).
      ENDIF.
      IF NOT h_text IS INITIAL.
        mmpur_message_forced 'I' 'ME' '303' h_text '' '' ''.
      ENDIF.
    * Ende Daten prüfen/ändern -> setzen
    ENDMETHOD.                    "IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

  • I am updating content in an old site and am using an old extension to close a child page.  It has worked fine up until I started using CS6.  The code for this is in a template I am using and the code has not changed.

    So the site is www.fulcrumcwi.com and the page URL is: FulcrumCWI Rebecca Morgan Operations Strategy Consulting Newsletters.
    if you choose the first HTML link to the current newsletter when you try to use the close buttons neither of them work.  Yet if you go down to the issue from January, and go to the HTML version, it works just fine.  This is the code that the extension puts in:
    <form>
              <input name="Close" onclick="self.close();return false" type="button" value="Close" />
            </form>
    I haven't changed it in any way.  The only change is that I'm using Dreamweaver CS6 to make these changes.  Anyone have a fix for me?
    As always, thanks in advance.  (and yes, I know this site needs major updating)
    GraphicEdge

    Boy, that didn't really come out very well.
    On the archive_newsletters.html page, the "HTML" links are supposed to have target="_blank" in them...
    <a href="newsletters_html/2014_03.html" target="_blank">HTML</a>
    so a new tab is opened with the info. That new tab is then closed by the this.close() javascript.
    On the newsletters that don't close correctly, there is no target="_blank" to open them in a new window initially, so they can't close with that method.

  • Any T code to track changes done?

    HI,
    I want to know if there is way to find out what changes has been done in all customer and Vendor , GL master data over a given period.
    Any T code to track the changes?
    regd
    Vijay

    Hi Vijay,
    Any update activities done on SAP data is tracked by the user ID that made the change. No activation of logs is required for SAP to track these changes. 
    Additional to the normal tracking done is SAP Audit Logs. These
    SAP Audit Logs can be activated to track certain activities. You can always go and click on the changes log and find the user ID of the person who has done the changes.
    Hope this answers your query.
    Regards
    Bharat

  • Vat code to be changed

    i need to change vat code related to my account, how do i do it?
    Massimo

    Hi massimoc5448683,
    To change the VAT code associated with your Adobe account, please Contact Customer Care.
    Best,
    Sara

  • HT5834 I received a message saying I must change my iCloud Keychain pass code due to changes in the server. Is this correct? Or is it a scam?

    I received a message saying I must change my iCloud pass code keychain due to changes in the server. Is this a hoax?

    Dang! And if I already did before thinking it might be a scam, what can I do about at this point? I did just reset my password again after realizing it might be a scam, but is that sufficient and is there anything else I should look into to see if any damage was already done? Thanks.

Maybe you are looking for

  • Help required with upgrading to OS5 on curve 8520

    Hello everyone, I'm using an unlocked version of the bb curve 8520 and want to upgrade my bb device os to v5.0. (current version- 4.6.1) I tried using the application loader on the bb website (NA & India both) but it just tells me that my OS is updat

  • The upgrade to Mavericks crashes my Mac Pro

    I've upgraded to Mavericks. Now my laptop crashes when I attempt tp open any Adobe CS6 software, and other programmes. Any ideas? DiB2

  • New pc old ipod

    My laptop had the hard drive replaced and when I downloaded itunes and plugged in my ipod it said it was synched with another library and would erase everything. how do I synch it without losing all my songs?

  • How to remove/hide webpart page title

    I have a team site.  All pages are stored in Site Pages.  I added a webpart page called test1.  When I go to the page, I see "test1" to the right of the site icon on the top left side of the page.  How can I remove it or hide it?  I read somewhere th

  • Need leading zeros to fill the front of a 10 character parameter being passed-HELP!

    I have a prompt 10 character parameter that some people forget to insert the zero at the beginning of the number. ex.(they type "594468010", suppose to be "0594468010").  How can I fill in the leading zeros for them after they type in the prompt box?