2009 May 30 7:28 AM
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.
2009 May 30 7:31 AM
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.
2009 May 30 7:31 AM
2009 May 30 8:34 AM
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
2009 May 30 8:38 AM
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]
2009 May 30 9:22 AM
Thnks for Reply
And it is helpful Answer. but i need to declase internal table for istxh table.
It gives an error.
Thnks
Bhavesh
2009 May 30 10:17 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |