Skip to Content
author's profile photo Former Member
Former Member

Changes in installation facts

Hi experts,

I have to update one installation fact through an abap-program, but the customer requests to track the changes made on this installation fact.

Do you know if f.m. BAPI_UTILINSTALLATION_CHANFACT or ISU_INST_FACTS_UPDATE activate the changes track? Do you know any other f.m or program to achieve that?

What I need is if changes made are written also in tables CDHDR and CDPOS.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2014 at 08:11 PM

    Hi David

    The function ISU_INST_FACTS_UPDATE doesn't meet your requirements, because it doesn't update the applocation log tables CDHDR, CDPOS.

    You can use function BAPI_UTILINSTALLATION_CHANFACT.

    Personally, I'm not a big fan of BAPI functions, because the field names don't match the fieldnames of the underlying tables. You will find the function ISU_S_INSTLN_CHANGE inside, which is also used for the data migration workbench for migrating FACTS.

    Also in your case you want to select all the existing information of the installation, ideally in the format used for the ISU_S_INSTLN_CHANGE (see parameters X_AUTO/X_OBJ). This can easily be done via function ISU_S_INSTLN_PROVIDE:

    call function 'ISU_S_INSTLN_PROVIDE'

    * Do your changes

    call function 'ISU_S_INSTLN_CHANGE'

    commit work.

    Yep

    J├╝rgen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.