<?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>Question Re: Sales Order type in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036641#M408419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is little confusing here. You used three different words/phrases here, &amp;lt;b&amp;gt;order type, sales document number and VF03&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know the order type, go to VBAK with your sales order number and you will find the order type in AUART. If you want the header texts from the billing document, but you have only sales order number, then you need to do the following: Go to VBFA where VBELV = your sales document number, POSNV = your sales order item number(if you have one invoice for one order, then you don't need this), VBTYP_N = 'M' and VBTYP_V = 'C'. This should give you the invoice number in the field VBFA-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this invoice number, you call READ_TEXT as already explained to you by others here. &amp;lt;b&amp;gt;Please don't forget to use the internal representation of invoice number/order number when you are calling the function module.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you are still facing the problem and if resolved, please reward and close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2005 16:48:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-10T16:48:42Z</dc:date>
    <item>
      <title>Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaq-p/1036631</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 need to get order type by passing sales document number(VBELN). I am getting Order number from VBFA table but I am unable to get order type.&lt;/P&gt;&lt;P&gt;If we chack in vf03 by giving doc.number under menu GOTO-&amp;gt;Header-&amp;gt;Texts Here we can see the License Type in Description.&lt;/P&gt;&lt;P&gt;I need to pick that value by passing S.doc number and this text for some function module.&lt;/P&gt;&lt;P&gt;I am not sure which function module is useful here.&lt;/P&gt;&lt;P&gt;Please help me in this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaq-p/1036631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T15:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036632#M408410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just do a select against VBAK.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zrich_0002.


data: xvbak type vbak.
data: xtvakt type tvakt.
parameters: p_vbeln type vbak-vbeln.


select single * into xvbak
           from vbak
                where vbeln = p_vbeln.

select single * from tvakt into xtvakt
                   where spras = sy-langu
                     and auart = xvbak-auart.

write:/ p_vbeln, xvbak-auart, xtvakt-bezei.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036632#M408410</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036633#M408411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to read the text of a document, then the function module is READ_TEXT. You need to pass the TEXT ID, OBJECT, TEXT NAME to get the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : If this helps you, please reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036633#M408411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T15:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036634#M408412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;Please let me know the parameter values for this function module like what is TEXT ID,OBJECT, TEXT NAME.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036634#M408412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T15:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036635#M408413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, sorry,  I thought you were talking about the order type.  Yes, use the READ_TEXT function module.  You will need to find the ID and OBJECT of the text.  You can use SE75 to figure this out.  Then look at one of these objects/ids in STXH table to see what the structure of the NAME is.  Probably sales document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The object is probably VBBK,  I'n not sure what the ID wouid be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036635#M408413</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036636#M408414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what SALES document you are using (ORDER / DELIVERY etc)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, when you go to long TEXT screen, MENU option GOTO--&amp;gt; HEADER should work. Remember, you will have to be in the full mode of the TEXT edit option. For example if its a sales order 191 and you are editing Header text, the values will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Name       0000000191                       &lt;/P&gt;&lt;P&gt;Language        EN                               &lt;/P&gt;&lt;P&gt;Text ID         0001 -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;Form Header                 &lt;/P&gt;&lt;P&gt;Text object     VBBK -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;Sales     Header texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note : Please reward points of this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036636#M408414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036637#M408415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems you are confusing . VF03 is for billing doc display whereas in you initial post you mention sales order number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sales Order Header Text &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text ID - VBBK &lt;/P&gt;&lt;P&gt;Text Name - &amp;lt;ORDER_NUM&amp;gt;&lt;/P&gt;&lt;P&gt;Text ID - Depends on which header text you are looking at . in Se16 see valid values in TTXID table giving text object as VBBK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( You can also cehck directly in table STXH , using VBBK / &amp;lt;ORDER_NUM&amp;gt; to find the id. ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:15:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036637#M408415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036638#M408416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heilman and Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answers are very helpfull to me. I am using sales Order. &lt;/P&gt;&lt;P&gt;But stil I am not able to get the order text.&lt;/P&gt;&lt;P&gt;what might me the problem, I am passin all values as you said.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036638#M408416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036639#M408417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your code.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036639#M408417</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T16:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036640#M408418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sales order has a number of header texts . Just goto Se16 -&amp;gt; STXH . In text object -&amp;gt; VBBK , Text name -&amp;gt; Sales Order Number . Excute -&amp;gt; you will find the corresponding text IDs . For each type of header text there is an ID . In STXH you will only see the IDs which are maintained for a particular order. To see all valid text ids for sales order goto table TTXID with object -&amp;gt; VBBK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036640#M408418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036641#M408419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is little confusing here. You used three different words/phrases here, &amp;lt;b&amp;gt;order type, sales document number and VF03&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know the order type, go to VBAK with your sales order number and you will find the order type in AUART. If you want the header texts from the billing document, but you have only sales order number, then you need to do the following: Go to VBFA where VBELV = your sales document number, POSNV = your sales order item number(if you have one invoice for one order, then you don't need this), VBTYP_N = 'M' and VBTYP_V = 'C'. This should give you the invoice number in the field VBFA-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this invoice number, you call READ_TEXT as already explained to you by others here. &amp;lt;b&amp;gt;Please don't forget to use the internal representation of invoice number/order number when you are calling the function module.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you are still facing the problem and if resolved, please reward and close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036641#M408419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036642#M408420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem solved, Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 04:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036642#M408420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-11T04:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order type</title>
      <link>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036643#M408421</link>
      <description>&lt;P&gt;Sales order type ZDM1 (Only Considering the order for which the delivery is not completed/Shipment not fulfilled) can you please suggest what should I do in this case?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 07:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sales-order-type/qaa-p/1036643#M408421</guid>
      <dc:creator>former_member303243</dc:creator>
      <dc:date>2021-10-12T07:32:23Z</dc:date>
    </item>
  </channel>
</rss>

