Skip to Content
0
Feb 08, 2011 at 07:37 AM

fieldnames for BAPI_COPAACTUALS_POSTCOSTDATA

348 Views

Hi All,

i am using BAPI_COPAACTUALS_POSTCOSTDAT for transaction KE21n(COPA module) & this is working very fine. but i need to pass values for "valuation type & Post line Item data" which is on KE21n initial screen . How do I do this? below is what Im trying to pass but it doesn't accept.

wa_inputdata-record_id = id.

wa_inputdata-fieldname = 'KOKRS'.

wa_inputdata-value = wa_data-post_line_item_val.

wa_inputdata-currency = 'USD'.

APPEND wa_inputdata TO t_inputdata.

wa_fieldlist-fieldname = 'KOKRS'.

APPEND wa_fieldlist TO t_fieldlist.

above is to pass values for "only in operating concern currency" in Post line item

This is urgernt...

Thanks