Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT: Dunning

Former Member
0 Kudos

Hi everyone!

My dunning procedure has 5 days interval and 2 dunning levels.

I want to display the 2 dunning levels for a particular form respectively for the same day. Is there a way to force this without changing my dunning procedure configurations.

I would really appreciate your replies.

Thanks in advance!

2 REPLIES 2

Former Member
0 Kudos

Hello,

I did not get u, but a similar case regarding dunnging is done.Please check the code it may hel u.

*calculate date form dunning form.

FORM extract_date TABLES in_par STRUCTURE itcsy

out_par STRUCTURE itcsy. "03

DATA: p_day LIKE sy-datum ,

p_day1(10) TYPE c.

DATA: BEGIN OF i_factory_calendars OCCURS 0.

INCLUDE STRUCTURE vtbfcal.

DATA: END OF i_factory_calendars.

*Current date

p_day = sy-datum.

i_factory_calendars-ident = 'Z3'.

APPEND i_factory_calendars.

DO 5 TIMES.

p_day = p_day + 1.

CALL FUNCTION 'DATE_CONVERT_TO_WORKINGDAY'

EXPORTING

date = p_day

direction = '+'

IMPORTING

workingday = p_day

TABLES

factory_calendars = i_factory_calendars.

ENDDO.

MOVE p_day TO p_day1.

Regards

Former Member
0 Kudos

Hi!

I only had a confusion. I already know what to do. Anyway thank for your reply. I am giving you points.