‎2008 Feb 14 4:05 PM
Hi,
I'm working on some PM realted stuff, in which i need to use BAPI_ALM_ORDER_GET_DETAIL
where i need some fields from export parameters, giving the input as order number.
But it is exporting a structure, so i'm not sure how to get the fields from the structure(i.e,
How to retrive data from the structure ),
since i could get data only from table or internal table.
SO please guide me in getting data from this structure
Or how can i assign this structure to the Interanl table or some how to retrive data.
In short guide me how to use this function module, to retrive data like order type, location, plant and many other stuff.
Thanks and regards
Rich
‎2008 Feb 14 4:39 PM
if the exporting parameters are like structure, it means its header data.
Define any structure as type of BAPI structure. use the function module. you will have all the header data in that structure. Structure means a single string of data with different components. So you can use this data directly.
e.g.
ES_HEADER structure, you want to use plant field.
Simply use it as ES_HEADER-PLANPLANT