<?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 Inbound interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149588#M453804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a text file. I need to extract the contents from the file and based on the action code make changes to the sales order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the structure of the file . How do I upload the data, extract and assign the fields and make changes to the sales order (delivery block)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF credit_detail,&lt;/P&gt;&lt;P&gt;      formattype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      groupclientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      clientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      juliandate(3) TYPE c,&lt;/P&gt;&lt;P&gt;      hrextraction(2) TYPE c,&lt;/P&gt;&lt;P&gt;      recordtype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      citcustnum(7) TYPE n,&lt;/P&gt;&lt;P&gt;      clientcustnum(15) TYPE c,&lt;/P&gt;&lt;P&gt;      custnum(30) TYPE c,&lt;/P&gt;&lt;P&gt;      clientordernum(22) TYPE c,&lt;/P&gt;&lt;P&gt;      citrefnum(10) TYPE c,&lt;/P&gt;&lt;P&gt;      orderamt(8) TYPE n,&lt;/P&gt;&lt;P&gt;      appamt(8) TYPE n,&lt;/P&gt;&lt;P&gt;      actioncode(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode1(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode2(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode3(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode4(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode5(2) TYPE c,&lt;/P&gt;&lt;P&gt;      orderdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      startshipdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      endshipdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      terms(3) TYPE n,&lt;/P&gt;&lt;P&gt;      lineamt(9) TYPE n,&lt;/P&gt;&lt;P&gt;      linetype TYPE n,&lt;/P&gt;&lt;P&gt;      appnum(3) TYPE n,&lt;/P&gt;&lt;P&gt;      futureuse(62) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF credit_detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF credit_total,&lt;/P&gt;&lt;P&gt;      formattype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      groupclientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      clientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      juliandate(3) TYPE c,&lt;/P&gt;&lt;P&gt;      hrextraction(2) TYPE c,&lt;/P&gt;&lt;P&gt;      recordtype(2) TYPE n,&lt;/P&gt;&lt;P&gt;      filler(7) TYPE n,&lt;/P&gt;&lt;P&gt;      recordcnt(5) TYPE n,&lt;/P&gt;&lt;P&gt;      totalamt(9) TYPE n,&lt;/P&gt;&lt;P&gt;      futureuse(187) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF credit_total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 13:52:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T13:52:25Z</dc:date>
    <item>
      <title>Inbound interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149588#M453804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a text file. I need to extract the contents from the file and based on the action code make changes to the sales order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the structure of the file . How do I upload the data, extract and assign the fields and make changes to the sales order (delivery block)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF credit_detail,&lt;/P&gt;&lt;P&gt;      formattype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      groupclientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      clientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      juliandate(3) TYPE c,&lt;/P&gt;&lt;P&gt;      hrextraction(2) TYPE c,&lt;/P&gt;&lt;P&gt;      recordtype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      citcustnum(7) TYPE n,&lt;/P&gt;&lt;P&gt;      clientcustnum(15) TYPE c,&lt;/P&gt;&lt;P&gt;      custnum(30) TYPE c,&lt;/P&gt;&lt;P&gt;      clientordernum(22) TYPE c,&lt;/P&gt;&lt;P&gt;      citrefnum(10) TYPE c,&lt;/P&gt;&lt;P&gt;      orderamt(8) TYPE n,&lt;/P&gt;&lt;P&gt;      appamt(8) TYPE n,&lt;/P&gt;&lt;P&gt;      actioncode(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode1(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode2(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode3(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode4(2) TYPE c,&lt;/P&gt;&lt;P&gt;      reasoncode5(2) TYPE c,&lt;/P&gt;&lt;P&gt;      orderdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      startshipdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      endshipdate(6) TYPE c,&lt;/P&gt;&lt;P&gt;      terms(3) TYPE n,&lt;/P&gt;&lt;P&gt;      lineamt(9) TYPE n,&lt;/P&gt;&lt;P&gt;      linetype TYPE n,&lt;/P&gt;&lt;P&gt;      appnum(3) TYPE n,&lt;/P&gt;&lt;P&gt;      futureuse(62) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF credit_detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF credit_total,&lt;/P&gt;&lt;P&gt;      formattype(2) TYPE c,&lt;/P&gt;&lt;P&gt;      groupclientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      clientnumber(4) TYPE n,&lt;/P&gt;&lt;P&gt;      juliandate(3) TYPE c,&lt;/P&gt;&lt;P&gt;      hrextraction(2) TYPE c,&lt;/P&gt;&lt;P&gt;      recordtype(2) TYPE n,&lt;/P&gt;&lt;P&gt;      filler(7) TYPE n,&lt;/P&gt;&lt;P&gt;      recordcnt(5) TYPE n,&lt;/P&gt;&lt;P&gt;      totalamt(9) TYPE n,&lt;/P&gt;&lt;P&gt;      futureuse(187) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF credit_total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 13:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149588#M453804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T13:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149589#M453805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : it_creditdetail like table of credit_detaol,&lt;/P&gt;&lt;P&gt;         it_credittotal like table of credit_total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :v_filename type string.&lt;/P&gt;&lt;P&gt;v_filename = 'C:\TEST.txt'. (ur file name.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename                      = V_FILENAME&lt;/P&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = '#'&lt;/P&gt;&lt;P&gt;   tables&lt;/P&gt;&lt;P&gt;    data_tab                      = IT_creditdetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all the details will be available in the internal table similarly do it for total table &amp;amp; write ur logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 13:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149589#M453805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149590#M453806</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;There are different methods avaiable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DIRECT INPUT &lt;/P&gt;&lt;P&gt;using a progrom to upload data. standard programs available for different transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) RECORDING (BATCH INPUT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will record your sequence of screen through recording and then use this recording to upload data using batch input sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction : SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) CALL Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will the data into BDCDATA table and then call the corresponding transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html" target="test_blank"&gt;http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;If you want to upload the data to an internal table then you can use the FM 'GUI_UPLOAD'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once u get the data  in internal table u can assign the fields and make changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149590#M453806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149591#M453807</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 can use OPEN DATASET statement (file is stored in application server) or FM GUI_UPLOAD (file is stored in PC) to read the file and store the information data into an internal table(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step is to process the data in internal table(s) and prepare the input parameters for calling BAPI BAPI_SALESDOCUMENT_CHANGE to update sales order's delivery block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ORDER_HEADER_IN and ORDER_HEADER_INX parameters have the field for delivery block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ORDER_HEADER_INX has the field UPDATEFLAG as 'U' for updating the sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help and give an idea.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-interface/m-p/2149591#M453807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:01:57Z</dc:date>
    </item>
  </channel>
</rss>

