Skip to Content

Hi Friend,

I would like to share this document with all of you.

Purpose and Scope: There are instance where the Client business need to create delivery manually for “XYZ” business which was condition based requirement. To overcome this, we have created one program called “Automated delivery creation program for ABC Orders”. This program will create an automated delivery for ABC orders i.e. sales document type “OR”. No further deliveries can be created manually by Client business for ABC orders (condition fulfill).

Solution Approach: To overcome this, we had created one program which filters out the ABC sales order and create a delivery automatic (only if below conditions are fulfilled).

1. Customer Requested Date (C.R.D) should be EQUAL to Schedule line delivery date.

2. Sales order quantity should be EQUAL to Schedule line confirmed quantity.

3. It will consider only that document which comes in the range of 60 days back and 30 days forward i.e. -60 and +30 days.

This program will create auto delivery only when all above condition gets fulfill.

Technical and Functional Approach:



*&—————————————————————————–* *& Report ZR_DELVRY_BM_AUTOMATION*******************


MODULE : Sales & Distribution

* AUTHOR : Bhaumesh

* FUNCTIONAL SUPPORT : Jaychand/Kundan

* DESCRIPTION : Automation of Delivery Creation for B&M Orders




Hope this will like you…


Regards,

Kundan Vishwakarma

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. SR Kumar

    Hi,

    Could you clarify why the requirement was not achieved through Standard SAP Provided Delivery creation programs.

    Regards,

    SRK

    (0) 
    1. Kundan Vishwakarma Post author

      Hello Kumar,

      The requirement is already been mentioned in the document.

      Still please find herein the below requirement,

      1. Customer Requested Date (C.R.D) should be EQUAL to Schedule line delivery date.

      2. Sales order quantity should be EQUAL to Schedule line confirmed quantity.

      3. It will consider only that document which comes in the range of 60 days back and 30 days forward i.e. -60 and +30 days.

      To fulfill this we need to create this program which was not possible under standard.

      Regards, Kundan

      (0) 
  2. Michelle Crapo

    Again – a nice technical blog.   Could you add the ABAP tag?

    Now I have some questions – keep in mind that things can be done 100 different ways.   I’m just interested in the thought process.    Is there a reason why you didn’t use a user exit / BADI / Enhancement point.   Looking at your requirement I’m guessing it’s because the when the dates are equal they may not be in the sales order.

    Another question –  Is there a reason that you decided not to use the BAPI to create the delivery?  It could be more efficient than calling RVV50R10C many times.  You also could create a table of deliveries and then send them all to RVV50R10C.

    Just suggestions.   It takes a lot of courage to post your code on the community.   So many different ways and so many people to think of different ones.   Anyway if it isn’t broke, don’t fix it.   My motto.

    Thank you for a great blog!  (I’ve been searching for these technical ones)

    Michelle

    (0) 

Leave a Reply