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

Sales Order Header Data. Texts

Former Member
0 Likes
779

Hy All Experts.

I wnt to put Filed Sales Order Header data. i go to transaction va02. ->> disp Doc. header Deatils.

select Tab Texts. --> Notes .

I wnt to put a notes in a sales order report. so hw to identify. that field.

Please guide me above matter.

Thnks

Bhavesh Panchal.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
747

check this

link: [;

Hy All Experts.

I wnt to put Filed Sales Order Header data. i go to transaction va02. ->> disp Doc. header Deatils.

select Tab Texts. --> Notes .

I wnt to put a notes in a sales order report. so hw to identify. that field.

Please guide me above matter.

Thnks

Bhavesh Panchal.

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
748

check this

link: [;

Read only

0 Likes
747

thnks for reply.

ur asn is very helpful.

but it is object and i hw to put in ALV. please guide me.

it is put help of call function or by field name.

Please guide me.

thnks for support.

thnks

Bhavesh

Read only

0 Likes
747

for each record in your itab call this Function module ,get the values

store it in a field of ur final itab and the modify it.

ex:

link : [Example|http://www.sap-img.com/abap/how-to-print-a-header-text.htm]

Read only

0 Likes
747

Thnks for Reply

And it is helpful Answer. but i need to declase internal table for istxh table.

It gives an error.

Thnks

Bhavesh

Read only

Former Member
0 Likes
747

Hi Bhavesh Panchal,

Use read text function module and get data from header text for ur sales report.

get object, id, en from text area. Double click the text area and click Goto menu and choose header.

for ex

TDNAME = IT_ORDER-VBELN.

OBJECT = 'VBBK'.

ID = '0001'.

EN = 'EN'.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = ID

LANGUAGE = EN

NAME = TDNAME

OBJECT = OBJECT

TABLES

LINES = LINES

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8.

DELETE LINES WHERE TDLINE IS INITIAL.

LOOP AT LINES.

IT_ORDER-MSG1 = LINES-TDLINE.

EXIT.

ENDLOOP.