<?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: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736624#M1581437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PrabhuD@s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have executed the function 'BAPI_MATERIAL_GETALL' (the function 'BAPI_MATERIAL_GETDATA' no exist in my system). I have seen that the structure EXTENSIONOUT only have : BAPI_TE_MARA but not BAPI_TE_MARC. Maybe that is the reason why i can not update the Z-fields of MARC ?????.&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, 22 Mar 2011 10:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-22T10:47:21Z</dc:date>
    <item>
      <title>Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736619#M1581432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am a problem with the function BAPI_MATERIAL_SAVEDATA. I want to fill the Z-FIELDS but the function fill the field with space and i don't understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  bapi_head-material      = et_datos-matnr.&lt;/P&gt;&lt;P&gt;  bapi_head-mrp_view      = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bapi_marc-plant        = et_datos-werks.&lt;/P&gt;&lt;P&gt;  bapi_marcx-plant       = et_datos-werks.&lt;/P&gt;&lt;P&gt;  bapi_marc-abc_id       = et_datos-maabc.&lt;/P&gt;&lt;P&gt;  bapi_marcx-abc_id      = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-mrp_type     = et_datos-dismm.&lt;/P&gt;&lt;P&gt;  bapi_marcx-mrp_type    = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-mrp_ctrler   = et_datos-dispo.&lt;/P&gt;&lt;P&gt;  bapi_marcx-mrp_ctrler  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-lotsizekey   = et_datos-disls.&lt;/P&gt;&lt;P&gt;  bapi_marcx-lotsizekey  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-reorder_pt   = et_datos-minbe.&lt;/P&gt;&lt;P&gt;  bapi_marcx-reorder_pt  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-fixed_lot    = et_datos-bstfe.&lt;/P&gt;&lt;P&gt;  bapi_marcx-fixed_lot   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-minlotsize   = et_datos-bstmi.&lt;/P&gt;&lt;P&gt;  bapi_marcx-minlotsize  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-maxlotsize   = et_datos-bstma.&lt;/P&gt;&lt;P&gt;  bapi_marcx-maxlotsize  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-mrp_group    = et_datos-disgr.&lt;/P&gt;&lt;P&gt;  bapi_marcx-mrp_group   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-round_val    = et_datos-bstrf.&lt;/P&gt;&lt;P&gt;  bapi_marcx-round_val   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-proc_type    = et_datos-beskz.&lt;/P&gt;&lt;P&gt;  bapi_marcx-proc_type   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-spproctype   = et_datos-sobsl.&lt;/P&gt;&lt;P&gt;  bapi_marcx-spproctype  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-iss_st_loc   = et_datos-lgpro.&lt;/P&gt;&lt;P&gt;  bapi_marcx-iss_st_loc  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-sloc_exprc   = et_datos-lgfsb.&lt;/P&gt;&lt;P&gt;  bapi_marcx-sloc_exprc  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-backflush    = et_datos-rgekz.&lt;/P&gt;&lt;P&gt;  bapi_marcx-backflush   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-inhseprodt   = et_datos-dzeit.&lt;/P&gt;&lt;P&gt;  bapi_marcx-inhseprodt  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-plnd_delry   = et_datos-plifz.&lt;/P&gt;&lt;P&gt;  bapi_marcx-plnd_delry  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-sm_key       = et_datos-fhori.&lt;/P&gt;&lt;P&gt;  bapi_marcx-sm_key      = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-serv_level   = et_datos-lgrad.&lt;/P&gt;&lt;P&gt;  bapi_marcx-serv_level  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-period_ind   = et_datos-perkz.&lt;/P&gt;&lt;P&gt;  bapi_marcx-period_ind  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-plan_strgp   = et_datos-strgr.&lt;/P&gt;&lt;P&gt;  bapi_marcx-plan_strgp  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-consummode   = et_datos-vrmod.&lt;/P&gt;&lt;P&gt;  bapi_marcx-consummode  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-fwd_cons     = et_datos-vint2.&lt;/P&gt;&lt;P&gt;  bapi_marcx-fwd_cons    = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-bwd_cons     = et_datos-vint1.&lt;/P&gt;&lt;P&gt;  bapi_marcx-bwd_cons    = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-mixed_mrp    = et_datos-miskz.&lt;/P&gt;&lt;P&gt;  bapi_marcx-mixed_mrp   = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-alt_bom_id   = et_datos-altsl.&lt;/P&gt;&lt;P&gt;  bapi_marcx-alt_bom_id  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-repmanprof   = et_datos-sfepr.&lt;/P&gt;&lt;P&gt;  bapi_marcx-repmanprof  = 'X'.&lt;/P&gt;&lt;P&gt;  bapi_marc-rep_manuf    = et_datos-sauft.&lt;/P&gt;&lt;P&gt;  bapi_marcx-rep_manuf   = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bapi_te_marc-plant = et_datos-werks.&lt;/P&gt;&lt;P&gt;  bapi_te_marc-zzenvsip = et_datos-zzenvsip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bapi_te_marcx-plant = et_datos-werks.&lt;/P&gt;&lt;P&gt;  bapi_te_marcx-zzenvsip = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_bapiparex-structure = 'BAPI_TE_MARC'.&lt;/P&gt;&lt;P&gt;  it_bapiparex-valuepart1 = bapi_te_marc.&lt;/P&gt;&lt;P&gt;  APPEND it_bapiparex.**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_bapiparexx-structure = 'BAPI_TE_MARCX'.&lt;/P&gt;&lt;P&gt;  it_bapiparexx-valuepart1 = bapi_te_marcx.&lt;/P&gt;&lt;P&gt;  APPEND it_bapiparexx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      headdata     = bapi_head&lt;/P&gt;&lt;P&gt;      plantdata     = bapi_marc&lt;/P&gt;&lt;P&gt;      plantdatax   = bapi_marcx&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return       = bapi_return&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      extensionin  = it_bapiparex&lt;/P&gt;&lt;P&gt;      extensioninx = it_bapiparexx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF bapi_return-type EQ 'E' OR r_test = 'X' OR p_p_modo = 'TEST'.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        wait = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have completed the structure BAPI_TE_MARC and BAPI_TE_MARCX with Z-FIELDS of MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The material is created but the Z-FIELD no have a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Any idea???.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736619#M1581432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T09:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736620#M1581433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to check the data movement inside the BAPI as the fields are custom fields there are chances of getting&lt;/P&gt;&lt;P&gt;lost during movement from field mappings inside the BAPI and Other function modules used inside the BAPI.&lt;/P&gt;&lt;P&gt;If they are getting lost due to standard field mappings may be you would need Enhancement spots or BADI to set this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 10:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736620#M1581433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T10:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736621#M1581434</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;In the BAPI (BAPI_MATERIAL_SAVEDATA )is there a table parameter EXTENSIONIN  ,which you can use to pass the values for user defined fields to the BAPI. For Sample data check the Long text..of the table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 10:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736621#M1581434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T10:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736622#M1581435</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;In the BAPI (BAPI_MATERIAL_SAVEDATA )is there a table parameter EXTENSIONIN  ,which you can use to pass the values for user defined fields to the BAPI. For Sample data check the Long text..of the table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 10:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736622#M1581435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736623#M1581436</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;first try to check the BAPI_MATERIAL_GETDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check how the data is populatingin custom zfields and strucutre..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and next try to pass the extension same in function BAPI_MATERIAL_SAVEDATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PrabhuD@s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 10:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736623#M1581436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T10:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736624#M1581437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PrabhuD@s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have executed the function 'BAPI_MATERIAL_GETALL' (the function 'BAPI_MATERIAL_GETDATA' no exist in my system). I have seen that the structure EXTENSIONOUT only have : BAPI_TE_MARA but not BAPI_TE_MARC. Maybe that is the reason why i can not update the Z-fields of MARC ?????.&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, 22 Mar 2011 10:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736624#M1581437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T10:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736625#M1581438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I have seen that the structure EXTENSIONOUT only have : BAPI_TE_MARA but not BAPI_TE_MARC. Maybe that is the reason why i can not update the Z-fields of MARC ?????.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely not!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to maintain some customizing for the custom fields to be updated. If i remember correctly you need to assign the custom fields to the required field selection group via trxn OMSR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further read on: &lt;SPAN __jive_macro_name="message" id="4153571"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 12:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736625#M1581438</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-22T12:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736626#M1581439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly!!!!!!!,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make a debugging of the function 'BAPI_MATERIAL_GETALL' and i have seen that it use table T130F to search the Z-fields. And my Z-fields not were. This table is completed with transaction OMSR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is solved.&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, 22 Mar 2011 14:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736626#M1581439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems function BAPI_MATERIAL_SAVEDATA with Z-FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736627#M1581440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have maintained that customizing too. But the custom fields are not updated. The problem is when i give any standard field and custom field, it gets updated But update of custom field only is not happening. Any pointers on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-function-bapi-material-savedata-with-z-fields/m-p/7736627#M1581440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-16T10:02:11Z</dc:date>
    </item>
  </channel>
</rss>

