Hi folks,
Iam hooked up with the following situation.
The user enters some text which can go upto multiple lines and then calls a correspondence request which will read the PARAM from BKORM table. This parameter is passed to the function module READ_TEXT and then the text entered by the user is printed on the SAP Script output.
To acheive this, iam using a subroutine pool whichi calls the subroutine from the SAP Script as follows:
PERFORM <Subroutine name> IN PROGRAM <Prog.Name>
USING <par1>
USING <par2>
Changing <text>.
ENDPERFORM.
But the problem here is that this returns only one line of the trext entered by the user. And one cannot be sure about how many lines the user enters. Moreover, i cannot use Do or LOOP in an SAP Script.
Is there anyway by which i can print all the lines the user enters ?