Quantcast
Channel: SCN : All Content - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 5981

2LIS_02_SCL / Getting both Posting dates of goods receipt & invoice receipt at the same time

$
0
0

Hi,

 

I have created a DSO based on the schedule lines standard extractor 2LIS_02_SCL.

The keys of this DSO are PO Number, PO Item and Schedule Line number.

 

I have succeed to get some key figures like PO Quantity, GR Quantity and Invoice Receipt Quantity according to the Process Key value.

Furthermore, I'd like to get too the goods receipt date (Process Key = 02,12,22).

In order to do that I wrote a small routine in the transformation rule for my target field which fill it only if the process key is 02, 12 or 22.

The problem is that it doesn't work well because of the invoice records in my source package...

Indeed when there is an invoice in my PSA for a schedule line, my target field (GR date char) is empty (for these schedule lines, last record is Invoice Receipt type). So it means my transformation rule works but is overwritten by an blank value when there is a process key 03,13 or 23 (invoice Receipt type).

 

Do you have a idea to solve my issue ?

 

Thank you very much


Viewing all articles
Browse latest Browse all 5981

Trending Articles



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