Skip to Content
0
Apr 16, 2009 at 12:55 PM

ABAP Query: creation of local field (Subtraction between 2 dates)

357 Views

Hi,

I want to create a local field which will calculate the number of days between 2 dates (for example, document date - posting date).

What I did:

1) Created the user group in SQ03

2) Created the infoset in SQ02

3) I'm stucked at the creation of the Query in SQ01. I'm at the «Create Query: Select field screen». I clicked on Edit --> Local Field --> Create. I selected the «calculation field» attribute. I clicked on the «Complex calculation button», but I don't know how to write my formulate DOCUMENT DATE - POSTING DATE.

Thanks a lot for your help.

Julien