cancel
Showing results for 
Search instead for 
Did you mean: 

smartform error ?

Former Member
0 Kudos

Hi guys ,

I have problem like . when i am excuting my smartform through MB90 transaction i am having error like OUtput could not be finished .. when i check in process log there i am getting error like Processing routine ENTRY_XXX in program Zxxxx does not exist. can i know like why this error coming.. please help me on these ..

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Reddy,

You have missed adding the FROM_ROUTINE to your driver program. you can use this piece of code in your driver program. This error is thrown due to NACE configuration in its FORM_ROUTINE which is maintained as ENTRY_NEU

DATA: RETCODE   LIKE SY-SUBRC.         "Returncode

FORM ENTRY USING RETURN_CODE US_SCREEN.
   CLEAR RETCODE.
  XSCREEN = US_SCREEN.
  PERFORM PROCESSING USING US_SCREEN.
  CASE RETCODE.
    WHEN 0.
      RETURN_CODE = 0.
    WHEN 3.
      RETURN_CODE = 3.
    WHEN OTHERS.
      RETURN_CODE = 1.
  ENDCASE

Former Member
0 Kudos

hi , thanks for you quick reply,

i am using form entry in my program .. when am trying to excut the MB90 Transaction it is calling another entry ..

but when i cheked that output type in nace transaction there i found the same entry name which has in my program.

in my program i am using only one entry . please help me on these.

Thanks

Former Member
0 Kudos

HI Sravanthi,

There will be a Entry(form statement) for every print program and form which is configured in NACE from which the form is called.


*---------------------------------------------------------------------*
*       FORM ENTRY
*---------------------------------------------------------------------*
form entry using return_code us_screen.

  data: lf_retcode type sy-subrc.
  clear retcode.
  xscreen = us_screen.
  perform processing using us_screen
                     changing lf_retcode.
  if lf_retcode ne 0.
    return_code = 1.
  else.
    return_code = 0.
  endif.

endform.

Thanks.

Hussain