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: 

Function Module or BAPI for VK11

Former Member
0 Kudos

Hi all,

Is there a FM or BAPI to create condition records in SD using custom tables such as A9* tables.

My input will be

Condition type,

sales Org,

Dis channel,

Purchase order,

price group,

price list,

material and qty.

please send ur suggestions,

Rajesh.

1 ACCEPTED SOLUTION

Former Member

Hi,

Check the link for the sample code..

You have to pass the table name also..In your case it will be 912 or 913..

wtable2-cond_usage = 'A'.

wtable2-table_no = '<b>912</b>'.

Thanks,

Naren

4 REPLIES 4

Former Member
0 Kudos

Hi,

Try using the BAPI BAPI_PRICES_CONDITIONS ..

Check this link for sample code..

Thanks,

Naren

Former Member
0 Kudos

Hi,

But, BAPI_PRICES_CONDITIONS is used for tables such as KONP, KONH, etc. i should the store the data in tables such as a912 and a913.

suggestions please,

Thanks,

Rajesh.

Former Member

Hi,

Check the link for the sample code..

You have to pass the table name also..In your case it will be 912 or 913..

wtable2-cond_usage = 'A'.

wtable2-table_no = '<b>912</b>'.

Thanks,

Naren

Former Member
0 Kudos

Thanks a lot Naren.

Rajesh.