cancel
Showing results for 
Search instead for 
Did you mean: 

BP - Add Business Hours

0 Kudos

Hi,

I got a requirement to load Add Business hours.  We can do this manually by using TCode BP. In Control Tab we can Add Business Hours by clicking on the respective button.

But the requirement is to load this using BAPI.  There is a BAPI to Add Business Hours.  The name of the BAPI is BAPI_BUPA_HOURS_ADD.

I am able to load a simple scenario i.e. just able to add one weekly hour using this BAPI.  But, I am unable to load with multiple Rule Type i.e. W, T, D etc.

Could someone help me how to Add Business Hours using this BAPI.

Thanks in advance.

Shashidhar.

Accepted Solutions (0)

Answers (1)

Answers (1)

BGarcia
Active Contributor
0 Kudos

Hi Shashidhar,

Basically, that BAPI calls FM BUPH_BUPA_HOURS_MAINTAIN to maintain the information.

Are you using CRM6.0 or above, where you have WebUI available instead of BP t-code?

If so, you can try to put an external breakpoint at this FM, simulate the data you want to fill at WebUI for an account, and see in debug how the information is passed into this FM. Maybe it will give you some insights to resolve your problem.

Kind regards,

Garcia

0 Kudos

Thanks for your info Garcia.

We are using BP TCode.

But, my requirement is to Add Business Hours using the BAPI.

I am successful in Adding single set of Business Hours, but when I try to Add hours for Every Week, Every second week,Additional Calling Hours and no Calling Hours on, I am getting error message.

Coudl you please let me know how to fill the data to the BAPI to Add Business Hours for mulitple rules.

Thanks,

Shashidhar