<?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 BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147025#M116451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am faced with a task of creating credit and debit memo request referencing a sales order.  I am trying to use: BAPI_SALESORDER_CREATEFROMDAT2 to accomplish this task but keep getting error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;Unpermitted combination of business object BUS2032 and sales doc. category L&amp;#146;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I inserted the sales order number I 'am referencing in the BAPI HEADER FIELD - REFDOCTYPE. Has any one use this BAPI to create credit and debit memo request referencing a sales order, please help with a sample code on how to load this BAPI for credit and debit memo request creation referencing a sales order.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2006 15:21:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-26T15:21:49Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147025#M116451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am faced with a task of creating credit and debit memo request referencing a sales order.  I am trying to use: BAPI_SALESORDER_CREATEFROMDAT2 to accomplish this task but keep getting error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;Unpermitted combination of business object BUS2032 and sales doc. category L&amp;#146;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I inserted the sales order number I 'am referencing in the BAPI HEADER FIELD - REFDOCTYPE. Has any one use this BAPI to create credit and debit memo request referencing a sales order, please help with a sample code on how to load this BAPI for credit and debit memo request creation referencing a sales order.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 15:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147025#M116451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T15:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147026#M116452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM does not perform this task.  We have cloned the original and modified the clone to pass the Business Object as an inbound parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: con_cr_memo_bus_obj like BAPIUSW01-OBJTYPE value 'BUS2094'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'ZBAPI_CRED_MEMO_CREATEFROMDAT2'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          ORDER_HEADER_IN           = bapi_hdr&lt;/P&gt;&lt;P&gt;          business_object           = con_cr_memo_bus_obj&lt;/P&gt;&lt;P&gt;          convert                   = 'X'&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          SALESDOCUMENT             = bapi_salesdoc&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          return                    = bapi_ret_tbl&lt;/P&gt;&lt;P&gt;          ORDER_ITEMS_IN       = bapi_itm&lt;/P&gt;&lt;P&gt;          ORDER_PARTNERS       = bapi_prtnr&lt;/P&gt;&lt;P&gt;          ORDER_ITEMS_inx      = bapi_itm_out&lt;/P&gt;&lt;P&gt;          order_schedules_in   = bapi_schd_lin&lt;/P&gt;&lt;P&gt;          order_text           = bapi_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND in the cloned ZBAPI above in SE37/80, add this Importing parameter: BUSINESS_OBJECT	LIKE	BAPIUSW01-OBJTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 15:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147026#M116452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147027#M116453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't remember mentioned OSS notes any longer, but referencing seems to be a problem for this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look in older topics:&lt;/P&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="95866"&gt;&lt;/A&gt;&lt;/P&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="82006"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 15:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147027#M116453</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-01-26T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147028#M116454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John for the quick response, before I test this bapi sample - what fields in the ORDER_HEADER_IN did you populate? Can you send me code portion where you loaded the required BAPI structure fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS,&lt;/P&gt;&lt;P&gt; Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147028#M116454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T16:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147029#M116455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ORDER_HEADER_IN loading:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    bapi_hdr-doc_type = 'ZMRE'.&lt;/P&gt;&lt;P&gt;    select single * from knvv into knvv_rec where&lt;/P&gt;&lt;P&gt;                              kunnr = tmp_kunnr and loevm ne 'X'.&lt;/P&gt;&lt;P&gt;    bapi_hdr-sales_org = knvv_rec-vkorg.&lt;/P&gt;&lt;P&gt;    bapi_hdr-distr_chan = knvv_rec-vtweg.&lt;/P&gt;&lt;P&gt;    bapi_hdr-division = knvv_rec-spart.&lt;/P&gt;&lt;P&gt;    bapi_hdr-purch_date = hdr_rec-rmidate.&lt;/P&gt;&lt;P&gt;    bapi_hdr-req_date_h = hdr_rec-rmidate.&lt;/P&gt;&lt;P&gt;    bapi_hdr-price_date = sys_date.&lt;/P&gt;&lt;P&gt;    bapi_hdr-purch_no_c = hdr_rec-rminum_po.&lt;/P&gt;&lt;P&gt;    bapi_hdr-created_by = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_IN Loading:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at det_tbl2 into det_rec2.&lt;/P&gt;&lt;P&gt;      clear bapi_itm.&lt;/P&gt;&lt;P&gt;      clear bapi_schd_lin.&lt;/P&gt;&lt;P&gt;      perform good_material_check.&lt;/P&gt;&lt;P&gt;      if good_matnr_flag ne 'Y'.&lt;/P&gt;&lt;P&gt;        bapi_itm-material = p_defmat.&lt;/P&gt;&lt;P&gt;        bapi_itm-cust_mat35 = det_rec2-matnr.&lt;/P&gt;&lt;P&gt;        bapi_itm-short_text = item_err_desc.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        bapi_itm-material = det_rec2-matnr.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      tmp_posnr = tmp_posnr + 10.&lt;/P&gt;&lt;P&gt;      bapi_itm-itm_number = tmp_posnr.&lt;/P&gt;&lt;P&gt;      bapi_itm-target_qty = det_rec2-qty.&lt;/P&gt;&lt;P&gt;      bapi_itm-target_qu = det_rec2-uom.&lt;/P&gt;&lt;P&gt;      append bapi_itm.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147029#M116455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T16:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147030#M116456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John - can you share the source code of your clone bapi - when I copied the original bapi (BAPI_SALESORDER_CREATEFROMDAT2)to zbapiXXXXXX&lt;/P&gt;&lt;P&gt; I am having a hard time trying to figure out which of source code to omit or include in the my bapi rapper.&lt;/P&gt;&lt;P&gt;  You can zip the source code to my email if the file is too large &lt;/P&gt;&lt;P&gt; frank_obasohan@yahoo.com&lt;/P&gt;&lt;P&gt;  Thank,&lt;/P&gt;&lt;P&gt;  Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147030#M116456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T16:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147031#M116457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not omit any code... just add the Business Object parameter in the Import tab.  And then fill in that parameter in your CALL FUNCTION "ZBAPIxxxx".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147031#M116457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T16:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147032#M116458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZBAPI_CRED_MEMO_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(SALESDOCUMENTIN) LIKE  BAPIVBELN-VBELN OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(ORDER_HEADER_IN) LIKE  BAPISDHD1 STRUCTURE  BAPISDHD1&lt;/P&gt;&lt;P&gt;*"     VALUE(ORDER_HEADER_INX) LIKE  BAPISDHD1X STRUCTURE  BAPISDHD1X&lt;/P&gt;&lt;P&gt;*"       OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(SENDER) LIKE  BAPI_SENDER STRUCTURE  BAPI_SENDER OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(BINARY_RELATIONSHIPTYPE) LIKE  BAPIRELTYPE-RELTYPE&lt;/P&gt;&lt;P&gt;*"       OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(INT_NUMBER_ASSIGNMENT) LIKE  BAPIFLAG-BAPIFLAG OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(BEHAVE_WHEN_ERROR) LIKE  BAPIFLAG-BAPIFLAG OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(LOGIC_SWITCH) LIKE  BAPISDLS STRUCTURE  BAPISDLS OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(TESTRUN) LIKE  BAPIFLAG-BAPIFLAG OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(CONVERT) LIKE  BAPIFLAG-BAPIFLAG DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*"     VALUE(BUSINESS_OBJECT) LIKE  BAPIUSW01-OBJTYPE&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(SALESDOCUMENT) LIKE  BAPIVBELN-VBELN&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      RETURN STRUCTURE  BAPIRET2 OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_ITEMS_IN STRUCTURE  BAPISDITM OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_ITEMS_INX STRUCTURE  BAPISDITMX OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_PARTNERS STRUCTURE  BAPIPARNR&lt;/P&gt;&lt;P&gt;*"      ORDER_SCHEDULES_IN STRUCTURE  BAPISCHDL OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_SCHEDULES_INX STRUCTURE  BAPISCHDLX OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CONDITIONS_IN STRUCTURE  BAPICOND OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CONDITIONS_INX STRUCTURE  BAPICONDX OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_REF STRUCTURE  BAPICUCFG OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_INST STRUCTURE  BAPICUINS OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_PART_OF STRUCTURE  BAPICUPRT OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_VALUE STRUCTURE  BAPICUVAL OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_BLOB STRUCTURE  BAPICUBLB OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_VK STRUCTURE  BAPICUVK OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CFGS_REFINST STRUCTURE  BAPICUREF OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_CCARD STRUCTURE  BAPICCARD OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_TEXT STRUCTURE  BAPISDTEXT OPTIONAL&lt;/P&gt;&lt;P&gt;*"      ORDER_KEYS STRUCTURE  BAPISDKEY OPTIONAL&lt;/P&gt;&lt;P&gt;*"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL&lt;/P&gt;&lt;P&gt;*"      PARTNERADDRESSES STRUCTURE  BAPIADDR1 OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;generate data record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;fbgenmac 'BAPI_SALESORDER_CREATEFROMDAT2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BAPIs run without dialog&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            SALESDOCUMENT           = salesdocumentin&lt;/P&gt;&lt;P&gt;            SALES_HEADER_IN         = ORDER_HEADER_IN&lt;/P&gt;&lt;P&gt;            SALES_HEADER_INX        = ORDER_HEADER_INX&lt;/P&gt;&lt;P&gt;            SENDER                  = SENDER&lt;/P&gt;&lt;P&gt;            BINARY_RELATIONSHIPTYPE = BINARY_RELATIONSHIPTYPE&lt;/P&gt;&lt;P&gt;            INT_NUMBER_ASSIGNMENT   = INT_NUMBER_ASSIGNMENT&lt;/P&gt;&lt;P&gt;            BEHAVE_WHEN_ERROR       = BEHAVE_WHEN_ERROR&lt;/P&gt;&lt;P&gt;            LOGIC_SWITCH            = LOGIC_SWITCH&lt;/P&gt;&lt;P&gt;            BUSINESS_OBJECT         = BUSINESS_OBJECT "here !!!!&lt;/P&gt;&lt;P&gt;            TESTRUN                 = TESTRUN&lt;/P&gt;&lt;P&gt;            convert_parvw_auart     = convert&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            SALESDOCUMENT_EX        = salesdocument&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            RETURN                  = RETURN&lt;/P&gt;&lt;P&gt;            SALES_ITEMS_IN          = ORDER_ITEMS_IN&lt;/P&gt;&lt;P&gt;            SALES_ITEMS_INX         = ORDER_ITEMS_INX&lt;/P&gt;&lt;P&gt;            SALES_PARTNERS          = ORDER_PARTNERS&lt;/P&gt;&lt;P&gt;            SALES_SCHEDULES_IN      = ORDER_SCHEDULES_IN&lt;/P&gt;&lt;P&gt;            SALES_SCHEDULES_INX     = ORDER_SCHEDULES_INX&lt;/P&gt;&lt;P&gt;            SALES_CONDITIONS_IN     = ORDER_CONDITIONS_IN&lt;/P&gt;&lt;P&gt;            SALES_CONDITIONS_INX    = ORDER_CONDITIONS_INX&lt;/P&gt;&lt;P&gt;            SALES_CFGS_REF          = ORDER_CFGS_REF&lt;/P&gt;&lt;P&gt;            SALES_CFGS_INST         = ORDER_CFGS_INST&lt;/P&gt;&lt;P&gt;            SALES_CFGS_PART_OF      = ORDER_CFGS_PART_OF&lt;/P&gt;&lt;P&gt;            SALES_CFGS_VALUE        = ORDER_CFGS_VALUE&lt;/P&gt;&lt;P&gt;            SALES_CFGS_BLOB         = ORDER_CFGS_BLOB&lt;/P&gt;&lt;P&gt;            sales_cfgs_vk           = order_cfgs_vk&lt;/P&gt;&lt;P&gt;            sales_cfgs_refinst      = order_cfgs_refinst&lt;/P&gt;&lt;P&gt;            SALES_CCARD             = ORDER_CCARD&lt;/P&gt;&lt;P&gt;            SALES_TEXT              = ORDER_TEXT&lt;/P&gt;&lt;P&gt;            SALES_KEYS              = ORDER_KEYS&lt;/P&gt;&lt;P&gt;            EXTENSIONIN             = EXTENSIONIN&lt;/P&gt;&lt;P&gt;            partneraddresses        = partneraddresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reset the dialogflag&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DIALOG_SET_WITH_DIALOG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the Business OBject needs to be passed !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147032#M116458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T16:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147033#M116459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you completed the project?  If not, please let me know the issue(s) outstanding.  If you have finished, please reward points accordingly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 01:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147033#M116459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T01:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147034#M116460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks for your help, I have awarded you your points. But I still have couples of questions for your proposed solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 Copying a standard SAPI BAPI with its function Group its not the best practice, in the case an OSS Note is released for one of the copied objects - your code may be outdated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It appears that uses the Business Objects parameter you added to BAPI_SALESORDER_CREATEFROMDAT2 was only used  standard BAPI :'SD_SALESDOCUMENT_CREATE'&lt;/P&gt;&lt;P&gt;Why not call the BAPI 'SD_SALESDOCUMENT_CREATE' directly from your program and pass 'BUS2094' to the field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. 'BUS2094' is the business object for Credit memo creation and 'BUS2096' is for Debit Credit memo creation. I had a problem using 'BUS2094' for debit , I finally debug the BAPI and realize the correct object for debit memo creation was 'BUS2096'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 13:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147034#M116460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147035#M116461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 Copying a standard SAPI BAPI with its function Group its not the best practice, in the case an OSS Note is released for one of the copied objects - your code may be outdated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is true.  If an OSS note is applied OR the SAP system goes thru an upgrade (and I hope that your company is doing that regularly), there is a risk for additional changes being needed in the ZBAPIxxxx that you made.  Just something to "keep your eyes peeled for"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It appears that uses the Business Objects parameter you added to BAPI_SALESORDER_CREATEFROMDAT2 was only used standard BAPI :'SD_SALESDOCUMENT_CREATE'&lt;/P&gt;&lt;P&gt;Why not call the BAPI 'SD_SALESDOCUMENT_CREATE' directly from your program and pass 'BUS2094' to the field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably a "safe" operation in this case... but only PROBABLY.  BAPIs were built by SAP to allow external applications (Internet apps, Windows apps, etc) to access R/3 business objects.  By addding the Business Object to the ZBAPI, we have enabled the opportunity for other developers to create debit/credit memos from external systems.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.  Thanks for the points.  Keep 'em coming.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 13:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147035#M116461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-27T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147036#M116462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John , &lt;/P&gt;&lt;P&gt;I have created the Zxxxxx funtion module and I am filling all the appropriate fields but Im getting an error. Its asking me to please enter a Sold to party or ship to party. I have tried padding the sold to with zero's and still no luck. Any clue what could be causing this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and points will be rewarded if you can help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 01:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147036#M116462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T01:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147037#M116463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating a "Z" Function Module, we can use SD_SALESDOCUMENT_CREATE for creating credit memo request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, Points can be awarded by the thread owners only...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 02:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-help-creating-credit-memo/m-p/1147037#M116463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T02:16:41Z</dc:date>
    </item>
  </channel>
</rss>

