<?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: Extension for BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666509#M1097774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to create a sales order, so I dont have a value for v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what value should be loaded for v_vbeln?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 19:49:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T19:49:33Z</dc:date>
    <item>
      <title>Extension for BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666507#M1097772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone please help me, I have to create a sales order with BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is 2 customer fields in table VBAK, I checked the documentation for the bapi extensions parameters and I dont understand how should the structures VBAKKOZ  and VBAKKOZX be processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone explain me about this structures??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 17:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666507#M1097772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T17:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extension for BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666508#M1097773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow this steps for the field in the extension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Append one structure in BAPE_VBAK with the fields which need to be changed. &lt;/P&gt;&lt;P&gt;E.g. append strucutre name ZZAPE_VBAK and fields ZZ_Z1 and ZZ_Z2 with its original type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Append one structure in BAPE_VBAKX with the fields with one character fields. &lt;/P&gt;&lt;P&gt;E.g. append strucutre name ZZAPE_VBAKX. Here Fields ZZ_Z1 and ZZ_Z2 must be of type CHAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Append the same fields of the structure which was appended in the BAPE_VBAK to VBAKKOZ. &lt;/P&gt;&lt;P&gt;E.g. Append strucutre Name ZZ_VBAKKOZ and fields ZZ_Z1 and ZZ_Z2 with its original type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Append the same structure which was appended in the BAPE_VBAKX to VBAKKOZX.&lt;/P&gt;&lt;P&gt;E.g. Append strucutre Name ZZ_VBAKKOZX. Here Fields ZZ_Z1 and ZZ_Z2 must be of type CHAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use it in the program:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Fill the ZZ fields
    t_ext-structure = 'BAPE_VBAK'.      "Structure with the fields
    t_ext-valuepart1+0(10) = v_vbeln.
    t_ext-valuepart1+10(10) = V_ZZ1 .  " value of the ZZ_Z1 field
    append t_ext.

*  Mark for changes
    t_ext-structure = 'BAPE_VBAKX'.     " Structure with the flags
    t_ext-valuepart1+0(10) = v_vbeln.
    t_ext-valuepart1+10(1) = 'X'.
    append t_ext.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 17:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666508#M1097773</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-10-21T17:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extension for BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666509#M1097774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to create a sales order, so I dont have a value for v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what value should be loaded for v_vbeln?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 19:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666509#M1097774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T19:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extension for BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666510#M1097775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't pass anything in the VBELN since you are creating the Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are changing e.g using BAPI_SALESORDER_CHANGE than you have to pass te VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 20:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666510#M1097775</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-10-21T20:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extension for BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666511#M1097776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo Gents,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you maybe explain me what does +0(10) mean below.&lt;/P&gt;&lt;P&gt;valuepart1+0(10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I'm using visual basic script to upload sales order automatically from excel using BAPI.&lt;/P&gt;&lt;P&gt;Everything works fine expect filling in the custom Z* field. I don't know the logic how should be the valuepart1 field in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can maybe advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 12:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extension-for-bapi-salesorder-createfromdat2/m-p/4666511#M1097776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-28T12:35:35Z</dc:date>
    </item>
  </channel>
</rss>

