How to change the description in CV03(N) transaction ?

How to chnage the long test description in CV03N transaction  
Posted: Jan 10, 2010 11:36 PM     Edit          Reply 
Hi Friends,
I have a requirement as below:
1. Excecute the transaction CV04N
2. Give Document value(s) and Excecute
3. Double click on any row on the ALV generated which takes you to CV03N transaction
4. Here in the additional data Tab, I need to concatenate Subject1,Subject3,Subject3 values and this value need to be put Description in the Document data Tab.
Ex:
If Subject1 = Test1, Subject2 = Test2 and Subject3 = Test3 then i have to change the description as Test1
Test2 Test3 When the change followed by save is clicked.
Please drop your suitable answers ASAP.
Below is the code i have used using the BADI 'DOCUMENT_MAIN01' and the method 'AFTER_SAVE'.
Below is the code :
  TYPES:
    BEGIN OF ty_ausp,
      objek TYPE ausp-objek,        "Key of object to be classified
      atinn TYPE ausp-atinn,        "Internal characteristic
      atwrt TYPE ausp-atwrt,        "Characteristic Value
    END OF ty_ausp.
  DATA:
    w_objek      TYPE ausp-objek,
    w_ltext(120) TYPE c,
    w_name       TYPE thead-tdname,        "Name
    wa_drat      TYPE drat,
    wa_ausp      TYPE ty_ausp,
    wa_tline     TYPE tline,
    wa_draw      TYPE draw,
    t_ausp       TYPE STANDARD TABLE OF ty_ausp,
    wa_thead      TYPE thead,              "SAPscript: Text Header
    t_tline      TYPE STANDARD TABLE OF tline.
  CLEAR w_objek.
  w_objek+0(3)  = draw-dokar.
  w_objek+3(25) = draw-doknr.
  w_objek+28(2) = draw-dokvr.
  w_objek+30(3) = draw-doktl.
  SELECT objek                         " Key of object to be classified
         atinn                         " Internal characteristic
         atwrt                         " Characteristic Value
    INTO TABLE t_ausp
    FROM ausp
   WHERE objek = w_objek
     AND atinn IN ('0000000858', '0000001038', '0000001039' ).
  IF sy-subrc = 0.
    SORT t_ausp BY objek atinn.
  ENDIF.                               " IF sy-subrc = 0.
  LOOP AT t_ausp INTO wa_ausp.
    CONCATENATE w_ltext wa_ausp-atwrt INTO w_ltext SEPARATED BY space.
  ENDLOOP.                             " LOOP AT t_ausp INTO wa_ausp.
  CLEAR w_name.
  MOVE draw TO wa_draw.
  w_name+0(3) = wa_draw-mandt.
  w_name+3(3) = wa_draw-dokar.
  w_name+6(25) = wa_draw-doknr.
  w_name+31(2) = wa_draw-dokvr.
  w_name+33(3) = wa_draw-doktl.
  REFRESH t_tline.
  CALL FUNCTION 'DELETE_TEXT'
    EXPORTING
    CLIENT                = SY-MANDT
      id                    = 'LTXT'
      language              = 'E'
      name                  = w_name
      object                = 'DRAT'
    savemode_direct        = ' '
    textmemory_only        = ' '
    local_cat              = ' '
   EXCEPTIONS
     not_found              = 1
     OTHERS                 = 2.
  IF sy-subrc <> 0.                    "IF sy-subrc <> 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.                               "IF sy-subrc <> 0.
  wa_tline-tdformat = '='.
  wa_tline-tdline = w_ltext.
  APPEND wa_tline TO t_tline.
  wa_thead-tdobject = 'DRAT'.
  wa_thead-tdname = w_name.
  wa_thead-tdid = 'LTXT'.
  wa_thead-tdspras = 'E'.
wa_thead-tdtitle = w_ltext.
  DATA:
    w_function TYPE c,
    wa_newheader  TYPE thead.
  CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
     CLIENT                = SY-MANDT
      header                = wa_thead
      insert                = ' '
     SAVEMODE_DIRECT        = 'V'
    OWNER_SPECIFIED       = ' '
    LOCAL_CAT             = ' '
   IMPORTING
     function              = w_function
     newheader             = wa_newheader
    TABLES
      lines                 = t_tline
   EXCEPTIONS
      id                    = 1
      language              = 2
      name                  = 3
      object                = 4
      OTHERS                = 5.
  IF sy-subrc <> 0.                    "IF sy-subrc <> 0.
Raise message
  ENDIF.
  REFRESH t_tline[].
  CLEAR wa_thead.
  CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT                        = SY-MANDT
      id                    = 'LTXT'
      language              = 'E'
      name                  = w_name
      object                = 'DRAT'
    ARCHIVE_HANDLE                = 0
    LOCAL_CAT                     = ' '
   IMPORTING
     header                        = wa_thead
    TABLES
      lines                         = t_tline
   EXCEPTIONS
     id                            = 1
     language                      = 2
     name                          = 3
     not_found                     = 4
     object                        = 5
     reference_check               = 6
     wrong_access_to_archive       = 7
     OTHERS                        = 8.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
Please help why it is not getting effeted OR
Give a differnt way of Solving this issue.
Please drop your suitable answers ASAP.
Regards,
Rama.P

Hi Claud,
Go to SPROSRM ServerCross App Basic SettingsNumber rangesDefine transaction typesSelect BUS2200 and double click on transaction typesHere you will see BID (transaction type)--Just double click on this and in the screen that follows change the description.
PS: The system will generate a transport request.
Regards,
Nikhil

Similar Messages

  • How to change the description

    hi all,
    can any body tell how to change the description of the field in the sales order.ex pricing date to customer date some thing like that

    (same answer) for the same question
    Hi,
    to modify the description of field :
    SE38 with program : RSMODWRD
    Enter your field (data element) + language.
    Another way :
    TCode : CMOD and in menu bar Goto / Text enhancements / keywords/Change
    I think, a direct transaction exists but i don't find.
    Regards,
    Lionel

  • How to change the description of Transaction Type

    hi ,expert
       i want to change the description of Tansaction type.
        eg, change the description of BUS2200 :'RFx  '   to 'RFQ' . 
        please give me some advice. thanks in advance.
         regards
                claud

    Hi Claud,
    Go to SPROSRM ServerCross App Basic SettingsNumber rangesDefine transaction typesSelect BUS2200 and double click on transaction typesHere you will see BID (transaction type)--Just double click on this and in the screen that follows change the description.
    PS: The system will generate a transport request.
    Regards,
    Nikhil

  • How to change the description of a program or report

    Hi,
    I had copy a report of and changed thereby the name.
    But the description is still the same and I can't find
    a way to change this.
    The problem with the description is that it appears
    as program-title in selection-screen-->select-options.
    Thanks for help

    Hi
    change the attributes or
    In the REPORT along with name
    declare NO STANDARD PAGE HEADING
    it will not display the report description in the output.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to change the description of a selection screen

    Hi , I created a selection screen with the description as 'Test' , now the program has grown real big . I want to change the desccription to something else as it shows at the top of the selection screen. Can this be done with out copying the program to a new progarm with a new description. I mean , is there a way to change the current description .
    Thank you .

    Hi
    in SE38 Enter the program name.
    Select the Radio button<b> Attributes.</b>
    Change the <b>Title </b>of the Program.
    This title will appear in the selection screen as well as the list by default.
    We can also set this TITLE dynamically using the command.
    SET TITLE-BAR 'T1'.  "double click on T1 and create (Activate) it.
    <b>reward if Helpful.</b>

  • How to change the description of variant article

    Hi All,
    I need to append some value( size or country) to the variant article description.
    suppose if the generic article no is 123456 (football shoe)then the variant article numbers will be
    123456001 , 123456002 etc...which is done by default by SAP. and the description also is taken from geenric article football shoe, same like generic article, this we need to change.
    now the description of the variant article also will be taken from Generic article.
    but here the description is to be chagned(appened) with some value.
    ex. football shoe IN 9 (indicating the India and size 9)...
    iam looking at some enhancement MGW00002 and user exit:EXIT_SAPLMGNK_003, but this is useful only to change the variant article number not description.
    Any hints will be great help.

    Hi,
       I know I am a little to late to the party! But for all those who are going to search for this in the future there is a very good blog...i am posting the link below...
    Basically run the program RDDIT076...
    http://scn.sap.com/community/abap/blog/2015/03/12/program-to-change-transport-request-description-after-release
    Regards,
    Divaker

  • How to change the user status from CJ01 transaction

    Hello All,
    I am doing a BDC in CJ01 transaction where there is a field called "User Status" .
    This field is not editable. However the requirement is to populate this field with some value based on some other entries.
    Is there any Function module / BAPI to update user status from CJ01.
    Thanks in advance.
    Regards
    Indrajit

    Hi Anbu
        Thanks for your kindness.
         I had got the proper badi definition ( RECN_CONTRACT ) before. I have try to implement the badi in my implementation YCL_IM_RECN_CONTRACT and below is my example codes. It can update the user status when the SAVE button is pressed. My example codes are below:
    METHOD if_ex_recn_contract~check_all.
      DATA:
          cl_recn_contract   TYPE REF TO cl_recn_contract.
      DATA: r_status_mngr TYPE REF TO if_reca_status_mngr.
      DATA: lv_status_profile TYPE j_stsma.
      DATA: lt_status TYPE re_t_status,
                ls_status TYPE LINE OF re_t_status.
      DATA: r_message TYPE REF TO if_reca_message_list.
      cl_recn_contract ?= io_object.
      CHECK if_before_store = 'X'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->get_current_status
        IMPORTING
          ed_status_scheme = lv_status_profile
          et_status        = lt_status.
      lv_status_profile = 'ZBCIA01'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status_profile
        EXPORTING
          id_status_profile = lv_status_profile.
      READ TABLE lt_status INTO ls_status INDEX 2.
      ls_status-stat = 'E0001'.
      ls_status-inact = ''.
      MODIFY lt_status FROM ls_status INDEX 2.
       CALL METHOD cf_reca_message_list=>create
         RECEIVING
           ro_instance = r_message.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status
        EXPORTING
          it_status           = lt_status
          if_only_user_status = 'X'
          io_msglist          = r_message.
      REFRESH lt_status.
    ENDMETHOD.

  • Change the Description of Purchasing Organization

    Hi Frenz,
      Could some body guide me how to change the description for the Purchasing organization?
    Saurabh

    in IMG the path is..
    SAP Customizing Implementation Guide
    Enterprise Structure
    Definition
    Materials Management
        Maintain Purchasing Organization

  • How can I change the description of a control Icon with property nodes?

    hi
    I want to change the description of a control Icon and use for this the property nodes, but I don't know how. Who can help me?
    labprog

    If you're referring to the control's name on the screen, you can't change the label while the VI is running because it's part of the control's definition. Instead, make the label invisible and the caption visible and use the property Caption.
    If this doesn't help, elaborate more on what it is you need.
    Try to take over the world!

  • How do I change the description in a url icon

    Hi, I like being able to drag a url down to the dock to create a permanent shortcut to that webpage, but how do I change the description that appears above the url icon? I want to create shortcuts to some google forms I created, but when I do so the description is always the URL, which isn't helpful. I need to change the desciption so it says "timesheet" or "sign up form" instead of the url. Is that possible?
    Screenshot attached to demonstrate. As you can see in the screenshot, when I hover my mouse over the URL icon, the url appears as a description. But the description is not helpful. I want to change that description to a custom description.
    http://cl.ly/2w1w103S361F2K3y0v2u - screenshot

    Awesome. Thanks. Found a website that showed me how to find the .png for that icon.
    Here's the whole process now, in order, for perpetuity's sake.
    1) Highlight the URL of the website you want to create a dock bookmark for.
    2) Drag the highlighted URL to the desktop, which creates a .webloc file.
    3) Open terminal and type in the following (which will open the icon in preview)
    open /System/Library/CoreServices/Dock.app/Contents/Resources/url.png
    4) In preview, highlight the icon and select "copy"
    5) Select the .webloc file on the desktop and choose "get information", which is command-i
    6. Change the name of the file to whatever you want, leaving the .webloc in place.
    7) Select the small icon in the upper left corner. When you do, it will highlight.
    8) Hit "command-v" to paste the icon previously selected over the old icon.
    9) Now drag your newly-icon'd file to the dock, which essentially creates a shortcut.
    10) Place the newly-icon'd .webloc file somewhere safe on your computer.
    11) Congratulate self and thank Matthew Morgan for his help.

  • Change the description of the line in the EMOLUMENTS PAID in the FORM16

    Hello Seniors,
    A small issue regarding the change the name of the FIXED DA to DEARNESS ALLOWANCE in the EMOLUMENTS PAID in the FORM16.
    my client asked me to change the description of the DA.
    how can i change this, programm HINCF160 is SAP STANDARD it is not changeable.
    please help me regarding this.
    thanks & regards,
    praneeth kumar

    Hi Praneeth,
    Even i m trying the same at my company, but it is without ESS...so doing RND on tht... Just check this link out...it may be helpful for you...also i dnt found ur E-mail ID in ur Business card...
    http://help.sap.com/saphelp_46c/helpdata/EN/53/6e693fa14411d19d450000e8215202/frameset.htm
    Regards,
    Prasad Lad

  • How to change the desription of a standard SAP field in the Search Help

    Hi All,
    In Table T023T there is a field WGBEZ60(Long text describing the material group) and the data element of the field is WGBEZ60.
    Requirement is to change the description of the field WGBEZ60.The desription of the  field is - Description 2 for the material group.
    But the user want as - Description for the material group. He dont want 2 in the description.
    we are using this field in the search help of Material group for the transaction ME21N and ME51N.
    So please tell me how can we change the description of the field in the Search help.
    Thanks.
    Regards,
    Peeyush

    As search help uses data element , it shows its keyword. So you have to do modification to that keyword.
    - Go to CMOD
    - from top menu GOTO -> Text enhancements -> Keywords -> Change -> type WGBEZ60 -> change the description -> Save and add it to transport
    - now use that data element either on the screen or search help. It will have the descripiton modified.
    Regards
    Marcin

  • Change the description of the field

    Dear All
    I have a requirement where in i have to change the decription of the field " sales district" to "cluster" in the customer master.Can anybody please guide me how to do that??I have tried to go to SE11 against the table KNVV & searched for VKBUR field to change the description but wasnt able to navigate further to resolve the issue.

    Hi,
    use transaction cmod.  In the menu point GoTo -> Text enhancements -> Keywords -> change. You will see a pop up Key in your data element. Now you can change the field describtion.
    Regards
    William

  • Change the description of the product attributes

    Hi,
    I want to change the description of the product attributes from 1 - 6(Check Box)  in MM02 in the SALES : Sales Org 2 Tab.
    How to do this.
    Kindly let me know.
    Regards
    Manoj

    Hi dude,
           You can try Text Enhancements for ur Data Element  in CMOD.
           Tcode  CMOD, Goto>text enhancements>Data Elements-->NewDEcust Doc.
    Regards
    Srikanth M

  • How to change the reason in a ICWC-followup-process with the copying-BAdI?

    Hi all,
    I want to use the followup- and docflow-functionality in ICWC to copy most of the information from one process to another.
    I made the definition of a copying control in the customizing -> working with a new BAdI and the copying routine. Everything works fine so far: I can get/change the description in the BAdIs ORDERADM_H method or the ibase information REFOBJ method for examples.
    The question is now how to get/change the reason of the process?
    Working with the genil_model_browser the reason is located in BTOrderHeader->BTHeaderBOSSet->BTSubjectSet_F->BTSubject_A1. Where can I find the reason in the BAdI methods?
    Thanks for your help.
    Regards,
    Benjamin

    Hi
    Put a break point in crm_order_maintain to see what structures and fields you need to fill out.  Then change the reason code in crm online, you will have all the data you need.
    Here is some code I used in the he badi order_save, method prepare.
      data:
        IV_REF_HANDLE     TYPE     CRMT_HANDLE,
        IV_REF_GUID     TYPE     CRMT_OBJECT_GUID,
        IV_REF_KIND     TYPE     CRMT_OBJECT_KIND,
        IS_SRV_OSSET_COM     TYPE     CRMT_SRV_OSSET_COM2,
        IT_SRV_REFOBJ_COM     TYPE     CRMT_SRV_REFOBJ_COMT,
        IT_SRV_SUBJECT_COM     TYPE     CRMT_SRV_SUBJECT_COMT,
        is_srv_subject_com type CRMT_SRV_SUBJECT_COM,
        ET_SRV_OSSET_COMT     TYPE     CRMT_SRV_OSSET_COMT,
        LT_SRV_OSSET_COMT     TYPE     CRMT_SRV_OSSET_COMT,
        ET_INPUT_FIELDS     TYPE      CRMT_INPUT_FIELD_TAB,
        ET_EXCEPTION TYPE  CRMT_EXCEPTION_T,
        tab_osset type CRMT_SRV_OSSET_COMT1,
        wa_osset like line of tab_osset,
        wa_srv like line of ET_SRV_OSSET_COMT,
        new_srv type CRMT_SRV_OSSET_COMT,
        call_list_name type char50,
        query_text(80).
      refresh: ET_INPUT_FIELDS,
                       IT_SRV_SUBJECT_COM.
              clear: is_srv_subject_com,
                     IS_SRV_OSSET_COM.
              IV_REF_KIND = 'A'.
              iv_ref_guid = iv_guid.
              IS_SRV_OSSET_COM-SUBJECT_PROFILE = 'Z00000002'.
              IS_SRV_OSSET_COM-PROFILE_TYPE = 'F'.
              is_srv_subject_com-ref_handle = '0000000002'.
              is_srv_subject_com-KATALOGART = 'A1'.
              is_srv_subject_com-CODEGRUPPE = 'Z0000002'.
              is_srv_subject_com-CODE = 'ZAA'.
              is_srv_subject_com-DEFQUANTITY = 0.
              is_srv_subject_com-MODE = 'A'.
              append is_srv_subject_com to IT_SRV_SUBJECT_COM.
              CALL FUNCTION 'CRM_SERVICE_OS_SET_DATA'
                EXPORTING
                  IV_REF_GUID        = iv_ref_guid
                  IV_REF_KIND        = 'A'
                  IS_SRV_OSSET_COM   = IS_SRV_OSSET_COM
                  IT_SRV_SUBJECT_COM = IT_SRV_SUBJECT_COM
                IMPORTING
                  ET_SRV_OSSET_COMT  = et_srv_osset_comt
                EXCEPTIONS
                  ERROR_OCCURRED     = 1
                  INVALID_GUID       = 2
                  NO_RECORD_EXIST    = 3
                  OTHERS             = 4.
              IF SY-SUBRC <> 0.
              ENDIF.
              CALL FUNCTION 'CRM_SERVICE_OS_PUT_DATA'
                IMPORTING
                  ET_SRV_OSSET_COM = et_srv_osset_comt
                  ET_INPUT_FIELDS  = ET_INPUT_FIELDS.
              read table LT_SRV_OSSET_COMT index 1 into wa_srv.
              if sy-subrc = 0.
                tab_osset[] = wa_SRV-osset[].
              endif.
              loop at ET_SRV_OSSET_COMT into wa_srv.
                append lines of tab_osset to wa_srv-osset.
              endloop.
              append wa_srv to new_srv.
            else.
              new_srv[] = LT_SRV_OSSET_COMT[].
            endif.
            CALL FUNCTION 'CRM_ORDER_MAINTAIN'
              EXPORTING
                IT_SERVICE_OS     = new_srv
              IMPORTING
                ET_EXCEPTION      = et_exception
              CHANGING
                CT_INPUT_FIELDS   = ET_INPUT_FIELDS
              EXCEPTIONS
                ERROR_OCCURRED    = 1
                DOCUMENT_LOCKED   = 2
                NO_CHANGE_ALLOWED = 3
                NO_AUTHORITY      = 4
                OTHERS            = 5.

Maybe you are looking for

  • External Hard Drive does not mount

    My 2TB external hard drive does not mount and I cannot get it to.  Have tried turning the hard drive off and then back on.  No response.  Any thoughts as to how I can get it to be recognized?

  • Multiple disk group pros/cons

    hello all, This is with regards to 11.2.0.3 DB(RAC) on RHEL 6 i am trying to identify the pro's/con's of using multiple ASM Diskgroup.  I understand oracle recommends/best practice is to have 2 DG (one data and one flash) and you can place multiple c

  • Windows encountered problem

    Hi all, I have a problem on my Windows Vista that began afetr the purchase of an external Hard Disk Freecom. A few days afetr the purchase I disconnected it while it was writing and, since that moment, every time I connect and disconnect it, the PC g

  • Need graphics card advice.

    I purchased a new laptop from BB about 6 months ago, a Toshiba Satellite P875. I need a graphics card with at least 128mb of dedicated memory and think I only have a chip with 32mb of dedicated memory. I was wondering if anyone knows what would be go

  • End to End Single Sign-On

    With Crystal Reports server XI r2  using IIS and SQL server, I am trying to configure end to end single sign on.  The sign on to infoview works, but when the reports are refreshed from infoview they run under the domain service account that was creat