<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CREATING ASSET USING BAPI  'BAPI_FIXEDASSET_CREATE1' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549170#M1074313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do we use  BAPI_FIXEDASSET_OVRTAKE_CREATE bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 07:06:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T07:06:39Z</dc:date>
    <item>
      <title>CREATING ASSET USING BAPI  'BAPI_FIXEDASSET_CREATE1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549168#M1074311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GUYS,&lt;/P&gt;&lt;P&gt;I AM  ABLE TO CREATE THE ASSET WHEN I RUN THE FUNCTION MODULE 'BAPI_FIXEDASSET_CREATE1' ITS SHOWING THAT THE ASSET HAS BEEN CREATED BUT WHEN I GO TO TRANSACTION AS03 THE SYSTEM THROWS AN ERROR STATING THAT THE ASSET NOT IN THE COMPANY CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHAT IS THE SOLUTION TO THIS ERROR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND IF ANYONE HAS A SAMPLE CODE FOR CREATING ASSET USING 'BAPI_FIXEDASSET_CREATE1' &lt;/P&gt;&lt;P&gt;PLEASE MENTION THE LINKS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549168#M1074311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T06:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: CREATING ASSET USING BAPI  'BAPI_FIXEDASSET_CREATE1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549169#M1074312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to use 'BAPI_FIXEDASSET_CREATE1' to upload fixed assets.Try this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM zf_bapi_call USING ps_ls_asset TYPE t_asset&lt;/P&gt;&lt;P&gt;CHANGING ps_ls_asset_created TYPE bapi1022_reference&lt;/P&gt;&lt;P&gt;ps_ws_error TYPE string.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;ls_key TYPE bapi1022_key,&lt;/P&gt;&lt;P&gt;ls_general_data TYPE bapi1022_feglg001,&lt;/P&gt;&lt;P&gt;ls_general_data_x TYPE bapi1022_feglg001x,&lt;/P&gt;&lt;P&gt;ls_inventory TYPE bapi1022_feglg011,&lt;/P&gt;&lt;P&gt;ls_inventory_x TYPE bapi1022_feglg011x,&lt;/P&gt;&lt;P&gt;ls_posting_information TYPE bapi1022_feglg002,&lt;/P&gt;&lt;P&gt;ls_posting_information_x TYPE bapi1022_feglg002x,&lt;/P&gt;&lt;P&gt;ls_time_dependent_data TYPE bapi1022_feglg003,&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x TYPE bapi1022_feglg003x,&lt;/P&gt;&lt;P&gt;ls_allocations TYPE bapi1022_feglg004,&lt;/P&gt;&lt;P&gt;ls_allocations_x TYPE bapi1022_feglg004x,&lt;/P&gt;&lt;P&gt;ls_origin TYPE bapi1022_feglg009,&lt;/P&gt;&lt;P&gt;ls_origin_x TYPE bapi1022_feglg009x,&lt;/P&gt;&lt;P&gt;ls_invest_acct_assignmnt TYPE bapi1022_feglg010,&lt;/P&gt;&lt;P&gt;ls_invest_acct_assignmnt_x TYPE bapi1022_feglg010x,&lt;/P&gt;&lt;P&gt;ls_real_estate TYPE bapi1022_feglg007,&lt;/P&gt;&lt;P&gt;ls_real_estate_x TYPE bapi1022_feglg007x,&lt;/P&gt;&lt;P&gt;ls_return TYPE bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required fields - Create internal asset number ***** &lt;/P&gt;&lt;P&gt;Company code &lt;/P&gt;&lt;P&gt;ls_key-companycode = ps_ls_asset-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset class &lt;/P&gt;&lt;P&gt;ls_general_data-assetclass = ps_ls_asset-anlkl.&lt;/P&gt;&lt;P&gt;ls_general_data_x-assetclass = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required fields - General Mills ***** &lt;/P&gt;&lt;P&gt;Asset Description &lt;/P&gt;&lt;P&gt;ls_general_data-descript = ps_ls_asset-txt50.&lt;/P&gt;&lt;P&gt;ls_general_data_x-descript = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cost center &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-costcenter = ps_ls_asset-kostl.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-costcenter = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-plant = ps_ls_asset-werks.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-plant = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset location &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-location = ps_ls_asset-stort.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-location = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smart entity &lt;/P&gt;&lt;P&gt;ls_allocations-evalgroup2 = ps_ls_asset-ord42.&lt;/P&gt;&lt;P&gt;ls_allocations_x-evalgroup2 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tax Facility Code &lt;/P&gt;&lt;P&gt;ls_allocations-evalgroup5 = ps_ls_asset-gdlgrp.&lt;/P&gt;&lt;P&gt;ls_allocations_x-evalgroup5 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset capitalization date &lt;/P&gt;&lt;P&gt;ls_posting_information-cap_date = ps_ls_asset-aktiv.&lt;/P&gt;&lt;P&gt;ls_posting_information_x-cap_date = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Optional fields ***** &lt;/P&gt;&lt;P&gt;Asset Description 2 &lt;/P&gt;&lt;P&gt;ls_general_data-descript2 = ps_ls_asset-txa50.&lt;/P&gt;&lt;P&gt;ls_general_data_x-descript2 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serial number &lt;/P&gt;&lt;P&gt;ls_general_data-serial_no = ps_ls_asset-sernr.&lt;/P&gt;&lt;P&gt;ls_general_data_x-serial_no = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset is managed historically &lt;/P&gt;&lt;P&gt;ls_general_data-history = c_updated.&lt;/P&gt;&lt;P&gt;ls_general_data_x-history = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inventory number &lt;/P&gt;&lt;P&gt;ls_general_data-invent_no = ps_ls_asset-invnr.&lt;/P&gt;&lt;P&gt;ls_general_data_x-invent_no = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last inventory date &lt;/P&gt;&lt;P&gt;ls_inventory-date = ps_ls_asset-ivdat.&lt;/P&gt;&lt;P&gt;ls_inventory_x-date = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supplementary inventory specifications &lt;/P&gt;&lt;P&gt;ls_inventory-note = ps_ls_asset-invzu.&lt;/P&gt;&lt;P&gt;ls_inventory_x-note = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inventory indicator &lt;/P&gt;&lt;P&gt;ls_inventory-include_in_list = c_updated.&lt;/P&gt;&lt;P&gt;ls_inventory_x-include_in_list = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Area &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-bus_area = ps_ls_asset-gsber.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-bus_area = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cost center responsible for asset &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-resp_cctr = ps_ls_asset-kostlv.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-resp_cctr = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Room &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-room = ps_ls_asset-raumn.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-room = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;License plate no. of vehichle &lt;/P&gt;&lt;P&gt;ls_time_dependent_data-plate_no = ps_ls_asset-kfzkz.&lt;/P&gt;&lt;P&gt;ls_time_dependent_data_x-license_plate_no = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platform &lt;/P&gt;&lt;P&gt;ls_allocations-evalgroup1 = ps_ls_asset-ord41.&lt;/P&gt;&lt;P&gt;ls_allocations_x-evalgroup1 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GMI Class Code &lt;/P&gt;&lt;P&gt;ls_allocations-evalgroup3 = ps_ls_asset-ord43.&lt;/P&gt;&lt;P&gt;ls_allocations_x-evalgroup3 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location Type &lt;/P&gt;&lt;P&gt;ls_allocations-evalgroup4 = ps_ls_asset-ord44.&lt;/P&gt;&lt;P&gt;ls_allocations_x-evalgroup4 = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason for investment &lt;/P&gt;&lt;P&gt;ls_allocations-inv_reason = ps_ls_asset-izwek.&lt;/P&gt;&lt;P&gt;ls_allocations_x-inv_reason = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manufacturer of asset &lt;/P&gt;&lt;P&gt;ls_origin-manufacturer = ps_ls_asset-herst.&lt;/P&gt;&lt;P&gt;ls_origin_x-manufacturer = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of asset supplier &lt;/P&gt;&lt;P&gt;ls_origin-vendor = ps_ls_asset-liefe.&lt;/P&gt;&lt;P&gt;ls_origin_x-vendor = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset type name &lt;/P&gt;&lt;P&gt;ls_origin-type_name = ps_ls_asset-typbz.&lt;/P&gt;&lt;P&gt;ls_origin_x-type_name = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WBS element investment project - external key &lt;/P&gt;&lt;P&gt;ls_invest_acct_assignmnt-wbs_element = ps_ls_asset-posid.&lt;/P&gt;&lt;P&gt;ls_invest_acct_assignmnt_x-wbs_element = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local tax office &lt;/P&gt;&lt;P&gt;ls_real_estate-tax_office = ps_ls_asset-fiamt.&lt;/P&gt;&lt;P&gt;ls_real_estate_x-tax_office = c_updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &lt;STRONG&gt;'BAPI_FIXEDASSET_CREATE1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;key = ls_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TESTRUN = 'X' &lt;/P&gt;&lt;P&gt;generaldata = ls_general_data&lt;/P&gt;&lt;P&gt;generaldatax = ls_general_data_x&lt;/P&gt;&lt;P&gt;inventory = ls_inventory&lt;/P&gt;&lt;P&gt;inventoryx = ls_inventory_x&lt;/P&gt;&lt;P&gt;postinginformation = ls_posting_information&lt;/P&gt;&lt;P&gt;postinginformationx = ls_posting_information_x&lt;/P&gt;&lt;P&gt;timedependentdata = ls_time_dependent_data&lt;/P&gt;&lt;P&gt;timedependentdatax = ls_time_dependent_data_x&lt;/P&gt;&lt;P&gt;allocations = ls_allocations&lt;/P&gt;&lt;P&gt;allocationsx = ls_allocations_x&lt;/P&gt;&lt;P&gt;origin = ls_origin&lt;/P&gt;&lt;P&gt;originx = ls_origin_x&lt;/P&gt;&lt;P&gt;investacctassignmnt = ls_invest_acct_assignmnt&lt;/P&gt;&lt;P&gt;investacctassignmntx = ls_invest_acct_assignmnt_x&lt;/P&gt;&lt;P&gt;realestate = ls_real_estate&lt;/P&gt;&lt;P&gt;realestatex = ls_real_estate_x&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;assetcreated = ps_ls_asset_created&lt;/P&gt;&lt;P&gt;return = ls_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ls_return-type = 'S'.&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CLEAR: ps_ls_asset_created.&lt;/P&gt;&lt;P&gt;ps_ws_error = ls_return-message.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " zf_bapi_call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, use the bapi &lt;STRONG&gt;BAPI_FIXEDASSET_OVRTAKE_CREATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549169#M1074312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T06:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: CREATING ASSET USING BAPI  'BAPI_FIXEDASSET_CREATE1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549170#M1074313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do we use  BAPI_FIXEDASSET_OVRTAKE_CREATE bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549170#M1074313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: CREATING ASSET USING BAPI  'BAPI_FIXEDASSET_CREATE1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549171#M1074314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt; You have used the right bapi just check once that you have used BAPI_TRANSACTION_COMMIT after BAPI_FIXEDASSET_CREATE1 if not you need to use this before checking with asset details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-asset-using-bapi-bapi-fixedasset-create1/m-p/4549171#M1074314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T07:50:54Z</dc:date>
    </item>
  </channel>
</rss>

