cancel
Showing results for 
Search instead for 
Did you mean: 

Customization in S/4Hana Public Cloud

purva_gaikwad
Explorer
0 Kudos

Hi, I have a requirement in S/4Hana Public Cloud. The requirement is :-

The customization is required in Post General Journal Entries app. If the system date falls in the 1st week of ever month then the posting date should be set to last date of previous month.

EX- If today is 2nd Dec. Then the posting date in the UI screen should be displayed as 30th Nov.

Kindly help on how this can be achieved.

Thanks in advance.

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Changed tag to Finance.

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

We helped you to accept the answer, since there were no updates after 7 days.

You can unaccept it anytime if you have further questions.

Accepted Solutions (1)

Accepted Solutions (1)

Ernesto_Cepeda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Purva,

Some options that might help:

  • You could implement a validation using the “Custom Logic” App that would validate the date and send a message (error or warning) if it’s not following the required logic. Please find an image below with the key steps in case you want to test this approach.
  • Open the financial period after the 1st week. I would consider this if there are specific accounts that could be managed like this. Another consideration is the material movement period since the logistic movement would be also impacted
  • Implement a workflow to have a second (or more) business user(s) that would do the validation before posting the document.

I hope this helps.

Ernesto Cepeda

Answers (1)

Answers (1)

Raman_Rana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can explore developer extensibility on Manage Substitution/Validation rule.

BAdIs for Substitution for Journal Entries | SAP Help Portal

regards

Raman Rana

purva_gaikwad
Explorer
0 Kudos

Hi Raman,

Thank you for your response.

But my requirement - On the load of application itself the posting date should be set to previous months last date. So how can we set the date to the Posting Date field?