Application Development 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: 

BAPI_PRICES_CONDITIONS not generating change documents

Former Member
0 Kudos

Hey everyone. I'm using BAPI_PRICES_CONDITIONS using operation 004 (change) to update existing conditions records.

It's working great except that for some reason, it is not creating change records.

That is, if I go into the changed record via VK13 I can see the updated pricing, but if I go into the change log there is no record or history of the change being made.

Any thoughts on why this might be?

1 ACCEPTED SOLUTION

former_member212713
Contributor
0 Kudos

Hello Justin,

I advice you using RV_CONDITION_COPY FM.

This FM using within RV_CONDITION_SAVE , RV_CONDITION_RESET.

I create,change conditions without problems.

If you want to try this FM, I can write sample about using of RV_CONDITION_COPY.

Best regards.

5 REPLIES 5

former_member212713
Contributor
0 Kudos

Hello Justin,

I advice you using RV_CONDITION_COPY FM.

This FM using within RV_CONDITION_SAVE , RV_CONDITION_RESET.

I create,change conditions without problems.

If you want to try this FM, I can write sample about using of RV_CONDITION_COPY.

Best regards.

0 Kudos

I advice you using RV_CONDITION_COPY FM.

This FM using within RV_CONDITION_SAVE , RV_CONDITION_RESET.

I create,change conditions without problems.

If you want to try this FM, I can write sample about using of RV_CONDITION_COPY.

Hi. I've tried this FM and have had it working, but one requirement is to update payment terms and fixed value date, neither of which the RV_ FMs allow for.

Thanks for the suggestion.

Former Member
0 Kudos

Hi Justin,

Have you updated the table "TO_BAPIKNUMHS", Kindly check this and fill the values COND_NO_OLD and COND_NO_NEW.

Regards

Pavan

0 Kudos

Hi Justin,

Have you updated the table "TO_BAPIKNUMHS", Kindly check this and fill the values COND_NO_OLD and COND_NO_NEW.

Regards

Pavan

Hi Pavan,

Thanks for the suggestion. I am filing TO_BAPIKNUMHS with both values and still no change records are being created. Are you successfully using this BAPI to change conditions with resulting change documents?

Justin

0 Kudos

Hello Justin

Check if the below note helps.the Bapi is Not released

Note 1135984 - Conditions cannot be created with BAPI_PRICES_CONDITIONS

Regards,

Mithun Shetty