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

Create, Modify pricing group for customers

former_member321825
Active Participant
0 Likes
1,811

Is there a BAPI for creating ,modifying price group or do we need to use BDC for the same .

SPRO--> IMG --> Define price group for customers --> New entries--->Define Price group and enter description.

If it is BDC , how do we use it in method of a class.

.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,550

Hi Rachel,

Unfortunately there won't be a BAPI for this as these are customizing entries and normally we maintain it manually.

How many records you are trying to update? If it is too less, may be less than 500, I think you can copy and paste from spreadsheet. It is always better to

Or if you want to do it programmatically if you have too many entries, you have options.

1. You can do a BDC on transaction SM30 using view name V_T188. Not sure why would want do a BDC on SPRO which anyway call SM30 internally.

2. If it is one time job and you can even directly update table T188 and T188T carefully and then create a transport manually and add the entries manually in the transport. ( You can use * in the Transport . Check for Object type R3TR/TABU )

R

Is there a BAPI for creating ,modifying price group or do we need to use BDC for the same .

SPRO--> IMG --> Define price group for customers --> New entries--->Define Price group and enter description.

If it is BDC , how do we use it in method of a class.

.

2 REPLIES 2
Read only

Former Member
0 Likes
1,551

Hi Rachel,

Unfortunately there won't be a BAPI for this as these are customizing entries and normally we maintain it manually.

How many records you are trying to update? If it is too less, may be less than 500, I think you can copy and paste from spreadsheet. It is always better to

Or if you want to do it programmatically if you have too many entries, you have options.

1. You can do a BDC on transaction SM30 using view name V_T188. Not sure why would want do a BDC on SPRO which anyway call SM30 internally.

2. If it is one time job and you can even directly update table T188 and T188T carefully and then create a transport manually and add the entries manually in the transport. ( You can use * in the Transport . Check for Object type R3TR/TABU )

R

Read only

former_member321825
Active Participant
0 Likes
1,550

Thanks Rudra for the valuable inputs .

As per my requirement  I did a BDC recording for the pricegroup in FM .

I created a class and  called this FM inside the method.