Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Modify the main table of a Z sapscript which is using SAP standard driver program RFKORD10

Hi experts,

I have a requirement to copy the standard SAP Script F140_ACC_STAT_01 and display a customised Account Statement via transaction code FBLN5.

But the driver program I am using is the same SAP standard driver program RFKORD10.

I have added many new fields in my display of Account satement using the PERFORM command inside sap script text editor.

The main table of the sap script is having Multiple currency line items.

And now the requirement is to sort the 'Currency' column of the main table in the script and to and a new 'Balance' column in the main table which

will contain the sum of the debit & credit amounts for every currency.

I tried to find the internal table in the driver program which has all the main table data. But couldn't find any such internal table which has all the main table data.

So kindly let me know how sort theĀ  'Currency' column and sum up the debit & credit amounts based on the currency.

I am new to sapscripts and badly stuck in this requiremnt.. Please help..

Best regards,

Lucy

Former Member
Not what you were looking for? View more on this topic or Ask a question