Skip to Content
author's profile photo Former Member
Former Member

BP - Add Business Hours

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 01, 2012 at 03:01 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.