2011 Feb 08 7:37 AM
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
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
2011 Feb 08 11:47 PM
Maybe check-out program COPA_BAPI_TEST. It seems that SAP provided this program as an example on how to use this BAPI.
Some documentation regarding this program can be found at:
[COPA_BAPI_TEST Test Program for CO-PA BAPIs - SAP Report - ABAP|http://www.se80.co.uk/sapreports/c/copa/copa_bapi_test.htm]
Good luck,
Robert
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |