<?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: bapi sample code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968360#M947930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;GT_BILLINGDATAIN-REF_DOC = G_VBELN.
GT_BILLINGDATAIN-REF_DOC_CA = 'J'.
APPEND GT_BILLINGDATAIN.

*header condition type
GT_CONDITIONDATAIN-DATA_INDEX = '0'.
GT_CONDITIONDATAIN-COND_TYPE = 'ZB01'.
GT_CONDITIONDATAIN-COND_VALUE = 10.
GT_CONDITIONDATAIN-COND_CURR = G_CURRENCY.
APPEND GT_CONDITIONDATAIN.

*item condition type
GT_CONDITIONDATAIN-DATA_INDEX = '1'.
GT_CONDITIONDATAIN-COND_TYPE = 'ZD01'.
GT_CONDITIONDATAIN-COND_VALUE = 15.
GT_CONDITIONDATAIN-COND_CURR = G_CURRENCY.
APPEND GT_CONDITIONDATAIN.

CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
BILLINGDATAIN = GT_BILLINGDATAIN
CONDITIONDATAIN = GT_CONDITIONDATAIN
RETURN = GT_RETURN
SUCCESS = GT_SUCCESS &lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2008 07:24:54 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2008-06-17T07:24:54Z</dc:date>
    <item>
      <title>bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968359#M947929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one please give me the sample code for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_BILLINGDOC_CREATEMULTIPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both header and item data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;v@sap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 07:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968359#M947929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T07:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968360#M947930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;GT_BILLINGDATAIN-REF_DOC = G_VBELN.
GT_BILLINGDATAIN-REF_DOC_CA = 'J'.
APPEND GT_BILLINGDATAIN.

*header condition type
GT_CONDITIONDATAIN-DATA_INDEX = '0'.
GT_CONDITIONDATAIN-COND_TYPE = 'ZB01'.
GT_CONDITIONDATAIN-COND_VALUE = 10.
GT_CONDITIONDATAIN-COND_CURR = G_CURRENCY.
APPEND GT_CONDITIONDATAIN.

*item condition type
GT_CONDITIONDATAIN-DATA_INDEX = '1'.
GT_CONDITIONDATAIN-COND_TYPE = 'ZD01'.
GT_CONDITIONDATAIN-COND_VALUE = 15.
GT_CONDITIONDATAIN-COND_CURR = G_CURRENCY.
APPEND GT_CONDITIONDATAIN.

CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
BILLINGDATAIN = GT_BILLINGDATAIN
CONDITIONDATAIN = GT_CONDITIONDATAIN
RETURN = GT_RETURN
SUCCESS = GT_SUCCESS &lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 07:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968360#M947930</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-06-17T07:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968361#M947931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you  jay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it necessary two or three excel files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: v@sap on Jun 17, 2008 9:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 07:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968361#M947931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T07:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968362#M947932</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;Direct extract from SE37 documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU BAPI_BILLINGDOC_CREATEMULTIPLE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Create Individual Customer Billing Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This method can be used to create billing documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As input parameters, you are expected to enter information on the items to be processed in the table BILLING_DATA_IN. This data is processed and produces a batch of billing documents. You also have the option of transferring information for entry in the input structure CREATOR_DATA_IN. If this information is already determined, this is transferred into each billing document header. You can also enter optional conditions for the individual items to be processed in the input table CONDITION_DATA_IN, as well as means of payment information in the table CCARD_DATA_IN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method can be used in the simulation run (TESTRUN = 'X') and also in the update run including the update (TESTRUN = ' '). Both execution variants deliver errors that may have occurred back to the output table RETURN. Information on successful processing is sent back in the output table SUCCESS. This output table delivers the document numbers of the billing documents created in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;1. Required entries     :&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-SALESORG&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-DISTR_CHAN&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-DIVISION&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-DOC_TYPE&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-ORDBILLTYP&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-SOLD_TO&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-ITEM_CATEG&lt;/P&gt;&lt;P&gt;   BILLING_DATA_IN-REQ_QTY&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-SALES_UNIT&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-CURRENCY&lt;/P&gt;&lt;P&gt;  If a material is billed for which a material master needs to be&lt;/P&gt;&lt;P&gt;  determined (BILLING_DATA_IN-NO_MATMAST = ' '), you must make the&lt;/P&gt;&lt;P&gt;  following entries :&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-PLANT&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-MATERIAL&lt;/P&gt;&lt;P&gt;  If, on the other hand, a material is billed for which no material&lt;/P&gt;&lt;P&gt;  master is to be determined (BILLING_DATA_IN_NO_MATMAST = 'X'), you&lt;/P&gt;&lt;P&gt;  must make the following entries :&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-COUNTRY&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-MATERIAL&lt;/P&gt;&lt;P&gt;  BILLING_DATA_IN-TAXCL_1MAT&lt;/P&gt;&lt;P&gt;2. COMMIT control :&lt;/P&gt;&lt;P&gt;  In the update run (TESTRUN = ' ')  the update is carried out by COMMIT&lt;/P&gt;&lt;P&gt;  WORK as part of the method available.&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;CREATORDATAIN&lt;/P&gt;&lt;P&gt;TESTRUN&lt;/P&gt;&lt;P&gt;POSTING&lt;/P&gt;&lt;P&gt;BILLINGDATAIN&lt;/P&gt;&lt;P&gt;CONDITIONDATAIN&lt;/P&gt;&lt;P&gt;CCARDDATAIN&lt;/P&gt;&lt;P&gt;TEXTDATAIN&lt;/P&gt;&lt;P&gt;ERRORS&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SUCCESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 07:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968362#M947932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T07:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968363#M947933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CREATORDATAIN         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TESTRUN               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    POSTING               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      BILLINGDATAIN         =  billingdata&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CONDITIONDATAIN       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CCARDDATAIN           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TEXTDATAIN            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ERRORS                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      RETURN                = bapiret&lt;/P&gt;&lt;P&gt;      SUCCESS               = succ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;except BILLINGDATAIN    &lt;/P&gt;&lt;P&gt;           CONDITIONDATAIN   &lt;/P&gt;&lt;P&gt;           CCARDDATAIN&lt;/P&gt;&lt;P&gt;what are the exporting parameters we have to pass??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 08:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968363#M947933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: bapi sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968364#M947934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="243421"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 08:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-sample-code/m-p/3968364#M947934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T08:05:57Z</dc:date>
    </item>
  </channel>
</rss>

