2012 Jun 04 8:14 PM
I am using SUBMIT as below in a Z report:
SUBMIT RFIDYYWT
USING SELECTION-SET VARIANT
WITH SELECTION-TABLE gt_rspar_tab
WITH P_BELNR IN r_belnr and RETURN.
This outputs the report. I however want to modify the internal table before the output.
Any option?
2012 Jun 04 8:29 PM
2012 Jun 05 4:52 AM
If you are talking about changing the SUBMIT output, you cannot.
One way is, you can EXPORT the list to memory (EXPORTING LIST TO MEMORY), so that the Output is not displayed.
Then read the Output table from memory and make changes to it. FInally you can display this in your report.
Use FM LIST_FROM_MEMORY and LIST_TO_ASCI.
Thanks,
Shambu
2012 Jun 05 7:17 AM
You could try BAdI WTAXREPORT_MODIFY (method IF_EX_WTAXREPORT_MODIFY->MODIFY_DATA_BEFORE_OUTPUT) or IDWTREP_ADDFUNCINT (method IF_EX_IDWTREP_ADDFUNCINT->ALLDATA_MODIFY_BEFORE_OUTPUT)
Regards,
Raymond
2012 Jun 05 2:35 PM
I wonder if the auditors would like the results of a standard SAP program being modified after being produced.
Rob
2012 Jun 05 5:43 PM
We have a custom report giving a call to thhe standard report RFIDYYWT.
We are in the upgrade mode and as a part of upgrade packs, note 1528860 came along which changed the logic Local Currency.
After the note, the report shows LC as 0(zero) when the document currency is USD and the LC is IDR (Indonesia Rupiah)
There is no problem if the document currency is IDR.
We are trying to find out the solution for this issue and will go with SAP if required.
However since my report is a Zreport (SUMBIT to standard), I was trying to modify the output with some extra logic after getting the results back from standard.
Any pointers wud be appreciated.
2012 Jun 05 4:19 PM
Hi,
I had a similar requirement where we had to take data from foreground and execute in background for parallel processing to improve performance. Since i wasn't able to modify messages by using submit,
the approach i took was to create a Z function module. The function module performs the task of standard program along with my requirements, the FM is called to execute in background like :
CALL FUNCTION 'XXXXXXX' in BACKGROUND TASK
and FM's messages/ outputs are merged and displayed.
I feel your requirement seems to be same, hope this helps!!!