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

Problem in BDC Program

Former Member
0 Likes
675

I have a problem while I am doing BDC program for Maintaining Quotation.i.e,I have Header data and Item Data.In Item data it has multiple items.For each item I have to give condition type in the table control(which has already pre-existed condition types),but I have to place new Condition type at the last line of the table control.

5 REPLIES 5
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
626

Look in the tcode screen there must be a button to add new line item record that in this way you dont have to count number of lines in table control just check in menu options..

Nabheet

Read only

0 Likes
626

Hi,

In pricing element Table Control we have to pass condition type. For each material a set of condition types pre-exists, for us to pass condition types we have to capture index number which changes dynamically.

We have to pass the index number to T_BDCDATA prior calling the transaction ME47 to append the condition type to the last line of the Pricing element table control which changes dynamically.

Read only

0 Likes
626

You dont need to capture index number the reason is as follow. When you go to conditions tab you will see an icon with + sign means insert row it insert the condition type at the end .

Do the recording of inserting using that button you wont need an index.

Nabheet

Read only

Former Member
0 Likes
626

Hi,

Does using BAPI_CUSTOMER_QUOTATION_CREATE and BAPI_CUSTOMER_QUOTATION_CHANGE doesnt suffice your requirement.

It's easier and much faster.

Regards,

Rahul

Read only

Former Member
0 Likes
626

Thanks for Your Reply