‎2007 Mar 06 6:08 PM
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
‎2007 Mar 06 6:43 PM
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
‎2007 Mar 06 6:32 PM
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
‎2007 Mar 06 6:40 PM
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.
‎2007 Mar 06 6:43 PM
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
‎2007 Mar 06 7:15 PM
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