Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Updation of Premise with new location (EVBS-LGZUSATZ)

I am using ISU_S_PREMISE_PROVIDE and ISU_S_PREMISE_CHANGE FMs to update the Premise new location(EVBS-LGZUSATZ).

my code is like below.

CALL FUNCTION 'ISU_S_PREMISE_PROVIDE'

EXPORTING

x_vstelle = lv_premise

x_wmode = '1'

  • X_TEILOBJ =

IMPORTING

Y_OBJ = ls_obj

Y_AUTO = ls_premise_auto.

  • EXCEPTIONS

  • NOT_FOUND = 1

  • FOREIGN_LOCK = 2

  • GENERAL_FAULT = 3

  • NOT_AUTHORIZED = 4

  • INVALID_WMODE = 5

  • OTHERS = 6

  • .

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ls_premise_auto-evbsd-lgzusatz = 'HIRA'.

ls_obj-evbs-lgzusatz = 'HIRA'.

CALL FUNCTION 'ISU_S_PREMISE_CHANGE'

EXPORTING

x_vstelle = lv_premise

X_UPD_ONLINE = lv_updonline

X_NO_DIALOG = lv_nodialog

X_AUTO = ls_premise_auto

x_obj = ls_obj

EXCEPTIONS

NOT_FOUND = 1

FOREIGN_LOCK = 2

INPUT_ERROR = 3

GENERAL_FAULT = 4

NOT_AUTHORIZED = 5

OTHERS = 6.

It is not updating anything in the database.

Can anyone tell me is there any other way to update premice details.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question