You want to automate the customer return process and need to know what are the business object actions available to "Release with credit memo" and "Release without credit memo".
SAP Business ByDesign
You can use the action CHECK_ITEMS_FOR_INV_REL to release the customer return without a credit memo.
You can use the action SUBMIT_FOR_APPROVAL to release the customer return with a credit memo.
SDK, PSM request, retour , KBA , AP-CRP-CR , Customer Return , Problem