Automate

 View Only
Expand all | Collapse all

How to record and map company code field in KE51 for profit center creation

  • 1.  How to record and map company code field in KE51 for profit center creation

    Posted 06-19-2023 12:07

    Hi All,

              How to record and map company code field in KE51 for profit center creation script? Appreciate your advice on it.

    Regards,

    Paul



    ------------------------------
    Paulra Ponnusamy
    Applegreen Plc
    Dublin 12
    ------------------------------


  • 2.  RE: How to record and map company code field in KE51 for profit center creation

    Employee
    Posted 06-20-2023 12:08

    Hi Paulra

    It requires GUI scripting, because the company code column cannot be selected for searching in standard recording modes.

    You can also use Direct with BAPI: BAPI_PROFITCENTER_CREATE   There is an example template in the SAP Module Templates group here:  https://community.precisely.com/viewdocument/create-profit-center?CommunityKey=e1f0c200-ca7e-46e7-b5c7-01855e5120c7&tab=librarydocuments 

     There's a change version, too:.BAPI_PROFITCENTER_CHANGE  but no example in the template library.

    HTH,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------