Skip to Content
0
Former Member
Jul 24, 2008 at 08:55 AM

Create BBP from scratch

114 Views

Hi,

I'm in need to create a Z-ed program to create new BBP from scratch, bases only on contract ID and Starting date.

Can some one help me on this?

I've test the FM ISU_S_BUDBILPLAN_CREATE, but it fails to create and raises error message FF704 "Tax code in procedure TAXEUR is invalid".

code extract:

  • Include current contract in the BBP.

CALL FUNCTION 'ISU_S_BUDBILPLAN_CREATE'

EXPORTING

x_vertrag = <my contract>

x_edatum = <BBP start date>

x_upd_online = c_true

x_no_dialog = c_true

x_auto = x_bbp_auto

x_ep_period = 'M'

X_LOG_OBJECT = 'IU25'

IMPORTING

y_db_update = w_db_update

y_obj = x_bbp_obj

EXCEPTIONS

not_found = 1

existing = 2

foreign_lock = 3

number_error = 4

input_error = 5

system_error = 6

not_created_noduedate = 7

billing_error = 8

not_authorized = 9

OTHERS = 10.

Thank you for you help.

I'll award points to all relevant replies.

Thx,

AAL!