Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function To Create text in delivery invoice Form Header

0 Likes
1,021

Hi,

     I used the CREATE_TEXT function to write a text on delivery invoice header, but instead of creating the text in the text area form header of VL03N, is creating a folder and adding text(PT) inside this folder. How do I create text in form header area?

Below the parameters used:

CALL FUNCTION 'CREATE_TEXT'

         EXPORTING

           fid       = 'ZTNF'

           flanguage = 'PT'

           fname     = '0080198779'

           fobject   = ' VBBK'

         TABLES

           flines    = ti_linhas

         EXCEPTIONS

           no_init   = 1

           no_save   = 2

           OTHERS    = 3.


Below image VL03N after execution of the function:

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
794

Hi Vinícius,

I believe it's SAVE_TEXT you should be using.

Add a break-point for this function and update your text manually in transaction VL02N to confirm it's syntax and input values.

Regards,

Edgar

Hi,

     I used the CREATE_TEXT function to write a text on delivery invoice header, but instead of creating the text in the text area form header of VL03N, is creating a folder and adding text(PT) inside this folder. How do I create text in form header area?

Below the parameters used:

CALL FUNCTION 'CREATE_TEXT'

         EXPORTING

           fid       = 'ZTNF'

           flanguage = 'PT'

           fname     = '0080198779'

           fobject   = ' VBBK'

         TABLES

           flines    = ti_linhas

         EXCEPTIONS

           no_init   = 1

           no_save   = 2

           OTHERS    = 3.


Below image VL03N after execution of the function:

1 REPLY 1
Read only

Former Member
0 Likes
795

Hi Vinícius,

I believe it's SAVE_TEXT you should be using.

Add a break-point for this function and update your text manually in transaction VL02N to confirm it's syntax and input values.

Regards,

Edgar