Material desc automatically filled when enter material number  using SM30

Hi all,
I have  created Z table with fields material number(MATNR) and material description. Iam maintaing table using SM 30 transaction. If  I enter material number  the material description automatically filled when press enter button.
Is there any solution for this
Thanks
Sudarsana

Hello,
whenever you create a maintainance for a table an SAP program is generated which will have the name SAPL(name of the function group to which the table is assigned)....you can go directly to the program inside SM30 by clicking on the top menu -> system -> status ->program name and screen number
inside SM30 go to the screen where you have to see the description(based on 1step and 2step ) and note the screen number and program name
once you go the program -> go to the particular screen -> and confirm the screen
inside the PAI or PBO
write the code :
if Material number is not initial.
select and put material description into the screen field for text.
else.
clear the value for text in screen field
endif.
Disadvantages : whenever you create a new maintainance by using the table maintainance generator the code is over written
solution:the screen code will be always over written..but inside the SAPL program when you create the PBO/PAI make an include and save it...when regenerating the include will not be over written but you will have to go to the screen flow logic and give the name of the PBO/PAI modules
A table once finalised will not require regenerating the maintainance again but this is a draw back ...but the solution just provided is the widely accepted and followed one
Reward if useful
Regards
Byju

Similar Messages

  • Invoice and Invoice amount in FI/CO When enter check number

    Hi  All,
       I have a requirement like this. We have custom t-code ZF04 ( FAST CASH ) to post payments to customer accounts. In this t-code, we have one field for Check#.  When they enter Check# number and click on 'SEARCH' icon i need to display list of invoices and amounts with in a check.
    I have no idea about tables,. Where to look? What tables do i need to look when enter check number, which returns invoice details.
    Please let me know ASAP....
    I appreciate your help!
    Thanks,
    Suneetha

    Hi,
    One question - Are you getting customer payment trrough <b>LOCKBOX</b>? If yes, then following are the tables
    Check tables <b>FEBKO</b> and <b>FEBEP.</b> The field is <b>FEBEP-CHECT</b> for check number. For this check number take <b>FEBEP-KUKEY</b>. With this KUKEY read table FEBRE. <b>FEBRE-VWEZW is the invoice number</b>.
    So, sequence is
    1. Put Check# --> FEBEP-CHECT  and get FEBEP-KUKEY
    2. Put FEBEP-KUKEY into --> FEBRE-KUKEY
    3. FEBRE-VWEZW is invoice no.
    If you are not using LOCKBOX, How are you getting customer payment? Let me know so i can give you exact answer.
    Regards,
    RS

  • The padlock icon shown when entering secure sites using Firefox 3.x is not displayed using Firefox 4. How can this be restored? Is it indicating another problem?

    The padlock icon shown when entering secure sites using Firefox 3.x is not displayed using Firefox 4.

    It has been changed. Please read this article:
    https://support.mozilla.com/en-US/kb/Site%20Identity%20Button
    You can use this add-on to get the classic icon back:
    https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/

  • Error when entering serial number to redeem digital copy.

    I recieved an error when entering the serial number for my digital copy of Juno and have been unable to download the digital copy into itunes.
    However I have since recieved a reciept from apple for the "purchase". Can the serial number be "unclaimed" so I can reenter and redownload the the file. Or will "check for purchases" simply restart the download if I have the Juno disk in the drive.

    The error was "Unable to connect to iTunes Music store .....". Which was not the case since I could quite happily move round the rest of the store.
    I haven't attempted "checking for purchases", since I just thought of it whilst writing the original post, and I am not at my home PC.
    But thanks for the sarcastic response anyway . I was hoping someone who had had a similar problem to me would be able to say. "Yep check for purchase will restart download process" or otherwise say nope , you've got to call apple. Hence the original question.
    Message was edited by: mlockley

  • Material description is missing when replicating material from R/3 to CRM

    Hi Experts,
    I am facing middleware error.
    I have replicated a material from R/3 to CRM system.
    I am able to see all the details in CRM except the material description in CRM.
    The material i have replicated from R/3 to CRM has a description in R/3 but the same description is missing in CRM and it is showing blank.
    Please help me to solve this.
    Thanks

    Hi,
      Go to the COMM_PRSHTEXT see the table entries is there are not. Pass product GUID in this table and check.
    Regards
    Srinu

  • Miro: When enter op number,fill a special value into  SGTXT automatically

    Hi guys
       When user inputs the PO number, PO description will be filled into the field TEXT on the line item automatically. So user can view it
      After my testing again and again, I did not find there is an optional user exit or badi(listed below) to meet this requirement.
    It would be great enough if you can help me resolving this issue ASAP.
    BADI:      invoice_update
    User Exit:
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    Thanks a lot.
    -Daniel

    i have fix the bug.
    IF_EX_AC_DOCUMENT~CHANGE_INITIAL
    IF NOT sy-tcode = 'MIRO'.
        EXIT.
      ENDIF.
    Variant
      FIELD-SYMBOLS: <fs_table> TYPE ANY TABLE,
                     <fs_line>  TYPE ANY,
                     <fs_ktosl> TYPE accit-ktosl,
                     <fs_buzid> TYPE accit-buzid,
                     <fs_sgtxt> TYPE accit-sgtxt.
      DATA: lv_sgtxt TYPE accit-sgtxt.
    Get the SGTXT value on the Basic data tab
      ASSIGN ('(SAPLMRMP)XACCIT[]') TO <fs_table>.
    Checking the field symbol
      IF <fs_table> IS NOT ASSIGNED.
        EXIT.
      ENDIF.
      LOOP AT <fs_table> ASSIGNING <fs_line>.
        IF SY-TABIX = 1.
          ASSIGN COMPONENT 'SGTXT' OF STRUCTURE <fs_line> TO   <fs_sgtxt>.
          lv_sgtxt = <fs_sgtxt>.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF lv_sgtxt IS INITIAL.
        EXIT.
      ENDIF.
    Fill the long text(SGTXT) into the tax item line
      LOOP AT <fs_table> ASSIGNING <fs_line>.
        ASSIGN COMPONENT 'BUZID' OF STRUCTURE <fs_line> TO   <fs_buzid>.
        IF <fs_buzid> = 'T'.
          ASSIGN COMPONENT 'SGTXT' OF STRUCTURE <fs_line> TO  <fs_sgtxt>.
          IF <fs_sgtxt> = space.
            <fs_sgtxt> = lv_sgtxt.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Thanks a lot.

  • Material document automatic fill position with user exit or BADI in  MB1B

    Hi gurus,
    We have this requeriment.
    We need to modify a material movement via customizing and enable a new field (Order) in it. (At header's level)
    After that, in MB1B, we need that  after input a maintenance order in that field, the first position in material document will be filled with material and quantity from the order.
    The question in...is there any user-exit or badi that allows me to do this implementation??
    A lot of thanks!!
    Edited by: Cap_ES on Oct 27, 2009 8:30 AM

    As i saw, this requeriment is not possible.
    I'll close the post.

  • BBP_GET_STATUS_2 only works when entering SC number

    Hi all.
    SRM 4.0.
    I am seeing some strange behaviours in my system these days. The job BBP_GET_STATUS_2 is set up in batch to run every 5 minutes, but now I am seeing issues where the documents are not properly updated in SRM.
    The case is that in the user's Goods Receipt screen they have the list of purchase orders that are relevant for GR - once the GR has been posted, the PO will disappear from the screen. However, nowadays many POs do not automatically remove themselves from the users' GR screens. When I run the job BBP_GET_STATUS_2 manually and entering the SC number(s) everything works. So it seems the job is not working very well if no SC numbers are maintained in it.
    Has anyone else seen this type of strange behaviour? It seems strange to me that this should not be working in batch runs where it would make no sense to type in the SC numbers.
    DM

    Hi there.
    I have a batch running every 5 minutes with the steps
    CLEAN_REQREQ_UP
    BBP_GET_STATUS_2
    and the spool list tells me:
    Update Successful
        ...            6.466  Data Records Updated (SC Rows)
        and                0  Data Records Created (References)
    So this should be fine, right? But it is still not removing the purchase orders from the GR screen after this. What could be causing this?

  • Getting Message "the code you entered is invalid. Please try again" when entering serial number.

    I keep getting the message "The code you entered is invalid. Please try again" when I enter my serial number. My hard-drive/computer was completely wiped but I bought Adobe CS and still have my proof of purchase. I am unable to redeem my purchase and re-download.

    Which product and version does this concern?  What do you mean  when you say "unable to redeem my purchase" ?
    If the code you are entering is not a set of 24 numbers (only numbers), 6 sets of 4 digits,  then it is not the serial number.

  • How is TKOMK filled when entering function module RV_INVOICE_DOCUMENT_ADD

    Hello,
    I am debugging the Invoice program, SAPMV60A, and the table I am interested in is TKOMK. When I am in MV60AF0B_BELEG_SICHERN TKOMK is empty but when I enter function module RV_INVOICE_DOCUMENT_ADD TKOMK is already filled, and I can't see how.
    Can anyone tell me where the information comes from?

    Hi
    FM RV_INVOICE_DOCUMENT_ADD  belongs to function group V60A, both programs SAPMV60A and SAPLV60A have an internal table called TKOMK, so I think another fm of V60A fills the table TKOMK and so you can see it as soon you enter in a fm of V60A.
    Max

  • Create materialized view is failing when refresh fast is used

    version 10.2.0.4 on solaris
    This statement is working fine
    CREATE MATERIALIZED VIEW MVIEW1
    TABLESPACE MIS_CURD01
    BUILD IMMEDIATE
    as
    SELECT ACTIVITY_ID "ACTIVITY_ID",
    ASSOC_ID "ASSOC_ID",
    PIT_ROLE_CODE "PIT_ROLE_CODE",
    PIT_BANK_CODE "PIT_BANK_CODE",
    PIT_COST_CENTER "PIT_COST_CENTER",
    RESP_ASSOC_IND "RESP_ASSOC_IND"
    FROM TABLE1@DBLINK;
    The statement with fast refresh is failing with this error message
    ERROR at line 18:
    ORA-12018: following error encountered during code generation for
    "TABLE1"
    ORA-00942: table or view does not exist
    Here is the statement
    CREATE MATERIALIZED VIEW MVIEW1
    TABLESPACE MIS_CURD01
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX TABLESPACE MIS_CURI01
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    SELECT ACTIVITY_ID "ACTIVITY_ID",
    ASSOC_ID "ASSOC_ID",
    PIT_ROLE_CODE "PIT_ROLE_CODE",
    PIT_BANK_CODE "PIT_BANK_CODE",
    PIT_COST_CENTER "PIT_COST_CENTER",
    RESP_ASSOC_IND "RESP_ASSOC_IND"
    FROM TABLE1@DBLINK;
    Any idea what's going wrong here. Thanks for your help in advance.
    Edited by: user11319873 on Jun 30, 2010 4:17 PM

    Refresh FAST requires that
    a. An MV Log (Snapshot Log) be created on the source table
    b. The user doing the refresh (i.e. the account that the DBLink uses) has SELECT privilege on the MV Log.
    Hemant K Chitale

  • Can I change material group or division when the material still has stock?

    What will be effected?
    Thanks in advance,
    Linda
    Edited by: Linda Gao on Jun 23, 2011 6:06 PM

    Division: Changing a division might not have much impact.
    Material Group: Changing a material group will impact on the Purchasing.
      -->The info structures statistics might already been updated with the old material group.
    --> The release strategy has to be checked if you are using the material group.
    --> POs which has been ordered with the material group (like service)

  • When entering a number to dial, how is a + entered in the number?

    This must be an easy question to answer - unfortunately I can't! I have a need to enter a PLUS in front of an international phone no. The ZERO button doubles a the + button but I can't figure out how to not enter the zero. I looked in the manual and don't see any info on this.
    Thanks, Bob

    Thanks for the prompt answer.
    These APPLE forums are great!

  • How to use Javascript, C#, or Java to automatically fill out a PDF file using ACROBAT PRO

    Hi.
    I have purchased a copy of acrobat pro and am currently using it to try to create a method of populating certain fields in a PDF file.
    This particualar scenerio is a printable cerficiate, it has a spot for the persons First Name, Last Name, and other basic info.
    So we have an exisiting editable PDF, a database with the user's info, and a ASP.NET web server, and of course Acrobat Pro.
    How can I use these components to create an auto fill script?
    Ideally, we'd genereate these certs on the fly, and allow users to download them.
    A code sample would be awesome.
    Thanks!
    --shawn

    I've discovered that you can create a "PDF Form" and edit that form with Javascript.
    My question now is, what is the prefered method for controlling the pdf form?
    I would like to include the PDF file in an HTML page and edit the form fields using javascript in that HTML page.
    I think that this is how developers are meant to work with dynamic pdf files.
    In the acrobat javascript reference, it only shows an example using the acrobat javascript console.
    If anyone has used Javascript with PDFs, I would highly appricate some input.
    Thanks,
    -- shawn

  • How can I update some field values after entering mat. number in purc. req?

    Hi.
    We want Account Assignment Category field to come as "K" for some material numbers. After we enter material number in ME51N screen, if material number is one of our "K" related materials, Account Assignment Category field should be updated automatically as "K".
    Account assignment tab becomes active in item level after entering "K" and we want "cost center" field to be filled in that tab according to given material number.
    These fields can be updated during creating or when saving the purchase requisions. Any suggessions please?
    Regards.

    Hi faramozza ,
    you can achieve this by implementing either customer exit or BADI.
    In purchase requisition context these could be useful:
    Customer Exit:
    MEREQ001
    BADI:
    ME_PROCESS_PR_REQ
    Regards
    REA

Maybe you are looking for

  • How to configure OCS mail to send out s

    dear all, i have OCS R2 on Linux AS. i can send send/recive emials localy but we need to start send/recive email outside the domian to send to hotmail, yahoo...etc. i search alot and tried to configer the SMTP relay server but i am still not able to

  • Cisco ASA 8.4 Command logging in ACS

    Hello, I have set up command authorisation on a ASA 8.4 firewall, and everything seems to work fine. The only problem is that the commands executed on the device such as ssh or asdm access does not show up in the TACACS+ Administration log on de ACS

  • Buckets dynamic- series

    Hello all, I am using Oracle 11g release 2. I want to generate he buckets dynamically in chart. For instance, sales figure is between 1 to 30. I want the number of buckets to be always be 5. If I need to be between 10-30 out of 1-30, I want evenly di

  • Portal material

    hi all, iam a abaper, now iam learning PORTALS,any body can help me in searching the material, iam tryiing for last three days,  but i did't find correct material even hard copies are also not available in the market, after 15days iam going to handle

  • Creating a gradient Background

    Hi, I would like to choose a light pink color (color really doesn't matter, I'm just choosing this color) at the top of my background and have a gradient vertically finishing as white. (Really blocking the light pink) This would be the background of