<?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 BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642013#M285922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has Someone used the screen exit for master data of fixed assets through group of functions XAIS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create fixed assets through the BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter to fill the user fields? I tried to use it but the BAPI allows sending just a registry in table EXTENSIONIN and in addition it does not place the values in the correct fields.&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, 30 Oct 2006 20:55:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-30T20:55:39Z</dc:date>
    <item>
      <title>BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642013#M285922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has Someone used the screen exit for master data of fixed assets through group of functions XAIS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create fixed assets through the BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter to fill the user fields? I tried to use it but the BAPI allows sending just a registry in table EXTENSIONIN and in addition it does not place the values in the correct fields.&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, 30 Oct 2006 20:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642013#M285922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T20:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642014#M285923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved a part of my problem, but I still have a question, I need to fill some fields of currency and integer that are user-defined fields. How can I fill them in the EXTENSIONIN parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 13:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642014#M285923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642015#M285924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar problem so I can indicate to you the right way to follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First of all, you must implement &amp;lt;b&amp;gt;SAP NOTE 947304 - BAPIs : ANLU value fields table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; you have to create and include an INCLUDE which has some typecasting routines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use as example the below code sequence (ask if questions)&lt;/P&gt;&lt;P&gt;a) Define necessary variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: g_extensionin TYPE TABLE OF bapiparex, 
          g_extin     TYPE bapiparex.
DATA: g_bapi_te_anlu TYPE bapi_te_anlu.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Prepare / fill variables with what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    REFRESH g_extensionin.

    CLEAR g_bapi_te_anlu.
    g_bapi_te_anlu-comp_code = g_mm_doc-bukrs.
    g_bapi_te_anlu-assetmaino = ''.
    g_bapi_te_anlu-assetsubno = ''.
    g_bapi_te_anlu-zz_mblnr = g_mm_doc-mblnr.
    g_bapi_te_anlu-zz_mjahr = g_mm_doc-mjahr.
    g_bapi_te_anlu-zz_zeile = g_mm_doc-zeile.
    g_bapi_te_anlu-zz_matnr = g_mm_doc-matnr.
    g_bapi_te_anlu-zz_name_rec = g_mm_doc-wempf.
    g_bapi_te_anlu-zz_name_asg = ''.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;c) Now, use this FORM routine from the above SAP Note, to correctly fill the EXTENSIONIN structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CLEAR g_extin.

    PERFORM value_to_string_transform
                USING
                   g_bapi_te_anlu
                CHANGING
                   g_extin.
    APPEND g_extin TO g_extensionin.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Finally call the BAPI with what you need / want, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      CALL FUNCTION 'BAPI_FIXEDASSET_CREATE1'
        EXPORTING
          key                        = g_key
*     REFERENCE                  =
*     CREATESUBNUMBER            =
*     POSTCAP                    =
*     CREATEGROUPASSET           =
          testrun                    = p_test
          generaldata                = g_gendata
          generaldatax               = g_gendatax
*     INVENTORY                  =
*     INVENTORYX                 =
          postinginformation         = g_postinfo
          postinginformationx        = g_postinfox
          timedependentdata          = g_timedep
          timedependentdatax         = g_timedepx
*     ALLOCATIONS                =
*     ALLOCATIONSX               =
          origin                     = g_original
          originx                    = g_originalx
*     INVESTACCTASSIGNMNT        =
*     INVESTACCTASSIGNMNTX       =
*     NETWORTHVALUATION          =
*     NETWORTHVALUATIONX         =
*     REALESTATE                 =
*     REALESTATEX                =
*     INSURANCE                  =
*     INSURANCEX                 =
*     LEASING                    =
*     LEASINGX                   =
       IMPORTING
*         companycode                =
         asset                      = g_mm_aa-anln1
         subnumber                  = g_mm_aa-anln2
*     ASSETCREATED               =
         return                     = g_bapi_return
       TABLES
*     DEPRECIATIONAREAS          =
*     DEPRECIATIONAREASX         =
*     INVESTMENT_SUPPORT         =
         extensionin                = g_extensionin
                .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 13:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642015#M285924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642016#M285925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This information is helpful but I am unable to find the Note specified by Doru (947304). How can this be implemented without it OR where can I find it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 00:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642016#M285925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T00:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642017#M285926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I forgot that note was not released yet - I received it directly from SAP.&lt;/P&gt;&lt;P&gt;Look here for the code from within the note. You have to save it in a Z* program which has to be included wherever you need.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;  Include           ZVALUEFIELD
*&amp;amp;---------------------------------------------------------------------*
* &amp;lt;&amp;lt;&amp;lt; BEGIN OF INSERTION - SPC947304 &amp;gt;&amp;gt;&amp;gt;

FORM string_to_value_transform TABLES it_extensionout CHANGING ls_bapi_anlu.

  DATA: ls_extensionout TYPE bapiparex.
  DATA: ld_string TYPE string.
  DATA: cp_tab  TYPE nls_langu_cp_tab.
  DATA: l_ref_cont  TYPE REF TO cl_nls_struc_container.
  field-symbols &amp;lt;lfs_anlu&amp;gt; type c.


*Read extension fields
  READ TABLE it_extensionout INDEX 1 INTO ls_extensionout.
  ld_string = ls_extensionout-valuepart1.

* a) Read Codepage
  CALL FUNCTION 'NLS_GET_LANGU_CP_TAB'
    EXPORTING
      destination = 'NONE'
    TABLES
      cp_tab      = cp_tab.
* b) create conversion object
  l_ref_cont = cl_nls_struc_container=&amp;gt;create( cp_tab = cp_tab ).

* c) change structure to container
  ASSIGN ls_bapi_anlu TO &amp;lt;lfs_anlu&amp;gt; CASTING.



* Fill structure out of container
  l_ref_cont-&amp;gt;cont_to_struc( EXPORTING langu = sy-langu
                                       cont  = ld_string
                             IMPORTING struc = &amp;lt;lfs_anlu&amp;gt; ).
ENDFORM.                    "string_to_value_transform

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  VALUE_TO_STRING_TRANSFORM
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;IS_BAPI_ANLU    text
*      --&amp;gt;LS_EXTENSIONIN  text
*----------------------------------------------------------------------*
FORM value_to_string_transform USING is_bapi_anlu CHANGING ls_extension STRUCTURE bapiparex.
  FIELD-SYMBOLS: &amp;lt;lfs_anlu&amp;gt; TYPE c.
  DATA: ld_string TYPE string.
  FIELD-SYMBOLS: &amp;lt;lfs_extension&amp;gt; TYPE c.
  DATA: ld_offset_anlu  TYPE i.
  DATA: l_ref_cont  TYPE REF TO cl_nls_struc_container,
        cp_tab  TYPE nls_langu_cp_tab.


  DESCRIBE FIELD ls_extension-structure LENGTH ld_offset_anlu
  IN CHARACTER MODE. "Unicode

  CALL FUNCTION 'NLS_GET_LANGU_CP_TAB'
    EXPORTING
      destination = 'NONE'
    TABLES
      cp_tab      = cp_tab.
*
  l_ref_cont = cl_nls_struc_container=&amp;gt;create( cp_tab =
cp_tab ).


  ASSIGN is_bapi_anlu TO &amp;lt;lfs_anlu&amp;gt; CASTING.
  l_ref_cont-&amp;gt;struc_to_cont( EXPORTING langu = sy-langu
                                       struc = &amp;lt;lfs_anlu&amp;gt;
                              IMPORTING cont = ld_string ).

  ASSIGN ls_extension  TO &amp;lt;lfs_extension&amp;gt;  CASTING.
  MOVE ld_string      TO &amp;lt;lfs_extension&amp;gt;+ld_offset_anlu.

  MOVE 'BAPI_TE_ANLU' TO  ls_extension-structure.



ENDFORM.                    "VALUE_TO_STRING_TRANSFORM

* &amp;lt;&amp;lt;&amp;lt; END  OF INSERTION - SPC947304 &amp;gt;&amp;gt;&amp;gt;






*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;  Include           ZVALUEFIELD                                      *
*&amp;amp;---------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could be used together with previous message posted by me on this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If questions, plz. ask&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 06:50:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642017#M285926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642018#M285927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Doru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've implemented the code that you recommended but my custom fields are still not being populated. Is there anything I might be missing? Another change or note that needs to be applied?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 18:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642018#M285927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T18:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642019#M285928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind. I was able to find the problem. EXIT_SAPL1022_001 was missing the ANLU assignment to E_ANLU, so I added the following line to include ZXAISU05:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;e_anlu = i_anlu.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 18:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642019#M285928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T18:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_FIXEDASSET_CREATE1 using EXTENSIONIN parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642020#M285929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I followed&amp;nbsp; all&amp;nbsp; of this , including "e_anlu = i_anlu" in "&lt;SPAN style="color: #333333; font-size: 12px;"&gt;EXIT_SAPL1022_001&lt;/SPAN&gt; - &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ZXAISU05&lt;/SPAN&gt;" , but also the content of &lt;SPAN style="color: #333333; font-size: 12px;"&gt; ANLU&lt;/SPAN&gt; were not active . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fixedasset-create1-using-extensionin-parameter/m-p/1642020#M285929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-28T16:07:58Z</dc:date>
    </item>
  </channel>
</rss>

