‎2008 Sep 01 11:22 AM
Dear Experts,
I am getting SLIN External program interfaces error . could you please tell me how to correct the error ?
*LOOP AT lt_p0001 INTO ls_p0001."
SUBMIT yhrin_rhstru00 WITH pchwegid = 'O_S_P' WITH pchobjid-low = ls_p0001-orgeh "#EC *
WITH pchbegda = '19000101' WITH pchenda = '99991231' WITH pchplvar = '01'
WITH pchotype = 'O' AND RETURN.
EXIT.
ENDLOOP.*
Regards,
Sivakumar.A
‎2008 Sep 01 1:05 PM
i have just modified your code . You can solve the error by yourself by adding "#EC at the end of sumbit statement.
Pls read the above reply properly .
Thanks,
Karthik
‎2008 Sep 01 12:00 PM
If you would tell us what the exact error message is, then we might be able to help.
‎2008 Sep 01 12:29 PM
Dear experts ,
I am receiving the following SLIN Error Message.
Program: SAPLYHRIN_MSSDB_ENH Include: LYHRIN_MSSDB_ENHU06 Row: 129 (Prio 1)
PCHOBJID-LOW is not a parameter or a select option in report YHRIN_RHSTRU00
(The message can be hidden with "#EC *)
Program: SAPLYHRIN_MSSDB_ENH Include: LYHRIN_MSSDB_ENHU06 Row: 129 (Prio 1)
PCHENDA is not a parameter or a select option in report YHRIN_RHSTRU00
(The message can be hidden with "#EC *)
Thanks and Regards,
Sivakumar.A
‎2008 Sep 01 2:44 PM
PCHOBJID-LOW is not a parameter or a select option in report YHRIN_RHSTRU00
PCHENDA is not a parameter or a select option in report YHRIN_RHSTRU00
Sounds pretty obvious to me.
Check progam YHRIN_RHSTRU00 whether it actually has selection parameters with these names. If not, correct your calling program accordingly.
Thomas
‎2008 Sep 01 12:41 PM
Add "#EC at end of statement @ row no 129 of Include: LYHRIN_MSSDB_ENHU06 .
‎2008 Sep 01 1:01 PM
Thank you for your response but i want to clear the Error without using Psuedo code.
Regards,
Sivakumar.A
‎2008 Sep 01 3:56 PM
Dear all,
My error is completly solved. I was unable to do the immediate reply.
Thanks a lot to all.
Regards,
Sivakumar.A
‎2008 Sep 01 12:50 PM
You have to place "#EC * after the period like below ( where the abap statement ends ).
SUBMIT yhrin_rhstru00 WITH pchwegid = 'O_S_P' WITH pchobjid-low = ls_p0001-orgeh
WITH pchbegda = '19000101' WITH pchenda = '99991231' WITH pchplvar = '01'
WITH pchotype = 'O' AND RETURN. "#EC * < - Here
If your issue not resolved with the above suggestion check the below
check whether the selection screen parameters of the program yhrin_rhstru00 has pchobjid field . If it has then check whether it is of parameter or select -option . If it is a parameter then remove -low from the sumbit statement.
SUBMIT yhrin_rhstru00 WITH pchwegid = 'O_S_P' WITH pchobjid = ls_p0001-orgeh
WITH pchbegda = '19000101' WITH pchenda = '99991231' WITH pchplvar = '01'
WITH pchotype = 'O' AND RETURN. "#EC *
Thanks,
Karthik
‎2008 Sep 01 1:05 PM
i have just modified your code . You can solve the error by yourself by adding "#EC at the end of sumbit statement.
Pls read the above reply properly .
Thanks,
Karthik