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

displaying text using read_text fm

Former Member
0 Likes
1,019

Hi everyone,

I have a small requirement. In my report I want the following three fields

added between the Invoice Number and the Drayage Amount:

DODAC# CONTRACT# CALL#

1.) Bring up the Billing Document

2.) Click on the document flow Icon. Icon before the one labeled

Accounting

3.) Open up another session. Bring up the sales order identified on the

first line of the documents.

4.) On the sales order click on the GOTO toolbar. Select Header/texts

5.) You will see fields on the left hand side towards the bottom labeled

DODAC#, DOD CONTRAC#, and DOD CALL#.

From my knowledge, we can do this using the function module READ_TEXT. But I am not sure how to do that. Can anyone help me in this regard. I am unable to find the TDNAME of those fields to pass in the parameters of the FM.

its urgent, expecting some help from someone.

regards,

rajasekhar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
718

Hi,

TDNAME will be the sales order number..Make sure you have zeroes in front of the sales order..

Ex..If the sales order number is 12345...IN the read_Text function module you have to give 0000012345.

Thanks,

Naren

4 REPLIES 4
Read only

Former Member
0 Likes
718

Hi,

To get the text details..do the following..

When you display the sales order..

In the menu choose..GOTO -> HEADER -> TEXTS.

Double click on the text for which you want to get the details..

It will take you go the editor..

In the menu choose..GOTO -> HEADER.

There you can see the details about the text..

Use those information in the function module READ_TEXT.

You will get the text..

Thanks

Naren

Read only

0 Likes
718

Hi naren,

Thanks for your reply. But when i am displaying the sales order using VA03, on double-clicking the required text, some text data is displayed on the subscreen to the right of the text field in the blank space. But in the GOTO menu, Header is inactive and so no details are found. Anyway, I have found the TDID and TDOBJ of the field, but the TDNAME is not known.

Can you help regarding that.

regards,

rajasekhar.

Read only

Former Member
0 Likes
719

Hi,

TDNAME will be the sales order number..Make sure you have zeroes in front of the sales order..

Ex..If the sales order number is 12345...IN the read_Text function module you have to give 0000012345.

Thanks,

Naren

Read only

0 Likes
718

Hi naren,

Thanks a lot for your help. I got the required result. I will do necessary changes to my report to use the fm.

regards,

rajasekhar