on 06-06-2009 3:04 PM
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
Hi,
please have also a look at SAP note 1151136 which contains useful information for using of BAPIs in RE-FX.
Regards, Franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jørgen,
1. First to assign or create BE/BU manually, and save it.
2. Then use BAPI_RE_BE_GETDETAIL BAPI to find out how fields are poppulated in BAPI (CO Structure).
3. Now fill the create BAPI, by seeing GETDETAIL BAPI.. it should work.
Thanks
Veman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tryed already this, but it still not work...
The problem is the receiver which is found in the dialog, and this is key 'EO' and then at number, this number is not the same but an internal number generated at runtime, therefore i need the bapi to triger the determination...
In the mean time I generated a report which running the same step as when generating the rule in dialog, then I first run the bapi-create then next step in my LSMW is my report...
Best Regards
Jørgen Jensen
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.