Skip to Content

Transfer invoice header text to accounting document


When an accounting document is created for a sales invoice I want to have the text of the invoice header transfered to the line item text of the accounting document (BSEG-SGTXT).

I know the copy control options for for example texts from a delivery to an invoice. Is there also a solution for the problem mentioned above?

Regards, Jan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 13, 2010 at 06:25 PM


    You can apply constant value substitution thought OBBH at line item posting level.

    Just Add the field which you need to get automatically filled, and select constant field BSEG-Field, to assign its value to required field.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member J. Borgerink

      Hi Jan,

      Well, for BSEG and BKPF, yes, you can directly assign the values.

      For user exit, you may use SAP Note : 105024

      In short, you need to

      1) add user-exit routine in Z program, as suggested in sap note.

      2) In routine, assign header text field with the required information. Consult your ABAPer if available, or try yourself and for any query, repost your confusion here.

      3) Call this routine in OBBH

      The routine/function will actually be assigning header text.


  • Jan 14, 2010 at 09:23 PM


    The standard solution for this is the User Exit EXIT_SAPLV60B_001.

    This changes the structure ACCHD - this is the standard structure for transfer of Data from SD to Accounting

    Kind regards

    Add comment
    10|10000 characters needed characters exceeded