cancel
Showing results for 
Search instead for 
Did you mean: 

Request delivery date at header lever in Sales Order

Former Member
0 Kudos

Hi gurus

I´m doing a Date Profile for the request delivery date in a Sales Order.

The Date Profile must be at header level. Automatic determination is TODAY + 1.

Also this Data Profile must accept manual changes for later dates.

Could you help me.

Best Regards.

MC.

Accepted Solutions (1)

Accepted Solutions (1)

lovekush_singh
Active Participant
0 Kudos

Hi,

Please check the following links

https://scn.sap.com/message/8372769


http://help.sap.com/saphelp_crm60/helpdata/en/d9/fce93a29768802e10000000a11402f/frameset.htm

http://scn.sap.com/docs/DOC-32832

You need to do some trials by maintaning date rule and duration for date type REQ_DLV_DATE.

I will also check may be tomorrow.

Thanks,

Lovekush SIngh

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi All,

Thank for your response,

The problem was solved, but when we can try to modify the date for later dates, the system re-calculate the modified date and subtracts one day.

Example:

The requested delivery date (by date profile) is: 19-DeC-2012 (today+1)

When i try to modified to 22-DEC-2012 the system performs: 21-DEC-2012.

Does anyone know what is happening?

MC

Former Member
0 Kudos

Hi MC,

Check your date profile (SPRO - CRM - Basic Functions - Date Management - Define Date Profile)

Check the Date Rule in your date profile. Select the option to 'Determine Date only once' for the date rule which you have selected for the Req. Del. Date field.

Cheers,

MG

lovekush_singh
Active Participant
0 Kudos

Hi,

Check the below note may be applicable to you or it can give you a clue. We had similar problem and it was due to different time zone of the CRM system and Ship to party.

Note 1610461 - Requested delivery date in sales doc. header in CRM Web UI

Lovekush SIngh

Former Member
0 Kudos

Hi MC,

Please follow these steps:

1. You need a date profile. Go to SPRO - CRM - Basic Functions - Date Management - Define Data Types, Duration Types and Date Rules. Click on Date Rules.

Choose 'PPFDEMO' Date Rule. If you notice in the description it is mentioned that it is for 'Today's + 2'. You need a date rule for 'Today + 1'. Copy this Date Rule and give it a different name (Z). Save it. Double click on it. Double click on the standar version to see the code. Click on edit. Scroll down and change 'duration' to '1' as shown below.

Save it. Now you have a date rule which will calculate 'Today + 1'. Now you need to assign this to Req. Delivery date.

2. Click on 'Define Date Profile'. Click on New Entries to create a new date profile. Add 'System' as reference object. Click on Date Rule and select the Date Rule which you created in step 1. Click on Date Types, Select 'REQ_DLV_DATE' as Date Type. (NOTE: if you dont see 'REQ_DLV_DATE' field in drop down then go back to Define Data Types, Duration Types and Date Rules. Click on Date Rules, click on Date Types, select 'REQ_DLV_DATE' and select the check box for 'date profile')

Select your Date Rule. (If you dont see your date rule under drop down then you will have to save the profile. Navigate back to 'Define Date Profile' node and then select your newly created date profile and proceed)

Select Screen area: as Sales. Save this Date Profile.

3. Go to Tx - Define Tx. Types. Select your tx. Type and assign this date profile.

4. Now in CRM Web UI, you will see the desired date in Req. del. field in the header after you enter sold-to-party and document refreshes after turnaround.

Let me know if you have any further doubts.

Cheers,

MG

Former Member
0 Kudos

Hi Maricarmen,

If you want to create a date profile with automatic determination along with manual entry with your requirement

Then goto Date Management and define

1.Date Types,Duration types, and Date Rules

after saving the Date rule then double click on it then u will navigate into version selection then double click on entry in the table then you can find a "html editor" then write the below code for your requirement

<?xml version="1.0"?>

<SAPTimeRule>

   <TimeRuleTree>

   <!-- Begin of Rule Tree -->

      <ruleline>

      <!-- Begin of new LINE -->

         <AssignTimeExp displaytype="AssignTime">

         <!-- Assign time -->

            <VarTimeExp displayType="VarTime"

                               name="RESULT"

                           position='B'>

            <!-- Variable: Time -->

            </VarTimeExp>

              <MoveTimeExp displaytype="MoveTime" direction="+">

              <!-- Move -->

            <ConstLocTimeExp displaytype="ConstLocTime"

                          date="now"

                          time="000000"

                          timeunit="DAY">

               <VarObjectExp displaytype="VarObject" name="SYSTEM"/>

            </ConstLocTimeExp>

                 <ConstDuraExp displaytype="ConstDura"

                                  duration="1" timeunit="DAY">

                 <!-- Constant Duration -->

                    <VarObjectExp displaytype="VarObject"

                                  name="SYSTEM"/>

                    <!-- Variable: Timeobject -->

                 </ConstDuraExp>

           </MoveTimeExp>

         </AssignTimeExp>

      </ruleline>

   </TimeRuleTree>

</SAPTimeRule>

2.  Define Date Profile .

While defining date profile assign "Reference Objects, Date Rules, Date types

While assigning the Date type select your Date type and Double click on it then u ll navigate to

below window then u can select check box for manual entry.

3. Then assign the date profile to the Business Transaction .

Message was edited by: hcl innovators i hope this link may be useful. http://scn.sap.com/docs/DOC-32832 Regards, Hcl Innovators

kakshat
Advisor
Advisor
0 Kudos

What is the problem you are facing here? This appears to be a routine configuration.