Are you sure this is the error message (type E or A in RETURN and not S !) can you post actual message class and number ?
In your code there is already BAPI_PS_INITIALIZATION called before BAPI, did you also call BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT or ROLLBACK (depending on error message in every RETURN parameter) ?
- BAPI_PS_INITIALIZATION
- BAPI_BUS2054_CREATE_MULTI
- LOOP AT RETURN for TYPE 'A' or 'E'
- If none
- BAPI_PS_PRECOMMIT
- LOOP AT RETURN for TYPE 'A' or 'E'
- if none
- BAPI_TRANSACTION_COMMIT
- if none
- Else (both)
- BAPI_TRANSACTION_ROLLBACK
Regards,
Raymond