SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

updating installation facts using BAPI_UTILINSTALLATION_CHANFACT

Former Member
0 Kudos
1,540

hi,

I am using BAPI_UTILINSTALLATION_CHANFACT to change the factor operand value in installation fact.

however it is not getting update.

I do get a message saying it has been updated. the usage is as below...

  • CALL FUNCTION 'BAPI_UTILINSTALLATION_CHANFACT'

  • EXPORTING

  • number = wa_ever_open-anlage

  • UPDFORCE = 'X'

  • IMPORTING

  • RETURN = wa_return

    • OVERWRITE =

  • TABLES

    • AMOUNTTABLE =

    • QUANTTABLE =

    • DEMANDTABLE =

    • TQUANTTABLE =

  • FACTORTABLE = lt_factor

    • FLAGTABLE =

    • INTEGERTABLE =

    • RATETYPETABLE =

    • QPRICETABLE =

    • USERDEFTABLE =

    • TPRICETABLE =

    • SPRICETABLE =

    • LPRICETABLE =

    • ADISCABSTABLE =

    • ADISCPERTABLE =

    • DDISCNTTABLE =

    • PDISCNTTABLE =

    • QDISCNTTABLE =

  • .

can anyone please let me know what could be going wrong...

thanks,

Arindam.

4 REPLIES 4

Former Member
0 Kudos
598

Hi Arindam,

I think you are not importing the FLAGTABLE table with the operand and flag status (' ' Or 'X')

Operand which should be added at installtion fact level.

With regards,

Sunil

Former Member
0 Kudos
598

i followed up on the help extended.

it didn't work...

i have now used ISU_DB_ETTIFN_SELECT

and ISU_DB_ETTIFN_UPDATE for the updation...

ralf_hakspiel
Explorer
0 Kudos
598

Hello there!

I have experienced the same: calling function module, but no update!

Try a commit work, and then it will work:

for example:

CALL FUNCTION 'BAPI_UTILINSTALLATION_CHANFACT'

EXPORTING

NUMBER = gs_sap_daten-anlage

UPDFORCE = lv_UPDFOR

IMPORTING

RETURN = ls_return

OVERWRITE = overwrite

TABLES

FACTORTABLE = lt_FACTORTABLE.

commit work.

alexander_breuer
Product and Topic Expert
Product and Topic Expert
0 Kudos
598

Hi,

the most BAPI's don't executes a COMMIT WORK. Please have look to [SAP Note 131838|https://service.sap.com/sap/support/notes/131838].

BR Alexander