<?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: SD_SALESDOCUMENT_CREATE - Remove Billing Block in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449845#M1552745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. I am checking the billing Block Type as '08',and then changing it to space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 09:36:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-23T09:36:02Z</dc:date>
    <item>
      <title>SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449839#M1552739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using sd_salesdocument_create to create Credit notes,based on the requirement I need the billing block field (FAKSK)&lt;/P&gt;&lt;P&gt;to be empty,or initial. If I pass space into the billing block field in the header it is by default taking the value as 08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to use an implicit enhancement in the BAPI - SD_SALESDOCUMENT_CREATE . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
       s_header-bill_block = SPACE.


    
      CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
        EXPORTING
*   SALESDOCUMENT                 =
          sales_header_in           = s_header
         sales_header_inx           = s_headerx
*   SENDER                        =
*   BINARY_RELATIONSHIPTYPE       = ' '
*   INT_NUMBER_ASSIGNMENT         = ' '
*   BEHAVE_WHEN_ERROR             = ' '
*   LOGIC_SWITCH                  = ' '
         business_object               = 'BUS2094'
*   TESTRUN                       =
         convert_parvw_auart           = 'X'
         STATUS_BUFFER_REFRESH         = 'X'
       IMPORTING
         salesdocument_ex              = v_cmr
*   SALES_HEADER_OUT              =
*   SALES_HEADER_STATUS           =
       TABLES
         return                        = i_return
         sales_items_in                = i_item
         sales_items_inx               = i_itemx
         sales_partners                = i_partner
*   SALES_SCHEDULES_IN            =
*   SALES_SCHEDULES_INX           =
         sales_conditions_in           = i_cond
         sales_conditions_inx          = i_condx
*   SALES_CFGS_REF                =
*   SALES_CFGS_INST               =
*   SALES_CFGS_PART_OF            =
*   SALES_CFGS_VALUE              =
*   SALES_CFGS_BLOB               =
*   SALES_CFGS_VK                 =
*   SALES_CFGS_REFINST            =
*   SALES_CCARD                   =
*   SALES_TEXT                    =
*   SALES_KEYS                    =
*   SALES_CONTRACT_IN             =
*   SALES_CONTRACT_INX            =
*   EXTENSIONIN                   =
*   PARTNERADDRESSES              =
*   SALES_SCHED_CONF_IN           =
*   ITEMS_EX                      =
*   SCHEDULE_EX                   =
*   BUSINESS_EX                   =
*   INCOMPLETE_LOG                =
*   EXTENSIONEX                   =
*   CONDITIONS_EX                 =
*   PARTNERS_EX                   =
*   TEXTHEADERS_EX                =
*   TEXTLINES_EX                  =
*   BATCH_CHARC                   =
*   CAMPAIGN_ASGN                 =
*   CONDITIONS_KONV_EX            =
                .





...&lt;/CODE&gt;&lt;/PRE&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;Rahul Tripathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 06:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449839#M1552739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T06:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449840#M1552740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you passing 'X' to structure field SALES_HEADER_INX-BILL_BLOCK while calling BAPI ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 06:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449840#M1552740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T06:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449841#M1552741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am dam doing that also. I want to know the table/sturcture that is passed by the bapi SD_SALESDOCUMENT_CREATE &lt;/P&gt;&lt;P&gt;So that I can check it manually and clear the field in the enhancment Point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 06:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449841#M1552741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449842#M1552742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you creating a credit Note OR Credit Memo Request? The Function module mentioned by you is used to create credit memo request (Sales document).  Check whether any user exits are activated which overwrites the value passed through BAPI. Otherwise you don't need any enhancements other than values passed in structure field BILL_BLOCK in bapi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 06:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449842#M1552742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T06:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449843#M1552743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a Credit memo Request, and there are no Enhancments,which can possibly  overwrite the Billing block Feild.&lt;/P&gt;&lt;P&gt;However in the BAPI SD_SALESDOCUMENT_CREATE  the function module 'SD_SALES_DOCU_MAINTAIN' &lt;/P&gt;&lt;P&gt;returns  da_vbak,which populates the bliing block field as '08'.However, the structure e_vbakkom has the billing nlock field as initial.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

call function 'SD_SALES_DOCU_MAINTAIN'
        exporting
             i_vbakkom          = e_vbakkom
             i_vbakkomx         = e_vbakkomx
             i_vbakkom_ref      = e_vbakkom_ref
             i_posnr            = int_number_assignment
             i_bwe              = behave_when_error
             i_logic_switch     = logic_switch
             simulation         = testrun
             i_call_bapi        = charx
             status_buffer_refresh = status_buffer_refresh
     importing
*            return             = return
             e_vbak             = da_vbak
             e_vbuk             = da_vbuk
     tables
             return             = return
             ix_vbapkom         =  ex_vbapkom
             ix_vbapkomx        =  ex_vbapkomx
             ix_vbpakom         =  ex_vbpakom
             ix_vbepkom         =  ex_vbepkom
             ix_vbepkomx        =  ex_vbepkomx
             ix_konvkom         =  ex_konvkom
             ix_konvkomx        =  ex_konvkomx
             ix_komfkzm         =  ex_komfkzm
             sales_cfgs_ref     = sales_cfgs_ref
             sales_cfgs_inst    = sales_cfgs_inst
             sales_cfgs_part_of = sales_cfgs_part_of
             sales_cfgs_value   = sales_cfgs_value
             sales_cfgs_blob    = sales_cfgs_blob
             sales_cfgs_vk      = sales_cfgs_vk
             sales_cfgs_refinst = sales_cfgs_refinst
             ix_text_header     = ex_text_header
             ix_text_item       = ex_text_item
             key_table          = sales_keys
             vbuvkom_out        = ex_vbuvkom_out
             ex_vbkd            = e_vbkd
             ex_vbap            = e_vbap
             ex_vbep            = e_vbep
             ex_konv            = e_konv
             ix_bapiaddr1       = partneraddresses
             ix_atpcs_ret       = lt_atpcs_ret
             ix_mdve            = lt_mdve
             ix_atpterm         = lt_atpterm
             batch_charc        = batch_charc
             ex_vbpa            = e_vbpa
             ex_theadvb         = e_theadvb
             ex_bapitextli      = textlines_ex.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 06:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449843#M1552743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T06:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449844#M1552744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value passed in BAPI is replace in the include "FV45KFAK_VBAK_BEARBEITEN_VORBE" (Which is called from function module SD_SALES_HEADER_MAINTAIN line number 110), where the default configuration value of the document type is copied from config table TVAK. (See line number 26 of the include). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating enhancement point to modify this, you can use the userexit "USEREXIT_MOVE_FIELD_TO_VBAK" of "MV45AFZZ" (this is called after the include mentioned above) , where you can modify the structure field VBAK-FAKSK as per your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 08:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449844#M1552744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE - Remove Billing Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449845#M1552745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. I am checking the billing Block Type as '08',and then changing it to space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 09:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-remove-billing-block/m-p/7449845#M1552745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T09:36:02Z</dc:date>
    </item>
  </channel>
</rss>

