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

Function Module or BAPI for VK11

Former Member
0 Likes
10,590

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
Read only

Former Member
4,820

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
Read only

Former Member
0 Likes
4,820

Hi,

Try using the BAPI BAPI_PRICES_CONDITIONS ..

Check this link for sample code..

Thanks,

Naren

Read only

Former Member
0 Likes
4,820

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.

Read only

Former Member
4,821

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

Read only

Former Member
0 Likes
4,820

Thanks a lot Naren.

Rajesh.