Skip to Content
0
May 14, 2020 at 07:33 PM

Automate customer down payment process - BAPI/FM to achieve this ?

1398 Views

Hello Experts,

We have a requirement where we need to automate customer down-payment process. We are using condition based down payment process. Here is what we are planning to do/requirement is.

  • 1.Create sales order line item with AZWA condition type. (This step is sorted, we figured out how we can automate this)
  • 2.Create down payment request for the sales order line item. So dollar value should be as entered in AZWA. (help needed here, details below)
  • 3.Clear down-payment when we receive the payment (This is also sorted, we figured out the what we need to do)

Details for Step 2: For this we are thinking two approaches

Approach 1: Order is created with AZWA condition, When the save order is called, we are planning to trigger BAPI/FM which will create down-payment request based on AZWA, Sales order# & Item#. This FM/BAPI should automatically create DP request for the customer.

Approach 2: We will run a batch job which will pick up all orders with AZWA condition and create DP request for the same.

Help needed: Please comment on technical feasibility of both approaches and in either of the case we would need BAPI/FM to post customer down payment request (This is IMP) (We tried with BAPI_ACC_DOCUMENT_POST however we are not able to generate the accounting document)

Thanks a lot in anticipation !

Regards,
Sanket