cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_BUPA_HOURS_ADD - how to use?

Former Member
0 Kudos

Hey

Does anybody can write example of BAPI_BUPA_HOURS_ADD implementation? (for weekly rules)

I tested it but I still cannot find any apriopriate way to use it, it does not write meeting hours to database.

Regards

Radek

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I've found solution, what is important here are parameters:

- BAPIBUS1006_SCHEDULE_TYPE-SCHEDULE_TYPE = 'C'.

BAPIBUS1006_RULE_W-TYPE = 'W'.

BAPIBUS1006_RULE_W-START_DATE and END_DATE

BAPIBUS1006_RULE_W-RULE_REF = '1'.

lt_BAPIBUS1006_RULE_W-WEEKS = '01'.

lt_BAPIBUS1006_RULE_W-CONFLICTS = '0'.

and fields with hours FROM and TO, with TZONE.

Regards

Radek