2009 Apr 06 5:03 PM
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.
2009 Apr 06 5:11 PM
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
2009 Apr 07 11:40 AM
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...
2009 Apr 16 12:14 PM
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.
2009 Apr 17 2:28 PM
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