cancel
Showing results for 
Search instead for 
Did you mean: 

no output request open,end not reached

Former Member
0 Kudos

hi everybody,

plz have a look at the screen.

[http://i1237.photobucket.com/albums/ff464/MAHESHLAP/screen-1.jpg]

iin the screen hike amnt, hike% fields r havin same field (w_final-hikeamt) for form printin in above screen.

i have defined a separate field for hike%(hkperc) in my ztable. and when i have added that field to smart form and

if i run the form it is showing the following message.

"no output request open,end not reached."

this message is coming only in the above case . previously there is no field like hkperc(no column also in form). and by keeping the column hike% and by removing the print field w_final-hkperc and adding the previou field i.e,w_final-hikeamt form is printing normally in abve pic.

the message is coming only when i added the field w_final-hkperc.

i have debugged the form with sftrace with and without taht field in both cases the param passin r same n ok.

can anybody plz help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Check how w_final and the table in the smartform are defined, and check if you need to assign a currency field as reference

Max

Former Member
0 Kudos

hi

this is code belongs to form callin.

*&---------------------------------------------------------------------*
*&      Form  GET_GROSS_SAL
*&---------------------------------------------------------------------*
*       Get Gross Salary
*----------------------------------------------------------------------*
FORM GET_GROSS_SAL USING  P1 TYPE ANY
                          P2 TYPE ANY.

  REFRESH:IT_P0001,IT_P0007,IT_P0008,IT_PBWLA.
*Function Module for Fetching Employee Wages
  CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE_EXT'
    EXPORTING
      BEGDA                        = P1
      ENDDA                        = P2
      INFTY                        = '0008'
      TCLAS                        = 'A'
      PERNR                        = PERNR-PERNR
    TABLES
      PP0001                       = IT_P0001
      PP0007                       = IT_P0007
      PP0008                       = IT_P0008
      PPBWLA                       = IT_PBWLA
    EXCEPTIONS
      ERROR_AT_INDIRECT_EVALUATION = 1
      OTHERS                       = 2.
  IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

ENDFORM.                    " GET_GROSS_SAL
*&---------------------------------------------------------------------*
*&      Form  CALL_SMARTFORM
*&---------------------------------------------------------------------*
*       Call Smartform
*----------------------------------------------------------------------*
FORM CALL_SMARTFORM .

*FUNCTION MODULE TO GET FUNCTION MODULE OF RESPECTED FORM
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      FORMNAME           = 'ZVCHR_SERVICE_ABSTRACT1'
    IMPORTING
      FM_NAME            = G_FMNAME
    EXCEPTIONS
      NO_FORM            = 1
      NO_FUNCTION_MODULE = 2
      OTHERS             = 3.
  IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  CONTROL-PREVIEW   = 'X'.
  CONTROL-NO_OPEN   = 'X'.
  CONTROL-NO_CLOSE  = 'X'.
*  control-device = 'LP01'.

  SORT IT_FINAL BY PERNR INCRDATE.

  CALL FUNCTION 'SSF_OPEN'.
*CONTROL-NO_OPEN   = 'X'.
*  CONTROL-NO_CLOSE  = 'X'.
  LOOP AT IT_FINAL INTO WA_FINAL1.
    WA_FINAL = WA_FINAL1.
    APPEND WA_FINAL TO IT_FINAL1.
    AT END OF PERNR.
      READ TABLE IT_DETAILS INTO WA_DETAILS WITH KEY PERNR = WA_FINAL-PERNR .

*Call Smartform
      CALL FUNCTION G_FMNAME    "'/1BCDWB/SF00000369'
        EXPORTING
          CONTROL_PARAMETERS = CONTROL
          ENAME              = WA_DETAILS-ENAME
          ENO                = WA_DETAILS-PERNR
          DEPT               = WA_DETAILS-DEPART
          DESIG              = WA_DETAILS-DESIG
          PLANT              = WA_DETAILS-PLANT
          DOB                = WA_DETAILS-DOB
          YOS                = WA_DETAILS-YOS
          DOJ                = WA_DETAILS-DOJ
          DOP                = WA_DETAILS-DOP
          DOC                = WA_DETAILS-DOC
          QUALIF             = WA_DETAILS-QUALIF
        TABLES
          IT_FINAL           = IT_FINAL1
        EXCEPTIONS
          FORMATTING_ERROR   = 1
          INTERNAL_ERROR     = 2
          SEND_ERROR         = 3
          USER_CANCELED      = 4
          OTHERS             = 5.
      IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

      REFRESH : IT_FINAL1.
    ENDAT.
  ENDLOOP.
  CALL FUNCTION 'SSF_CLOSE'.

ENDFORM.

i have checked those declarations r clear. message is comin only when i changed the field to w_final-hkperc to my text object rather than that form is printing normally.

this is the screen i am talking abt.

[http://i1237.photobucket.com/albums/ff464/MAHESHLAP/screen2.jpg]

thanks.

Former Member
0 Kudos

HI,

refer the link

Regards,

Dhina..

Former Member
0 Kudos

hi,

i havnt added any include texts and i am not using any translation my form is printing in single lang only.

thanks.

Former Member
0 Kudos

hi,

thanks max,

i have found that i have to define the currency field as reference then problem is solved.

thanks to the forum forum for helping out.