cancel
Showing results for 
Search instead for 
Did you mean: 

Table and feild for Delivery header text

Former Member
0 Kudos

Hi all,

Can any one guide me where delivery header text is saving i check table STXH ( STXD SAPscript text file header) and field TDID but while i am checking in table i am not getting any text data either based on text or any other combination

can any one guide me which table its saves .. so

Thanks

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Firstly, you may have to check the object of the header text. In delivery header text, double click on the textbox (righthand side), it will display the text editor , choose the context menu Goto -> Header.

So you will find what are the object keys of this text.

Best regards,

Former Member
0 Kudos

All text items are stored in function module Read_Text, import parameters for this FM are VBBK ( for all sales documents ) and Sales document number, delivery number in your case with two zeros preceeding.

Take your ABAP er help to read the text entered in header text.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

In general the Text from DELIVERY to SMARTFORM are populated using the Function module READ_TEXT

The Key fields are from the STXH, STXL for the Function module

We will pass the Values of Object key and Text id to the function module and get the values.

The Logic will be

Use the function READ_TEXT passing the text id and object

and then pass the table parameter to the editor defined in the container

call method editor->set_readonly_mode

exporting readonly_mode = '1'.

call method editor->set_text_as_r3table

exporting table = i_lines1

exceptions others = 1.

call method cl_gui_cfw=>flush.

Thanks,

santosh