Upg.4.6 to 6.0:Material desc. change in PO

Hi all
In upgrade from 4.6 to 6.0 I am faceing the following problem:
Initially PO have material suppose "X" with description "cream".
I am using BAPI_PO_Change to add some text in PO next to description like
X -> cream Fat10, Protein 0.9
In 4.6 this is happening but with 6.0 I am getting the error as "Change Short Text could not be effected "
Can anyone tell me what could be the reason?
Thanks and Regards
Praful
Praful.

Hi Venkat,
I think you might have the change the form name in Nace.
Secondly, in you custorm form if you have any routines called then check the declaration-I am stressing on this because when you look at your PO item fields in 4.6c and ECC 6.0 , there are two new fields added -Iam not sure whether this would help you but just check in case .
lET ME KNOW IF YOU HAVE RESOLVED THE ISSUE
Thanks
venki

Similar Messages

  • Hide Material desc field

    Hi Experts,
    I need your advise on whether i can disable/hide <b>Material desc field</b> for whichever TCode that having the field originally.
    Please comment.
    Thanks in advance.

    ye u can do it.
    go with tcode SPRO
    logistic general---> material master ---> configuring the material master
    click on the doc.
    you can see the procedure.
    Procedure
    1. Carry out the IMG activity Create Program for Customized Subscreens. This requires you to do the following:
    a) Create a function group of your own, for example, with the name YENTERPRISE (steps 1 and 2 in the documentation for the IMG activity above).
    b) Copy subscreen SAPLMGD1 2301 (Purchasing Data: General Data) to SAPLYENTERPRISE 2301, and subscreenSAPLMGD1 2701 (Storage Data: General Data) to SAPLYENTERPRISE 2701 (steps 3 to 7).
    c) Remove all fields from subscreen SAPLYENTERPRISE 2301 with the exception of the Purchasing group, Material group, and Order unit using the Screen Painter (transaction SE51) (step 8).
    Make sure that the fields you have removed are no longer included in checks. You do this by searching for the fields in the source code and making the lines in which they appear comment lines.
    Using the Screen Painter, rename the frame text of both subscreens as follows:
    General data -> Purchasing data: General data
    General data -> Storage data: General data
    2. Access the activity Define Structure of Data Screens for Each Screen Sequence, and do the following:
    a) Create a new screen sequence, for example, with the ID ZY, by copying screen sequence 21.
    b) Select screen sequence ZY and double-click Data screens.
    c) With the exception of the data screens Basic Data 1 and Purchasing, delete all other data screens from screen sequence ZY
    d) Rename the data screens as follows:
    Basic Data 1 -> Basic Data
    Purchasing   -> Purchasing/Storage
    e) Assign the maintenance status L (storage) to the data screen Purchasing/Storage in addition to the screen's present maintenance status E (purchasing) since the screen now contains purchasing fields and storage fields.
    f) Select the data screen Basic Data and double-click Subscreens. View the data screen and identify the subscreen assignments you want to delete by counting from top to bottom. In this case, seven subscreens appear on the screen. Delete the third, fifth, sixth, and seventh.
    g) Select the data screen Purchasing/Storage and double-click Subscreens. Configure the data screen so that it contains the following subscreen assignments. (Subscreen SAPLMGD1 1005 is required because it contains the organizational level Storage location in addition to Plant.
            Program  Screen
            SAPLMGD1  1005 (material description)
            SAPLYENTERPRISE 2301 (purchasing data: general data)
            SAPLYENTERPRISE 2701 (storage data: general data)
            SAPLMGD1  2302 (purchasing values)
            SAPLMGD1  0001 (blank subscreen)
            SAPLMGD1  0001 (blank subscreen)
    3. Check the order of the two main screens in the activity Maintain Order of Main and Additional Screens.
    reward if useful.
    regards
    santhosh
    Message was edited by:
            Santhosh Reddy

  • Smartform material desc. window + zebra printer. 40 chars desc not display

    Hi All,
    I have a problem in printing the material description of 40 characters using zebra printer for label printing.
    If I take field of 40 characters, the printer is wrapping the text after 30 and print in the next line.
    So I divided the desc into 2 strings 30 and 10. and display them in 2 separate windows.
    but the problem is that it is taking space between these two strings, I tried to adjust the windows by overlapping them, but could not succeed .
    Printer settings can not be changed as client dont allow that to do.

    because its wrapping up the text after character 30 and if I print in the same window, it will not show at all
    like if my material desc. is like this:
    string 1
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 
    a a a    b b b b b  b        c  c   c       d   d   d      e   e   e   e        f    f   f    f        g 
    string 2
    1 2 3 4 5 6 7 8 9 10
    g g g g g
    in print out it should print without any spaces in between g(30) and g(1) , but it is taking a space.
    is it because I have taken 2 separate windows ? I need to check it by displaying both strings in the same window. I will check that one.

  • Material desc.,

    Hi Frds
    In my report im displaying Material Number and Material desc., of PR .
    For Example
    In PR 10 line items are there with different material code and different material desc.,In my output of the report ,im getting the first material desc., to all line items.
    can anyone tell me how to get the different mateirla desc., of all line item .
    Thanks
    Pari Vendhan.R

    Hi Akshay Raj 
    This my code ,correct my mistake ,
    TABLES: ekko,ekpo,eban,mara,makt.
    DATA : co_code1 LIKE ekko-bukrs, "Company Code
           plant1   LIKE eban-werks, "Plant
           pr_date1 LIKE eban-badat, "Purchase Requestion Date
           pr_no1   like eban-banfn. "Purchase Number
    selection-screen begin of block 01 with frame.
    selection-screen begin of block 02 with frame title text-001.
    SELECT-OPTIONS COMPANY FOR co_code1 obligatory.
    SELECT-OPTIONS PLANT   FOR plant1 obligatory.
    SELECT-OPTIONS PR_DATE FOR pr_date1.
    SELECT-OPTIONS PR_NO   FOR pr_no1.
    SELECTION-SCREEN END OF BLOCK 02.
    SELECTION-SCREEN END OF BLOCK 01.
    TYPE-POOLS: slis.                                 "Declarations
    *Internal table Declaration
    data: BEGIN OF itab occurs 0,
      banfn TYPE eban-banfn,  "PURCHASE REQUESTIN NUMBER
      badat TYPE eban-badat,  "PURCHASE DATE
      bnfpo TYPE eban-BNFPO,  "LINE ITEM NO
      matnr TYPE eban-matnr,  "MATERIAL NUMBER
      maktx TYPE makt-maktx,  "MATERIAL DESCRIBE
      txz01 type ekpo-txz01,  "SHORT TEXT
      ebeln TYPE eban-ebeln,  "PURCHASE ORDER NUMBER
      bedat TYPE ekko-bedat,  "PURCHASE ORDER DATE
      werks TYPE eban-werks,  "PLANT
      END OF itab.
    data : begin of ieban occurs 0,
          banfn like eban-banfn,
          badat like eban-badat,
          BNFPO like eban-BNFPO,
          matnr like eban-matnr,
          ebeln like eban-ebeln,
          werks like eban-werks,
      end of ieban.
    data : begin of imakt occurs 0,
      matnr like makt-matnr,
      maktx like makt-maktx,
    end of imakt.
    data : begin of iekko occurs 0,
      ebeln like ekko-ebeln,
      bedat like ekko-bedat,
      bukrs like ekko-bukrs,
    end of iekko.
    data : begin of iekpo occurs 0,
      ebeln like ekpo-ebeln,
      txz01 like ekpo-txz01,
    end of iekpo.
    *ALV data declarations
    DATA:BODY        TYPE SLIS_T_FIELDCAT_ALV,
         HEADER      TYPE SLIS_FIELDCAT_ALV,
         gd_layout   TYPE slis_layout_alv,
         gd_repid    LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      perform get_eban.
      PERFORM get_ekko.
      PERFORM get_ekpo.
      perform get_makt.
      perform data_retrieval.
      PERFORM FIELDCATALOG.
      perform build_layout.
      PERFORM ALVDISPLAY.
          Build Fieldcatalog for Report
    FORM fieldcatalog.
      HEADER-COL_POS = '1'.
      HEADER-SELTEXT_L = 'PR_NO'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'BANFN'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '2'.
      HEADER-SELTEXT_L = 'PR_DATE'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'BADAT'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '3'.
      HEADER-SELTEXT_L = 'LINE#'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'BNFPO'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '4'.
      HEADER-SELTEXT_L = 'MATERIAL_NO'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'MATNR'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '5'.
      HEADER-SELTEXT_L = 'MATERIAL_DESC'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'TXZ01'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '6'.
      HEADER-SELTEXT_L = 'PO_NUMBER'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'EBELN'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '7'.
      HEADER-SELTEXT_L = 'PO_DATE'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'BEDAT'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
      HEADER-COL_POS = '8'.
      HEADER-SELTEXT_L = 'PLANT'.
      HEADER-TABNAME = 'ITAB'.
      HEADER-FIELDNAME = 'WERKS'.
      APPEND HEADER TO BODY.
      CLEAR HEADER.
    ENDFORM.                    "build_fieldcatalog
    *&      Form  BUILD_LAYOUT
          Build layout for grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form ALVDISPLAY.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
            i_callback_program      = 'ZPRWISEPODETAILS'
               i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
               i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
            is_layout               = gd_layout
            it_fieldcat             = BODY
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
            i_save                  = 'X'
               is_variant              = z_template
             tables
            t_outtab                = itab
       exceptions
            program_error           = 1
            others                  = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
      sort ieban by badat banfn bnfpo.
      loop at ieban.
        loop at iekko where ebeln = ieban-ebeln.
          itab-banfn = ieban-banfn.
          itab-badat = ieban-badat.
       at new ebeln.
          itab-ebeln = ieban-ebeln.
       endat.
          itab-bedat = iekko-bedat.
          itab-bnfpo = ieban-bnfpo.
          itab-werks = ieban-werks.
          itab-matnr = ieban-matnr.
          read table iekpo with key ebeln = ieban-ebeln.
          itab-txz01 = iekpo-txz01.
         read table imakt with key matnr = ieban-matnr.
         itab-maktx = imakt-maktx.
          APPEND ITAB.
        endloop.
      ENDLOOP.
      clear : itab.
      clear : ieban, iekko, imakt.
    endform.                    " DATA_RETRIEVAL
    *&      Form  get_eban
          text
    form get_eban.
      select banfn badat BNFPO matnr ebeln werks FROM eban into table ieban
        where banfn in PR_NO and
              badat in pr_date and
              werks in plant and loekz = space.
      if sy-subrc <> 0.
        message 'No data Found for the selection ' type 'E'.
      endif.
    ENDFORM.                    "get_eban
    *&      Form  get_ekko
          text
    form get_ekko.
      select ebeln bedat bukrs from ekko into table IEKKO for all entries
    IN ieban where  ebeln = ieban-ebeln and bukrs in
    COMPANY.
      if sy-subrc <> 0.
        message 'No data Found for the selection ' type 'E'.
      endif.
    ENDFORM.                    "get_ekko
    *&      Form  get_makt
          text
    form get_makt.
      select matnr maktx from makt into table imakt for all entries in
        ieban where matnr = ieban-matnr.
    endform.                    "get_makt
    *&      Form  get_ekpo
          text
    form get_ekpo.
      select ebeln txz01 FROM ekpo into table iekpo FOR ALL ENTRIES IN
        iekko where ebeln = iekko-ebeln.
    ENDFORM.                    "get_ekpo

  • How to extend Sales org for a material being Changed

    Hi Experts,
    i need to extend sales org , distribution Channel for a material .
    my table look like this and having 6 fields shown below
      1             2         3               4            5                     6
    Sales org | Des | Distn Chnl | desc |  Copy from So | Copy from Dstn Chnl
    If the user enters the existing value in Copy From SO and Copy Fron Distn Chnl  .  Then i need to copy all the values corresponding to the Existing SO and Distrn Chnl to the Newly entered Sales Org . 
    the table im displaying in ALV , if user perss F4 in copy From SO and Copy From Distn  , i need to show the existing values for the material being changed , this is working fine and i am able to get the existing values.
    After user selects one of the existing value for SO and Distrn channel  , i need to copy all the values to newly created So and distrn Chnl  .
    i dont know how to proceed . Please help me to solve this problem.
    Thanks,
    Shrikanth

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • Accessing material master change information

    We have a requirement to pull all changes to material master records by month.  I know that I can hit the CDHDR and CDPOS tables using CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS functions to pull this; however our change tables are so huge that the program is timing out.  Running in background does not work either because the spool request only shows a few of the pages (10, I think) where the document is actually over a thousand printed pages.   I can't email the spool request either because the file is too large. 
    My question is...is there an infostructure that only contains material master changes (as opposed to all changes as in the CDHDR and CDPOS tables?)  I know that when you go into MM03 and view materail master changes they pull up really quickly.  Is this program hitting something else rather than the CDHDR and CDPOS tables?  How do they pull up so quickly even if there are many changes.
    Thanks in advance.

    >
    SDW wrote:
    > I know that when you go into MM03 and view materail master changes they pull up really quickly.  Is this program hitting something else rather than the CDHDR and CDPOS tables?  How do they pull up so quickly even if there are many changes.
    >
    That's the beauty of having the option to debug a program. Wondering how SAP reads the data fast: go debug!

  • Material Master Change History

    Some of our business users fail to or incorrectly modify certain fields for materials that are changed from manufactured to purchased and vice-versa.  Can you help me to find a way to extract material attribute changes by company code, division, a list of materials and the option to choose certain attributes to display the old and new values.  I can't currently find a way to drill down this far, as some materials have hundreds of changes.  Thanks.

    Hi Josh,
    Try MM04. It displays material change base on following factors
      Material            
      Change Number       
      Plant               
      Valuation Type      
      Sales Organization  
      Distribution Channel
      Warehouse Number    
      Storage Type                            
      Changed by          
      From change date    
    Is this ok for you...

  • Material master change report

    I've been asked to created a program for material master changes that will run nightly and send an e-mail if any field on any material number has changed that day.  I've checked into MM04 and MM44 but both run for a single material only.  Is there any report that will run for all materials and give the change records?  I'm trying to explore all options before writing a custom report.
    Thanks!

    see OSS note 336668, it describes a modification to MM04 which fulfills your requirement.

  • Material delta changes are not flowing into CRM

    Dear All,
    material delta changes are not flowing into CRM, because the product hierarchy on material has been changed to a new product hierarchy. I do not want to download again the object DNL_CUST_PROD1 because it maight cause inconstancies in CRM. (I have already defined some z product hierarchies in CRM)
    Do I need to create the new product hierarchy also in CRM manually?
    Appreciate any inputs
    Raj

    Hi Raj,
    Use the transacrion R3AR2 to create a z object for DNL_CUST_PROD1 and assign DNL_CUST_PROD1 as the object name
    Then in request detail screen for new z object enter the details like table name (T179 in your case) and the name of the product hierarchy that you want to bring in. Save the transaction
    Then use the transaction R3AR4 to initiate the download for your new z object as you normally do in R3AS.
    Then go to SMW01 and reprosess the struck Bdoc.
    Reward points if helps,
    Regards,
    Paul Kondaveeti

  • Table name for material master change

    What is the table name for material master change, so that I can get the old values and new values at plant level.
    More specific:
    I want to check the old values for Re order point and Safety stock in MRP1 and MRP2 fields in material master for many materials. Please help.

    Use CDPOS and CDHDR table to get the values which were changed.
    CDPOS>use fields Change doc. object give in as MATERIAL and in the Table name>MARC

  • How to trigger Material CIF change pointers when changing Source List

    I need to trigger a Material Change pointer (CIFMAT) creation when the Source List is updated for that material.  In BD52 (ALE configuration) table EORD is not an option for CIFMAT message type, so by standard ALE this can not be done automatically.  I could not find any BAdI/Userexit which will help me to create a material master change pointer so that the Material (Product) will be sent to APO via the CIF when the Source List in R/3 is changed.

    Hi , Can you please check user exit CIFMAT01 function module EXIT_SAPLCMAT_001.You can use this enhancement to influence the logic according to which material data from SAP R/3 is mapped to APO product interface data.
    I suggest to put logic in user exit to check table source list table EORD changes & trigger CIF for material master.You can pull  change data from table CDPOS using EORD table reference & material object value details.
    Based on change record CIF user exist should trigger material CIF run and feed to APO.
    Hope this solution will work in your case.thanks
    Sanjay Karkun

  • Why Material Classification Changes are not shown in MM04?

    I have a material; I changed classification data by changing a value of a
    Characteristic, e.g. unit of measure for reporting. It had allowed values of
    No entry, mg, kg..  I changed it from No entry to mg.
    However when I went to MM04; I do not see the change; why. I know
    When I make changes to non Classification data; I can see changes in mm04.

    Hi,
    I'm afraid you can't see these changes in MM04.                                                                               
    MM04 does not show the changes of classification of the material  master only the changes of fields which directly belong to material master. You can get the classification change docs in the classification screen: menu  Environment -> change docs.                                                                               
    Also note that Changes to the values of characteristics are not recorded in material master changes. These values are stored in the  classification tables and if you want to track changes of them, you have to use engineering change management.
    Thanx & Regards,
    Mauro
    Edited by: Mauro Bianchi on Aug 24, 2010 11:42 AM

  • Material master change with ECN mandatory?

    Dear All:
               How can I make the field of ECN number mandotary in case of  material master changing?  Thx.
    BR
    Kevin Dai

    Hi,
    For making Material Master change  with ECN mandatory you need to activate ECM.
    For more details of ECM, pls go through the following link :
    [Engineering Change Management|http://help.sap.com/erp2005_ehp_03/helpdata/EN/64/a49a382ba4e80fe10000009b38f8cf/frameset.htm]
    Hope this helps.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Nov 14, 2008 8:29 AM

  • Reg : material master change history

    Hi All.
    I am changing the value of the material master characterstic assigned to class under the classification TAB of material master.
    I want to extract the last chaged date of the characterstic value.
    The material master change history ( Table CDHDR)  is not reflecting the changes done to the characterstic value.
    Can anybody please suggest me how can i extract the change history of the characterstic value of a given class for a given material.
    Thanks
    Vijay

    Hi
    If a field is changed in any transaction with a new values those changes are recorded in CDHDR and CDPOS tables with the field name, Transaction name and field old and new values, changed by and date etc
    So you have to fetch the change data history from those tables passing the
    OBJECT CLAS = MATERIAl and the Objectid = Material no and fetch the data from CDHDR first and then for all entries of CDHDR fetch the data from CDPOS and use the data and required fields
    Regards

  • Material Master Change Documents

    We have currently added additional fields to MARA and I am trying to add the changing of these new fields to the Material Master Change Documents.  Does anyone know how I can accomplish this?

    Dear Khrista,
    I hope you are looking for change documents that would be generated whenever specific field value changes when you change material master. It would be stored in CDHDR and CDPOS.
    One way is to add custom fields to be considered is to implement a proper BAdi/Enhancement.
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Hope this will help.
    Regards,
    Naveen.

Maybe you are looking for

  • Dragging items in Cover Flow

    I really hope I'm not the only one this happens to. For some reason about 2 times out of 15 when I try to drag items from the list under the 'covers' in a finder window it won't let me. I.e. say I have 3 files in my finder and it's in cover flow view

  • Expand the selection Screen of  ME2L

    Hello everybody, please can someone tell me how can I expand the selection Screen of ME2L . Thanks best regards

  • Duplicate spread not at end of document

    When you duplicate a spread, how can it be duplicated to the next page rather than the end of the document? Thanks Ian

  • Oracle express 6.3.2 AIX

    Is there anywhere that I can download oracle express server version 6.3.2.0 for AIX 5.3 ??? Is this product still supported ?

  • MBP won't recognize tethered Verizon LG handset

    I am traveling through the US for a few months and have an LG handset that can be tethered as a modem to a computer. When I was given the handset a few months ago, I plugged it into my MBP (running Leopard .8) and the network preferences immediately