cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in text objects

former_member184551
Contributor
0 Kudos

Hi Guys ,

I ahve never worked with text objects before.

I have an invoice. After all the line items are printed. I need to Include A std sapscript text there. Here is the info I have, please tell me how to do it.

Text Object = VBBK. Text ID = ZB01. Lang = ES.

1.If I write INCLUDE &OBJNAME& OBJECT 'VBBK' ID 'ZB01' LANG 'ES'.

Wat will come in &OBJNAME& ? Do we have to define the text name in our script to store the returning value??

2. If I use this include, will that be all? Or Do I have to code something in the print program as well? Will I have to use read_text here?

When I go to vf03-header-text I have 'xyz' there, I want this xyz to come after all line items in my invoice form.

Output type is Y44B.

Please help, points will be awarded for each helpfull answer.

Accepted Solutions (0)

Answers (1)

Answers (1)

andrs_sarcevic
Contributor
0 Kudos

Hello there...

OBJNAME refers to the object that the text belongs. So, if your text is from VBBK, and you're working with invoices, it's pretty sure that your object name would be the document number (all the 10 digits, with 0s in front).

I believe that the INCLUDE reference will do what you want.

You can always try to read the text with de function module "READ_TEXT". You'll see that you have all the parameters needed.

Hope this will help you.

Regards,

Andrés Sarcevic.