Update note of table HRT*

Table HRT* menyimpan text atau note dari data tebla HRP*. Sebagai contoh adalah HRT1002 subtype 0002 yang menyimpan note atau description business event content (object type = ‘D’).

note event type

Berikut adalah list FM yang berkaitan dengan table HRT :

    1. FM RH_OBJECT_DESCRIPTION_WRITE untuk create note
DATA: lt_txt1002 LIKE pt1002 OCCURS 0 WITH HEADER LINE.

lt_txt1002-tline = "write your text in here".
APPEND lt_txt1002.

CALL FUNCTION 'RH_OBJECT_DESCRIPTION_WRITE'
  EXPORTING
    plvar                = '01'
    otype                = 'D'
    objid                = HRP1000-OBJID
    begda                = p_begda
    endda                = p_endda
    subty                = '0002'
  TABLES
    ptxt1002             = lt_txt1002
  EXCEPTIONS
    object_not_found     = 1
    description_required = 2
    no_authority         = 3
    error_during_insert  = 4
    invalid_date         = 5
    undefined            = 6
    OTHERS               = 7.
  1. FM RH_OBJECT_DESCRIPTION_READ untuk get note

Hope it helps.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: