Skip to Content
author's profile photo Former Member
Former Member

How to update ADRT-REMARK field (by which tcode)?

How to update ADRT-REMARK field (by which tcode)?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 27, 2009 at 07:50 AM

    This field updates from some certain transaction like XD02>from address tab? Click on other communication and select email>from pop-up here you may have option give notes along with email id which going to store in ADRT-REMARK. Same with XK02 for vendor.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2009 at 07:32 AM

    Hi,

    Try to use the tcode MEAN. I think there will be a field in the transaction to enter the remark.

    Regards,

    Aditya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2009 at 07:51 AM

    Hi,

    ADRT-REMARK basically stores the notes which you enter against any communication number such as Telephone Number, Fax number etc for any business partner.

    Say for example if you want to address details of a customer via XD01 or XD02; then in the communication tab enter the telephone number or fax number.

    Click the button to add more details or more telephone numbers.

    Over there you will find a field called as Comments.

    This field is ADRT-REMARK.

    You do not have a single transaction to maintain this field.

    It depends upon the business partner for whom you want to add the details.

    For a customer it is XD01 or XD02

    For a vendor it is XK01 or XK02.

    For a business partner it is BP.

    For a user it is SU01D.

    Regards,

    Ankur Parab

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      I got success to update REMARK field in ADRT table.

      We can do following steps :

      Get Sequence number:

      CALL FUNCTION 'ADDR_SELECT_ADRCOMC_SINGLE'

      EXPORTING

      addrnumber = p_adrnr "Address Number

      TABLES

      et_adrcomc = lt_adrcomc.

      IF sy-subrc EQ 0.

      SORT lt_adrcomc BY comm_type.

      READ TABLE lt_adrcomc

      INTO ls_adrcomc

      WITH KEY comm_type = 'INT'

      BINARY SEARCH.

      IF sy-subrc EQ 0.

      ls_commtab-consnumber = ls_adrcomc-high_value + 1. "Sequence Number

      ENDIF.

      ENDIF.

      ls_commtab-smtp_addr = p_email. "Email Address

      ls_commtab-remark = p_remark. "Remark to add

      ls_commtab-updateflag = 'I'. "Flag for insert

      APPEND ls_commtab TO lt_commtab.

      Update Remark in XD02 (ADRT table)

      CALL FUNCTION 'ADDR_COMM_MAINTAIN'

      EXPORTING

      address_number = p_adrnr "Address Number

      date_from = '00010101'

      language = sy-langu

      table_type = 'ADSMTP' "Constant

      check_address = 'X'

      iv_time_dependence = 'X'

      iv_consider_adrcomc_for_insert = 'X'

      IMPORTING

      returncode = lv_return

      TABLES

      comm_table = lt_commtab.

      IF sy-subrc = 0.

      IF p_test IS INITIAL.

      CALL FUNCTION 'ADDR_MEMORY_SAVE'.

      ENDIF.

      IF sy-subrc = 0.

      WRITE : / 'Table ADRT is updated successfully for address :',

      p_adrnr.

      ENDIF.

      ELSE.

      WRITE : / 'Error- Table ADRT is not updated for address : ',

      p_adrnr.

      ENDIF.

      Once data is updated in remark field of ADRT table, it will be reflected in XD02 also.

      Please let me know if I am not clear enough.

      Thank you !
      Harish Bhatt

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.