<?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: SD_SALESDOCUMENT_CREATE for STCD1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324036#M5035</link>
    <description>&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;so you mean one time customer?&lt;/P&gt;&lt;P&gt;It's right to move the data by EXTENSIONIN as you've written, but I can't understand why you can't use it&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 21:23:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-10-20T21:23:54Z</dc:date>
    <item>
      <title>SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324033#M5032</link>
      <description>&lt;P&gt;Good afternoon,
Agreceria the person who can help me solve this issue.&lt;/P&gt;&lt;P&gt;I give the data RFC (STCD1) customers any CPD to the BAPI SD_SALESDOCUMENT_CREATE but can not find the section or table where will this data.
I had commented that used the EXTENSIONIN table. Which is filled follows however is not favorable results.
Example:&lt;/P&gt;&lt;P&gt;EXTENSIONIN-STRUCTURE = 'VBPA3KOM'&lt;/P&gt;&lt;P&gt;EXTENSIONIN-VALUEPART1 = '0000000000000000AGRFC801205TXX000'
I have reviewed the FAQ similar issues, however I have not seen satisfactia answer. The subject that is equal to mine and give a reference solution using a User-Exist.&lt;/P&gt;&lt;P&gt;Lamentamente I can not use that solution because I do not have access to create / modify those sections so I must be necessarily indicate that the BAPI.
If this message contains some fragment that violates the rules thank you for your understanding. I ask me ayueden to correct the content.
In itself, I thank Matthew Billingham user by brindadas recommendations, however I did not find any solution in the FAQ.&lt;/P&gt;&lt;P&gt;If I knew the lnk where this solution can come, I really appreciate it.&lt;/P&gt;&lt;P&gt;Thanks everyone for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324033#M5032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T17:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324034#M5033</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;STCD1 should be tax number of the customer? if it's so, it's customer master data, why do you need to transfer it in a sales order?&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324034#M5033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T17:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324035#M5034</link>
      <description>&lt;P&gt;This data is part of fiscal data that are captured for customers who are classified as possible and require invoice.&lt;BR /&gt;When a sale is created in the VA01 for such customers capture window opens to capture client fiscal data.&lt;BR /&gt;This data RFC (STCD1) is recorded in the table VBPA3 for these operations is not recorded in the customer master.&lt;BR /&gt;&lt;BR /&gt;Thank you for answering.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 19:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324035#M5034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T19:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324036#M5035</link>
      <description>&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;so you mean one time customer?&lt;/P&gt;&lt;P&gt;It's right to move the data by EXTENSIONIN as you've written, but I can't understand why you can't use it&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324036#M5035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-20T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324037#M5036</link>
      <description>&lt;P&gt;It is right is a client of that type.&lt;BR /&gt;That's the detail, do not understand why it does not work if you implement that table and full as I think it should be.
&lt;/P&gt;&lt;P&gt;No if necessary add an additional configuration or apply a note to affect the BAPI Sales.
&lt;/P&gt;&lt;P&gt;IT_EXTENSIONIN_IN-STRUCTURE = 'VBPA3KOM'.&lt;BR /&gt;IT_EXTENSIONIN_IN-VALUEPART1 = '0000000000000000AGRFC801205TXX'.&lt;BR /&gt;APPEND IT_EXTENSIONIN_IN.
&lt;/P&gt;&lt;P&gt;Reviewing the BAPI SD_SALESDOCUMENT_CREATE in SE37.&lt;BR /&gt;This is the routine that handles the EXTENSIONIN parameter table.
&lt;/P&gt;&lt;P&gt;***perform ms_move_extensionin tables extensionin&lt;BR /&gt; sales_items_in&lt;BR /&gt; sales_schedules_in&lt;BR /&gt; using&lt;BR /&gt; sales_header_in.&lt;/P&gt;&lt;BR /&gt;***BAPI enhancement for CPD Customer Information for table VBPA3&lt;BR /&gt;WHEN 'VBPA3KOM'.&lt;BR /&gt; CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.&lt;BR /&gt; MOVE TO extensionin + lv_length wa_vbpa3kom.&lt;BR /&gt; Wa_vbpa3kom APPEND TO ex_vbpa3kom.&lt;BR /&gt;ENDCATCH.&lt;P&gt;Tx.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 15:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324037#M5036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-21T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324038#M5037</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Something is strange&lt;/P&gt;&lt;P&gt;Function SD_SALESDOCUMENT_CREATE transfers the data from extensionin to internal table EX_VBPA3KOM, but it doesn't use it&lt;/P&gt;&lt;P&gt;Theoretically the function should have to transfer the data to funcion SD_SALES_DOCU_MAINTAIN, but it doesn't do it, it seems the data are only appended to EX_VBPA3KOM.&lt;/P&gt;,&lt;P&gt;Something is strange&lt;/P&gt;&lt;P&gt;I've checked the code of SD_SALESDOCUMENT_CREATE:&lt;/P&gt;&lt;P&gt;this function transfer the data from extensionin to internal table EX_VBPA3KOM (as you've shown) but it doesn't use it&lt;/P&gt;&lt;P&gt;That table should be transfered to function SD_SALES_DOCU_MAINTAIN, but it doesn't do it&lt;/P&gt;&lt;P&gt;It seems the data are appended to EX_VBPA3KOM only&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 16:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324038#M5037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-21T16:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324039#M5038</link>
      <description>&lt;P&gt;I can't find a SAP note about it&lt;/P&gt;&lt;P&gt;but you can try to use the fm SD_PARTNER_UPDATE after calling the BAPI SD_SALESDOCUMENT_CREATE&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 16:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324039#M5038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-21T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324040#M5039</link>
      <description>&lt;P&gt;How are you,&lt;BR /&gt;That's right, it is very strange that if you receive and move information for this structure but not do anything with that information.&lt;BR /&gt;&lt;BR /&gt;Maybe missing a note applying to affect the corresponding tables. (VBPA3)&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;I appreciate your help and your contributions.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324040#M5039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-21T17:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324041#M5040</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Reviewed the BAPI and try to implement and do you know the outcome.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324041#M5040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-21T17:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324042#M5041</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Unfortunately EX_VBPA3KOM is not used in BAPI. &lt;/P&gt;&lt;P&gt;However, just before the document is saved, at MV45AFZZ -&amp;gt; SAVE_DOCUMENT_PREPARE user exit you can reach that internal table and do necessarry update to XVBPA. Here is code that I've implemented. It resolves the problem. Note that, you need to keep providing BAPI EXTENSIONIN with VBPA3KOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: tt_vbpa3kom TYPE TABLE OF vbpa3kom.&lt;BR /&gt;FIELD-SYMBOLS: &amp;lt;lt_vbpa3kom&amp;gt; TYPE tt_vbpa3kom,&lt;BR /&gt;  &amp;lt;ls_vbpa3kom&amp;gt; TYPE vbpa3kom.&lt;BR /&gt;ASSIGN ('(SAPLVBAK)EX_VBPA3KOM[]') TO &amp;lt;lt_vbpa3kom&amp;gt;.&lt;BR /&gt;IF sy-subrc IS INITIAL.&lt;BR /&gt;  LOOP AT xvbpa WHERE updkz EQ 'I'.&lt;BR /&gt;  READ TABLE &amp;lt;lt_vbpa3kom&amp;gt; ASSIGNING &amp;lt;ls_vbpa3kom&amp;gt; WITH KEY vbeln = xvbpa-vbeln&lt;BR /&gt;  posnr = xvbpa-posnr&lt;BR /&gt;  parvw = xvbpa-parvw.&lt;BR /&gt;  IF sy-subrc IS INITIAL.&lt;BR /&gt;  MOVE-CORRESPONDING &amp;lt;ls_vbpa3kom&amp;gt; TO xvbpa.&lt;BR /&gt;  ENDIF.&lt;BR /&gt;  MODIFY xvbpa.&lt;BR /&gt;  ENDLOOP.&lt;BR /&gt;ENDIF.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 07:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324042#M5041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-17T07:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324043#M5042</link>
      <description>&lt;P&gt;I suspect OP has already found some solution for this question posted several months ago...&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 15:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324043#M5042</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-03-17T15:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE for STCD1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324044#M5043</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
  &lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;aydin.kanat&lt;/SPAN&gt; : Did try with your solution, however, I must mention that I only used the debugger and didn't modify the code so far. However, when I fill the EX_VBPA3KOM via BAPI EXTENSIONIN (checked in debugger) I get an empty table when evaluating SAPLVBAK)EX_VBPA3KOM[] in debugger. Does this only evaluate correctly when placing the code?&lt;/P&gt;
  &lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;abel.luevano.perez&lt;/SPAN&gt; : How did you solve your problem after all? Would you mind coming back and let us know?&lt;/P&gt;
  &lt;P&gt;Thanks and kind regards&lt;/P&gt;
  &lt;P&gt;J&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 15:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-for-stcd1/m-p/324044#M5043</guid>
      <dc:creator>JaySchwendemann</dc:creator>
      <dc:date>2018-02-26T15:17:12Z</dc:date>
    </item>
  </channel>
</rss>

