Hello all,
I have a question, I'm currently using BOBJ Crystal Reports 2008 and pulling from a ECC6 SAP Datasource. I've setup a formula which pulls data based on current date using the following:
{BAPI_MATERIAL_STOCK_REQ_LIST.T_MRP_TOTAL_LINES.AVAIL_DATE} in dateserial(year(currentdate),month(currentdate),1) to dateserial(year(currentdate),month(currentdate)+4,1)
Now that I have my output for Current Month + next 3 months I need to also create a variable which sums all the previous Month's value called "Past Due" based on current date. I've tried the following but can not successfully make it work. Can anyone help.
WhilePrintingRecords;
Global NumberVar PASTDUE := 0;
PASTDUE := PASTDUE +({BAPI_MATERIAL_STOCK_REQ_LIST.T_MRP_TOTAL_LINES.RECEIPTS});
This is how I'd like the Final Output to look like:
Past Due 1/2013 2/2013 3/2013 4/2013
Field Supply 15 2 5 1 3
Field Demand 10 1 2 9 1
Balance 25 3 7 10 4
Thank you in advance!
-Andy
I have a question, I'm currently using BOBJ Crystal Reports 2008 and pulling from a ECC6 SAP Datasource. I've setup a formula which pulls data based on current date using the following:
{BAPI_MATERIAL_STOCK_REQ_LIST.T_MRP_TOTAL_LINES.AVAIL_DATE} in dateserial(year(currentdate),month(currentdate),1) to dateserial(year(currentdate),month(currentdate)+4,1)
Now that I have my output for Current Month + next 3 months I need to also create a variable which sums all the previous Month's value called "Past Due" based on current date. I've tried the following but can not successfully make it work. Can anyone help.
WhilePrintingRecords;
Global NumberVar PASTDUE := 0;
PASTDUE := PASTDUE +({BAPI_MATERIAL_STOCK_REQ_LIST.T_MRP_TOTAL_LINES.RECEIPTS});
This is how I'd like the Final Output to look like:
Past Due 1/2013 2/2013 3/2013 4/2013
Field Supply 15 2 5 1 3
Field Demand 10 1 2 9 1
Balance 25 3 7 10 4
Thank you in advance!
-Andy