<?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: Barcode Saving in Invoice Posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465328#M14757</link>
    <description>&lt;P&gt;Well Mr. Oguz,&lt;/P&gt;
  &lt;P&gt; Thanks for your explanation via code, i will try to do the same on will get back you. Cheerz &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 11:20:09 GMT</pubDate>
    <dc:creator>former_member209372</dc:creator>
    <dc:date>2017-07-14T11:20:09Z</dc:date>
    <item>
      <title>Barcode Saving in Invoice Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465324#M14753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; During MIRO posting i can able to see barcode pop up enabling, but when i tried to post invoice by using &lt;STRONG&gt;BAPI_INCOMINGINVOICE_CREATE&lt;/STRONG&gt;, how i can achieve the barcode posting into SAP.? Is any FM or BAPI is available.?&lt;/P&gt;
  &lt;P&gt;Thank You &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 05:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465324#M14753</guid>
      <dc:creator>former_member209372</dc:creator>
      <dc:date>2017-07-11T05:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Saving in Invoice Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465325#M14754</link>
      <description>&lt;P&gt;I don't follow your question. A Bar code is just a font. It's the data behind the bar code you require.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 06:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465325#M14754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-13T06:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Saving in Invoice Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465326#M14755</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;
  &lt;P&gt; Yes, but it related with Attachment for invoice posting, the attachment where saved into some other software i.e. IXOS software, i have found the RFC for above issue.&lt;/P&gt;
  &lt;P&gt;We can use &lt;STRONG&gt;ARCHIV_BARCODE_ASSIGN&lt;/STRONG&gt; wile posting through BAPI.&lt;/P&gt;
  &lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 07:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465326#M14755</guid>
      <dc:creator>former_member209372</dc:creator>
      <dc:date>2017-07-13T07:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Saving in Invoice Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465327#M14756</link>
      <description>&lt;P&gt;You can use GOS and attach the barcode into sales document. This typeid(BUS1001006) is for material object, you should find sales document id.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;** Object_a
  DATA:
    lv_botype LIKE obl_s_pbor-typeid VALUE 'BUS1001006', " e.g. 'BUS2012'
    lv_bo_id  LIKE obl_s_pbor-instid . " material number

* Object_b
  DATA:
    lv_docty       TYPE borident-objtype VALUE 'MESSAGE', "'BILDIRIM',
    lv_reltyp      TYPE breltyp-reltype VALUE 'ATTA',
    lv_filetyp     TYPE sofm-doctp VALUE 'PNG', " EXT " doc extention
    lv_filenam(20).

       " Create an initial instance of BO 'MESSAGE' - to call the
       " instance-independent method 'Create'. 

        swc_create_object lo_message 'MESSAGE' ls_message_key.

        " define container to pass the parameter values to the method call in next step.
        swc_container lt_message_container.

        " Populate container with parameters for method
        swc_set_element lt_message_container 'DOCUMENTTITLE' lv_filenam. 
        swc_set_element lt_message_container 'DOCUMENTLANGU' 'T'.
        swc_set_element lt_message_container 'NO_DIALOG' 'X'.
        swc_set_element lt_message_container 'DOCUMENTNAME' lv_docty.
        swc_set_element lt_message_container 'DOCUMENTTYPE' lv_filetyp.
        swc_set_element lt_message_container 'FILEEXTENSION' 'DOC'.
        " file in binary form
        swc_set_table   lt_message_container 'DocumentContent' lt_binary.
        swc_set_element lt_message_container 'DOCUMENTSIZE' lv_doc_size.
        swc_refresh_object lo_message.
        swc_call_method lo_message 'CREATE' lt_message_container.

        " Refresh to get the reference of create 'MESSAGE' object for attachment
        " swc_refresh_object lo_message.
        " Get Key of new object
        swc_get_object_key lo_message ls_message_key.

        " fol 42 no 101
        " Now we have attachment as a business object instance. We can now
        " attach it to our main business object instance.
        " Create main BO object_a

        lv_bo_id = ls_matnr.

        DATA: lo_is_object_a TYPE borident.

        lo_is_object_a-objkey = lv_bo_id.
        lo_is_object_a-objtype = lv_botype.

        " Create attachment BO object_b
        DATA: lo_is_object_b TYPE borident.
        lo_is_object_b-objkey = ls_message_key.
        lo_is_object_b-objtype = lv_docty.
        " create link between file and object(sales document in your case.)
        CALL FUNCTION 'BINARY_RELATION_CREATE'
          EXPORTING
            obj_rolea    = lo_is_object_a
            obj_roleb    = lo_is_object_b
            relationtype = lv_reltyp
          EXCEPTIONS
            OTHERS       = 1.

        IF sy-subrc &amp;lt;&amp;gt; 0.
          " error handling
        ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jul 2017 08:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465327#M14756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-13T08:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Saving in Invoice Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465328#M14757</link>
      <description>&lt;P&gt;Well Mr. Oguz,&lt;/P&gt;
  &lt;P&gt; Thanks for your explanation via code, i will try to do the same on will get back you. Cheerz &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 11:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-saving-in-invoice-posting/m-p/465328#M14757</guid>
      <dc:creator>former_member209372</dc:creator>
      <dc:date>2017-07-14T11:20:09Z</dc:date>
    </item>
  </channel>
</rss>

