‎2006 Aug 03 5:02 PM
hi friends,
I need to develop a task where we run a report for both dealer and vendor dealings... it was an ponline report, since the there were many fields from RSEG table, i gave it a thought to do it as a back ground job.
The thing is if suppose its a Vendor we need to show him the full report( that is witothout exculding a count of 16 fields) which forms their report
if its a dealer then we need to exculde some fields(ie say abt six fields) which are not for the dealers.
Could please give me an idea how this task can be achieved?
if suppose using variants how do we use it.(the selection screen is same for both,, but when it comes to the point of dealers the selction screen will have some autofill in the dealer code alone)
Thanks a lot in advance
‎2006 Aug 03 5:07 PM
‎2006 Aug 03 5:47 PM
‎2006 Aug 03 5:49 PM
hi
unless and until you have certain fields on the selection screen for distinguishing between vendors and dealers you cannot achieve the result..
Cheers,
Abdul Hakim
‎2006 Aug 03 6:01 PM
Create 2 variants - one for vendor and one for dealer.
Then create a report for background processing to pick up the appropriate variant based on a vendor/dealer condition.
Thanks and regards,
Bharath.
‎2006 Aug 03 6:03 PM
Hi...
I agree with Abdul... need to identify whether it is a Vendor or Dealer report via a Parameter...
If P_RPT = 'vendor'.
Perform Vendor_report.
Endif.
If P_RPT = 'dealer'.
Perform Dealer_report.
Endif.
Dave...