Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8118

Hi Experts Please Help me in this Open Quotes Requirement

$
0
0

My Requirement is 

 

To provide a Report for the  Client  with Open quotes and Closed Quotes in the Same Report .

 

we have Sales Data Coming from 2lis_11_vaitm to the  Write Optimized DSO .

Based on the Transaction Group   we are Loading the Data into  QUOTES CUBE  and BOOKINGS CUBE .

 

TransGrp = 2 = Quotes Cube

TransGrp = 0 = Bookings .

 

So Far all the Quotes are in QUOTES Cube and Bookings Cube ,

 

Now the Customer want to their All Open Quotes and Sales orders of their Quotes  in the Same Report as they need  schedule the Report .

Sales Document is Carrying the  Quotes and Sales Order ,It is Differentiated by the Sales Document Category ,

 

Both the values are Populated by VBELN only ,

When it is Quote sales Doc Categ = B , When it is Sales order Sales Doc Category = C .

 

 

For a Sale order you will have  Reference Doc , but a Quotation u will not have Reference Doc.

 

We create a new  Sale order Info - Object in Cube and tried Look up for the Sales orders in the Write optimised DSO .

But the Problem comes here

 

 

We are working on how to capture the Sales orders for the  Open Order in the Previous Delta   with the Current Quotes Cube CUBE Q.

 

FIRST DELTA   IN  CUBE  :

 

 

SALES DOC

SALES ORDER

DOC CATEG

REFER DOC

NET VALUE

QT001

QT001

B

-

250 USD

QT002

SD001

C

QT002

500 USD

 

 

 

 

 

 

SECOND DELTA IN THE CUBE   :

 

SALES DOC

SALES ORDER

DOC CATEG

REFER DOC

NET VALUE

QT001

SD002

C

QT001

250 USD

QT003

QT003

B

-

4000

 

 

 

 

 

In the above the Scenario when the  Sales Document  QT001  was Picked up in Previous Delta has no Sales Order , when it is Loaded into the Cube in Second Delta  , The Cube Contains Both QT001  which is of  DOC-CATEG = B &  C .

As the Client Requirement is Only to See the Open Quotes till today  and Sales Order For the Quotes  in the Same Report , we have to  Delete the  Previous Record QT001  with Category B and Replace it with this New

 

Sales Order

QT001

SD002

C

QT001

250 USD

 

 

We are Working on How to  handle this  with ABAP  . Will update Once we are Good With this   .

 

2nd Solution :

 

Another Solution Could Be    1. Create a New Cube for  Monthly Load  for   the Quotes    With Sales Orders  and  Only Quotes  Using End Routine , Every month the Cube Load has to Be Dropped off and Loaded for the Month .

 

NOTE : But this Solution Would Not Fulfill the Open Quotes Requirement , that  Report is a Daily Report   that Need to Bring The OPEN QUOTES with a Validity Period Greater than 30 Days from the Current Date .

 

Please Propose If you can Find another Better Way .

 

 

3rd Solution :

 

Using an Info-Set With Left Outer Join , as this Would  affect the Reporting Performance& this is Ruled out . 

 

 

 

 

 

I have Suggested  Which is Highlighted in the Green , Please Share YOUR THOUGHTS ON THIS , if  this is  the Solution ,  please Suggest How to Write a Code for This , Your Suggestions Would be Very Valuable .


Viewing all articles
Browse latest Browse all 8118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>