Check the values while saving the values in SM30

Hi all,
I have created a Table maintennace for a ztable in SM30.
I want to check the values while saving the values in the SM30.
Can aynbody please give any idea how can i acieve this.
Thanks,
Tarangini

Hi Tarangini,
Go to the Table Maintenence Generator screen in Change mode. from this Screen go to the
Enviorment->Modifications->Events.
New screen will open and click on the New Entries button.
then from the F4 Help of the first column, select ur appropriate Event and in the second column give the name of the Subroutine.
and from the Third column u can do the coding for the subroutine as shown below.
FORM BEFORE_DATA_SAVE.
IF SY-UNAME EQ 'USER1' OR SY-UNAME EQ 'USER2'.
ELSE.
   message 'No Authorization for Change...' type 'E'.
ENDIF.
ENDFORM.
Regards
Jagesh

Similar Messages

  • Problem While saving the Invoice

    Dear Experts,
                      I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
    When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
                     But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
                   please help me to sort this issue, Its business complicated.
    Thanks in Advance,
    Srini

    Hi Asik,
              Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
    So, i modify that and run the EDI manually. As of now its working...
              Thanks for your reply,,,
    Regards,
    Srini

  • Address details while saving the order

    hello experts
    i am having the requirement where i wanted to fetch the Ship-to Address details that is changed by the user while saving the order.
    I tried using different FMs like BAPI_BUPA_ADDRESS_GETDETAIL but these fetch the address from master data. What i want is the new address entered by the user.
    In CRM_ORDER_READ i am getting a new ADRNR for the newly entered address (itab_partner-addr_nr)but not able to find any FM to get the details out of it.
    did anyone know how to get the same?
    Thanks in advance.
    regards
    rajeev

    Hi,
    I tried FM BUA_BUPA_ADRC_GET. This one returns address details from memory but doesn't have partner relation in it.
    basically it populates partner's name into NAME1 field of ADRC.
    regards
    rajeev

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • Error While saving the tabulator results recording(QE71)

    Hi Experts ,
    through the Tcode QE71 i'm recording the inspection points and the inspection results but while Saving the recorded results , the system is giving error as " No Orignal values " and also as "inspection Pt 99999 of the Characteristics .....is not avaialable".
    What might be the possible reason for the same. But when i'm entering the results through the Tcode QE01 all the results are saved and closed.
    Can anybody help me out of this.
    B'regards
    Krishna

    Hi,
    Can you call your web service using jQuery not in an app successfully?
    As the error message suggests, it might be an error on the server side.
    I suggest you do a simple test to check whether you can call the web service using jQuery.
    Here are two links would provide more information about troubleshooting this error for your reference:
    http://sadomovalex.blogspot.com/2013/08/return-json-from-asmx-when-call-it.html
    http://www.codeproject.com/Tips/761116/Troubleshooting-an-Issue-With-Calling-an-asmx-Web
    Feel free to reply with the test result if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Dump while saving the project

    Hi all,
    System is giving dump while saving the changes in the project.
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         Short text of error message:
         Profitability segment number 0026636665 does not exist in operating conc
         ern XXXX!
         Long text of error message:
          Diagnosis
              The system discovered a serious inconsistency in the data basis of
              Profitability Analysis (CO-PA) This message should never occur in
              the course of normal operations.
              The system tried to find characteristics from the segment table
              CE4XXXX using the segment number 0026636665 in operating concern
               This profitability segment number does not exist.
              This can occur if you have deleted data from table CE4XXXX and have
              already assigned data to profitability segments in this operating
              concern.
              Another cause may be that you have changed the assignment of your
              controlling area to an operating concern. When this happens, the
              system tries to interpret the segment numbers in the new operating
              concern.
          System Response
              Do not continue processing.
          Procedure
              The data in the segment table needs to be reconstructed. It may be
              possible to re-enter the assignments to profitability segments.
              Look in OSS for notes regarding error message KE499. You may find
              information there that could help you solve the error.
              Otherwise contact your CO-PA consultant or create a problem
              message.
         Technical information about the message:
         Message class....... "KE"
         Number.............. 499
         Variable 1.......... 0026636665
         Variable 2.......... "XXXX"
         Variable 3.......... " "
         Variable 4.......... " "
    Process -
    From WBS element user fields, charactertics value are assigned to profitability segment through derivation rule
    WBS element values settles to Profitability segmnet.
    WBS element has system staus REL  ACPT RESA SETC
    System is giving dump while saving any changes in the project. can anybody tell what is root cause and solution for this issue?
    Thanks,
    Sudhir

    Request you to refer this note 199959.  Take help of you CO cosultant.
    Edited : Request you to check with your CO consultant as PSG has been deleted, take help fo ABAP as well. ( May be above note may not help you much,  WIth help of ABAP and CO define problem and than seach with your message KE499 in Service market place )  That would be better  approach.
    With Regards
    Nitin P.
    Edited by: Nitin  Patoliya on Mar 10, 2010 5:02 PM

  • An error occurred: Save document failed / An error occurred while saving the document: PATH (HDB 00055)

    Hello Colleagues, I am creating an analysis in build 576, everything goes well, the algorithm calculates the needed values, but when I try to save the analysis, I receive the following error message: "An error occurred: Save document failed / An error occurred while saving the document: <PATH> (HDB 00055)".
    Does anyone know what could cause this error message?
    Thanks a lot for any hint.
    Sergey

    Hi Henry,
    I am using PA 1.0.11 and received this error; any update on this fix for SAP PA. Does this happen for a particular data source.
    I am currently using Excel as source and whenever I try to use this data; I get this even if I move the data to a new file or rename a file. I tried to check the same issue with a different file and it works fine. This file worked fine a day back.
    Please let me know if this is unusual for this version.
    Regards,
    Arvind E

  • Warning massage while saving the asset master record

    Hi all,
    I have a problem while saving the asset master record.My client manages the group asset in the depreciation area 15 for tax reporting.What I have done in the configuration that, I have created a separate asset class for group asset and marked this asset for entirely consisting of group assets.Then I have createdall  the grpup assets in this marked class.For example, supppose I have created one group asset class 50000 and I have created all the group assets in this class.Then I assign the gr.asset no. in the master record of the normal assets and while saving the master record I am getting the warning massage as the account determination is different than the asset.It may't be possible to reconcile them from the FI-AA.But if I am creating the group assets in the class of the normal assets such type of error massage doesn't appear.Also while retiring the normal assets the asseet is not being deactivated automatically and instead a warning massage is coming the asset is still having value in the depreciation area 15 and can't be deactivated.Can any body suggest where I have gone wrong in the configuration?
    Debabrata Das

    Update delays sometimes mean that there is a queue waiting at the UPD task.  Go to SM51 and check to make sure that there are no other tasks waiting to be processed.  Check with you Basis group - they might be able to run some diagnostics on the update task.

  • Wanted to change the Exchange rate while saving the PO

    Hi,
    I have a requirement that i have to change the value of Exchange rate while saving the PO.
    Even i checked with more BADI's. but i am not able to update the new value.
    Can you tell me any specific user exits available for this.
    Thanks in Advance,
    Best Regards,
    Prabu

    Solved

  • Error messgae while saving the Notification

    HI All,
    We got one requirement, when we are creating the PM Notification (TC: IW21) we are assigning the already exiting PM work Order. After assigning the work order, we are saving the notification. While Saving the Notification the system should check whether the Maintenance Planning Plant (IWERK) and Planning Plant (SWERK) of Notification is same as Maintenance Planning Plant (IWERK) and Planning Plant (SWERK) of PM work Order.  If it is same then Notification should be saved else u201Cerror messageu201D should be displayed.
    Note:
    Maintenance Planning Plant (IWERK) is available in HEADER TAB of Notification or PM Work Order. That is next to Planner Group.
    Maintenance Planning Plant (SWERK) is available in LOCATION tab of Notification or PM Work Order. That is next to Planner Group.
    We are using the user exist QQMA0014 (PM notification: validitye checks during save) for this purpose. We are able to get the IWERK and SWERK value of PM work Order eassily, sine the data stored in AFIH and ILOA table (ILOA-ILOAN = AFIH-ILAON). Even we are able to get the IWERK value of Notification from VIQMEL structure before Notification saved. But we are not able to get the value of SWERK of Notification before saving the Notification because SWERK value is stored ILOA table. For accessing SWERK from ILOA table, we need ILAON from VIQMEL. The problem is ILOAN value is not avialable in VIQMEL before the Notifivation is saved.
    Please let me know how we can get this value or is ther is any other user exit from which, we can get this??
    Regards
    Ramu

    Dear Ramu,
    Can you once again come up with your querry in shot message.
    Regards,
    Kaushal rai

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • Userexit while saving the billing document

    Hi all,
    Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
    Regards,
    Puneet Makkar

    Hi,
    In preceding project, i had the same requirement.
    Price condition : copy from std price for minimum value.
    Use condition category (for specific determination price for invoice).
    In price procedure : apply requirement to active only for invoice (std = 22).
    Re determination of price during creation of invoice :
    use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
    modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
    Regards,
    Lionel

  • While saving the delivery no in VA02 dump error showing (Arithmatic overflo

    Hi,
    while saving the delivery no in VA02, one dump error getting displayed.
    Arithmatic over flow occurs.
    Can any one can say how to rectify the program to avoid dump error
    The below lines are showing in dump.
    Waiting for quick response.
    Error analysis                                                                 
                   An exception occurred that is explained in detail below.                                                       
                   The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not                                                       
                    caught in                                                       
                   procedure "USEREXIT_SAVE_DOCUMENT_PREPARE" "(FORM)", nor was it propagated by a                                                       
                    RAISING clause.                                                       
                   Since the caller of the procedure could not have anticipated that the                                                       
                   exception would occur, the current program is terminated.                                                       
                   The reason for the exception is:                                                       
                   An overflow was discovered in an ongoing arithmetical operation with                                                       
                   operands of type P. Possible causes are:                                                       
                   1. The result field of type P is too small for the result.                                                       
                   2. The result or a intermediate result has more than 31 decimal places.                                                       
         How to correct the error                                                                 
                   The result field must be enlarged, if this is still possible. It may                                                       
                   also be possible to break up the current process into subprocesses so                                                       
                   that only smaller values occur.                                                       
                   There may already be a solution to the error in the SAP notes system.                                                       
                   If you have access to the SAP notes system first try searching with the                                                       
                   following keywords:                                                       
                    "COMPUTE_BCD_OVERFLOW"                                                       
                    "BCD_FIELD_OVERFLOW" (Until release 4.0a, this runtime error occurred at this                                                       
                    position)                                                       
                    "SAPMV50A" or "ZSDI_MV50AFZ1_CRPC_CALC_4QA"                                                       
                    "USEREXIT_SAVE_DOCUMENT_PREPARE"               ***----
         Information on where terminated                                                                 
                   Termination occurred in the ABAP program "SAPMV50A" - in                                                       
                    "USEREXIT_SAVE_DOCUMENT_PREPARE".                                                       
                   The main program was "SAPMV50A ".                                                       
                   In the source code you have the termination point in line 666                                                       
                   of the (Include) program "ZSDI_MV50AFZ1_CRPC_CALC_4QA".                                                       
                   The termination is caused because exception "CX_SY_ARITHMETIC_OVERFLOW"                                                       
                    occurred in                                                       
                   procedure "USEREXIT_SAVE_DOCUMENT_PREPARE" "(FORM)", but it was neither handled                                                       
                    locally nor declared                                                       
                   in the RAISING clause of its signature.                                                       
                   The procedure is in program "SAPMV50A "; its source code begins in line                                                       
                   208 of the (Include program "MV50AFZ1 ".
    657                           ADD: xvbap-brgew TO l_w_tot_list_vals-brgew,                                                  
         658                                xvbap-zzlogpoint TO l_w_tot_list_vals-zlogpoint,                                                  
         659                               xvbap-zztotgrossvalue TO                                                  
         660                               l_w_tot_list_vals-totgrossvalue.                                                  
         661                                                                 
         662                                                                 
         663                           l_w_tot_list_vals-gewei = xvbap-gewei.                                                  
         664                                                                 
         665                           IF NOT xvbap-pstyv IN zzt_free.                                                  
         >>>>>                             ADD xvbap-volum TO l_w_tot_list_vals-volum.                                                  
         667                           ELSE.                                                  
         668                             ADD xvbap-volum TO l_w_tot_list_vals-volum_f.                                                  
         669                           ENDIF.                                                  
         670                           ADD 1 TO l_w_tot_list_vals-zw_nbitem.
    Best Regards,
    BDP
    Edited by: Bansidhar Padhy on Jan 26, 2010 8:24 AM

    ADD xvbap-volum TO l_w_tot_list_vals-volum.
    Declare l_w_tot_list_vals-volum as  "like vbap-volum" or (preferably) "type volum_ap".
    If you're using a packed decimal, you've done something like....  volum(5) type p decimals 2, which is a great way to get an overflow...if you use packed decimals in a program...declare <field> type p decimals <n> without a length attribute, so that SAP can use the full 8 bytes for the calculation.....the put it into a alpha field for display, if needed....

  • Changes in the material, the order should be blocked while saving the order

    Hi,
    A sales order is already there and delivery is not yet done. The requirement is, If I make any changes in the material, the order should be blocked while saving the order.
    Is there any indicators or some fields which tells material is changed in the order. How this can be realised.
    I thought of table CDPOS, but this can be used only after Order is saved.
    Please provide your inputs.

    Use user-exit MV45AFZZ, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE.  Compare the values in XVBAP-MATNR(New Values) and YVBAP-MATNR(Old values).  If the values are different, update the value VBAK-LIFSK to block the order.

  • Automatic Picking giving error while saving the Delivery

    Hi
    We have done the configuration for doing automatic picking while saving the delivery.
    Steps done are
    1. TCode V/38
    2. TCode OVLT  where we have changed the Time value form 3 to 4 for  Send Immediate
    3. TCode VP01SHP where all shipping points are maintained.
    we are getting the following error while saving the delivery.

    Execute ST22 and go through the explanation given under the tab "Error analysis" and "How to correct the error".  Ask your ABAP team to look into this if you are not able to find out the root cause of the issue.
    G. Lakshmipathi

Maybe you are looking for

  • Acrobat Reader X / 10 - javascript console problem / crash

    Hi, I develop adobe interactive forms and need javascript console badly! My system: Windows XP Prof. Acrobat Reader 10 (free) Internet Explorer 8 Adobe Livecycle Designer ES 9 (latest version) The javascript console works just fine if I start an adob

  • Performance of ramjournal

    Hi, Has someone done some tests with ramjournal? What I found is that the performance of versionedPutAll gets worse when the cache size grows. Is this the case for anyone? I am using 2 nodes storage enabled and a cache in distributed-scheme. I am usi

  • Is this customization possible?

    I'm new to XML/XSL so I'm not sure if this is even possible. Our company's default web page header is a combination of javascripts and graphics files. How can I customize it so that every page displays this header instead of all the buttons and oracl

  • Generation of DME file in FI_CO

    Hi all, I have a requirement to generate dme file for singapore with three record sturture namely - header record, detail record, trailer record. can anyone please tell me what is the standard program which generates such kind of file format. Please

  • Implement BADI MRM_MRKO_HDAT_MODIFY

    Hi, While trying to make a consignment settlement (Transaction MRKO) I get the message "For document type RE, an entry is required in field Reference". Based on my analysis I would have to implement the BADI MRM_MRKO_HDAT_MODIFY to solve this problem