2007 Mar 22 8:25 AM
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.
2007 Mar 22 8:29 AM
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.
2007 Mar 22 8:29 AM
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
2007 Mar 22 8:40 AM
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
2007 Mar 22 8:42 AM
Hi rahul,
Yoi can use the Function module READ_TEXT to read the texts using the TEXT ID, TEXT OBJECT name etc.
Regards,
Ravi
2007 Mar 22 8:57 AM
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
2007 Mar 22 9:34 AM
Can anybody tell what is the transaction for include texts??
2007 Mar 22 9:38 AM
2007 Mar 22 9:56 AM
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
2007 Mar 22 10:29 AM
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
2007 Mar 22 8:48 AM
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.