cancel
Showing results for 
Search instead for 
Did you mean: 

subroutine pool for script form

Former Member
0 Kudos

hello all,

i created suroutine pool for my script form and defined the fields in form.my problem is it cannot display the fields when i test it. the subroutine pool is to retrieved fields from customized table.

please advise.

thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

Hi

The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:

FORM <form> TABLES IN_TAB STRUCTURE ITCSY

OUT_TAB STRUCTURE ITCSY.

...

ENDFORM.

And you need to keep in mind that in the scripts all the numbers and data is treated as CHARACTERS so when you have done the required manipulations in the subroutine then again you need to pass them as character types OK.

Regards

Pavan

Former Member
0 Kudos

Hi,

check that you are passing the values correctly using ITCSY structure from and to the SAP Script. Also better put a break point inside the abap code and see if the system stops there when you executes the script.

may be this will help you to resolve the problem...