on 09-02-2008 11:08 AM
Hi,
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?
Regards
Stephan
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.
Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
SAVEMODE_DIRECT = 'X'
it works.
Thank you
Stephan
Edited by: Stephan Nadler on Sep 8, 2008 11:44 AM
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.