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 needed for KP06

Former Member
0 Likes
2,433

Hi,

I need a BAPI for posting planned costs in transaction KP06.

The BAPI-s

BAPI_COSTELEM_CREATEMULTIPLE

BAPI_COSTELEMENTGRP_CREATE

BAPI_COSTELEMENTGRP_ADDNODE

are not working as per requirement.

Please suggest a BAPI for this transaction.

Thanks&Regards

Ananya

5 REPLIES 5
Read only

Former Member
0 Likes
1,061

Hi,

You can have a BDC for KP06.

The things you need to take care is the screen sequence and the Mandatory fields.

But I would suggest you to use a BAPi instead.

try

BAPI_COSTELEM_CREATEMULTIPLE or

BAPI_COSTELEMENTGRP_CREATE or

BAPI_COSTELEMENTGRP_ADDNODE

Hope it helps...

Regards

Sudheer

Read only

Former Member
0 Likes
1,061

Check the bapi: BAPI_COSTACTPLN_POSTACTINPUT

Regards,

ravi

Read only

0 Likes
1,061

Hi Ravi,

Thanks for your reply.

I have tried with this BAPI also. Sorry for missing this out.

This BAPI has no currency fields to upload planned costs which I need to upload.

Thanks&Regards

Ananya

Read only

Former Member
0 Likes
1,061

Hi,

Have you tried

K_COSTELEMENT_CREATE

K_COSTELEMENT_CREATE_DB_UPDATE

K_COSTELEMENT_DELETE_DB_UPDATE

K_COSTELEMENT_REFRESH_BUFFERS

K_COSTELEMENT_SHOW

K_COSTELEM_BAPI_CHANGE

K_COSTELEM_BAPI_CREATEMULTIPLE

K_COSTELEM_BAPI_GETDETAIL

K_COSTELEM_BAPI_GETLIST

Try that should solve your probelm.

Assign points if it helps.

-Gaurang

Read only

Former Member
0 Likes
1,061

Hi,

Have you tried

K_COSTS_PLAN_INTERFACE_TOTAL?

This one has a currency field.

Please award points if it helps

Regards