‎2010 Jun 02 5:26 PM
Hi,
Im using FM CRM_PRODUCT_GETDETAIL_API which is returning me work area (ES_PRODUCT_DATA) of type
COMT_PRODUCT_MAINTAIN_API. This work area contains a table SHORT_TEXTS of type COMT_PR_SHTEXT_MAINTAIN_TAB
whcih in turn contain a line type DATA of type COMT_PRSHTEXT_X. I need to fetch fields lying inside DATA. Can anybody please
let me know how to achieve this. I would like to do this by not using nested loop structure.
Rgds
Sudhanshu Sharma
‎2010 Jun 02 10:08 PM
you should be able to get the fields by:
COMT_PR_SHTEXT_MAINTAIN-DATA_X-UPNAME
COMT_PR_SHTEXT_MAINTAIN-DATA_X-SHORT_TEXT
‎2010 Jun 03 7:02 AM
Hi,
Use field ES_PRODUCT_DATA-short_texts like any other internal table (without header line).
E.g.:
field-symbols: <text> type COMT_PRSHTEXT_X.
...
loop at ES_PRODUCT_DATA-short_texts assigning <text>.
write: <text>-short_text
endloop.Regards, Gerd Rother