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: 

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

Former Member
0 Kudos

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.

*"----

-


4 REPLIES 4

Former Member
0 Kudos

Hi sahil,

where is the DATA..statement for the syst_order_type?

Regards,

Atish

Former Member
0 Kudos

Hi Raza,

Please check export parameters in program... and import parameters in FM..

because there is no parameter called 'syst_order_type '...

regards

Former Member
0 Kudos

Hi,

In the previous version this syst_order_type may have been a global variable. Open the TOP include and check if this variable exists there. If Yes then check the TOP include in ECC 6.0 and check for the variable. Also check for any NOTES which SAP has released for resolving this problem.

Thanks..

Preetham S

Former Member
0 Kudos

In your 4.5 system, go to this code and double click on the variable name to see where it is defined... and then adjust your code accordingly in ECC.

Jonathan