Skip to Content

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

What is the sample code to let user input a parameter and then handle..

We are new at ABAP4. We would like to modify an ABAP4 code written by previous consultants that now we want users to input a parameter at Input screen, and then in the code, the input parameter will be used to construct a string and and for data delaration. For example, for the below declaration code:

Data: GL_Total_Amount_loc TYPE /BIC/AZ_DGL00-DEB_CRE_LC.

We would like to have "Z_DGL00" from above statement to be input by users and then construct a string like "/BIC/A" + the input parameter of "Z_DGL" + "00-DEB_CRE_LC" and then make it to be used in data declariton statement as above.

We will give you reward points!

Thanks

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