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 BAPI_PRICES_CONDITIONS

Former Member
0 Likes
1,135

Hi,

I am using BAPI :BAPI_PRICES_CONDITIONS to upload pricing conditions. It is uploading conditions but deleting the old condition record(incase if there are overlapping of valid-to dates for a condition record).

It is not updating(changing) the existing record in A907 table for overlapping dates instead it is inserting a new record.

Please any one help....

Thanks,

Sonali.

7 REPLIES 7
Read only

Former Member
0 Likes
1,009

Refer to OSS note

Read only

Former Member
0 Likes
1,009

Hi sonali,

i m facing the same problem which u was facing. Please let me know how u solved this problem. its very urgent for me. Can you please send me the solution..

thanks in advance,

Suresh

Read only

0 Likes
1,009

Suresh,

This is a bug in BAPI. There is a OSS notes on BAPI_PRICES_CONDITIONS. In the notes it is given that the BAPI has a status of "not yet released". This means we are not supposed to use it.Instead they suggested to use Standard BDC or IDOC with LSMW to upload pricing conditions.

I used BDC recording with LSMW as I had to update just PR00 condition using VK11.

So, as the BAPI is incomplete you need to use the other alternative method.

I hope this solves your problem.

Thanks,

Sonali.

Read only

0 Likes
1,009

Hi sonali,

Thanks a lot for your reply.

Is this the SAP note ur refering 1135984.

I m facing similar problem what ur facing. with the BDC was ur problem solved ??

I wanted to give u reward points, plz reply to my other query where i will have chance to give points to u

thanks a lot..

Suresh

Read only

0 Likes
1,009

Hi Suresh,

1135984 is the correct OSS note.

With BDC my problem was solved and I hope yours is also solved.

Thanks,

Sonali.

Read only

0 Likes
1,009

BAPI_PRICES_CONDITIONS

does not deserve the BAPI in it's name. I think even SAP does not dare to use it.

Regards,

Clemens

Read only

Former Member
0 Likes
1,009

Hi,

I am using the same BAPI like BAPI_PRICES_CONDITIONS, here the issue is there are more than 900 tables for A* series in my requirements.

In this case, I am not sure how good it is use this BAPI to upload the data, as the structure may varies for condition to condition.

Is it good to ask FC to frieze the structure, but I am not sure FC would frieze the structure.

Can you suggest something, how I can proceed further, to upload the data when the structure of file is not frizzed, which is required to know which field of stucture should go to which field in BAPI. Correct me if my understanding is wrong.

Looking for your response.

Regards

Harikishan