<?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 BADI Implementation for distributing customer master through ALE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262259#M779467</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 have implemented the BADI definition CUSTOMER_ADD_DATA_BI for populating the custom segment Z1KNA1M(contains the additional address fields) of the idoctype Debmas06 in the method FILL_ALE_SEGMENTS_OWN_DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was working fine till I introduced other filter based on the country of the customer in the segment E1KNA1M - Land1 (US, MX, CA) in the distribution model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's working fine for the customers with the above countries, but for the other countries where in it shloudn't generate a communication idoc it's giving an error saying &lt;STRONG&gt;'Internal error: Program read table idoc_structure, command data_select_for_block, argument Z1KNA1M'&lt;/STRONG&gt;. when running BD21 or BD12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate for your responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Nalinikalyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2008 11:34:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-03T11:34:41Z</dc:date>
    <item>
      <title>BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262259#M779467</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 have implemented the BADI definition CUSTOMER_ADD_DATA_BI for populating the custom segment Z1KNA1M(contains the additional address fields) of the idoctype Debmas06 in the method FILL_ALE_SEGMENTS_OWN_DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was working fine till I introduced other filter based on the country of the customer in the segment E1KNA1M - Land1 (US, MX, CA) in the distribution model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's working fine for the customers with the above countries, but for the other countries where in it shloudn't generate a communication idoc it's giving an error saying &lt;STRONG&gt;'Internal error: Program read table idoc_structure, command data_select_for_block, argument Z1KNA1M'&lt;/STRONG&gt;. when running BD21 or BD12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate for your responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Nalinikalyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 11:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262259#M779467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262260#M779468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the answer as the Extension need to be passed in the BADI,Which is not passed in at first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 19:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262260#M779468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-13T19:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262261#M779469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kalyani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Could u pls help on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using badi CUSTOMER_ADD_DATA_BI to post custom segments data to database( here my fm is configured or calling this badi based upon partner profiles)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i want to receive custom segment &amp;amp; corresponding sdata then i need to submit this to E_BI_STRUCT (According to my knowledge if we submit to e_bi_struct sap will take care of bdc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i see method MODIFY_BI_STRUCT_FROM_STD_SEG not importing custom segments and method PASS_NON_STANDARD_SEGMENT has no exporting or changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want custom segments data to be submitted using this badi itself.&lt;/P&gt;&lt;P&gt;So kindly please suggest to solving this issue.&lt;/P&gt;&lt;P&gt;  Your help highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 13:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262261#M779469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T13:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262262#M779470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Imran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use method PASS_NON_STANDARD_SEGMENT, if you intend to get the custom segment inbound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changing parameters are  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE(I_SEGMENT_NAME) TYPE EDILSEGTYP - Name of the customer-defined IDOC segments&lt;/P&gt;&lt;P&gt;I_SEGMENT_DATA              TYPE EDI_SDATA  - Customer defined IDOC segments data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method MODIFY_BI_STRUCT_FROM_STD_SEG should be used when you intend to change any information before posting though BDC. Here you have the current processing segment and all its details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 14:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262262#M779470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T14:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262263#M779471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Kalyani , &lt;/P&gt;&lt;P&gt;I am getting the same error -&lt;/P&gt;&lt;P&gt;'Internal error: Program read table idoc_structure, command data_select_for_block, argument Zemail .' when running BD21 /BD14 &lt;/P&gt;&lt;P&gt;I added a custom segement to the Cremas03 Idoc type. &lt;/P&gt;&lt;P&gt;What did you do to solve this?&lt;/P&gt;&lt;P&gt;What do you mean by adding the extension ?&lt;/P&gt;&lt;P&gt;thanks, &lt;/P&gt;&lt;P&gt;Preeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262263#M779471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262264#M779472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nalini Kalyan is right.&lt;/P&gt;&lt;P&gt;You may capture the custom segment  data  which exists in I_SEGMENT_DATA in PASS_NON_STANDARD_SEGMENT method to an internal table.&lt;/P&gt;&lt;P&gt; considering the custom segment as 'ZABCDEFGH'&lt;/P&gt;&lt;P&gt;  IF I_SEGMENT_NAME = 'ZABCDEFGH'&lt;/P&gt;&lt;P&gt;    APPEND I_SEGMENT_DATA TO ITAB.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e read  the segment_name and capture the data in an internal table and can be used to populate T_BI_DATA  in FILL_BI_TABLE_WITH_OWN_SEGMENT .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:27:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262264#M779472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262265#M779473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nalini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar requirement where i added a new field in KNB1 table and this data is sent through DEBMAS06 to another SAP system. Hence i need to pass this additional data also to the other system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an extension for DEBMAS06 and added a custom segment to it. Now I want to use CUSTOMER_ADD_DATA_BI to pass the custom segment data also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this i.e in which all methods do I need to include code to send the additional data?&lt;/P&gt;&lt;P&gt;Request you to guide me to do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262265#M779473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262266#M779474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kalyani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me How do you have implemented the method FILL_ALE_SEGMENTS_OWN_DATA?&lt;/P&gt;&lt;P&gt;I try to do it but i don't find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262266#M779474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T12:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262267#M779475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nalini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help in populating Z segment (ZTAX) which is added to the ZDEBMAS07 (copied from DEBMAS07). &lt;/P&gt;&lt;P&gt;This segment is added at very last and I only can see sinle method FILL_ALE_SEGMENTS_OWN_DATA in BADI CUSTOMER_ADD_DATA_BI. But not getting logic how can I populate this locating it very last of the tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its easy for me to put it say after E1KNA1M or after E1KNA11. Please show something if you can.&lt;/P&gt;&lt;P&gt;Code what I have written still is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TYPES: BEGIN OF ty_j_1imocust,&lt;/P&gt;&lt;P&gt;          j_1icstno TYPE j_1imocust-j_1icstno,&lt;/P&gt;&lt;P&gt;          j_1ilstno TYPE j_1imocust-j_1ilstno,&lt;/P&gt;&lt;P&gt;         END OF ty_j_1imocust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_j_1imocust1 TYPE ty_j_1imocust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lv_kunnr TYPE kna1-kunnr,&lt;/P&gt;&lt;P&gt;        ls_t_idoc_data TYPE edidd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lv_flag TYPE char1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lv_j1icstno TYPE j_1imocust-j_1icstno,&lt;/P&gt;&lt;P&gt;        lv_j1ilstno TYPE j_1imocust-j_1ilstno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_edidd TYPE edidd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_j_1imocust TYPE j_1imocust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR ls_t_idoc_data.&lt;/P&gt;&lt;P&gt;    READ TABLE t_idoc_data INTO ls_t_idoc_data WITH KEY segnam = 'E1KNA1M'.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      lv_kunnr = ls_t_idoc_data-sdata+3(10).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ls_t_idoc_data.&lt;/P&gt;&lt;P&gt;  READ TABLE t_idoc_data INTO ls_t_idoc_data WITH KEY segnam = 'ZTAX'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    DELETE t_idoc_data INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ls_j_1imocust.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE *&lt;/P&gt;&lt;P&gt;  FROM j_1imocust INTO ls_j_1imocust WHERE kunnr = lv_kunnr.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    MOVE ls_j_1imocust-j_1icstno TO ls_j_1imocust1-j_1icstno.&lt;/P&gt;&lt;P&gt;    MOVE ls_j_1imocust-j_1ilstno TO ls_j_1imocust1-j_1ilstno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ls_edidd-mandt = sy-mandt.&lt;/P&gt;&lt;P&gt;    ls_edidd-segnam = 'ZTAX'.&lt;/P&gt;&lt;P&gt;    ls_edidd-sdata  = ls_j_1imocust1.&lt;/P&gt;&lt;P&gt;    APPEND ls_edidd TO t_idoc_data.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 12:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262267#M779475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T12:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation for distributing customer master through ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262268#M779476</link>
      <description>&lt;P&gt;In the FM  MASTERIDOC_CREATE_&amp;lt;Message type name&amp;gt;,  Enhancement has to be implemented.&lt;/P&gt;&lt;P&gt;Add the the IDoc Extension Name has to be passed to the  CIMP field of the  structure 'F_IDOC_HEADER'. for eg. if your IDoc Extension name is 'Z_IDOC_EXTEND' the code would be :&lt;/P&gt;&lt;P&gt;F_IDOC_HEADER-CIMP = 'Z_IDOC_EXTEND'.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 16:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation-for-distributing-customer-master-through-ale/m-p/3262268#M779476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-07-16T16:35:30Z</dc:date>
    </item>
  </channel>
</rss>

