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

BAPI_COPAACTUALS_POSTCOSTDATA

tharu
Contributor
0 Likes
510

There is a requirement to develop an ABAP programme to upload data through KE21N (Create Line Items) in COPA. We used the u201CBAPI_COPAACTUALS_POSTCOSTDATAu201D to develop the upload programme. But with this BAPI, we were only able to develop the programme to put the value fields only (2nd tab in KE21N). However through this BAPI, we are unable to develop the programme to enter the characteristics (1st tab in KE21N).

Is there another BAPI that can be used to develop this programme? AND my other issue is, that we donu2019t get the technical field name for the value fields in the 2nd tab. Why is that & is there a way that I can get the technical fields names & can I develop a programme to upload mass data through this BAPI?

1 REPLY 1
Read only

Former Member
0 Likes
359

Hello,

I am facing the same problem. When creating field structure for BAPI_COPAACTUALS_POSTCOSTDATA we should provide technical names, right? Now:

1. What if two different fields (on different screens) have the same value?

2. What if two fields on the same screen have the same technical name (eg. GT_LINES-VALUE)? Should I just use VALUE(01) and VALUE(02)?

I would be grateful for any feedback.

Best regards,

Marek