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 for creating header values in VK11

Former Member
0 Likes
825

Hi,

The following values available for me to create PR00 condition record:

Condition type (= PR00)

Sales Org

Distribution Channel

COND_NO

SCALETYPE

...

...

...

I am not able to find a bapi which can update header values of a condition record (for ex- Sales Org, Dist. Channel etc ).

Remaining all required fileds i am updating using BAPI_PRICES_CONDITIONS but can't see any table or field whih can update above mentioned fields.

Any help is highly appreciated,

Regards,

NaPPy

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
667

You can check with

RV_CONDITION_RESET

RV_CONDITION_COPY

RV_CONDITION_SAVE

Read only

Former Member
0 Likes
667

Hello,

BAPI_PRICES_CONDITIONS can be used to update header fields. But make sure, you are not trying to update the key fields of the condition record table. As they are key fields of a table, they cannot be updated and the BAPI will create a new condition record in that case.

//Thanks

Janani

Read only

Former Member
0 Likes
667

Please check the function module RV_CONDITION_RECORD

also you can check the below function modules

RV_CONDITION_CONVERT_UNITS

RV_CONDITION_COPY

RV_CONDITION_DELETE_BY_FIELD

RV_CONDITION_FIELD_CHANGE

RV_CONDITION_MAINTENANCE

RV_CONDITION_POST

RV_CONDITION_RESET

RV_CONDITION_SAVE

RV_CONDITION_SPY

Also check the function group V14A

Regards

Satish Boguda