Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

External program interfaces SLIN Error

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

8 REPLIES 8

ThomasZloch
Active Contributor
0 Kudos

If you would tell us what the exact error message is, then we might be able to help.

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Add "#EC at end of statement @ row no 129 of Include: LYHRIN_MSSDB_ENHU06 .

0 Kudos

Thank you for your response but i want to clear the Error without using Psuedo code.

Regards,

Sivakumar.A

0 Kudos

Dear all,

My error is completly solved. I was unable to do the immediate reply.

Thanks a lot to all.

Regards,

Sivakumar.A

Former Member
0 Kudos

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

Former Member
0 Kudos

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