Skip to Content

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

getting parameter values from ITS to back end Modulepool program


I worked on external ITS developments for SRM project

I was passing values from and to between ITS front end template and corresponding back end module pool program.

I was using filed-set and field-get macro for passing values. It was working perfectly.

Now i am in new SRM 5.0 project where we are using integrated ITS and i developed small screen in which I am trying to read the value which I am entering in template text filed.

In debug mode i could see that ,when it execute FIELD-GET macro getting SY-SUBRC is equal to 1. I am not able to get the template value in PAI because of macro failure.

I just copied the same program which i developed in external ITS system still same problem.

Please some one help me if I am missing some thing in this.

Code which i am

in ITS:

<form method="post" name="zebp_rrcode" action="`WGateURL()`" >

<textarea name="FREE_TEXT_DES" cols="35" rows="10" onKeyPress=fmlength()> </textarea>

<input type=submit name="~OKCode=TEXT" value="Send text">



In Back end code of PAI.

move sy-ucomm to ok_code.

data: len type i.

data: idx type i.

data: wide_row(80) occurs 0 with header line.

data: wide_text(80) occurs 0 with header line.

idx = 1.

field-get 'FREE_TEXT_DES' idx wide_row len.

if sy-subrc <> 0.





Srikanth Akula

Message was edited by:

Srikanth Akula

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