08-04-2009 11:40 AM
Hi all,
I am writing a report for Service Contract and Sales Orders present in SAP for a given date.I need to populate item level text into my report output.
Any pointers where we can find this field?
Note: It is not VBAP-ARKTX
Thanks
Aravind
08-04-2009 11:51 AM
HI,
You can use Tables STXH and STXL using objects from VBAP Table against Order Number.
For reading entries through these tables you need a FM : READ_TEXT.
Example
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = STXL-TDID
LANGUAGE = 'E'
NAME = BASIC_TEXT
OBJECT = <Sales Object>
TABLES
LINES = ITAB_TEXT.
Regds,
Anil
08-04-2009 11:42 AM
Which field in the sales order item do you mean? Hit F1 on the field and then display technical details to see which field it is when you are in the sales order.
08-04-2009 11:48 AM
Hi,
If you are talking about long texts of items, you have to use function module READ_TEXT
To get an idea of the parameters to pass to the function module
Click on details GOTO --> HEADER
Regards
08-04-2009 11:51 AM
HI,
You can use Tables STXH and STXL using objects from VBAP Table against Order Number.
For reading entries through these tables you need a FM : READ_TEXT.
Example
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = STXL-TDID
LANGUAGE = 'E'
NAME = BASIC_TEXT
OBJECT = <Sales Object>
TABLES
LINES = ITAB_TEXT.
Regds,
Anil