Register Login

BAPI_BILLINGDOC_CREATEMULTIPLE FM does not create Header Texts

Updated May 18, 2018

Hello SAP Experts,

While creating an invoice (Debit Memos) using BAPI_BILLINGDOC_CREATEMULTIPLE with references to existing Debit memo requests but it fails to create header texts.

The issue can be re-generated by:

  • First, In SE37 execute FM BAPI_BILLINGDOC_CREATEMULTIPLE 
  • Then for debit memo request pass BILLINGDATAIN with values 
  • Now pass TEXTDATAIN with values for header Text (e.g. VBBK, Z001, E, '*', 'Test text'). Ref_doc = debit memo request number, Ref_item = 00000.


Comments

  • 01 Nov 2016 12:11 pm Sugandh Helpful Answer

    The issue described above is the standard system behaviour because while creating a billing document with reference to a SAP SD document with this BAPI the system behave same as in VF01 or VF04 which implies that the texts will be copied from the previous document into the billing document. The value entered in TEXTDATAIN structure in the BAPI would not have any effect on these fields.

    If the data from external system to create a billing document(without reference to any SD document), then the system would consider the data entered by user in the structure

    This means that the header text with TEXTDATAIN structure can only be created using BAPI when you create the billing from an external system (without any reference to any SD document).

  • 01 Nov 2016 12:11 pm Rohit Mahajan

    Please approach consulting channel if the standard behaviour does not satisfy specific requirements.


×