cancel
Showing results for 
Search instead for 
Did you mean: 

Pulling header text with VOTXN

Former Member
0 Kudos

I need for the header text entered onto my Sales Order to carry over to my Invoice and when we go into VF02 we need to be able to edit/add to the header text.

So after reading up on here i found the tcode VOTXN selected Billing Doc. Header button. I go to change select Billing Header and click the folder Text ID's in Textprocedures.

Our item text pulls through just fine so I tryed to mimic how it was set up.

First Problem my DEV area doesn't have all the same Access sequences as my Testing environment so i need to know how to create Access Sequences.

My Testing environment has access seq 5 which is

text object KNVV id ZECM

My Dev has a seq 11 which looks to be the same so i was going to test with it but i would like to create a 5 so that both environments match but I don't know if that is needed.

Second problem the Sales Order header text has an ID of ZSH2 and then the access seq of 5.

the header text for the Invoice has an ID of ZSHE and then i added the access seq 11.

I can create a NEW ENTRY for and give it the ID ZSHE and hopefully get a seq of 5 created so is that going to change the TEXT HEADER information in VF02? and is this the correct way to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Whatever changes you can make in development or testing client. Only thing you have to ensure that those settings are not available in production client and affect the current performance.

If ID ZSH2 or ID ZSHE are existing in production client already, then you have to ensure that whatever changes you make to these ids, are not going to affect the text determination running in production client.

thanks

G. Lakshmipathi

Former Member
0 Kudos

well I'm not really changing anything in ZSH2 OR ZSHE just adding them to the textprocedure Z5 which is our Billing Header.

I went ahead and added ZSH2 with the Access Seq of 11.

But i'm still not seeing any text in the invoice.

now when i go into VF02 enter my invoice number click the DISPLAY DOC. HEADER DETAILS button then go under the HEADER.TEXT tab have the new Txt. ty. the ZSH2. And when i click the DISPLAY LOG button under the text i can see the ZSH2

when i expand it i see

NR____OBJECT_______ID________ALL LANGUAGE PARVW SORG. REG DATA NOTE

010___knvv__________zecm_____________________________________________110 text does not exist

and when i goto VA02 enter the sales order number for this invoice go to the DISPLAY DOC. HEADER DETAILS button then go under the TEXTS TAB press the display log button and expand the ZSH2 I see

NR____OBJECT_______ID________ALL LANAGUAG PARVW SORG. REQ DATA NOTE

010____knvv_________zecm_____________________________________________110 text does not exist

the only difference is that the SALES ORDER ZSH2 is access seq 0005 and the INVOICE ZSH2 access seq is 0011

any thoughts?

Former Member
0 Kudos

KNVV in the access is used to get text from the customer master. It would VBBK (or something like that) to get a text from a preceding document.

Also - be sure to generate the access before you test. (This is in the menu in VOTXN.)

Former Member
0 Kudos

On my SALES ORDER the access seq. only has the KNVV under the header text do i need to put a VBBK under it as well? Or should it work with just a VBBK in the invoice?

Former Member
0 Kudos

The text ID (i.e. VBBK or KNVV) means the source. Since you are interested in copying the sales header text to the invoice, the VBBK referemce should be in the access sequence you use in the invoice.

Former Member
0 Kudos

Ok I have a new access sequence now 14 that is set up as

OBJECT VBBK

ID ZSH2

and now when I go into VF02 and look at Display log and look under ZSH2 has the OBJECT and ID as above and has the note

121 1 texts could be obtained (highlighted in green) but there still isn't any text

Former Member
0 Kudos

Ok sorry we where having some issues that the basis team had to take care of

I switch back to 14 with the settings VBBK and ZSH2 with out the Refer/Duplicate box check

and now its working thanks everyone for your help

Answers (1)

Answers (1)

former_member183879
Active Contributor
0 Kudos

Israel,

If the access sea assigned to your text id in sales order header is 5, then please maintain the same 5 in invoice header procedure also for the same text ID. Then only it will be copied.

Also after doing the configuration, you have to save the same, come back to VOTXN and then generate the procedures once again. In the menu Texts--Generate button.

If you do this and then try a transaction, you can see text from order coming in the invoice. It is as simple as this.

Also in VOTXN, ensure that your text id is referenceable.

Former Member
0 Kudos

Ok i created a seq 5 and made sure that it had all the same settings as in my QAS client.

Then assigned it to my header text in the billing header section of VOTXN (made sure to generate 5 in both DEV and QAS)

Tested it with the Refer/duplicate box checked and unchecked but still nothing showed up on the invoice.

And when checked the Display log it went back to

10____KNVV_________ZECM_____________________________________________110 TEXT DOES NOT EXIST

which the KNVV and ZECM is what 5 is supposed to say but now the text does not exist again

The Refer/duplicate box is checked on the SALES HEADER section as well i hope thats what you meant by TEXT ID IS REFERENCEABLE.