Skip to Content

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

input field value help

Hi all,

i gt problem to gt the value from the input field:STUDENT-OBJECT_ID, STUDENT-FILE_NAME into my sql statement. I using module. When i delcare a static value objectid = stud. My sql statement can regnoize. How can i gt the objectid base on my input field in the module?

MODULE VALUE_FNAME1 INPUT.

<b>*objectid = STUDENT-OBJECT_ID.

*filename = STUDENT-FILE_NAME.</b>

<b>objectid = 'STUD'.

filename = 'STUDFILE'.</b>

SELECT FIELD_NAME

FROM STUDENT

INTO CORRESPONDING FIELDS OF TABLE values_tab1

WHERE OBJECT_ID = objectid and FILE_NAME = filename.

endmodule.

Tags:
Former Member

Helpful Answer

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