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

Query Regarding Transaction VF02

Former Member
0 Likes
1,246

Hi All,

I am using the transaction vf02 where I have assigned the name of the smartform as LB_BIL_INVOICE and program name as RLB_INVOICE.

Can anybody please tell me from where it picks up the value in the header text in the header header window . Actully I want to change the name which it is showing , n I think it is coming from the text element.

Now I am not getting from where it is picking up the values.

Pls Help.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,194

Hi

Which name you want to change? The header data of a bill are in VBRK table, but u should have all data you need in the structure IS_BIL_INVOICE of the smartform interface.

Max

Hi All,

I am using the transaction vf02 where I have assigned the name of the smartform as LB_BIL_INVOICE and program name as RLB_INVOICE.

Can anybody please tell me from where it picks up the value in the header text in the header header window . Actully I want to change the name which it is showing , n I think it is coming from the text element.

Now I am not getting from where it is picking up the values.

Pls Help.

Thanks.

9 REPLIES 9
Read only

Former Member
0 Likes
1,195

Hi

Which name you want to change? The header data of a bill are in VBRK table, but u should have all data you need in the structure IS_BIL_INVOICE of the smartform interface.

Max

Read only

0 Likes
1,194

Hi ,

there is a window called header header window , The content in that window I think shows the name of the company I want to change That name , can u please tell from where it is getting picked .It is a include text used at that place , I am not getting how to check the values it is printing.

Or can anybody please tell me how to see an include text contents?

Thanks

Read only

0 Likes
1,194

Hi rahul,

Yoi can use the Function module READ_TEXT to read the texts using the TEXT ID, TEXT OBJECT name etc.

Regards,

Ravi

Read only

0 Likes
1,194

Hi

The company code is in the field IS_BIL_INVOICE-HD_ORG-COMP_CODE, the name is in the table T001.

So you need to create a copy of std smartforms in order to change that window, here you can replace the standard text with an text element to write the name of the company.

I believe the std smartform prints the std text pricked from TVKO table.

Max

Read only

0 Likes
1,194

Can anybody tell what is the transaction for include texts??

Read only

0 Likes
1,194

SO10

Read only

0 Likes
1,194

Hi Sniper ,In the window header header window , there is a include text headertext In the include text , , they have used a variable called 'GF_TXNAM_KOP' , can you please tell from where values are coming in that variable.

Thanks

Read only

0 Likes
1,194

Hi

Just I said from TVKO table

GF_TXNAM_KOP = TVKO-TXNAM_KOP (where TVKO-VKORG = VBRK-VKORG, i.e the sale org. assign to the document you're printing)

here you can find the std text with the addresses.

Trx SPRO:

Enterprise structure->Sales and Distibution->Define, Copy, Delete, Check Sales Organization

Read only

Former Member
0 Likes
1,194

enter the invoice number in VF02.

hit enter

goto second screen .

goto->header->header texts ..

now there is a screen with the texts ..this will be in display mode ..

double click in the box and it will lead to a script sort editor ,, make the changes ..

and save ..

in the same screen

goto --->header ..

will give u detials of

Text name

Language

Text ID

Text object

the data is stored in table STXH(header) and STXL (item texts)

make use of Fm Read_Text to fetch the same

when u run the Smartform after header text changes it will reflect there .

regards,

vijay.