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

Former Member
0 Kudos

Hi,

Can anyone tell me how to use BAPI_PRICES_CONDITIONS. I want to create new condition records in the table A902.

I am passing the following data to the BAPI,

1.TI_BAPICONDCT

OPERATION=009

COND_USAGE = A

TABLE_NO = 902

APPLICATION = V

COND_TYPE = ZPR0

VARKEY = TESTPO 02100000104325000000000190000135

VALID_TO = 31/12/9999

VALID_FROM = 10/10/2007

2.TI_BAPICONDHD

OPERATION = 009

CREATE_BY = SY-UNAME

CREATE_DATE = SY-DATUM

COND_USAGE = A

TABLE_NO = 902

APPLICATION = V

COND_TYPE = ZPR0

VARKEY = TESTPO 02100000104325000000000190000135

VALID_TO = 31/12/9999

VALID_FROM = 10/10/2007

3.TI_BAPICONDIT

OPERATION = 009

APPLICATION = V

COND_TYPE = ZPR0

SCALE_QTY = 3

SCALE_VAL = 3

CURREN_ISO = USD

COND_VALUE = 2

COND_P_UNIT = 1

COND_UNIT = EA

CONDCURREN = USD

4.TI_BAPICONDVS

OPERATION = 009

CURREN_ISO = USD

The BAPI is not giving any error or success msg.

3 REPLIES 3

Former Member
0 Kudos

Hi,

are you giving commit_work statement after the bapi call.

Check this link for a sample code

Thanks

Naren

0 Kudos

I have used bapi_transaction_commit after this. But still not working.

Former Member
0 Kudos

Hi,

I could see that the BAPI is creating entries in the tables. But I am not able to see the condition records in the transaction VK13.