cancel
Showing results for 
Search instead for 
Did you mean: 

Set Default Quotation Valid to Date

lahiru_s
Explorer
0 Kudos
1,119

Dear team,

Is there a way to make the 'Valid to Date' of a Sales Quotation default (eg: Valid to Date = Valid from Date + 30 Days) without doing an enhancement in S4 HANA Public Cloud?

Thanks and regards,

Lahiru

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Adding tag 'S/4HANA CLoud for Sales''

View Entire Topic
Suryaprakash1
Active Participant

Hi lahiru_s,

Good day!!!!!
It is possible to achieve a default Valid to Date in a quotation in the SAP S4 Hana cloud public edition, by using the concept of "Implementing Flexible proposal of Validity Dates" in SAP S4 HANA cloud.


Step 1: Goto Configuration Activities Tab, Sales --> Sales Process --> Quotations --> Quotation General Settings --> Define Formulas for Validity Dates

Create a formula ID, and click the "Assign Formula Parameters" subfolder and Enter the Required Input Parameter (This is the field is like the condition table fields, where we can maintain the required data)

Input Parameter = SDDOCUMENTCATEGORY

Step 2: Then, Goto Formula Tasks Folder, check the usage tasks of SET_VALID_TO_DATE and then click the Assign parameter priority folder.

Enter the required fields and enter the required priority. System checks the data based on the priority specified here.


Step 3: Maintain the Decision table by going to the "Define decision Table" subfolder.
Here enter the required Operator(=) and the Document category (B).

In Absolute Offset field Enter "30", so that the Valid to date will be 30 days after the Valid from Date.
Enter the Factory Calendar Rule to determine the factory calendrer.

Step 4:Goto Define Custom Routines for Validity Dates of Sales Documents task in the same configuration path mentioned above,
Enter a Routine Number(Customer Number range = 3000000 to 3009999) and then Goto "Assign Enhancement IDs to a Routine Number" subfolder and Assign your process Enhancement task(Created CPF) in the column and select the implementation type as Configurable parameters and Formulas(CPF).

Result: Then save and try creating a quotation with the condition maintained in the Decision Table (Document Category = "B"), now the Valid to date will be 30 Days offset from Valid from.


Hope this helps!!!!!!

A Little upvote would be a fantastic pat on my back. Let's make knowledge flow and upvote shine!!!!!!

Thanks and regards,
Suryaprakash.

priya_sshekhar
Explorer
0 Kudos
Hi Suryaprakash,Is this available in the on prem version?
JGAGNE
Explorer
0 Kudos
Thanks for the explaination, you've sent me down the right path. However, while trying it, the date calculation did not work until I went into the "Assign Custom Routines to Sales Document Types" activity to assign the newly created routine to the Quotation document type. Is this additional step mandatory?