2005 May 25 8:19 PM
BAPI_STUDENT_IDENTIFIC_ADD has a field called IDENTIFICATIONNUMBER. This field is later used in a dynamic where condition and causes a short dump when it contains a single quote. I will change the program that calls the BAPI to check for single quotes, but is there anything else I need to check for to ensure a correct where condition?
Thanks,
Dan
2005 May 26 8:14 AM
Hi Dan,
You need to exclude the following characters:
CONTANTS:
c_single_quote VALUE '''',
c_double_quote VALUE '"',
c_asteriks VALUE '*'.Regards,
Rob.
BAPI_STUDENT_IDENTIFIC_ADD has a field called IDENTIFICATIONNUMBER. This field is later used in a dynamic where condition and causes a short dump when it contains a single quote. I will change the program that calls the BAPI to check for single quotes, but is there anything else I need to check for to ensure a correct where condition?
Thanks,
Dan
2005 May 26 8:14 AM
Hi Dan,
You need to exclude the following characters:
CONTANTS:
c_single_quote VALUE '''',
c_double_quote VALUE '"',
c_asteriks VALUE '*'.Regards,
Rob.
2005 May 26 10:08 AM
Hi Dan,
The best way to ensure correctness of syntax of a dynamic where condition is:
Run the program in debugging mode, Get the Query that is generated dynamically and write it to some other ABAP program and perform syntax check.
This will help you to remove all the syntax errors.
Regards,
Darshil
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |