Application Development 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: 

Table and field for Item level text

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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