Skip to Content
0
Former Member
Nov 10, 2007 at 08:07 AM

Hi all..very urgent..error fixing..full marks wud be given for the answers.

40 Views

Hi GUurus..

I am having problem in fixing this error in ECC 6.0..m doing an upgradtion from 4.5 to Ecc 6.0.

ERROR is: Field syst_order_type is unknown nor defined by the data statement.

program is

************************************************************************

*"----

-


FUNCTION ZTR_PRESENT_REQUESTS_ORGANIZER.

*"----

-


""Local interface:

*" IMPORTING

*" VALUE(IV_ORGANIZER_TYPE) TYPE TRWBO_CALLING_ORGANIZER

*" VALUE(IV_USERNAME) LIKE SY-UNAME OPTIONAL

*" VALUE(IS_SELECTION) TYPE TRWBO_SELECTION

*" VALUE(IV_STATUS) LIKE RSEU3-STATUS OPTIONAL

*"----

-


DATA: LV_TITLE TYPE TRWBO_TITLE,

LV_STATUS TYPE STRHI_CUA_STATUS,

LS_NEW_REQUEST_PROPS TYPE TRWBO_NEW_REQ_PROPS.

  • Define organizer dependent settings

CASE IV_ORGANIZER_TYPE.

WHEN TRWBO_WBO.

LV_TITLE = 'Workbench Organizer: Aufträge '(TIW).

LV_STATUS = 'TDR_FULL'.

LS_NEW_REQUEST_PROPS-TRFUNCTIONS = SYST_ORDER_TYPE.

LS_NEW_REQUEST_PROPS-TASKFUNC = 'X'.

LS_NEW_REQUEST_PROPS-CLIENT = SY-MANDT.

WHEN TRWBO_CUST.

LV_TITLE = 'Customizing Organizer: Aufträge '(TIC).

LV_STATUS = 'TDR_FULL'.

LS_NEW_REQUEST_PROPS-TRFUNCTIONS = IS_SELECTION-REQFUNCTIONS.

LS_NEW_REQUEST_PROPS-TASKFUNC = 'S'.

LS_NEW_REQUEST_PROPS-CLIENT = SY-MANDT.

WHEN TRWBO_TRANS.

LV_TITLE = 'Transport Organizer: Aufträge '(TIT).

IS_SELECTION-STDREQUEST = SPACE.

LV_STATUS = 'TDR_TRAN'.

LS_NEW_REQUEST_PROPS-TRFUNCTIONS = IS_SELECTION-REQFUNCTIONS.

LS_NEW_REQUEST_PROPS-TASKFUNC = 'X'.

LS_NEW_REQUEST_PROPS-CLIENT = SY-MANDT.

WHEN TRWBO_PIECE.

LV_TITLE = 'Transport Organizer: Stücklisten '(TIP).

IS_SELECTION-STDREQUEST = SPACE.

LV_STATUS = 'TDR_TRAN'.

LS_NEW_REQUEST_PROPS-TRFUNCTIONS = IS_SELECTION-REQFUNCTIONS.

LS_NEW_REQUEST_PROPS-CLIENT = SY-MANDT.

WHEN TRWBO_CLIENTS.

LV_TITLE = 'Transport Organizer: Mandantentransporte '(TIM).

IS_SELECTION-STDREQUEST = SPACE.

LV_STATUS = 'TDR_SHOW'.

CLEAR LS_NEW_REQUEST_PROPS.

  • ls_new_request_props-trfunctions = is_selection-reqfunctions.

  • ls_new_request_props-client = sy-mandt.

WHEN TRWBO_DELIVER.

LV_TITLE = 'Transport Organizer: SAP/Partner -> Kunde '(TIA).

IS_SELECTION-STDREQUEST = SPACE.

LV_STATUS = 'TDR_TRAN'.

CLEAR LS_NEW_REQUEST_PROPS.

LS_NEW_REQUEST_PROPS-TRFUNCTIONS = IS_SELECTION-REQFUNCTIONS.

LS_NEW_REQUEST_PROPS-CLIENT = SY-MANDT.

WHEN TRWBO_DISPLAY.

LV_TITLE = 'Transport Organizer: Aufträge '(TID).

IS_SELECTION-STDREQUEST = SPACE.

LV_STATUS = 'TDR_SHOW'.

CLEAR LS_NEW_REQUEST_PROPS.

ENDCASE.

IF IV_STATUS NE SPACE.

LV_STATUS = IV_STATUS.

ENDIF.

CALL FUNCTION 'ZTRINT_PRESENT_REQUESTS' "DVLK900325

EXPORTING

IV_ORGANIZER_TYPE = IV_ORGANIZER_TYPE

IS_SELECTION = IS_SELECTION

IV_USERNAME = IV_USERNAME

IV_TITLE = LV_TITLE

IV_CUA_STATUS = LV_STATUS

IS_NEW_REQUEST_PROPS = LS_NEW_REQUEST_PROPS.

ENDFUNCTION.

*"----

-