Skip to Content

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

simple query plz help

hi experts

i have a variable in which i have stores a date

from that date i want to store only the month value in a seperate variable .

plz give me the code for this

thanks in advance .

Tags:
Former Member
Former Member replied

Here is the code:

data: l_datum like sy-datum.

data: l_month(2) type c.

  • Assign value to L_DATUM

l_month = l_datum+4(2).

Hope this helps.

ashish

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question