TMG events and raising an error message

I have written the code in TMG events and raising an error message for a certain condition.Whenever the error message is getting triggered it is making all the fields read only.So the user is not be able to change the value.
Any Solutions Please.?

Hi,
It TMG events will be triggered after entering values in other field and -> press enter
Follow the steps.
Go to se11 check table maintanance check box under
attributes tab
utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
select maintaience type as single step.
maintainence screen as system generated numbers
this dialog box appears when you click on create
button
save and activate table
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
please check the link for getting information about table maintenance generator !
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Regards,
Raj.

Similar Messages

  • Raise an Error message in ME21N

    Dear All,
    I am using user exit (SRVDET: EXIT_SAPLMLSP_040) to raise an Error message, it will terminate ME21N by the Error message. Did anyone know how to make it return to ME21N after an Error message...
    I try to set screen to 500, 210...etc. but it seems make the program hung after leave screen. Any idea? Thanks a lot!
    BR,
    Well

    Hi
    Try to use the BADI ME_PROCESS_PO_CUST
    and raise the error message
    see the sample code
    BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
    Definition Name: ME_PROCESS_PO_CUST
    Interface Name : IF_EX_ME_PROCESS_PO_CUST
    Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
    Method :            PROCESS_HEADER
    METHOD if_ex_me_process_po_cust~process_header .
      DATA : re_data TYPE mepoheader.
    *get the item data
      CALL METHOD im_header->get_data
        RECEIVING
          re_data = re_data.
      re_header = re_data.
      IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
        IF ( re_data-bsart <> 'ZIC' AND re_data-bsart <> 'UB' ).
          IF re_data-bukrs NE '1001'.
            MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
                                            'Code for External Procurement'.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    Method :            PROCESS_ITEM
    METHOD if_ex_me_process_po_cust~process_item .
      DATA: v_menge TYPE bamng,   " PR Quantity
            v_statu.              " PR Status
      DATA : re_data TYPE  mepoitem,
           re_data1 TYPE mepoaccounting,
    re_accountings TYPE purchase_order_accountings ,
    header TYPE purchase_order_accounting.
    *get the item data
      CALL METHOD im_item->get_data
        RECEIVING
          re_data = re_data.
      IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
        IF re_header-bsart EQ 'ZRL'.
          IF re_data-konnr EQ space.
        MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
                                              'without a reference to Outline Agreeement'.
          ENDIF.
        ENDIF.
        IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
          MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
                                                         'only with reference to a PR or RFQ'.
        ENDIF.
        IF re_data-knttp NE 'K' AND re_data-pstyp NE '9' .
          IF syst-cprog EQ 'RM_MEPO_GUI'.
            IF re_data-uebto IS NOT INITIAL OR
               re_data-uebtk IS NOT INITIAL OR
               re_data-untto IS NOT INITIAL.
          MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant change delivery settings'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • The adapter "SQL" raised an error message. Details "Login timeout expired".

    Hi All
    Please help me to understand "Login timeout". All feedback is welcome.
    BizTalk Server 2009 on Windows Server 2008 R2 64 bit
    SQL Server 2008 SP1 64 bit
    BizTalk Adapter Pack 2.0
    Event Viewer -> Windows Logs -> Application
    The adapter "SQL" raised an error message. Details "Login timeout expired".
    The adapter failed to transmit message going to send port "ALL.Exceptions" with URL "SQL://xxxxxxxxx/EsbExceptionDb/". It will be retransmitted after the retry interval specified for this Send Port. Details:"Login timeout expired".
    Regards
    Steve

    Hi Abhishek,
    Thank you for your input.
    I found errors in the Table [EsbExceptionDb].[dbo].[Fault] relating to the write to the target Oracle database
    Microsoft.ServiceModel.Channels.Common.MetadataException: Metadata resolution failed for OperationId:ATHENA/Table/WO_ADDITIONAL/Delete ---> System.TimeoutException: Timeout Expired     at
    The BizTalk send port timeout has been increased from 1 minute to 30 minute and all is well
    Regards
    Steve

  • How to raise multiple error messages at a time in a BADI

    Hi all,
    I'm using CHECK method of BADI ME_PROCESS_PO_CUST for some validation in ME21N/ME22N. I want to raise multiple error message at a time, when user clicks on Check button or Save button. Please let me know, is there any function module for this or is there any particular procedure for this?
    Thanks in Advance,
    Siva Sankar.

    Hi,
    Raising messages from within BAdis is not a good choice and from the look of it , it appears to be causing a dump.
    Look if the BAdi interface has any exceptions defined for the method, if so, raise the exception with your message like:
    MESSAGE e002(sy) WITH 'Error' RAISING <badi_exception>.
    Otherwise call the FM POPUP_TO_CONFIRM To show msgs to user
    Regards
    Kiran Sure

  • I reinstalled X pro on my newish computer and get appcrash error message - how do i fix? bill

    I reinstalled my acrobat X pro in my new computer and when I try to open it I get the APPRASH error message.  I cannot print documents from word 7 to acrobat either and the acrobat printer doesn't show on my printer selection. I downloaded Acrobat reader 11 and it will not read pdf documents.  How do I fix? Bill

    here's the error message i get in reader 11
    Problem signature:
    Problem Event Name: BEX
    Application Name: AcroRd32.exe
    Application  Version: 11.0.7.79
    Application Timestamp: 536b80b0
    Fault Module Name: StackHash_0a9e
    Fault Module  Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: 0050005c
    Exception  Code: c0000005
    Exception Data: 00000008
    OS  Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information  2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information  3: 0a9e
    Additional Information  4: 0a9e372d3b4ad19135b953a78882e7
    my word program is officei home and business 2010
    In a message dated 5/20/2014 12:48:18 P.M. Eastern Daylight Time, 
    [email protected] writes:
    i  reinstalled X pro on my newish computer and get appcrash error message -
    how do i fix? bill
    created by Test Screen  Name
    (https://forums.adobe.com/people/TestScreenName)  in Acrobat Installation & Update Issues - _View the full 
    discussion_ (https://forums.adobe.com/message/6394814#6394814)

  • Problem after raising an Error message in VA01

    Requirement: I need to raise an error message when a particular item and sold to party combination is not having any live contract.
    What I did: In USEREXIT_MOVE_FIELD_TO_VBED.
    1.     XVBAP having item details
    2.     VBAK structure having header details (I will get sold to party here)
    3.     VAPMA structure having the contract detail if any contract is exist.
    Here I raised an error message and its getting raised properly.
    Problem: Once the error message came I can’t able to clear or delete that line item (in va01 screen), I am getting an error message” No item category is available” only I can go back without saving.
    And I have tried in USEREXIT_MOVE_FIELD_TO_VBAP. Here I am not able to access the contract details from VAPMA (coming as blank)
    Please help me to clear this problem

    Use the form-exit USEREXIT_MOVE_FIELD_TO_VBAP.
    You can retrieve the VAPMA data as:
      SELECT * FROM VAPMA WHERE MATNR = US_MATNR AND
                                VKORG = US_VKORG AND
                                TRVOG = US_TRVOG AND
                                VTWEG = US_VTWEG AND
                                SPART = US_SPART AND
                                KUNNR = US_KUNNR.
    You will find this code in form VAPMA_SELECT in include MV45AFDB_VAPMA_SELECT

  • I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • TS2830 Sync for IPod Touch quit working and I get error messages "a session could not be started" and "a connection could not be established" although the IPod appears in ITunes.

    This is a new problem for an IPod Touch  I have had for a year.  The IPod is hooked up by cable and appears in ITunes. I can examine all the content on the IPOD  and I can click "sync".  It goes through to Step 7 and then the error messages occur.  First "a session could not be started with the IPod" and when that dialogue box is closed, the message "a connection could not be established to the IPod." 

    Maybe:
    Sync Session Failed to Start iTouch iOS5: Apple Support Communities
    iphone could not be synced sync session failed to start...: Apple Support Communities

  • To download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    to download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • Tying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel.  Help

    am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?

    Hi,
    Here is a similar thread for your reference:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
    http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • My ipod touch is not syncing properly. I have updated the software to the latest (2.2.1) and have even resored it. Itunes says it is working and updated but will not sync and apps. Error message says that app will not sync because a newer version needed

    My ipod touch (model A1213) is not syncing properly. I have updated the software to the latest (2.2.1) and have even resored it. Itunes says it is working and updated but will not sync and apps. Error message says that app will not sync because a newer version needed.

    2.2.1 is not the latest available for any ipod touch.
    Is yours the original ipod touch?
    If so then:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • Using Site Content and Structure unable to move documents,pages and getting weird error message

    Hi ,
    earlier we are moving a page ,document from one site to another sub site with in the Site Collection.
    Now,we are getting a un-readable format error.
    After selecting the destination we are getting the error.
    and the file can't move.
    What might me be the error.
    Expecting answers related to my question.
    1.As we can do using Internet Explorer,
    2. Using Send To also we can move.
    Using this Site Content and structure we can maintain Versoining also.
    If any one face the same issue then we can easily find out the solution.
    Regards ,
    Prathap 
    SP Developer
    Specify the destination to move the items you selected.

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuaj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jerODQK7mOPTCQL9qP3qBgKYiOL9AgLA8pSaBwKay8fBDQLqw93DCgKkjpf/CwLsyquQCwKtpbGsDALMtKmxBwKPpvCmBOAFHtmBuG3iNmIT9fQ8Z1TWMpjZ122|cccccccccnncnnnnn|

  • HT201210 My iPad is not recognized by Finder or iTunes when it is plugged into the computer.  i ran the Restore sequence and got an error message stating "The iPad could not be restored.  An unknown error occurred (1611).  Can this be fixed?

    My iPad is not recognized by Finder or iTunes when it is plugged into the computer.  i ran the Restore sequence and got an error message stating "The iPad could not be restored.  An unknown error occurred (1611).  Can this be fixed?

    iTunes: Specific update-and-restore error messages and advanced troubleshooting - http://support.apple.com/kb/TS3694 - relating to iPad, iPhone, iPod touch, iTunes
    Security software issues covered in: iTunes: Troubleshooting security software issues - http://support.apple.com/kb/TS3125

  • I just downloaded itunes and get an error message (-3212) when I try to connect to the store.  I have an hp pavillion using Windows 8.1

    i just downloaded iTunes for my Windows 8 laptop and get an error message when i try to connect to the iTunes store (-3212)

    Hello Steve,
    Thank you for the details of the issue you are experiencing with the iTunes Store.  I recommend the following steps for error (-3212):
    "Error 3000" through "3999"
    Alerts with codes in the 3000 range generally mean that iTunes cannot contact the gs.apple.com server on ports 80 or 443. This may be because out-of-date or incorrectly configured security or firewall software is interfering, or due to your Internet proxy settings. If you are using a proxy, try removing the proxy settings, or using a known-good network. If that does not resolve the issue, follow iTunes for Windows: Troubleshooting security software issues.
    Find the full article at the following link:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Just wanted to make sure I had the most up to date version of ITunes on my desktop first.  Tried to get on site, and got an error message saying; The folder ITunes is on a locked disk or you do not have write permissions for this folder.  Help!

    Wanted to sync up my new IPhone4, and thought that I should make sure I had the most up to date version of ITunes on my desktop first.  Tried to get on site, and got an error message saying; "The folder ITunes is on a locked disk or you do not have write permissions for this folder."   Cannot get on ITunes at all now.  Help!  Thx.

    In my case its a new computer the old one was stolen and the time machine disk did not work for a restore but did for copying the info to the new mac

Maybe you are looking for

  • Currency Conversion is not happenig in webform

    Hi, I have created three more members in period dimension along with BegBalance and YearTotal. My period hierarchy looks like this. Period BegBalance YearTotal Q1 Q2 Q3 Q4 2008 Actual thru Sept (Formula: = Actual->Q1 + Actual->Q2 + Actual->Q3;) Estim

  • I want to define the partner link to be an XML file

    Another process creates an XML file and dumps it inot a directory. I want to use the file adapter to consume it. I can not figure out a way to use the file adpater for an XML file. I have used it for csv and serveral other non-standard formats but th

  • Family photo/video album with comments

    I am organizing all my families photos/videos. I have 9 brothers/sisters, so you can imagine a lot of family events, many which I will not know much about. I was wondering the best way for me to put these on mobileme/iweb/iphoto which will allow for

  • Generate a transaction for the workflow

    Hi ,    I want to know how can we generate a transaction code for a workflow . Thanks , Shounak.

  • Has Adobe ended support for Photoshop CS5

    I use Secunia PSI to monitor my software for updates. Right around the time CS6 shipped, PSI started reporting all of my CS5 applications as "end of life" meaning no more patches will be released. Is it correct that CS5 is no longer supported with pa