Function Module Related to Travel Management

ENQUEUE_EPTRV & DEQUEUE_EPTRV
Lock & unlock user.

FITP_CREATE_TRIP_FROM_REQUEST
Create data trip.

HRTRV_IF_GET_TRIP
Get data Trip.

HRTRV_IF_MODIFY_TRIP
Modify data trip, termasuk status trip.

BAPI_TRIP_DELETE
Hapus data trip.

BAPI_TRIP_CHECK_STATUS
Check status trip.

  DATA: lt_trips    TYPE TABLE OF bapitrip WITH HEADER LINE,
        lt_amounts  TYPE TABLE OF bapitrvsum WITH HEADER LINE.

  CALL FUNCTION 'BAPI_TRIP_CHECK_STATUS'
    EXPORTING
      employeenumber    = PTRV_HEAD-PERNR
      tripnumber        = PTRV_HEAD-REINR
      calculate_amounts = 'X'
    TABLES
      trips             = lt_trips
      amounts           = lt_amounts.

BAPI_TRIP_APPROVE
Merubah status Approval menjadi ‘Request Approved’ atau ‘Trip Approved’.

BAPI_TRIP_CHANGE_STATUS
Merubah status Trip.

HRCA_ACC_TRAVEL_CHECK
Check budget travel.

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