Skip to Content
avatar image
Former Member

System parameters

Dear experts,

would like to use the BOPF key of the freight unit as an input in a function module to set the cargo receipt Status to "delivered" using Action

Set_cargo_receipt_delivered. But, I cannot find the table where the System Parameters of the event handler are stored.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Dec 30, 2014 at 11:48 PM

    have found it myself. I am selecting the system parameters using the following statement:

    Select * from /SAPTRX/rp_sydat
    into table lt_rp_sydat

    where appobjid = i_eai-event_msg-hdr-trxid

    IF sy-subrc = 0.

    LOOP at lt_rp_sydat
    assigning <ls_rp_sydat>

    where paramname = 'ODT20_TOR_ROOT_K'

    APPEND INITIAL LINE to lt_key
    ASSIGNING <ls_key>

    <ls_key>-key = <ls_rp_sydat>-value.

    ENDLOOP.

    ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Petra,

      /SAPTRX/rp_sydat and other tables starting with /SAPTRX/RP* are used to store temporarily EH Data in case an EH is locked during update. They will be deleted if the job to process locked EH is running or during the next update of the EH.

      So it is not a good idea to use these tables.

      The table names of the EH Header Extensions you can find in transaction /N/SAPTRX/TSC0ET.

      Best regards,

      Steffen