Skip to Content
0

Syntax error in substitution "ZXXXX", step "002", FI

Mar 28 at 07:00 AM

55

avatar image

Hi Folks,

We had the requirement for substituting the Witholding Tax, so we created a substitution for complete document in the Financial Accounting.

We want the BSEG Table in the form so used the following code. But we are getting the error Syntax error in substitution "ZXXXX", step "002". "Exit U109 has the incorrect type Message no. GB027 "

  exits-name  = 'U109'.
  exits-param = c_exit_param_class.
  exits-title = TEXT-904.  " User Exit to calculate WHT
  APPEND exits.


FORM u109 USING bool_data TYPE gb002_015
          CHANGING b_result.

ENDFORM.

IN GGB1

Please help me on this :)

Regards,

Sushanth

capture.jpg (22.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

nico dewaele Mar 28 at 09:01 AM
1

Hi,

C_EXIT_PARAM_FIELD should be used instead of

C_EXIT_PARAM_NONE.

https://wiki.scn.sap.com/wiki/display/ERPFI/Creating+user+exits+for+substitutions

kr

NIco

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Nico,

Thanks for the help. But I need booldata-bseg data in the in Form u109.

Regards,

Sushanth

0

hi

can you try without the "changing B_result'

kr

Nico

0
Gabriel Felipe Coleti Mar 28 at 12:39 PM
0

Dear Sushanth,

Check the param that you are passing to the exits-param. It should be c_exit_param_none or value '0000'.

Also check if you have included the Title Declaration in the FORM get_exit_titles:

Best regards,

Gabriel Coleti


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Gabriel Coleti,

Thanks for the help. But I need booldata-bseg data in the in Form u109.

Regards,

Sushanth

0