cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the Table in extractor ?

Former Member
0 Kudos

Hi experts,

I would like to know how to find out the table involved for extraction for a datasource which is being extracted by function module?

In this case i would like to know Table involved in FM BWSM_PM_GET_ORDCST?

Thanks in advance

arun

View Entire Topic
Former Member
0 Kudos

Hi,

Explaination given was really good. I understood the COSS and COSP has the same structure and COSP is the main table for PM extraction. Is that right?

I just want to understand how the key figures for 16 periods are aggregated.

In the Base FM "BWOM_RS_GET_ORDCST",

APPEND_FIELDLIST: 'OBJNR',

'GJAHR',

'WRTTP',

'VERSN',

'KSTAR',

'VRGNG',

'BEKNZ',

'TWAER',

'PERBL',

'MEINH',

'WTG+++',

'WOG+++',

'WKG+++',

'MEG+++',

'PAROB',

'BELTP',

'HRKFT'.

...get data...........................................................

GET_DATA.

But in the actual extract structure i have only one amount key figure. Based on what i can extract only the Value CO Currency amount "WKG+++" data?

Is there any document available to explain Order cost and allocation extraction?

Thank you

arun

Message was edited by: Arun Prasad

Former Member
0 Kudos

COSS is for costs from intra company business, e.g. activites from cost centers.

COSP is for primary costs like external materials you needed to purchase.

The logic is the following:

In COSS and COSP you have 48 fields 'WKG++', WOG++ and WTG+++. In BW you get up to 48 lines out of one line in COSS or COSP. The +++ is filled into 0FISCPER3 and the field group is filled into the currency type 0CURTYPE.

WKG = 0CURTYPE 20

WOG = 10

WTG = 0

Hope this helps.

GET_DATA btw is a macro. You can do a double click on it to get to the coding.

Best regards

Dirk