<?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 Alternative BOM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-bom/m-p/2975980#M702464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;I am using the function Moodule     &lt;/P&gt;&lt;P&gt;'CS_BOM_EXPL_MAT_V2'&lt;/P&gt;&lt;P&gt;to get all the BOM materials.&lt;/P&gt;&lt;P&gt;The issue is for some material there are couple of alternative BOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN this function Module for the Erporting parameter STLAL When I am passing &lt;/P&gt;&lt;P&gt;STLAL = '01' it gets the data for Alternate BOM = 1. When I pass &lt;/P&gt;&lt;P&gt;STLAL = '02' it gets data for alternate BOM = 2.&lt;/P&gt;&lt;P&gt;However My requirement is to get the data for all the alternatives.&lt;/P&gt;&lt;P&gt;I tried to pass a blank field, it gets the data only for Alt BOM = '01'.&lt;/P&gt;&lt;P&gt;I commented this field and it still gets data for ALT BOM = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy suggestion on how to get the data for all the alternatives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;STER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
      EXPORTING
        FTREL                 = ' '
        ALTVO                 = ' '
        AUFSW                 = ' '
        AUSKZ                 = ' '
        BAGRP                 = ' '
        BEIKZ                 = ' '
        BESSL                 = ' '
        BGIXO                 = ' '
        BREMS                 = ' '
        CAPID                 = P_CAPID
        DATUV                 = V_DATUV
        EMENG                 = ' '
        ERSKZ                 = ' '
        ERSSL                 = ' '
        MBWLS                 = ' '
        MTNRV                 = W_MARC_MKAL-MATNR
        MDMPS                 = ' '
        MEHRS                 = ' '
        MMORY                 = ' '
        POSTP                 = ' '
        SANKO                 = ' '
        SANFR                 = ' '
        SANKA                 = ' '
        SANIN                 = ' '
        SANVS                 = ' '
        RNDKZ                 = ' '
        RVREL                 = ' '
        SCHGT                 = ' '
        STKKZ                 = ' '
&amp;lt;b&amp;gt;        STLAL                 = '01'&amp;lt;/b&amp;gt;
        STLAN                 = '1'
        WERKS                 = P_WERKS-LOW
      IMPORTING
        TOPMAT                = XTOPMAT
        DSTST                 = XFELD
      TABLES
        STB                   = XSTPOX
        MATCAT                = XMATCAT
      EXCEPTIONS
        ALT_NOT_FOUND         = 1
        CALL_INVALID          = 2
        MATERIAL_NOT_FOUND    = 3
        MISSING_AUTHORIZATION = 4
        NO_BOM_FOUND          = 5
        NO_PLANT_DATA         = 6
        NO_SUITABLE_BOM_FOUND = 7
        OTHERS                = 8.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2007 19:26:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-08T19:26:05Z</dc:date>
    <item>
      <title>Alternative BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-bom/m-p/2975980#M702464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;I am using the function Moodule     &lt;/P&gt;&lt;P&gt;'CS_BOM_EXPL_MAT_V2'&lt;/P&gt;&lt;P&gt;to get all the BOM materials.&lt;/P&gt;&lt;P&gt;The issue is for some material there are couple of alternative BOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN this function Module for the Erporting parameter STLAL When I am passing &lt;/P&gt;&lt;P&gt;STLAL = '01' it gets the data for Alternate BOM = 1. When I pass &lt;/P&gt;&lt;P&gt;STLAL = '02' it gets data for alternate BOM = 2.&lt;/P&gt;&lt;P&gt;However My requirement is to get the data for all the alternatives.&lt;/P&gt;&lt;P&gt;I tried to pass a blank field, it gets the data only for Alt BOM = '01'.&lt;/P&gt;&lt;P&gt;I commented this field and it still gets data for ALT BOM = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy suggestion on how to get the data for all the alternatives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;STER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
      EXPORTING
        FTREL                 = ' '
        ALTVO                 = ' '
        AUFSW                 = ' '
        AUSKZ                 = ' '
        BAGRP                 = ' '
        BEIKZ                 = ' '
        BESSL                 = ' '
        BGIXO                 = ' '
        BREMS                 = ' '
        CAPID                 = P_CAPID
        DATUV                 = V_DATUV
        EMENG                 = ' '
        ERSKZ                 = ' '
        ERSSL                 = ' '
        MBWLS                 = ' '
        MTNRV                 = W_MARC_MKAL-MATNR
        MDMPS                 = ' '
        MEHRS                 = ' '
        MMORY                 = ' '
        POSTP                 = ' '
        SANKO                 = ' '
        SANFR                 = ' '
        SANKA                 = ' '
        SANIN                 = ' '
        SANVS                 = ' '
        RNDKZ                 = ' '
        RVREL                 = ' '
        SCHGT                 = ' '
        STKKZ                 = ' '
&amp;lt;b&amp;gt;        STLAL                 = '01'&amp;lt;/b&amp;gt;
        STLAN                 = '1'
        WERKS                 = P_WERKS-LOW
      IMPORTING
        TOPMAT                = XTOPMAT
        DSTST                 = XFELD
      TABLES
        STB                   = XSTPOX
        MATCAT                = XMATCAT
      EXCEPTIONS
        ALT_NOT_FOUND         = 1
        CALL_INVALID          = 2
        MATERIAL_NOT_FOUND    = 3
        MISSING_AUTHORIZATION = 4
        NO_BOM_FOUND          = 5
        NO_PLANT_DATA         = 6
        NO_SUITABLE_BOM_FOUND = 7
        OTHERS                = 8.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 19:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-bom/m-p/2975980#M702464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T19:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-bom/m-p/2975981#M702465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting the CALL FUNCTION in a Loop with an Incremented Counter, and use the Converted Counter to Sting as the STLAL value .  Check the SY-subrc, which would indicate if a BOM was found or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 20:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alternative-bom/m-p/2975981#M702465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T20:12:52Z</dc:date>
    </item>
  </channel>
</rss>

