To extract the purcharse order text inside the master material
I need extract the purcharse order text that is in master material. I try to read with a function READ_TEXT but I don't knowledge the parameters values.
Someone knows how can extract this text?
Thanks in advance!
Vikas Mayekar replied
All the texts are stored in table STXH with different text application objects, incase of PO header text it is EKKO and PO Item text it is EKPO.
Even if the texts are adopted from either of these, there is a possibility that it can be altered at PO level.
Here it will get stored with object EKKO or EKPO.
There is no need to store this at PO level if there is no change made to the text at PO level.
Try these: Check for texts in EKKO or EKPO ( depending on header or item level)
If no text gets returned back check in object EINA for info record or MATERIAL for material master long text.( table is same i.e. STXH)
Get the object and enter the same in function module READ_TEXT