Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Payment Plan creation using ISU_PAYMENT_PLAN(transaction EK92)

Hello Experts,

I have the requirements where I have to create a BATCH program in which based on certain checks, i need to create the Payment Plan.

I am using the FM - ISU_PAYMENT_SIMULATE to create the same. But here the problem is, the FM does not give any error but the document is not created in either of table EABP or DFKKMOP.

When I am debugging it, i found out for the FM - ISU_S_BBP_AUTO_PPL_CREATE (which is called from the above mentioned FM), that the changing parameter XY_AUTO should have the REA61_OKCODE = 'SAVE'. Other wise, it does not return the OPBEL value.

Here, the problem is that my program will run in batch mode, so cant have the sreen section being called from my program(for the program to skip the screen i have passed the X_NO_DIALOG as 'X'.

So, how should i do this. If any one knows the solution , please tell me as its urgent.

Below is my sample code -

lwa_param-vertrag    =  contract value as vertrag

lwa_param-pyplt      =  plan type ex. BBP

lwa_param-pypls      = '06'. " start mnth

lwa_param-pypla      = ' '.  " alt mnth as blank

lwa_param-pypls_year = '2013'.  " year as 2013

CALL FUNCTION 'ISU_PAYPLAN_SIMULATE'

EXPORTING

   x_no_dialog                = 'X'

IMPORTING

   y_amount                   = lv_amt

   y_waers                    = lv_waers

   y_pypls                    = lv_pypls

   y_opbel                    = lv_opbel

   y_amb                      = lv_amb

   y_obj                      = lv_obj

  CHANGING

    xy_param                   = lwa_param

EXCEPTIONS

(to handle the errors if any)

Waiting for the answers.:)

Thanks & regards,

RJ.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question