‎2009 Nov 19 11:27 AM
Hi there!
I am trying to read the Documentation of a Characteristic, not the value itself and not atwtb from the configuration.
I need the Documentation text (the only hint i get from the interface is that this text is in TDLINE).
In my case, i need this documentation printed instead of the grade value.
Thanks for your help
Jan
‎2009 Nov 19 11:52 AM
Hi,
i guess this should be some kind of standard - reading the Documentation so it can be printed.
Any ideas?
Cheers
Jan
‎2009 Nov 19 12:19 PM
hi,
Do you want to read the documentation...?
Use FM DOCU_READ (Check the code)
or go to the table dokhl where you will get the
TDOBJECT
TDNAME
TDID
TDSPRAS
Use Read_TEXT.
Rgds
Aeda
Edited by: Aeda N on Nov 19, 2009 5:49 PM
‎2009 Nov 19 12:58 PM
Hi Aeda,
thanks for your answer.
Actually what you advise is more or less what is done already.
This way i don't get no result by the read_text function.
The text i need to extract is the one you see in the material configuration, the button below the characteristics showing a document with glasses. You know what i mean?
Cheers
Leo
‎2009 Nov 19 1:45 PM
Hi,
See I got your Q..!
Go to SE37, Open the FM DOCU_READ and put a break point .
Now go to your documentation( ex : SPRO-Material Man----), click on Icon with glasses, now you can find out.
Rgds
Aeda
‎2009 Nov 20 9:00 AM
Hi Adea,
thanks for your fast answer!
I followed your recommendation and tried to get to the break-point by setting it and maneuvering to the documentation call-up.
Unfortunately, i didn't arrive at the break-point. When i called up the function via se37 it worked. But not over the interface of the material configuration.
You have a guess why?
My best wishes
Jan
‎2009 Nov 20 9:18 AM
yes,
If click on any Documentation, it will go through that FM.
Make sure that, first Create the break point (Put a break point at select statement).
Then enter your Tcode and Check.other wise tell me the path ill check.
Rgds
Aeda
‎2009 Nov 20 9:29 AM
Hi,
maybe this 'Documentation' isn't read by this FM.
I mark the grade and click on Documentation -> the Documentation appears e.g. HANN 1.55345 hard steel, but i don't get to the BP i set.
high regards
Jan
‎2009 Nov 20 10:23 AM
‎2009 Nov 20 10:28 AM
‎2009 Nov 20 10:54 AM
hi,
Tell me the Exact location of your documentation, so i can simulate here.
Ex: SPRO-Material Managemet or TCode..?
rgds
Aeda
‎2009 Nov 20 11:12 AM
I have run a debug on our system and function CTSD_CHAR_DOCUMENTATION_FETCH is being called to return characteristic documentation.
you can see where the call is made in include LCEI0F8F
Try this function module.