Skip to Content
avatar image
Former Member

SD - Text determination with values from transparent tables


we have maintained the field 'EIKTO' in table 'KNVV' (customer master data - sales area) with a customer number. When creating an order for this customer, I want to transfer, totally expanded, this customer number out of field 'KNVV-EIKTO' into a special header text-ID. I tried this with with a new access sequence for the text determination for which I have also created a new data transfer routine (in field V_TTXZI_N - COPNR). But without success. Does anybody know if this is possible at all in the SD-text determination that I can transfer a value of any field of a transparent table into a text-Id? And if it's possible, is the data transfer routine in the Text determination - access sequence the correct place for it? If yes, what is the correct structure to work with? Or are there any other user-exits existing for this problem?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 07, 2008 at 06:28 PM

    hi Stephan,

    whats about to write the variable field into the text ?

    ' this is ther text - not the variable &KNVV-EIKTO& and further on '.

    while printing, the value will be set by sap-script.

    If you want to have the value direct into the text, you have to read the text in an userexit with Call function Read_text .

    Here you will get an internal table of the text- you have to put the valie into one row.

    Then save it back with call function save_text.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Hans,

      thank you for your answer. In the meantime I found also function module 'Save_text'. This one can also create the text with the field value (we don't want to print it!). We tried it before with 'Create_text' but we got the problem that we didn't have the order number at the correct time because the order wasn't already saved. And you are right, if you use 'Save_text' with modus

      INSERT = 'X'


      it works.

      Thank you


      Edited by: Stephan Nadler on Sep 8, 2008 11:44 AM