Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

installation fact update

Hi...

Can enybody tell me if there is a function module I can use in order to update installation fact from ETTIFB table?

I've found BAPI_UTILINSTALLATION_CHANFACT but it seems to work only for ETTIFN table.

Thank you.

Tags:
replied

Hi Victor,

You can see the sample code below.

data: lv_ettifb type ettifb occurs 0 with header line,

lv_iettifb type ISU_IETTIFN.

lv_ettifb-mandt = sy-mandt.

lv_ettifb-anlage = gv_eanl-anlage.

lv_ettifb-operand = 'VA_RTYPE'(201).

lv_ettifb-ab = C_20080701.

lv_ettifb-bis = C_99991231.

append lv_ettifb.

lv_ettifb-mandt = sy-mandt.

lv_ettifb-anlage = gv_eanl-anlage.

lv_ettifb-operand = 'VREBSLID'(202).

lv_ettifb-ab = C_20080701.

lv_ettifb-bis = C_99991231.

append lv_ettifb.

describe table lv_ettifb lines lv_line.

if lv_line > 0.

refresh lv_iettifb.

loop at lv_ettifb into lv_linet.

append lv_linet to lv_iettifb.

endloop.

  • Updating the Database for Installation with data populated from above steps

call function 'ISU_DB_ETTIFB_UPDATE'

EXPORTING

x_upd_mode = 'M'

x_iettifn = lv_iettifb.

Regards,

Jyothi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question