<?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: Function BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748273#M639017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is also not working. But I can see, that the function BAPI_PO_CREATE1 ist deleting my lines in the scheduleX Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it so difficult to set the delivery date. I have now tried almost all possibilities of the schedule tables, and nothing is working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a working example for this function with schedule lines and delivery date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 15:55:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T15:55:01Z</dc:date>
    <item>
      <title>Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748262#M639006</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´m using the Function BAPI_PO_CREATE1 to create stock transport orders.&lt;/P&gt;&lt;P&gt;It is working fine except of one thing: The delivery date I´m providing the function, is not going to be set inside of the created purchase order and of course not in the delivery created afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could only find one field inside of the function interface, where to put in the delivery date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tables tab --&amp;gt; poschedule-delivery_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is, in the strange way, not a date format, it is a CHAR field with length 10.&lt;/P&gt;&lt;P&gt;I tried all kinds of date formats, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;31.08.2007&lt;/P&gt;&lt;P&gt;20070831&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is another field called DEL_DATCAT_EXT (Category of delivery date).&lt;/P&gt;&lt;P&gt;This can have the following of the field PRGBZ of table TPRG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t know, what else I can do, but I REALLY HAVE to set the delivery date!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me out of trouble, please.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748262#M639006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748263#M639007</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;You have to give these fields:&lt;/P&gt;&lt;P&gt;PO_ITEM = '0010'   "PO item number&lt;/P&gt;&lt;P&gt;SCHED_LINE = 1   "constant 1, but mandantory field&lt;/P&gt;&lt;P&gt;DELIVERY_DATE = '20071231'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCHED_LINE is a mandantory field, it is for the EKET-ETENR field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these 3 fields, your PO have to be correct. Maybe the format is not perfect for the date, you have to try out some...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748263#M639007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748264#M639008</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've just had a quick look at the documentation for that function module and it shows the following as an example for the POSCHEDULE table:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Parameter: POSCHEDULE
PO_ITEM              =                    00001
SCHED_LINE           =                    0001
DELIVERY_DATE        =                    02.12.2002
QUANTITY             =                    6.000
PO_ITEM              =                    00001
SCHED_LINE           =                    0002
DELIVERY_DATE        =                    03.12.2002
QUANTITY             =                    5.000
PO_ITEM              =                    00001
SCHED_LINE           =                    0003
DELIVERY_DATE        =                    04.12.2002
QUANTITY             =                    4.000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it looks like the date should be in the full 10 character format as you thought.  One question though, did you also populate table POSCHEDULEX with the fields you were updating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest reading the documentation from SE37 or from transaction BAPI for this module to see how the ...X tables work if this is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748264#M639008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748265#M639009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamás,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the fast answer. But I can´t get a delivery date, it´s always the todays date....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my content in the schedule item table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO_ITEM: 00010 SCHED_LINE: 0001 Delivery_date: 20070831 Qunatity: 2.000&lt;/P&gt;&lt;P&gt;PO_ITEM: 00020 SCHED_LINE: 0001 Delivery_date: 20070831 Qunatity: 1.000&lt;/P&gt;&lt;P&gt;PO_ITEM: 00030 SCHED_LINE: 0001 Delivery_date: 20070831 Qunatity: 3.000&lt;/P&gt;&lt;P&gt;PO_ITEM: 00040 SCHED_LINE: 0001 Delivery_date: 20070831 Qunatity: 2.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? And what about the DEL_DATCAT_EXT field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748265#M639009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748266#M639010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The structure &amp;lt;b&amp;gt;bapimeposchedule&amp;lt;/b&amp;gt; will have the &amp;lt;b&amp;gt;delivery_date&amp;lt;/b&amp;gt;. Pass the date to this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just for verification...see the fields that you have used in poschedule and poschedulex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: POSCHEDULE &lt;/P&gt;&lt;P&gt;PO_ITEM = 00001 &lt;/P&gt;&lt;P&gt;SCHED_LINE = 0001 &lt;/P&gt;&lt;P&gt;DELIVERY_DATE = 02.12.2002 &lt;/P&gt;&lt;P&gt;QUANTITY = 6.000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: POSCHEDULEX &lt;/P&gt;&lt;P&gt;PO_ITEM = 00001 &lt;/P&gt;&lt;P&gt;SCHED_LINE = 0001 &lt;/P&gt;&lt;P&gt;PO_ITEMX = X &lt;/P&gt;&lt;P&gt;SCHED_LINEX = X &lt;/P&gt;&lt;P&gt;DELIVERY_DATE = X &lt;/P&gt;&lt;P&gt;QUANTITY = X &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748266#M639010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748267#M639011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set the X table, that every field with content, has an X as value. Except the fields for po_item and sched_line. There are set like the po_item in the items table and to 0001 like the schedule table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahhhh, that´s so annoying! why can´t they easily use a normal DATS field as for all other dates, too??? &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748267#M639011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748268#M639012</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;It has to work. For testing purposes, you might try out a few formats:&lt;/P&gt;&lt;P&gt;SCHED_LINE = 1.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SCHED_LINE = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delivery_date = '2007.08.31'.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Delivery_date = '20070831'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few combinations, it was working for me, but I don't remember at the perfect formats (and I can't reach that system, where it is...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the BAPI's return table? There might be useful hint for the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748268#M639012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748269#M639013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´ll throw a party, when it´s going to work! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody give me several date formats, I could try out? And what about the &lt;/P&gt;&lt;P&gt;DEL_DATCAT_EXT field? I´m now trying with only one item line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;po_item: 0010 Sched_Line: 0001 Delivery_date: 20070831 Quantity: 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X-table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;po_item: 0010 Sched_line: 0001 po_itemx: X sched_linex: X Delivery_date: X Quantity: X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, I forgot.... the Return table is always empty and the return code always 0....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Arne Hein&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748269#M639013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748270#M639014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried it with 31.08.2007 instread of 20070831 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748270#M639014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748271#M639015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that I have done at first...&lt;/P&gt;&lt;P&gt;I don´t know, why it´s not taking the date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748271#M639015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748272#M639016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out by giving the date in the american formt of  mm.dd.yyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748272#M639016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748273#M639017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is also not working. But I can see, that the function BAPI_PO_CREATE1 ist deleting my lines in the scheduleX Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it so difficult to set the delivery date. I have now tried almost all possibilities of the schedule tables, and nothing is working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a working example for this function with schedule lines and delivery date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 15:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-bapi-po-create1/m-p/2748273#M639017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T15:55:01Z</dc:date>
    </item>
  </channel>
</rss>

