Skip to Content
0
Jun 06, 2009 at 02:04 PM

LSMW BUS1503_CREATE -> BAPI_RE_BE_CREATE Problem with CO-PA rule

64 Views

I am creating object in lsmw using BAPI BAPI_RE_BE_CREATE, trying to create settlement rule via input structure in BAPI

E1BP_RE_COSETTLE_PAR_DAT-SETTLEMENT_PROFILE = 'RE'

and fill the table with data..

E1BP_RE_COSETTLE_RL_DAT

-SETTL_TYPE = 'PER'

-PERCENTAGE = '100'

But I can not get it to work

When using the transaction REBDBU, and function to create settlement rule, I key in

KONTY = 'ROB' and PROZS = '100', after key ENTER, I pass trougt the determination, and after the accept the settlement rule receiver is filled...

But I do not have field KONTY in the BADI, how to create the rule in BAPI..

Best regards

Jørgen Jensen