Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Modules

Former Member
0 Likes
408

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

2 REPLIES 2
Read only

Former Member
0 Likes
385

Hi,

For using Exporting..

Create a work area of whatever structure type u have.

Like for this BAPI create two work areas for exporting parametersuse,

Data : wa_itab type BAPI_ALM_ORDER_HEADER_E,

wa_itab2 type BAPI_ALM_ORDER_SRVDAT_E.

and put them into exporting field.

Read only

0 Likes
385

The above said two are exporting parameters of that particular function module, so i need to import these and use the fieds from this structure.

As u said i tries the same with import parameters but since the reference is a structure it is not giving any output data.