on 01-25-2013 10:25 AM
Hi guys ,
I want to read long text of a particular MIC in inspeciton plan .
I tried using table PLMK . Over there I will find long text exist or not if exist how to read it using READ_TEXT . what should the value in "TEXT NAME" parameter of the FM .
Regards
In text editor where you enter text in sap, choose menu option Goto->Header. This will given you all values including text name, language, text id and text object which can be then used with READ_TEXT function module.
Regards,
Pawan.
PS: If its enjoy transaction then double click on text and it will take you to text editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan ,
"Go to -> HEader" option I knnow but over there the value for TEXT NAME will be unique for each and every MIC . how to find the text name for a mic's long text . Is there any table from which i can uniquely find TEXT NAME for a particular inspection plan's operations's MIC . I dont want to hard code it because in my program the inspection plan number will keep on changing .
Regards
As I know, the text name isn't stored in any standard table.
SAP also combines some data for the text name in standard program.
Please refer below logic (same with standard SAP logic as I know).
If the long text of master inspection characteristic,
MANDT+WERKS+MKMNR+VERSION+SPRACHE
Regards, DoWook KIM
Hi Dowook ,
Thanks for help . Its a combination of :
MANDT+Q+PLNNR+PLNAL+"SPACE"+MERKNR(4 digit)+ Z
where Z is the position of MIC in Plan . For example if the plan is having 2 operation first operation having 3 MIC and 2nd opeartion having 4 MIC . Now if we are looking for value long text of 4th MIC in 2nd operation then value of Z will be :
total no of MIC in operations before the current operation + position of the MIC selecte
= (3) + (4)
= 7 .
But I am not able to find the value of Z in any table field .Please help . otherwise to find Z , again number of code lines should be written .
REgards
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.